Merge pull request #26 from boa-z/translation-typo-fix

fix: translation typo
This commit is contained in:
nyne
2024-11-11 00:06:19 +08:00
committed by GitHub
3 changed files with 12 additions and 4 deletions

View File

@@ -17,6 +17,7 @@
"Multiple Comics": "多个漫画",
"help": "帮助",
"Select": "选择",
"Selected @a comics": "已选择 @a 部漫画",
"Imported @a comics": "已导入 @a 部漫画",
"Downloading": "下载中",
"Back": "后退",
@@ -41,6 +42,7 @@
"Folder": "文件夹",
"Confirm": "确认",
"Are you sure you want to delete this comic?": "您确定要删除这部漫画吗?",
"Are you sure you want to delete @a selected comics?": "您确定要删除 @a 部漫画吗?",
"Add comic source": "添加漫画来源",
"Select file": "选择文件",
"View list": "查看列表",
@@ -210,6 +212,7 @@
"Multiple Comics": "多部漫畫",
"help": "幫助",
"Select": "選擇",
"Selected @a comics": "已選擇 @a 部漫畫",
"Imported @a comics": "已匯入 @a 部漫畫",
"Downloading": "下載中",
"Back": "後退",
@@ -235,6 +238,7 @@
"Folder": "文件夾",
"Confirm": "確認",
"Are you sure you want to delete this comic?": "您確定要刪除這部漫畫嗎?",
"Are you sure you want to delete @a selected comics?": "您確定要刪除 @a 部漫畫嗎?",
"Add comic source": "添加漫畫來源",
"Select file": "選擇文件",
"View list": "查看列表",

View File

@@ -99,7 +99,7 @@ class _LocalComicsPageState extends State<LocalComicsPage> {
actions: [
FilledButton(
onPressed: () {
appdata.implicitData["local_sort"] =sortType.value;
appdata.implicitData["local_sort"] = sortType.value;
appdata.writeImplicitData();
Navigator.pop(context);
update();
@@ -166,7 +166,9 @@ class _LocalComicsPageState extends State<LocalComicsPage> {
)
else if (multiSelectMode)
SliverAppbar(
title: Text("Selected ${selectedComics.length} comics"),
title: Text("Selected @a comics".tlParams({
'a': selectedComics.length,
})),
actions: [
IconButton(
icon: const Icon(Icons.close),
@@ -230,7 +232,9 @@ class _LocalComicsPageState extends State<LocalComicsPage> {
showConfirmDialog(
context: context,
title: "Delete".tl,
content: "Delete selected comics?".tl,
content:
"Are you sure you want to delete @a selected comics?"
.tlParams({'a': selectedComics.length}),
onConfirm: () {
for (var comic in selectedComics.keys) {
LocalManager().deleteComic(comic);

View File

@@ -71,7 +71,7 @@ class _ReaderSettingsState extends State<ReaderSettings> {
).toSliver(),
if(App.isAndroid)
_SwitchSetting(
title: 'Turn page by volume key'.tl,
title: 'Turn page by volume keys'.tl,
settingKey: 'enableTurnPageByVolumeKey',
onChanged: () {
widget.onChanged?.call('enableTurnPageByVolumeKey');