Skip to content

Commit 5685917

Browse files
authored
Merge pull request #2055 from pnp/v1-dev
V1 dev
2 parents 413afe8 + 0d830d5 commit 5685917

File tree

6 files changed

+243
-223
lines changed

6 files changed

+243
-223
lines changed

.github/workflows/main-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ jobs:
3131
run: npm run build
3232

3333
- name: Publish release
34-
run: npm publish
34+
run: npm publish --tag v1
3535
env:
3636
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}}

CHANGELOG.JSON

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@
55
"changes": {
66
"new": [],
77
"enhancements": [],
8-
"fixes": []
8+
"fixes": [
9+
"Wrong translation in Chinese [#2015](https://github.com/pnp/sp-dev-fx-controls-react/issues/2015)"
10+
]
911
},
10-
"contributions": []
12+
"contributions": [
13+
"[s1nce](https://github.com/s1nce)"
14+
]
1115
},
1216
{
1317
"version": "1.21.2",

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## 1.21.3
44

5+
### Fixes
6+
7+
- Wrong translation in Chinese [#2015](https://github.com/pnp/sp-dev-fx-controls-react/issues/2015)
8+
9+
### Contributors
10+
11+
Special thanks to our contributor: [s1nce](https://github.com/s1nce).
12+
513
## 1.21.2
614

715
### Enhancements

docs/documentation/docs/about/release-notes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
## 1.21.3
44

5+
### Fixes
6+
7+
- Wrong translation in Chinese [#2015](https://github.com/pnp/sp-dev-fx-controls-react/issues/2015)
8+
9+
### Contributors
10+
11+
Special thanks to our contributor: [s1nce](https://github.com/s1nce).
12+
513
## 1.21.2
614

715
### Enhancements

src/loc/zh-cn.ts

Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ declare var define: any;
22

33
define([], () => {
44
return {
5-
"SiteBreadcrumbLabel": "网站痕迹",
5+
"SiteBreadcrumbLabel": "网站导航",
66
"ListViewGroupEmptyLabel": "空",
77
"WebPartTitlePlaceholder": "Web 部件标题",
88
"WebPartTitleLabel": "添加标题",
@@ -11,8 +11,8 @@ define([], () => {
1111
"L_RelativeDateTime_AFewSeconds": "几秒钟前",
1212
"L_RelativeDateTime_AboutAMinuteFuture": "大约一分钟后",
1313
"L_RelativeDateTime_AboutAMinute": "大约一分钟前",
14-
"L_RelativeDateTime_XMinutesFuture": "{0}分钟内*{0}分钟内",
15-
"L_RelativeDateTime_XMinutes": "{0}分钟前*{0}分钟前",
14+
"L_RelativeDateTime_XMinutesFuture": "{0}分钟内",
15+
"L_RelativeDateTime_XMinutes": "{0}分钟前",
1616
"L_RelativeDateTime_XMinutesFutureIntervals": "1*2-",
1717
"L_RelativeDateTime_XMinutesIntervals": "1*2-",
1818
"L_RelativeDateTime_AboutAnHourFuture": "大约一小时后",
@@ -21,13 +21,13 @@ define([], () => {
2121
"L_RelativeDateTime_Yesterday": "昨天",
2222
"L_RelativeDateTime_TomorrowAndTime": "明天在{0}",
2323
"L_RelativeDateTime_YesterdayAndTime": "昨天在{0}",
24-
"L_RelativeDateTime_XHoursFuture": "{0}小时内*{0}小时内",
25-
"L_RelativeDateTime_XHours": "{0}小时前*{0} 小时前",
24+
"L_RelativeDateTime_XHoursFuture": "{0}小时内",
25+
"L_RelativeDateTime_XHours": "{0}小时前",
2626
"L_RelativeDateTime_XHoursFutureIntervals": "1*2-",
2727
"L_RelativeDateTime_XHoursIntervals": "1*2-",
2828
"L_RelativeDateTime_DayAndTime": "{1}{0}",
29-
"L_RelativeDateTime_XDaysFuture": "{0}日起的一天*{0}天后",
30-
"L_RelativeDateTime_XDays": "{0}天前*{0}天前",
29+
"L_RelativeDateTime_XDaysFuture": "{0}天后",
30+
"L_RelativeDateTime_XDays": "{0}天前",
3131
"L_RelativeDateTime_XDaysFutureIntervals": "1*2-",
3232
"L_RelativeDateTime_XDaysIntervals": "1*2-",
3333
"L_RelativeDateTime_Today": "今天"
@@ -51,12 +51,12 @@ define([], () => {
5151
"ListItemPickerSelectValue": "选择值",
5252
"ListItemAttachmentsActionDeleteIconTitle": "删除",
5353
"ListItemAttachmentsactionDeleteTitle": "删除",
54-
"ListItemAttachmentsfileDeletedMsg": "文件{0}删除",
54+
"ListItemAttachmentsfileDeletedMsg": "文件{0}已删除",
5555
"ListItemAttachmentsfileDeleteError": "删除文件错误:{0},原因{1}",
5656
"ListItemAttachmentserrorLoadAttachments": "加载列表附件错误,原因:{0}",
5757
"ListItemAttachmentsconfirmDelete": "是否确实要将附件{0}发送到站点回收站?",
5858
"ListItemAttachmentsdialogTitle": "列表项目附件",
59-
"ListItemAttachmentsdialogOKbuttonLabel": "还行",
59+
"ListItemAttachmentsdialogOKbuttonLabel": "好的",
6060
"ListItemAttachmentsdialogCancelButtonLabel": "取消",
6161
"ListItemAttachmentsdialogOKbuttonLabelOnDelete": "删除",
6262
"ListItemAttachmentsuploadAttachmentDialogTitle": "添加附件",
@@ -73,30 +73,30 @@ define([], () => {
7373
"mapsTitlePrefix": "地图",
7474
"ListViewFilterLabel": "筛选列表",
7575
"HeaderNormalText": "普通文本",
76-
"HeaderH2": "标题 1",
77-
"HeaderH3": "标题 2",
78-
"HeaderH4": "标题 3",
79-
"HeaderBlockQuote": "拉引号",
76+
"HeaderH2": "标题 2",
77+
"HeaderH3": "标题 3",
78+
"HeaderH4": "标题 4",
79+
"HeaderBlockQuote": "引用",
8080
"AlignLeft": "向左对齐",
81-
"AlignCenter": "中心",
81+
"AlignCenter": "居中对齐",
8282
"AlignRight": "向右对齐",
83-
"AlignJustify": "证明",
83+
"AlignJustify": "文本两端对齐",
8484
"ListBullet": "项目符号列表",
8585
"ListNumbered": "编号列表",
86-
"StyleTitle": "风格",
86+
"StyleTitle": "样式",
8787
"BoldTitle": "粗体(Ctrl+B)",
8888
"ItalicTitle": "斜体(Ctrl_I)",
8989
"UnderlineTitle": "下划线 (Ctrl+U)",
9090
"AlignTitle": "对齐",
9191
"ListTitle": "列表",
9292
"LinkTitle": "链接",
93-
"MoreTitle": "",
93+
"MoreTitle": "详细",
9494
"FormattingPaneTitle": "文本格式",
9595
"CloseButton": "关闭",
9696
"InsertLinkTitle": "插入链接",
9797
"AddressFieldLabel": "地址",
9898
"TextToDisplayLabel": "要显示的文本",
99-
"SaveButtonLabel": "",
99+
"SaveButtonLabel": "保存",
100100
"CancelButtonLabel": "取消",
101101
"RemoveLinkLabel": "删除链接",
102102
"ParagraphSectionTitle": "段",
@@ -106,9 +106,9 @@ define([], () => {
106106
"ClearFormattingTitle": "清除所有格式",
107107
"FontStyleTitle": "字体样式",
108108
"FontSizeTitle": "字体大小",
109-
"StrikethroughTitle": "罢工",
110-
"SuperscriptTitle": "",
111-
"SubscriptTitle": "",
109+
"StrikethroughTitle": "下划线",
110+
"SuperscriptTitle": "上标",
111+
"SubscriptTitle": "下标",
112112
"FontColorLabel": "字体颜色",
113113
"AutomaticFontColor": "自动",
114114
"HighlightColorLabel": "高亮显示颜色",
@@ -120,23 +120,23 @@ define([], () => {
120120
"StandardColorsGroupName": "标准颜色",
121121
"CustomColorsGroupName": "自定义颜色",
122122
"ThemeColorDarker": "主题较暗",
123-
"ThemeColorDark": "主题黑暗",
124-
"ThemeColorDarkAlt": "主题黑暗交替",
125-
"ThemeColorPrimary": "主题主",
126-
"ThemeColorSecondary": "主题辅助",
127-
"ThemeColorTertiary": "中性三级",
128-
"ThemeColorNeutralSecondary": "中性辅助",
129-
"ThemeColorNeutralPrimaryAlt": "中性主备用",
130-
"ThemeColorNeutralPrimary": "中性主",
131-
"ThemeColorNeutralDark": "中性暗",
123+
"ThemeColorDark": "主题深色",
124+
"ThemeColorDarkAlt": "主题深色备用色",
125+
"ThemeColorPrimary": "主题主色",
126+
"ThemeColorSecondary": "主题次色",
127+
"ThemeColorTertiary": "中性第三色",
128+
"ThemeColorNeutralSecondary": "中性次色",
129+
"ThemeColorNeutralPrimaryAlt": "中性备用色",
130+
"ThemeColorNeutralPrimary": "中性主色",
131+
"ThemeColorNeutralDark": "中性暗色调",
132132
"HighlightColorYellow": "黄色",
133133
"HighlightColorGreen": "绿色",
134134
"HighlightColorAqua": "水",
135135
"HighlightColorMagenta": "品红",
136136
"HighlightColorBlue": "蓝色",
137137
"HighlightColorRed": "红",
138138
"HighlightColorDarkblue": "深蓝色",
139-
"HighlightColorTeal": "蒂尔",
139+
"HighlightColorTeal": "",
140140
"HighlightColorDarkgreen": "深绿色",
141141
"HighlightColorPurple": "紫色",
142142
"HighlightColorMaroon": "栗色",
@@ -159,47 +159,47 @@ define([], () => {
159159
"DatePickerMonthLongFebruary": "二月",
160160
"DatePickerMonthShortFebruary": "2月",
161161
"DatePickerMonthLongMarch": "三月",
162-
"DatePickerMonthShortMarch": "三月",
162+
"DatePickerMonthShortMarch": "3月",
163163
"DatePickerMonthLongApril": "四月",
164-
"DatePickerMonthShortApril": "四月",
165-
"DatePickerMonthLongMay": "可能",
166-
"DatePickerMonthShortMay": "可能",
164+
"DatePickerMonthShortApril": "4月",
165+
"DatePickerMonthLongMay": "五月",
166+
"DatePickerMonthShortMay": "5月",
167167
"DatePickerMonthLongJune": "六月",
168-
"DatePickerMonthShortJune": "",
168+
"DatePickerMonthShortJune": "6月",
169169
"DatePickerMonthLongJuly": "七月",
170-
"DatePickerMonthShortJuly": "七月",
170+
"DatePickerMonthShortJuly": "7月",
171171
"DatePickerMonthLongAugust": "八月",
172-
"DatePickerMonthShortAugust": "八月",
172+
"DatePickerMonthShortAugust": "8月",
173173
"DatePickerMonthLongSeptember": "九月",
174-
"DatePickerMonthShortSeptember": "",
174+
"DatePickerMonthShortSeptember": "9月",
175175
"DatePickerMonthLongOctober": "十月",
176176
"DatePickerMonthShortOctober": "10月",
177177
"DatePickerMonthLongNovember": "十一月",
178-
"DatePickerMonthShortNovember": "11 月",
178+
"DatePickerMonthShortNovember": "11月",
179179
"DatePickerMonthLongDecember": "十二月",
180-
"DatePickerMonthShortDecember": "12 月",
180+
"DatePickerMonthShortDecember": "12月",
181181
"DatePickerDayLongSunday": "星期天",
182-
"DatePickerDayShortSunday": "太阳",
182+
"DatePickerDayShortSunday": "周日",
183183
"DatePickerDayLongMonday": "星期一",
184-
"DatePickerDayShortMonday": "",
184+
"DatePickerDayShortMonday": "周一",
185185
"DatePickerDayLongTuesday": "星期二",
186-
"DatePickerDayShortTuesday": "星期二",
186+
"DatePickerDayShortTuesday": "周二",
187187
"DatePickerDayLongWednesday": "星期三",
188-
"DatePickerDayShortWednesday": "结婚",
188+
"DatePickerDayShortWednesday": "周三",
189189
"DatePickerDayLongThursday": "星期四",
190190
"DatePickerDayShortThursday": "周四",
191191
"DatePickerDayLongFriday": "星期五",
192192
"DatePickerDayShortFriday": "周五",
193193
"DatePickerDayLongSaturday": "星期六",
194-
"DatePickerDayShortSaturday": "",
194+
"DatePickerDayShortSaturday": "周六",
195195
"DatePickerGoToToday": "今天",
196196
"DatePickerIsRequiredErrorMessage": "",
197197
"DatePickerInvalidInputErrorMessage": "",
198198
"DatePickerIsOutOfBoundsErrorMessage": "",
199199
"DateTimePickerDate": "日期",
200200
"DateTimePickerTime": "时间",
201201
"DateTimePickerTimeSeparator": ":",
202-
"DateTimePickerHourValueInvalid": "小时值不正确",
202+
"DateTimePickerHourValueInvalid": "小时数值不正确",
203203
"AddFileButtonLabel": "添加文件",
204204
"AddImageButtonLabel": "添加图像",
205205
"AriaCellValue": "{0}列,{1}",
@@ -229,25 +229,25 @@ define([], () => {
229229
"ImageAriaLabelTemplate": ".{0}图像",
230230
"ImageLayoutPlaceholderText": "布局",
231231
"ImageSizePlaceholderText": "图像大小",
232-
"ItemChildCountField": "项目子计数",
232+
"ItemChildCountField": "子项计数",
233233
"LayoutOptionAll": "所有",
234-
"LayoutOptionSquare": "广场",
235-
"LayoutOptionTall": "",
236-
"LayoutOptionWide": "",
234+
"LayoutOptionSquare": "正方形",
235+
"LayoutOptionTall": "高版",
236+
"LayoutOptionWide": "宽版",
237237
"LearnMoreLink": "了解更多信息。",
238238
"LicenseOptionAll": "所有",
239239
"LicenseOptionAny": "仅限知识共享",
240240
"LicensePlaceholderText": "许可证",
241-
"LinkFileInstructions": "在一个企业或共享点在线中粘贴到文件的链接",
241+
"LinkFileInstructions": "在OneDrive for Business或者SharePoint Online中粘贴到文件的链接",
242242
"LinkHeader": "从链接",
243-
"LinkImageInstructions": "在一个企业或共享点在线的 OneDrive 中粘贴图像链接",
243+
"LinkImageInstructions": "在OneDrive for Business或者SharePoint Online中粘贴图像链接",
244244
"ListLayoutAriaLabel": "查看选项。{0} {1} .",
245245
"ListLayoutCompact": "紧凑视图",
246246
"ListLayoutCompactDescription": "在紧凑列表中查看项目和详细信息",
247247
"ListLayoutList": "列表视图",
248248
"ListLayoutListDescrition": "查看列表中的项目和详细信息",
249-
"ListLayoutTile": "磁贴视图",
250-
"ListLayoutTileDescription": "查看具有磁贴预览的项目",
249+
"ListLayoutTile": "平铺视图",
250+
"ListLayoutTileDescription": "以平铺的方式查看子项",
251251
"ListOptionsAlt": "查看选项。{0}选中 。",
252252
"ListOptionsTitle": "打开视图选项菜单",
253253
"Loading": "加载。。。",
@@ -261,7 +261,7 @@ define([], () => {
261261
"NoRecentFiles": "无最近文件",
262262
"NoRecentFilesDescription": "请尝试从您的网站中选择文件,或从设备上传文件。",
263263
"NoResultsBadEnglish": "未找到结果。尝试更改筛选器选项",
264-
"ODModifiedField": "改 性",
264+
"ODModifiedField": "变更",
265265
"ODPhotoIconUrl": "https://spoprod-a.akamaihd.net/files/odsp-next-prod_2019-01-18_20190124.001/odsp-media/images/itemtypes/16_2x/photo.png",
266266
"ODRowArialLabelTemplate": "{0},{1},修改{2},由{3}、{4}、{5}编辑",
267267
"OneDriveConfirmDialogBody": "此项目来自您的 OneDrive 站点。OneDrive 中的文件和文件夹是私有的,除非您共享它们。您是否与您的网站成员共享此文件,以便他们可以成功?",
@@ -293,16 +293,16 @@ define([], () => {
293293
"SizeOptionSmall": "小",
294294
"SizeUnit": [
295295
"字节",
296-
"K b",
297-
"M b",
298-
"G b",
299-
"结核病",
300-
"",
301-
"Eb",
302-
"",
303-
"Yb"
296+
"KB",
297+
"MB",
298+
"GB",
299+
"TB",
300+
"PB",
301+
"EB",
302+
"ZB",
303+
"YB"
304304
],
305-
"SorryWebSearch": "很抱歉,此示例中未实现此函数,因为它需要必应 API 密钥。",
305+
"SorryWebSearch": "很抱歉,此示例中未实现此功能,因为它需要必应 API 密钥。",
306306
"SortedAscending": "将 A 排序到 Z",
307307
"SortedDescending": "将 Z 排序到 A",
308308
"TypeAriaLabel": "文件类型的列操作,按 以对文件类型进行排序",

0 commit comments

Comments
 (0)