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

View File

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

View File

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