📖Update zh, zh_CN translations (#1659)

pull/1657/head^2
Cierra_Runis 1 year ago committed by GitHub
parent f219465742
commit 8afe147678
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 129
      lib/src/l10n/generated/quill_localizations_zh.dart
  2. 69
      lib/src/l10n/quill_zh.arb
  3. 32
      lib/src/l10n/quill_zh_CN.arb
  4. 32
      lib/src/l10n/untranslated.json
  5. 10
      pubspec.yaml

@ -8,7 +8,7 @@ class FlutterQuillLocalizationsZh extends FlutterQuillLocalizations {
String get pasteLink => '粘贴链接';
@override
String get ok => '';
String get ok => '';
@override
String get selectColor => '选择颜色';
@ -38,7 +38,7 @@ class FlutterQuillLocalizationsZh extends FlutterQuillLocalizations {
String get saved => '已保存';
@override
String get text => '';
String get text => '';
@override
String get resize => '调整大小';
@ -50,16 +50,16 @@ class FlutterQuillLocalizationsZh extends FlutterQuillLocalizations {
String get height => '高度';
@override
String get size => '大小';
String get size => '文字大小';
@override
String get small => '';
String get small => '字号';
@override
String get large => '';
String get large => '字号';
@override
String get huge => '巨大';
String get huge => '超大字号';
@override
String get clear => '清除';
@ -71,10 +71,10 @@ class FlutterQuillLocalizationsZh extends FlutterQuillLocalizations {
String get search => '搜索';
@override
String get camera => '相机';
String get camera => '拍照';
@override
String get video => '视频';
String get video => '录像';
@override
String get undo => '撤销';
@ -83,13 +83,13 @@ class FlutterQuillLocalizationsZh extends FlutterQuillLocalizations {
String get redo => '重做';
@override
String get fontFamily => '字体';
String get fontFamily => '字体';
@override
String get fontSize => '字号';
@override
String get bold => '';
String get bold => '';
@override
String get subscript => '下标';
@ -107,7 +107,7 @@ class FlutterQuillLocalizationsZh extends FlutterQuillLocalizations {
String get strikeThrough => '删除线';
@override
String get inlineCode => '内代码';
String get inlineCode => '代码';
@override
String get fontColor => '字体颜色';
@ -122,7 +122,7 @@ class FlutterQuillLocalizationsZh extends FlutterQuillLocalizations {
String get alignLeft => '左对齐';
@override
String get alignCenter => '居中';
String get alignCenter => '居中对齐';
@override
String get alignRight => '右对齐';
@ -137,40 +137,40 @@ class FlutterQuillLocalizationsZh extends FlutterQuillLocalizations {
String get headerStyle => '标题样式';
@override
String get normal => 'Normal';
String get normal => '正文';
@override
String get heading1 => 'Heading 1';
String get heading1 => '一级标题';
@override
String get heading2 => 'Heading 2';
String get heading2 => '二级标题';
@override
String get heading3 => 'Heading 3';
String get heading3 => '三级标题';
@override
String get heading4 => 'Heading 4';
String get heading4 => '四级标题';
@override
String get heading5 => 'Heading 5';
String get heading5 => '五级标题';
@override
String get heading6 => 'Heading 6';
String get heading6 => '六级标题';
@override
String get numberedList => '编号列表';
String get numberedList => '有序列表';
@override
String get bulletList => '项目符号列表';
String get bulletList => '无序列表';
@override
String get checkedList => '选中列表';
String get checkedList => '任务列表';
@override
String get codeBlock => '代码块';
@override
String get quote => '';
String get quote => '';
@override
String get increaseIndent => '增加缩进';
@ -179,7 +179,7 @@ class FlutterQuillLocalizationsZh extends FlutterQuillLocalizations {
String get decreaseIndent => '减少缩进';
@override
String get insertURL => '插入网址';
String get insertURL => '插入链接';
@override
String get visitLink => '访问链接';
@ -200,37 +200,37 @@ class FlutterQuillLocalizationsZh extends FlutterQuillLocalizations {
String get hex => '十六进制';
@override
String get material => '素材';
String get material => 'Material 设计';
@override
String get color => '颜色';
@override
String get findText => '查找文本';
String get findText => '搜索文本';
@override
String get moveToPreviousOccurrence => '移到前一个匹配项';
String get moveToPreviousOccurrence => '一个匹配项';
@override
String get moveToNextOccurrence => '移到下一个匹配项';
String get moveToNextOccurrence => '下一个匹配项';
@override
String get savedUsingTheNetwork => '使用网络保存';
String get savedUsingTheNetwork => '通过网络保存';
@override
String get savedUsingLocalStorage => '使用本地存储保存';
@override
String get errorWhileSavingImage => '保存图像时出错';
String get errorWhileSavingImage => '保存图像时发生错误';
@override
String get pleaseEnterTextForYourLink => "请输入链接文本(例'了解更多'";
String get pleaseEnterTextForYourLink => "如'了解更多'";
@override
String get pleaseEnterTheLinkURL => "请输入链接网址(例'https://example.com'";
String get pleaseEnterTheLinkURL => "如'https://example.com'";
@override
String get pleaseEnterAValidImageURL => '请输入有效的图像网址';
String get pleaseEnterAValidImageURL => '请输入有效的图像URL';
@override
String get pleaseEnterAValidVideoURL => '请输入有效的视频URL';
@ -248,22 +248,22 @@ class FlutterQuillLocalizationsZh extends FlutterQuillLocalizations {
String get insertImage => '插入图像';
@override
String get pickAPhotoFromYourGallery => 'Pick a photo from your gallery';
String get pickAPhotoFromYourGallery => '从相册选取图片';
@override
String get takeAPhotoUsingYourCamera => 'Take a photo using your camera';
String get takeAPhotoUsingYourCamera => '使用相机拍照';
@override
String get pasteAPhotoUsingALink => 'Paste a photo using a link';
String get pasteAPhotoUsingALink => '从链接获取图片';
@override
String get pickAVideoFromYourGallery => 'Pick a video from your gallery';
String get pickAVideoFromYourGallery => '从相册选取视频';
@override
String get recordAVideoUsingYourCamera => 'Record a video using your camera';
String get recordAVideoUsingYourCamera => '使用相机录制';
@override
String get pasteAVideoUsingALink => 'Paste a video using a link';
String get pasteAVideoUsingALink => '从链接获取视频';
}
/// The translations for Chinese, as used in China (`zh_CN`).
@ -274,13 +274,13 @@ class FlutterQuillLocalizationsZhCn extends FlutterQuillLocalizationsZh {
String get pasteLink => '粘贴链接';
@override
String get ok => '';
String get ok => '确认';
@override
String get selectColor => '选择颜色';
@override
String get gallery => '簿';
String get gallery => '';
@override
String get link => '链接';
@ -298,7 +298,7 @@ class FlutterQuillLocalizationsZhCn extends FlutterQuillLocalizationsZh {
String get save => '保存';
@override
String get zoom => '';
String get zoom => '';
@override
String get saved => '已保存';
@ -402,6 +402,27 @@ class FlutterQuillLocalizationsZhCn extends FlutterQuillLocalizationsZh {
@override
String get headerStyle => '标题样式';
@override
String get normal => '正文';
@override
String get heading1 => '一级标题';
@override
String get heading2 => '二级标题';
@override
String get heading3 => '三级标题';
@override
String get heading4 => '四级标题';
@override
String get heading5 => '五级标题';
@override
String get heading6 => '六级标题';
@override
String get numberedList => '有序列表';
@ -445,7 +466,7 @@ class FlutterQuillLocalizationsZhCn extends FlutterQuillLocalizationsZh {
String get hex => '十六进制';
@override
String get material => '材料';
String get material => 'Material 设计';
@override
String get color => '颜色';
@ -469,10 +490,10 @@ class FlutterQuillLocalizationsZhCn extends FlutterQuillLocalizationsZh {
String get errorWhileSavingImage => '保存图像时发生错误';
@override
String get pleaseEnterTextForYourLink => "'了解更多'";
String get pleaseEnterTextForYourLink => "如'了解更多'";
@override
String get pleaseEnterTheLinkURL => "'https://example.com'";
String get pleaseEnterTheLinkURL => "如'https://example.com'";
@override
String get pleaseEnterAValidImageURL => '请输入有效的图像URL';
@ -491,6 +512,24 @@ class FlutterQuillLocalizationsZhCn extends FlutterQuillLocalizationsZh {
@override
String get insertImage => '插入图像';
@override
String get pickAPhotoFromYourGallery => '从相册选取图片';
@override
String get takeAPhotoUsingYourCamera => '使用相机拍照';
@override
String get pasteAPhotoUsingALink => '从链接获取图片';
@override
String get pickAVideoFromYourGallery => '从相册选取视频';
@override
String get recordAVideoUsingYourCamera => '使用相机录制';
@override
String get pasteAVideoUsingALink => '从链接获取视频';
}
/// The translations for Chinese, as used in Hong Kong (`zh_HK`).

@ -1,7 +1,7 @@
{
"@@locale": "zh",
"pasteLink": "粘贴链接",
"ok": "确",
"ok": "确",
"selectColor": "选择颜色",
"gallery": "相册",
"link": "链接",
@ -11,67 +11,80 @@
"save": "保存",
"zoom": "缩放",
"saved": "已保存",
"text": "文",
"text": "文",
"resize": "调整大小",
"width": "宽度",
"height": "高度",
"size": "大小",
"small": "小",
"large": "大",
"huge": "巨大",
"size": "文字大小",
"small": "小字号",
"large": "大字号",
"huge": "超大字号",
"clear": "清除",
"font": "字体",
"search": "搜索",
"camera": "相机",
"video": "视频",
"camera": "拍照",
"video": "录像",
"undo": "撤销",
"redo": "重做",
"fontFamily": "字体",
"fontFamily": "字体",
"fontSize": "字号",
"bold": "粗",
"bold": "粗",
"subscript": "下标",
"superscript": "上标",
"italic": "斜体",
"underline": "下划线",
"strikeThrough": "删除线",
"inlineCode": "内代码",
"inlineCode": "内代码",
"fontColor": "字体颜色",
"backgroundColor": "背景颜色",
"clearFormat": "清除格式",
"alignLeft": "左对齐",
"alignCenter": "居中",
"alignCenter": "居中对齐",
"alignRight": "右对齐",
"justifyWinWidth": "两端对齐",
"textDirection": "文本方向",
"headerStyle": "标题样式",
"numberedList": "编号列表",
"bulletList": "项目符号列表",
"checkedList": "选中列表",
"normal": "正文",
"heading1": "一级标题",
"heading2": "二级标题",
"heading3": "三级标题",
"heading4": "四级标题",
"heading5": "五级标题",
"heading6": "六级标题",
"numberedList": "有序列表",
"bulletList": "无序列表",
"checkedList": "任务列表",
"codeBlock": "代码块",
"quote": "引用",
"quote": "引",
"increaseIndent": "增加缩进",
"decreaseIndent": "减少缩进",
"insertURL": "插入网址",
"insertURL": "插入链接",
"visitLink": "访问链接",
"enterLink": "输入链接",
"enterMedia": "输入媒体",
"edit": "编辑",
"apply": "应用",
"hex": "十六进制",
"material": "素材",
"material": "Material 设计",
"color": "颜色",
"findText": "查找文本",
"moveToPreviousOccurrence": "移到前一个匹配项",
"moveToNextOccurrence": "移到下一个匹配项",
"savedUsingTheNetwork": "使用网络保存",
"findText": "搜索文本",
"moveToPreviousOccurrence": "一个匹配项",
"moveToNextOccurrence": "下一个匹配项",
"savedUsingTheNetwork": "通过网络保存",
"savedUsingLocalStorage": "使用本地存储保存",
"errorWhileSavingImage": "保存图像时出错",
"pleaseEnterTextForYourLink": "请输入链接文本(例如,'了解更多')",
"pleaseEnterTheLinkURL": "请输入链接网址(例如,'https://example.com')",
"pleaseEnterAValidImageURL": "请输入有效的图像网址",
"errorWhileSavingImage": "保存图像时发生错误",
"pleaseEnterTextForYourLink": "如'了解更多'",
"pleaseEnterTheLinkURL": "如'https://example.com'",
"pleaseEnterAValidImageURL": "请输入有效的图像URL",
"pleaseEnterAValidVideoURL": "请输入有效的视频URL",
"photo": "照片",
"image": "图像",
"pleaseEnterAValidVideoURL": "请输入有效的视频URL",
"caseSensitivityAndWholeWordSearch": "区分大小写和整词搜索",
"insertImage": "插入图像"
"insertImage": "插入图像",
"pickAPhotoFromYourGallery": "从相册选取图片",
"takeAPhotoUsingYourCamera": "使用相机拍照",
"pasteAPhotoUsingALink": "从链接获取图片",
"pickAVideoFromYourGallery": "从相册选取视频",
"recordAVideoUsingYourCamera": "使用相机录制",
"pasteAVideoUsingALink": "从链接获取视频"
}

@ -1,15 +1,15 @@
{
"@@locale": "zh_CN",
"pasteLink": "粘贴链接",
"ok": "",
"ok": "确认",
"selectColor": "选择颜色",
"gallery": "相簿",
"gallery": "相",
"link": "链接",
"open": "打开",
"copy": "复制",
"remove": "移除",
"save": "保存",
"zoom": "放",
"zoom": "放",
"saved": "已保存",
"text": "文字",
"resize": "调整大小",
@ -44,6 +44,13 @@
"justifyWinWidth": "两端对齐",
"textDirection": "文本方向",
"headerStyle": "标题样式",
"normal": "正文",
"heading1": "一级标题",
"heading2": "二级标题",
"heading3": "三级标题",
"heading4": "四级标题",
"heading5": "五级标题",
"heading6": "六级标题",
"numberedList": "有序列表",
"bulletList": "无序列表",
"checkedList": "任务列表",
@ -57,22 +64,27 @@
"enterMedia": "输入媒体",
"edit": "编辑",
"apply": "应用",
"hex": "十六进制",
"material": "Material 设计",
"color": "颜色",
"findText": "搜索文本",
"moveToPreviousOccurrence": "上一个匹配项",
"moveToNextOccurrence": "下一个匹配项",
"savedUsingTheNetwork": "通过网络保存",
"savedUsingLocalStorage": "使用本地存储保存",
"errorWhileSavingImage": "保存图像时发生错误",
"pleaseEnterTextForYourLink": "'了解更多'",
"pleaseEnterTheLinkURL": "'https://example.com'",
"pleaseEnterTextForYourLink": "如'了解更多'",
"pleaseEnterTheLinkURL": "如'https://example.com'",
"pleaseEnterAValidImageURL": "请输入有效的图像URL",
"hex": "十六进制",
"material": "材料",
"color": "颜色",
"pleaseEnterAValidVideoURL": "请输入有效的视频URL",
"photo": "照片",
"image": "图像",
"caseSensitivityAndWholeWordSearch": "区分大小写和整词搜索",
"insertImage": "插入图像"
"insertImage": "插入图像",
"pickAPhotoFromYourGallery": "从相册选取图片",
"takeAPhotoUsingYourCamera": "使用相机拍照",
"pasteAPhotoUsingALink": "从链接获取图片",
"pickAVideoFromYourGallery": "从相册选取视频",
"recordAVideoUsingYourCamera": "使用相机录制",
"pasteAVideoUsingALink": "从链接获取视频"
}

@ -442,38 +442,6 @@
"pasteAVideoUsingALink"
],
"zh": [
"normal",
"heading1",
"heading2",
"heading3",
"heading4",
"heading5",
"heading6",
"pickAPhotoFromYourGallery",
"takeAPhotoUsingYourCamera",
"pasteAPhotoUsingALink",
"pickAVideoFromYourGallery",
"recordAVideoUsingYourCamera",
"pasteAVideoUsingALink"
],
"zh_CN": [
"normal",
"heading1",
"heading2",
"heading3",
"heading4",
"heading5",
"heading6",
"pickAPhotoFromYourGallery",
"takeAPhotoUsingYourCamera",
"pasteAPhotoUsingALink",
"pickAVideoFromYourGallery",
"recordAVideoUsingYourCamera",
"pasteAVideoUsingALink"
],
"zh_HK": [
"normal",
"heading1",

@ -14,13 +14,13 @@ topics:
- quill
screenshots:
- description: 'Screenshot 1'
- description: "Screenshot 1"
path: example/assets/images/screenshot_1.png
- description: 'Screenshot 2'
- description: "Screenshot 2"
path: example/assets/images/screenshot_2.png
- description: 'Screenshot 3'
- description: "Screenshot 3"
path: example/assets/images/screenshot_3.png
- description: 'Screenshot 4'
- description: "Screenshot 4"
path: example/assets/images/screenshot_4.png
platforms:
@ -32,7 +32,7 @@ platforms:
windows:
environment:
sdk: '>=3.1.6 <4.0.0'
sdk: ">=3.1.6 <4.0.0"
flutter: ">=3.16.0"
dependencies:

Loading…
Cancel
Save