Skip to content

Commit 5232c8b

Browse files
committed
chore(platform-objects): metadata-form translation bundles for the record-mode currencyField
Claude-Session: https://claude.ai/code/session_01Utp6CbfVSc1hXtxLUPHZ2f Co-authored-by: Claude <noreply@anthropic.com>
1 parent d1316dd commit 5232c8b

4 files changed

Lines changed: 17 additions & 1 deletion

File tree

‎packages/platform-objects/src/apps/translations/en.metadata-forms.generated.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -614,7 +614,11 @@ export const enMetadataForms: NonNullable<TranslationData['metadataForms']> = {
614614
},
615615
"currencyConfig.currencyMode": {
616616
label: "Currency Mode",
617-
helpText: "dynamic (the default): the field has no currency of its own, and amounts display in the tenant default currency (the localization.currency setting). fixed: the field has one currency, defaultCurrency."
617+
helpText: "dynamic (the default): the field has no currency of its own, and amounts display in the tenant default currency (the localization.currency setting). fixed: the field has one currency, defaultCurrency. record: each record has its own currency, stored in the field currencyField names."
618+
},
619+
"currencyConfig.currencyField": {
620+
label: "Currency Field",
621+
helpText: "Record mode only, and required there: the field on this object holding each record's ISO 4217 code — a text field with valueDomain iso_4217_currency, conventionally currency_code."
618622
},
619623
"currencyConfig.defaultCurrency": {
620624
label: "Default Currency",

‎packages/platform-objects/src/apps/translations/es-ES.metadata-forms.generated.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,10 @@ export const esESMetadataForms: NonNullable<TranslationData['metadataForms']> =
616616
label: "Modo de moneda",
617617
helpText: "dynamic (predeterminado): el campo no tiene moneda propia y los importes se muestran en la moneda predeterminada del tenant (el ajuste localization.currency). fixed: el campo tiene una única moneda, defaultCurrency."
618618
},
619+
"currencyConfig.currencyField": {
620+
label: "Campo de moneda",
621+
helpText: "Solo en modo record, y obligatorio en él: el campo de este objeto que guarda el código ISO 4217 de cada registro — un campo de texto con valueDomain iso_4217_currency, por convención currency_code."
622+
},
619623
"currencyConfig.defaultCurrency": {
620624
label: "Moneda predeterminada",
621625
helpText: "La única moneda de un campo en modo fixed, como código ISO 4217 de tres caracteres (p. ej., USD, EUR). Por defecto, CNY. No se lee en modo dynamic."

‎packages/platform-objects/src/apps/translations/ja-JP.metadata-forms.generated.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,10 @@ export const jaJPMetadataForms: NonNullable<TranslationData['metadataForms']> =
616616
label: "通貨モード",
617617
helpText: "dynamic(既定):フィールド自体は通貨を持たず、金額はテナントの既定通貨(localization.currency 設定)で表示されます。fixed:フィールドは 1 つの通貨 defaultCurrency を持ちます。"
618618
},
619+
"currencyConfig.currencyField": {
620+
label: "通貨フィールド",
621+
helpText: "record モード専用で、同モードでは必須:各レコードの ISO 4217 通貨コードを保持する、このオブジェクト上のフィールド。valueDomain iso_4217_currency を宣言したテキストフィールドで、慣例名は currency_code。"
622+
},
619623
"currencyConfig.defaultCurrency": {
620624
label: "既定の通貨",
621625
helpText: "fixed モードのフィールドの通貨。3 文字の ISO 4217 コード(例:USD、EUR)で指定します。既定は CNY です。dynamic モードでは参照されません。"

‎packages/platform-objects/src/apps/translations/zh-CN.metadata-forms.generated.ts‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -616,6 +616,10 @@ export const zhCNMetadataForms: NonNullable<TranslationData['metadataForms']> =
616616
label: "货币模式",
617617
helpText: "dynamic(默认):字段本身没有货币,金额以租户默认货币显示(localization.currency 设置)。fixed:字段只有一种货币,即 defaultCurrency。"
618618
},
619+
"currencyConfig.currencyField": {
620+
label: "币种字段",
621+
helpText: "仅用于 record 模式,且在该模式下必填:本对象上保存每条记录 ISO 4217 币种代码的字段——一个声明了 valueDomain iso_4217_currency 的文本字段,惯例命名为 currency_code。"
622+
},
619623
"currencyConfig.defaultCurrency": {
620624
label: "默认货币",
621625
helpText: "fixed 模式字段的唯一货币,使用三个字符的 ISO 4217 代码(例如 USD、EUR)。默认为 CNY。dynamic 模式下不读取。"

0 commit comments

Comments
 (0)