Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
124c594f
D
Docs
项目概览
OpenHarmony
/
Docs
大约 1 年 前同步成功
通知
159
Star
292
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
124c594f
编写于
4月 15, 2022
作者:
O
openharmony_ci
提交者:
Gitee
4月 15, 2022
浏览文件
操作
浏览文件
下载
差异文件
!3227 翻译已完成 I52B13
Merge pull request !3227 from shawn_he/b3202
上级
29e96c1d
2ead1ba5
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
2 addition
and
2 deletion
+2
-2
en/application-dev/reference/apis/js-apis-i18n.md
en/application-dev/reference/apis/js-apis-i18n.md
+1
-1
en/application-dev/reference/apis/js-apis-intl.md
en/application-dev/reference/apis/js-apis-intl.md
+1
-1
未找到文件。
en/application-dev/reference/apis/js-apis-i18n.md
浏览文件 @
124c594f
...
@@ -703,7 +703,7 @@ Converts one measurement unit into another and formats the unit based on the spe
...
@@ -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. |
| toUnit |
[
UnitInfo
](
#unitinfo8
)
| Yes | Measurement unit to be converted to. |
| value | number | Yes | Value of the measurement unit to be converted. |
| value | number | Yes | Value of the measurement unit to be converted. |
| locale | string | Yes | Locale used for formatting, for example,
**zh-Hans-CN**
. |
| 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**
**Return Value**
| Type | Description |
| Type | Description |
...
...
en/application-dev/reference/apis/js-apis-intl.md
浏览文件 @
124c594f
...
@@ -387,7 +387,7 @@ Provides the device capability.
...
@@ -387,7 +387,7 @@ Provides the device capability.
| currencySign | string | Yes | Yes | Currency unit symbol. The value can be
**symbol**
,
**narrowSymbol**
,
**code**
, or
**name**
.|
| 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**
.|
| 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**
. |
| 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**
.|
| 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**
.|
| 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**
. |
| compactDisplay | string | Yes | Yes | Compact display format. The value can be
**long**
or
**short**
. |
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录