diff --git a/en/application-dev/reference/apis/js-apis-i18n.md b/en/application-dev/reference/apis/js-apis-i18n.md index 757c0733f14437a0c97bf8b349577aab4e4959fa..9087bf67470008437b62bffab42cead1a2206759 100644 --- a/en/application-dev/reference/apis/js-apis-i18n.md +++ b/en/application-dev/reference/apis/js-apis-i18n.md @@ -703,7 +703,7 @@ Converts one measurement unit into another and formats the unit based on the spe | toUnit | [UnitInfo](#unitinfo8) | Yes | Measurement unit to be converted to. | | value | number | Yes | Value of the measurement unit to be converted. | | locale | string | Yes | Locale used for formatting, for example, **zh-Hans-CN**. | -| style | string | No | Style used for formatting. The value can be **long**, **short**, or **medium**.| +| style | string | No | Style used for formatting. The value can be **long**, **short**, or **narrow**.| **Return Value** | Type | Description | diff --git a/en/application-dev/reference/apis/js-apis-intl.md b/en/application-dev/reference/apis/js-apis-intl.md index 433672bb7d878d8c9bad142144a6eff7d38520b3..738e3ef87ae9b45cae719489c3cb21c627a47fb2 100644 --- a/en/application-dev/reference/apis/js-apis-intl.md +++ b/en/application-dev/reference/apis/js-apis-intl.md @@ -387,7 +387,7 @@ Provides the device capability. | currencySign | string | Yes | Yes | Currency unit symbol. The value can be **symbol**, **narrowSymbol**, **code**, or **name**.| | currencyDisplay | string | Yes | Yes | Currency display mode. The value can be **symbol**, **narrowSymbol**, **code**, or **name**.| | unit | string | Yes | Yes | Unit name, for example, **meter**, **inch**, or **hectare**. | -| unitDisplay | string | Yes | Yes | Unit display format. The value can be **long**, **short**, or **medium**.| +| unitDisplay | string | Yes | Yes | Unit display format. The value can be **long**, **short**, or **narrow**.| | unitUsage | string | Yes | Yes | Unit usage scenario. The value can be any of the following: **default**, **area-land-agricult**, **area-land-commercl**, **area-land-residntl**, **length-person**, **length-person-small**, **length-rainfall**, **length-road**, **length-road-small**, **length-snowfall**, **length-vehicle**, **length-visiblty**, **length-visiblty-small**, **length-person-informal**, **length-person-small-informal**, **length-road-informal**, **speed-road-travel**, **speed-wind**, **temperature-person**, **temperature-weather**, **volume-vehicle-fuel**.| | signDisplay | string | Yes | Yes | Number sign display format. The value can be **auto**, **never**, **always**, or **expectZero**.| | compactDisplay | string | Yes | Yes | Compact display format. The value can be **long** or **short**. |