From 8e2f2963c272a798b72ed0286e7aec35eca3d0b6 Mon Sep 17 00:00:00 2001 From: 3003h Date: Tue, 29 Oct 2024 21:43:26 +0800 Subject: [PATCH] Update eh my setting page --- lib/generated/intl/messages_en.dart | 12 +++--- lib/generated/intl/messages_ja.dart | 13 ++++--- lib/generated/intl/messages_ko_KR.dart | 12 +++--- lib/generated/intl/messages_ru.dart | 12 +++--- lib/generated/intl/messages_zh_CN.dart | 24 ++++++------ lib/generated/intl/messages_zh_TW.dart | 10 +++-- lib/generated/l10n.dart | 40 +++++++++++++++----- lib/l10n/intl_en.arb | 12 +++--- lib/l10n/intl_ja.arb | 12 +++--- lib/l10n/intl_ko_KR.arb | 12 +++--- lib/l10n/intl_ru.arb | 12 +++--- lib/l10n/intl_zh_CN.arb | 24 ++++++------ lib/l10n/intl_zh_TW.arb | 10 +++-- lib/pages/setting/eh_mysettings_items.dart | 44 +++++++++++++++------- lib/pages/setting/eh_mysettings_page.dart | 2 +- 15 files changed, 156 insertions(+), 95 deletions(-) diff --git a/lib/generated/intl/messages_en.dart b/lib/generated/intl/messages_en.dart index 35f40bd8e..4c2991cbb 100644 --- a/lib/generated/intl/messages_en.dart +++ b/lib/generated/intl/messages_en.dart @@ -587,8 +587,9 @@ class MessageLookup extends MessageLookupByLibrary { "Use original images instead of the resampled versions? Resampled images will still be used if you select a horizonal resolution different than \"Auto\" above and the image in question is wider, or if the original image is larger than 10 MiB (or 4 MiB for galleries older than one year)."), "uc_parody": MessageLookupByLibrary.simpleMessage("parody"), "uc_pixels": MessageLookupByLibrary.simpleMessage("pixels"), - "uc_pn_0": MessageLookupByLibrary.simpleMessage("No"), - "uc_pn_1": MessageLookupByLibrary.simpleMessage("Yes"), + "uc_pn_0": MessageLookupByLibrary.simpleMessage("None"), + "uc_pn_1": MessageLookupByLibrary.simpleMessage("Page Number Only"), + "uc_pn_2": MessageLookupByLibrary.simpleMessage("Page Number + Name"), "uc_profile": MessageLookupByLibrary.simpleMessage("Profile"), "uc_qb_0": MessageLookupByLibrary.simpleMessage("Nope"), "uc_qb_1": MessageLookupByLibrary.simpleMessage("Yup"), @@ -611,7 +612,7 @@ class MessageLookup extends MessageLookupByLibrary { "uc_selected": MessageLookupByLibrary.simpleMessage("Selected"), "uc_set_as_def": MessageLookupByLibrary.simpleMessage("Set as Default"), "uc_show_page_num": - MessageLookupByLibrary.simpleMessage("Show Page Numbers"), + MessageLookupByLibrary.simpleMessage("Thumbnail Labeling"), "uc_tag": MessageLookupByLibrary.simpleMessage("Gallery Tags"), "uc_tag_ft": MessageLookupByLibrary.simpleMessage("Tag Filtering Threshold"), @@ -638,8 +639,9 @@ class MessageLookup extends MessageLookupByLibrary { "uc_tl_0": MessageLookupByLibrary.simpleMessage("Default Title"), "uc_tl_1": MessageLookupByLibrary.simpleMessage( "Japanese Title (if available)"), - "uc_ts_0": MessageLookupByLibrary.simpleMessage("Normal"), - "uc_ts_1": MessageLookupByLibrary.simpleMessage("Large"), + "uc_ts_0": MessageLookupByLibrary.simpleMessage("Auto"), + "uc_ts_1": MessageLookupByLibrary.simpleMessage("Normal"), + "uc_ts_2": MessageLookupByLibrary.simpleMessage("Small"), "uc_uh_0": MessageLookupByLibrary.simpleMessage("Any client (Recommended)"), "uc_uh_0_s": MessageLookupByLibrary.simpleMessage("Any client"), diff --git a/lib/generated/intl/messages_ja.dart b/lib/generated/intl/messages_ja.dart index 0c1c47b00..7718a838c 100644 --- a/lib/generated/intl/messages_ja.dart +++ b/lib/generated/intl/messages_ja.dart @@ -502,8 +502,9 @@ class MessageLookup extends MessageLookupByLibrary { "オリジナル画像を使用しますか?上記の【自動】とは異なる水平解像度を選択し、問題の画像の幅が広い場合、または元の画像が10MB(1年以上前のライブラリは4MB)より大きい場合、サンプルされた画像が使用されます。"), "uc_parody": MessageLookupByLibrary.simpleMessage("パロディー"), "uc_pixels": MessageLookupByLibrary.simpleMessage("pixels"), - "uc_pn_0": MessageLookupByLibrary.simpleMessage("いいえ"), - "uc_pn_1": MessageLookupByLibrary.simpleMessage("はい"), + "uc_pn_0": MessageLookupByLibrary.simpleMessage("None"), + "uc_pn_1": MessageLookupByLibrary.simpleMessage("Page Number Only"), + "uc_pn_2": MessageLookupByLibrary.simpleMessage("Page Number + Name"), "uc_profile": MessageLookupByLibrary.simpleMessage("プロフィール"), "uc_qb_0": MessageLookupByLibrary.simpleMessage("いいえ"), "uc_qb_1": MessageLookupByLibrary.simpleMessage("はい"), @@ -522,7 +523,8 @@ class MessageLookup extends MessageLookupByLibrary { "インデックス/検索ページとトレント検索ページの1ページあたりの検索結果数を入力してください。(Hath Perk: ページング拡大が必要)"), "uc_selected": MessageLookupByLibrary.simpleMessage("選択済み"), "uc_set_as_def": MessageLookupByLibrary.simpleMessage("既定に設定"), - "uc_show_page_num": MessageLookupByLibrary.simpleMessage("ページ番号を表示"), + "uc_show_page_num": + MessageLookupByLibrary.simpleMessage("Thumbnail Labeling"), "uc_tag": MessageLookupByLibrary.simpleMessage("ギャラリータグ"), "uc_tag_ft": MessageLookupByLibrary.simpleMessage("タグフィルタリングしきい値"), "uc_tag_ft_desc": MessageLookupByLibrary.simpleMessage( @@ -543,8 +545,9 @@ class MessageLookup extends MessageLookupByLibrary { "uc_thumb_size": MessageLookupByLibrary.simpleMessage("大きさ"), "uc_tl_0": MessageLookupByLibrary.simpleMessage("デフォルトタイトル"), "uc_tl_1": MessageLookupByLibrary.simpleMessage("日本語タイトル(可能であれば)"), - "uc_ts_0": MessageLookupByLibrary.simpleMessage("普通"), - "uc_ts_1": MessageLookupByLibrary.simpleMessage("大きい"), + "uc_ts_0": MessageLookupByLibrary.simpleMessage("Auto"), + "uc_ts_1": MessageLookupByLibrary.simpleMessage("Normal"), + "uc_ts_2": MessageLookupByLibrary.simpleMessage("Small "), "uc_uh_0": MessageLookupByLibrary.simpleMessage("すべてのクライアント(おすすめ)"), "uc_uh_0_s": MessageLookupByLibrary.simpleMessage("すべてのクライアント"), "uc_uh_1": MessageLookupByLibrary.simpleMessage( diff --git a/lib/generated/intl/messages_ko_KR.dart b/lib/generated/intl/messages_ko_KR.dart index 63ca33494..3a684430d 100644 --- a/lib/generated/intl/messages_ko_KR.dart +++ b/lib/generated/intl/messages_ko_KR.dart @@ -547,8 +547,9 @@ class MessageLookup extends MessageLookupByLibrary { "Use original images instead of the resampled versions? Resampled images will still be used if you select a horizonal resolution different than \"Auto\" above and the image in question is wider, or if the original image is larger than 10 MiB (or 4 MiB for galleries older than one year)."), "uc_parody": MessageLookupByLibrary.simpleMessage("parody"), "uc_pixels": MessageLookupByLibrary.simpleMessage("pixels"), - "uc_pn_0": MessageLookupByLibrary.simpleMessage("No"), - "uc_pn_1": MessageLookupByLibrary.simpleMessage("Yes"), + "uc_pn_0": MessageLookupByLibrary.simpleMessage("None"), + "uc_pn_1": MessageLookupByLibrary.simpleMessage("Page Number Only"), + "uc_pn_2": MessageLookupByLibrary.simpleMessage("Page Number + Name"), "uc_profile": MessageLookupByLibrary.simpleMessage("Profile"), "uc_qb_0": MessageLookupByLibrary.simpleMessage("Nope"), "uc_qb_1": MessageLookupByLibrary.simpleMessage("Yup"), @@ -571,7 +572,7 @@ class MessageLookup extends MessageLookupByLibrary { "uc_selected": MessageLookupByLibrary.simpleMessage("Selected"), "uc_set_as_def": MessageLookupByLibrary.simpleMessage("Set as Default"), "uc_show_page_num": - MessageLookupByLibrary.simpleMessage("Show Page Numbers"), + MessageLookupByLibrary.simpleMessage("Thumbnail Labeling"), "uc_tag": MessageLookupByLibrary.simpleMessage("Gallery Tags"), "uc_tag_ft": MessageLookupByLibrary.simpleMessage("Tag Filtering Threshold"), @@ -598,8 +599,9 @@ class MessageLookup extends MessageLookupByLibrary { "uc_tl_0": MessageLookupByLibrary.simpleMessage("Default Title"), "uc_tl_1": MessageLookupByLibrary.simpleMessage( " Japanese Title (if available)"), - "uc_ts_0": MessageLookupByLibrary.simpleMessage("Narmal"), - "uc_ts_1": MessageLookupByLibrary.simpleMessage("Large"), + "uc_ts_0": MessageLookupByLibrary.simpleMessage("Auto"), + "uc_ts_1": MessageLookupByLibrary.simpleMessage("Normal"), + "uc_ts_2": MessageLookupByLibrary.simpleMessage("Small"), "uc_uh_0": MessageLookupByLibrary.simpleMessage("Any client (Recommended)"), "uc_uh_0_s": MessageLookupByLibrary.simpleMessage("Any client"), diff --git a/lib/generated/intl/messages_ru.dart b/lib/generated/intl/messages_ru.dart index c859f36a7..1e7c7a693 100644 --- a/lib/generated/intl/messages_ru.dart +++ b/lib/generated/intl/messages_ru.dart @@ -619,8 +619,9 @@ class MessageLookup extends MessageLookupByLibrary { "Use original images instead of the resampled versions? Resampled images will still be used if you select a horizonal resolution different than \"Auto\" above and the image in question is wider, or if the original image is larger than 10 MiB (or 4 MiB for galleries older than one year)."), "uc_parody": MessageLookupByLibrary.simpleMessage("parody"), "uc_pixels": MessageLookupByLibrary.simpleMessage("pixels"), - "uc_pn_0": MessageLookupByLibrary.simpleMessage("Нет"), - "uc_pn_1": MessageLookupByLibrary.simpleMessage("Да"), + "uc_pn_0": MessageLookupByLibrary.simpleMessage("None"), + "uc_pn_1": MessageLookupByLibrary.simpleMessage("Page Number Only"), + "uc_pn_2": MessageLookupByLibrary.simpleMessage("Page Number + Name"), "uc_profile": MessageLookupByLibrary.simpleMessage("Профиль"), "uc_qb_0": MessageLookupByLibrary.simpleMessage("Неа"), "uc_qb_1": MessageLookupByLibrary.simpleMessage("Ага"), @@ -643,7 +644,7 @@ class MessageLookup extends MessageLookupByLibrary { "uc_set_as_def": MessageLookupByLibrary.simpleMessage( "Установить как профиль по умолчанию"), "uc_show_page_num": - MessageLookupByLibrary.simpleMessage("Показывать номера страниц"), + MessageLookupByLibrary.simpleMessage("Thumbnail Labeling"), "uc_tag": MessageLookupByLibrary.simpleMessage("Теги галереи"), "uc_tag_ft": MessageLookupByLibrary.simpleMessage("Порог фильтрации тегов"), @@ -672,8 +673,9 @@ class MessageLookup extends MessageLookupByLibrary { MessageLookupByLibrary.simpleMessage("Название по умолчанию"), "uc_tl_1": MessageLookupByLibrary.simpleMessage( "Название на японском (если доступно)"), - "uc_ts_0": MessageLookupByLibrary.simpleMessage("Нормальный"), - "uc_ts_1": MessageLookupByLibrary.simpleMessage("Большой"), + "uc_ts_0": MessageLookupByLibrary.simpleMessage("Auto"), + "uc_ts_1": MessageLookupByLibrary.simpleMessage("Normal"), + "uc_ts_2": MessageLookupByLibrary.simpleMessage("Small"), "uc_uh_0": MessageLookupByLibrary.simpleMessage( "Любой клиент (Рекомендуется)"), "uc_uh_0_s": MessageLookupByLibrary.simpleMessage("Любой клиент"), diff --git a/lib/generated/intl/messages_zh_CN.dart b/lib/generated/intl/messages_zh_CN.dart index 5613d282b..4f7e0ed31 100644 --- a/lib/generated/intl/messages_zh_CN.dart +++ b/lib/generated/intl/messages_zh_CN.dart @@ -412,11 +412,11 @@ class MessageLookup extends MessageLookupByLibrary { "uc_cs_1": MessageLookupByLibrary.simpleMessage("最新的评论"), "uc_cs_2": MessageLookupByLibrary.simpleMessage("最高分的评论"), "uc_del_profile": MessageLookupByLibrary.simpleMessage("删除配置"), - "uc_dm_0": MessageLookupByLibrary.simpleMessage("紧凑"), + "uc_dm_0": MessageLookupByLibrary.simpleMessage("紧凑 + 标签"), "uc_dm_1": MessageLookupByLibrary.simpleMessage("缩略图"), "uc_dm_2": MessageLookupByLibrary.simpleMessage("扩展"), "uc_dm_3": MessageLookupByLibrary.simpleMessage("最小化"), - "uc_dm_4": MessageLookupByLibrary.simpleMessage("最小化+订阅标签"), + "uc_dm_4": MessageLookupByLibrary.simpleMessage("最小化 + 关注标签"), "uc_exc_lang": MessageLookupByLibrary.simpleMessage("排除语言"), "uc_exc_lang_desc": MessageLookupByLibrary.simpleMessage( "如果您希望以图库列表中的某些语言隐藏图库并进行搜索,请从下面的列表中选择它们。\n请注意,无论搜索查询如何,匹配的图库都不会出现。"), @@ -475,8 +475,9 @@ class MessageLookup extends MessageLookupByLibrary { "使用原始图像而不是重采样版本?如果您选择的水平分辨率不同于上述的 \"自动\",且相关图像较宽,或者原始图像大于 10MB(一年以上的图库为 4MB),则仍将使用重采样图像。"), "uc_parody": MessageLookupByLibrary.simpleMessage("原作"), "uc_pixels": MessageLookupByLibrary.simpleMessage("像素"), - "uc_pn_0": MessageLookupByLibrary.simpleMessage("否"), - "uc_pn_1": MessageLookupByLibrary.simpleMessage("是"), + "uc_pn_0": MessageLookupByLibrary.simpleMessage("无"), + "uc_pn_1": MessageLookupByLibrary.simpleMessage("仅页码"), + "uc_pn_2": MessageLookupByLibrary.simpleMessage("页码 + 名称"), "uc_profile": MessageLookupByLibrary.simpleMessage("配置"), "uc_qb_0": MessageLookupByLibrary.simpleMessage("否"), "uc_qb_1": MessageLookupByLibrary.simpleMessage("是"), @@ -495,7 +496,7 @@ class MessageLookup extends MessageLookupByLibrary { "主页/搜索页面每页显示多少条数据?(Hath Perk:需要「页面扩大」)"), "uc_selected": MessageLookupByLibrary.simpleMessage("当前"), "uc_set_as_def": MessageLookupByLibrary.simpleMessage("设为默认"), - "uc_show_page_num": MessageLookupByLibrary.simpleMessage("显示图库页码"), + "uc_show_page_num": MessageLookupByLibrary.simpleMessage("缩略图标签"), "uc_tag": MessageLookupByLibrary.simpleMessage("图库标签"), "uc_tag_ft": MessageLookupByLibrary.simpleMessage("标签筛选阈值"), "uc_tag_ft_desc": MessageLookupByLibrary.simpleMessage( @@ -516,18 +517,19 @@ class MessageLookup extends MessageLookupByLibrary { "uc_thumb_size": MessageLookupByLibrary.simpleMessage("大小"), "uc_tl_0": MessageLookupByLibrary.simpleMessage("默认标题"), "uc_tl_1": MessageLookupByLibrary.simpleMessage("日文标题(如果有)"), - "uc_ts_0": MessageLookupByLibrary.simpleMessage("普通"), - "uc_ts_1": MessageLookupByLibrary.simpleMessage("大图"), - "uc_uh_0": MessageLookupByLibrary.simpleMessage("所有客户端(推荐)"), - "uc_uh_0_s": MessageLookupByLibrary.simpleMessage("所有客户端"), + "uc_ts_0": MessageLookupByLibrary.simpleMessage("自动"), + "uc_ts_1": MessageLookupByLibrary.simpleMessage("普通"), + "uc_ts_2": MessageLookupByLibrary.simpleMessage("小图"), + "uc_uh_0": MessageLookupByLibrary.simpleMessage("任意客户端(推荐)"), + "uc_uh_0_s": MessageLookupByLibrary.simpleMessage("任意客户端"), "uc_uh_1": MessageLookupByLibrary.simpleMessage( "仅使用默认端口的客户端(可能稍慢。当防火墙或代理阻止非标准接口的流量时启用此项。)"), "uc_uh_1_s": MessageLookupByLibrary.simpleMessage("仅使用默认端口的客户端"), "uc_uh_2": MessageLookupByLibrary.simpleMessage( - "否 [现代/HTTPS](仅限赞助者。配额消耗会加快,只有出现严重的问题时才启用。)"), + "否 [现代/HTTPS](仅限捐赠者。配额消耗会加快,只有出现严重的问题时才启用。)"), "uc_uh_2_s": MessageLookupByLibrary.simpleMessage("否 [传统/HTTP]"), "uc_uh_3": MessageLookupByLibrary.simpleMessage( - "否 [传统/HTTP](仅限赞助者。可能无法在现代浏览器中使用,只推荐在过时的浏览器中启用。)"), + "否 [传统/HTTP](仅限捐赠者。可能无法在现代浏览器中使用,只推荐在过时的浏览器中启用。)"), "uc_uh_3_s": MessageLookupByLibrary.simpleMessage("否 [传统/HTTP]"), "uc_viewport_or": MessageLookupByLibrary.simpleMessage("移动端虚拟宽度"), "uc_viewport_or_desc": MessageLookupByLibrary.simpleMessage( diff --git a/lib/generated/intl/messages_zh_TW.dart b/lib/generated/intl/messages_zh_TW.dart index 4e22d6652..65aaa699e 100644 --- a/lib/generated/intl/messages_zh_TW.dart +++ b/lib/generated/intl/messages_zh_TW.dart @@ -513,8 +513,9 @@ class MessageLookup extends MessageLookupByLibrary { "使用原始图像而不是重采样版本?如果您选择的水平分辨率不同于上述的 \"自动\",且相关图像较宽,或者原始图像大于 10MB(一年以上的图库为 4MB),则仍将使用重采样图像。"), "uc_parody": MessageLookupByLibrary.simpleMessage("二創來源"), "uc_pixels": MessageLookupByLibrary.simpleMessage("像素"), - "uc_pn_0": MessageLookupByLibrary.simpleMessage("No"), - "uc_pn_1": MessageLookupByLibrary.simpleMessage("Yes"), + "uc_pn_0": MessageLookupByLibrary.simpleMessage("None"), + "uc_pn_1": MessageLookupByLibrary.simpleMessage("Page Number Only"), + "uc_pn_2": MessageLookupByLibrary.simpleMessage("Page Number + Name"), "uc_profile": MessageLookupByLibrary.simpleMessage("設定檔"), "uc_qb_0": MessageLookupByLibrary.simpleMessage("Nope"), "uc_qb_1": MessageLookupByLibrary.simpleMessage("Yup"), @@ -560,8 +561,9 @@ class MessageLookup extends MessageLookupByLibrary { "uc_thumb_size": MessageLookupByLibrary.simpleMessage("Size"), "uc_tl_0": MessageLookupByLibrary.simpleMessage("預設標題"), "uc_tl_1": MessageLookupByLibrary.simpleMessage(" 日文標題 (如果有的話)"), - "uc_ts_0": MessageLookupByLibrary.simpleMessage("Normal"), - "uc_ts_1": MessageLookupByLibrary.simpleMessage("Large"), + "uc_ts_0": MessageLookupByLibrary.simpleMessage("Auto"), + "uc_ts_1": MessageLookupByLibrary.simpleMessage("Normal"), + "uc_ts_2": MessageLookupByLibrary.simpleMessage("Small"), "uc_uh_0": MessageLookupByLibrary.simpleMessage("Any client (Recommended)"), "uc_uh_0_s": MessageLookupByLibrary.simpleMessage("Any client"), diff --git a/lib/generated/l10n.dart b/lib/generated/l10n.dart index d3f79c1bb..ef75ce034 100644 --- a/lib/generated/l10n.dart +++ b/lib/generated/l10n.dart @@ -2491,10 +2491,10 @@ class L10n { ); } - /// `Show Page Numbers` + /// `Thumbnail Labeling` String get uc_show_page_num { return Intl.message( - 'Show Page Numbers', + 'Thumbnail Labeling', name: 'uc_show_page_num', desc: '', args: [], @@ -3081,26 +3081,36 @@ class L10n { ); } - /// `Normal` + /// `Auto` String get uc_ts_0 { return Intl.message( - 'Normal', + 'Auto', name: 'uc_ts_0', desc: '', args: [], ); } - /// `Large` + /// `Normal` String get uc_ts_1 { return Intl.message( - 'Large', + 'Normal', name: 'uc_ts_1', desc: '', args: [], ); } + /// `Small` + String get uc_ts_2 { + return Intl.message( + 'Small', + name: 'uc_ts_2', + desc: '', + args: [], + ); + } + /// `Oldest comments first` String get uc_cs_0 { return Intl.message( @@ -3171,26 +3181,36 @@ class L10n { ); } - /// `No` + /// `None` String get uc_pn_0 { return Intl.message( - 'No', + 'None', name: 'uc_pn_0', desc: '', args: [], ); } - /// `Yes` + /// `Page Number Only` String get uc_pn_1 { return Intl.message( - 'Yes', + 'Page Number Only', name: 'uc_pn_1', desc: '', args: [], ); } + /// `Page Number + Name` + String get uc_pn_2 { + return Intl.message( + 'Page Number + Name', + name: 'uc_pn_2', + desc: '', + args: [], + ); + } + /// `Prefer resampled images` String get uc_oi_0 { return Intl.message( diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 064aa9b11..c6470b3b6 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -243,7 +243,7 @@ "uc_comments_show_votes": "Show votes", "uc_tag": "Gallery Tags", "uc_tag_short_order": "Gallery Tags Sort order", - "uc_show_page_num": "Show Page Numbers", + "uc_show_page_num": "Thumbnail Labeling", "uc_hath_local_host": "Hentai@Home Local Network Host", "uc_ip_addr_port": "IP Address:Port", "uc_hath_local_host_desc": "This setting can be used if you have a H@H client running on your local network with the same public IP you browse the site with. Some routers are buggy and cannot route requests back to its own IP; this allows you to work around this problem.\nIf you are running the client on the same PC you browse from, use the loopback address (127.0.0.1:port). If the client is running on another computer on your network, use its local network IP. Some browser configurations prevent external web sites from accessing URLs with local network IPs, the site must then be whitelisted for this to work.", @@ -302,8 +302,9 @@ "uc_lt_1": "On page load (pages take longer to load, but there is no delay for loading a thumb after the page has loaded)", "uc_lt_0_s": "On mouse-over", "uc_lt_1_s": "On page load", - "uc_ts_0": "Normal", - "uc_ts_1": "Large", + "uc_ts_0": "Auto", + "uc_ts_1": "Normal", + "uc_ts_2": "Small", "uc_cs_0": "Oldest comments first", "uc_cs_1": "Recent comments first", "uc_cs_2": "By highest score", @@ -311,8 +312,9 @@ "uc_sc_1": "Always", "uc_tb_0": "Alphabetical", "uc_tb_1": "By tag power", - "uc_pn_0": "No", - "uc_pn_1": "Yes", + "uc_pn_0": "None", + "uc_pn_1": "Page Number Only", + "uc_pn_2": "Page Number + Name", "uc_oi_0": "Prefer resampled images", "uc_oi_1": "Prefer original images", "uc_qb_0": "Nope", diff --git a/lib/l10n/intl_ja.arb b/lib/l10n/intl_ja.arb index 62d6fd238..3ab64770f 100644 --- a/lib/l10n/intl_ja.arb +++ b/lib/l10n/intl_ja.arb @@ -243,7 +243,7 @@ "uc_comments_show_votes": "評価を表示", "uc_tag": "ギャラリータグ", "uc_tag_short_order": "タグ並べ替え", - "uc_show_page_num": "ページ番号を表示", + "uc_show_page_num": "Thumbnail Labeling", "uc_hath_local_host": "Hentai@Home", "uc_ip_addr_port": "IP Address:Port", "uc_hath_local_host_desc": "この設定は、ローカルネットワーク上でH@Hクライアントがサイトを閲覧するのと同じ公開IPで動作している場合に使用できます。一部のルーターはバグがあり、自身のIPにリクエストをルーティングすることができません。\nブラウズするのと同じPCでクライアントを実行している場合は、ループバックアドレス(127.0.0.1:port)を使用します。クライアントがネットワーク上の別のコンピュータで実行されている場合は、そのローカルネットワークIPを使用します。ブラウザの設定によっては、外部のWebサイトがローカルネットワークIPを持つURLにアクセスできないようになっています。その場合、ホワイトリストに登録しなければならなりません", @@ -302,8 +302,9 @@ "uc_lt_1": "ページのロード時【ページのロードが遅いけど待ち時間なしで表示されます】", "uc_lt_0_s": "マウスホバー時", "uc_lt_1_s": "ページのロード時", - "uc_ts_0": "普通", - "uc_ts_1": "大きい", + "uc_ts_0": "Auto", + "uc_ts_1": "Normal", + "uc_ts_2": "Small ", "uc_cs_0": "最古", "uc_cs_1": "最新", "uc_cs_2": "評価", @@ -311,8 +312,9 @@ "uc_sc_1": "常時", "uc_tb_0": "アルファベット順", "uc_tb_1": "パワー順", - "uc_pn_0": "いいえ", - "uc_pn_1": "はい", + "uc_pn_0": "None", + "uc_pn_1": "Page Number Only", + "uc_pn_2": "Page Number + Name", "uc_oi_0": "サンプルを優先", "uc_oi_1": "オリジナルを優先", "uc_qb_0": "いいえ", diff --git a/lib/l10n/intl_ko_KR.arb b/lib/l10n/intl_ko_KR.arb index 028456535..eeab677a2 100644 --- a/lib/l10n/intl_ko_KR.arb +++ b/lib/l10n/intl_ko_KR.arb @@ -243,7 +243,7 @@ "uc_comments_show_votes": "Show votes", "uc_tag": "Gallery Tags", "uc_tag_short_order": "Gallery Tags Sort order", - "uc_show_page_num": "Show Page Numbers", + "uc_show_page_num": "Thumbnail Labeling", "uc_hath_local_host": "Hentai@Home Local Network Host", "uc_ip_addr_port": "IP Address:Port", "uc_hath_local_host_desc": " This setting can be used if you have a H@H client running on your local network with the same public IP you browse the site with. Some routers are buggy and cannot route requests back to its own IP; this allows you to work around this problem.\n If you are running the client on the same PC you browse from, use the loopback address (127.0.0.1:port). If the client is running on another computer on your network, use its local network IP. Some browser configurations prevent external web sites from accessing URLs with local network IPs, the site must then be whitelisted for this to work.", @@ -302,8 +302,9 @@ "uc_lt_1": "On page load (pages take longer to load, but there is no delay for loading a thumb after the page has loaded)", "uc_lt_0_s": "On mouse-over", "uc_lt_1_s": "On page load", - "uc_ts_0": "Narmal", - "uc_ts_1": "Large", + "uc_ts_0": "Auto", + "uc_ts_1": "Normal", + "uc_ts_2": "Small", "uc_cs_0": "Oldest comments first", "uc_cs_1": "Recent comments first", "uc_cs_2": "By highest score", @@ -311,8 +312,9 @@ "uc_sc_1": "Always", "uc_tb_0": "Alphabetical", "uc_tb_1": "By tag power", - "uc_pn_0": "No", - "uc_pn_1": "Yes", + "uc_pn_0": "None", + "uc_pn_1": "Page Number Only", + "uc_pn_2": "Page Number + Name", "uc_oi_0": "Prefer resampled images", "uc_oi_1": "Prefer original images", "uc_qb_0": "Nope", diff --git a/lib/l10n/intl_ru.arb b/lib/l10n/intl_ru.arb index ccd6b7816..ceaf720bc 100644 --- a/lib/l10n/intl_ru.arb +++ b/lib/l10n/intl_ru.arb @@ -243,7 +243,7 @@ "uc_comments_show_votes": "Показ голосов", "uc_tag": "Теги галереи", "uc_tag_short_order": "Порядок сортировки тегов галереи", - "uc_show_page_num": "Показывать номера страниц", + "uc_show_page_num": "Thumbnail Labeling", "uc_hath_local_host": "Hentai@Home Local Network Host", "uc_ip_addr_port": "IP Адрес:Порт", "uc_hath_local_host_desc": "Эта настройка может быть использована, если у вас в локальной сети запущен клиент H@H с тем же публичным IP адресом, с которым вы пользуетесь приложением. Некоторые маршрутизаторы глючат и не могут направить запросы к собственному IP; с помощью этого вы можете обойти данную проблема.\nЕсли клиент запущен на том же ПК, на котором запущено данное приложение, следует использовать адрес 127.0.0.1:port. Если клиент запущен на другом ПК в той же локальной сети, используйте его локальный IP адрес. Некоторые настройки браузера предотвращают запросы к внешним сайтам с IP адресов в локальной сети, для того, чтобы это работало, необходимо добавить сайт в список исключений", @@ -302,8 +302,9 @@ "uc_lt_1": "При загрузке страницы (загрузка страниц занимает больше времени, но отсутствует задержка при загрузке миниатюр)", "uc_lt_0_s": "При наведении мыши", "uc_lt_1_s": "При загрузке страницы", - "uc_ts_0": "Нормальный", - "uc_ts_1": "Большой", + "uc_ts_0": "Auto", + "uc_ts_1": "Normal", + "uc_ts_2": "Small", "uc_cs_0": "Сначала старые", "uc_cs_1": "Сначала новые", "uc_cs_2": "Самые лайкнутые", @@ -311,8 +312,9 @@ "uc_sc_1": "Всегда", "uc_tb_0": "По алфавиту", "uc_tb_1": "По количеству тегов", - "uc_pn_0": "Нет", - "uc_pn_1": "Да", + "uc_pn_0": "None", + "uc_pn_1": "Page Number Only", + "uc_pn_2": "Page Number + Name", "uc_oi_0": "Prefer resampled images", "uc_oi_1": "Prefer original images", "uc_qb_0": "Неа", diff --git a/lib/l10n/intl_zh_CN.arb b/lib/l10n/intl_zh_CN.arb index 9f021e984..75c790f78 100644 --- a/lib/l10n/intl_zh_CN.arb +++ b/lib/l10n/intl_zh_CN.arb @@ -243,7 +243,7 @@ "uc_comments_show_votes": "显示投票数", "uc_tag": "图库标签", "uc_tag_short_order": "图库标签排序", - "uc_show_page_num": "显示图库页码", + "uc_show_page_num": "缩略图标签", "uc_hath_local_host": "Hentai@Home 本地网络服务器", "uc_ip_addr_port": "IP Address:Port", "uc_hath_local_host_desc": " 如果你本地安装了 H@H 客户端,本地 IP 与浏览网站的公共 IP 相同,一些路由器不支持回流导致无法访问到自己,你可以设置这里来解决。\n 如果在同一台电脑上访问网站和运行客户端,请使用本地回环地址(127.0.0.1:端口号)。如果客户端在网络上的其他计算机运行,请使用那台机器的内网 IP。某些浏览器的配置可能阻止外部网站访问本地网络,你必须将网站列入白名单才能工作。", @@ -274,11 +274,11 @@ "uc_Vietnamese": "越南语", "uc_NA": "无语言", "uc_Other": "其他", - "uc_uh_0": "所有客户端(推荐)", + "uc_uh_0": "任意客户端(推荐)", "uc_uh_1": "仅使用默认端口的客户端(可能稍慢。当防火墙或代理阻止非标准接口的流量时启用此项。)", - "uc_uh_2": "否 [现代/HTTPS](仅限赞助者。配额消耗会加快,只有出现严重的问题时才启用。)", - "uc_uh_3": "否 [传统/HTTP](仅限赞助者。可能无法在现代浏览器中使用,只推荐在过时的浏览器中启用。)", - "uc_uh_0_s": "所有客户端", + "uc_uh_2": "否 [现代/HTTPS](仅限捐赠者。配额消耗会加快,只有出现严重的问题时才启用。)", + "uc_uh_3": "否 [传统/HTTP](仅限捐赠者。可能无法在现代浏览器中使用,只推荐在过时的浏览器中启用。)", + "uc_uh_0_s": "任意客户端", "uc_uh_1_s": "仅使用默认端口的客户端", "uc_uh_2_s": "否 [传统/HTTP]", "uc_uh_3_s": "否 [传统/HTTP]", @@ -291,19 +291,20 @@ "uc_ar_3": "自动选择原始画质,自动下载", "uc_ar_4": "自动选择压缩画质,手动下载", "uc_ar_5": "自动选择压缩画质,自动下载", - "uc_dm_0": "紧凑", + "uc_dm_0": "紧凑 + 标签", "uc_dm_1": "缩略图", "uc_dm_2": "扩展", "uc_dm_3": "最小化", - "uc_dm_4": "最小化+订阅标签", + "uc_dm_4": "最小化 + 关注标签", "uc_fs_0": "按最新更新时间排序", "uc_fs_1": "按收藏时间排序", "uc_lt_0": "鼠标悬停时 (页面加载快,缩略图加载有延迟)", "uc_lt_1": "页面加载时 (页面加载时间更长,但是显示的时候无需等待)", "uc_lt_0_s": "鼠标悬停时", "uc_lt_1_s": "页面加载时", - "uc_ts_0": "普通", - "uc_ts_1": "大图", + "uc_ts_0": "自动", + "uc_ts_1": "普通", + "uc_ts_2": "小图", "uc_cs_0": "最早的评论", "uc_cs_1": "最新的评论", "uc_cs_2": "最高分的评论", @@ -311,8 +312,9 @@ "uc_sc_1": "总是", "uc_tb_0": "按字母排序", "uc_tb_1": "按标签权重", - "uc_pn_0": "否", - "uc_pn_1": "是", + "uc_pn_0": "无", + "uc_pn_1": "仅页码", + "uc_pn_2": "页码 + 名称", "uc_oi_0": "优先重新采样图像", "uc_oi_1": "优先原图", "uc_qb_0": "否", diff --git a/lib/l10n/intl_zh_TW.arb b/lib/l10n/intl_zh_TW.arb index 9f5177081..7214cd125 100644 --- a/lib/l10n/intl_zh_TW.arb +++ b/lib/l10n/intl_zh_TW.arb @@ -302,8 +302,9 @@ "uc_lt_1": "On page load (pages take longer to load, but there is no delay for loading a thumb after the page has loaded)", "uc_lt_0_s": "游標懸停時", "uc_lt_1_s": "頁面載入時", - "uc_ts_0": "Normal", - "uc_ts_1": "Large", + "uc_ts_0": "Auto", + "uc_ts_1": "Normal", + "uc_ts_2": "Small", "uc_cs_0": "Oldest comments first", "uc_cs_1": "Recent comments first", "uc_cs_2": "By highest score", @@ -311,8 +312,9 @@ "uc_sc_1": "Always", "uc_tb_0": "Alphabetical", "uc_tb_1": "By tag power", - "uc_pn_0": "No", - "uc_pn_1": "Yes", + "uc_pn_0": "None", + "uc_pn_1": "Page Number Only", + "uc_pn_2": "Page Number + Name", "uc_oi_0": "Prefer resampled images", "uc_oi_1": "Prefer original images", "uc_qb_0": "Nope", diff --git a/lib/pages/setting/eh_mysettings_items.dart b/lib/pages/setting/eh_mysettings_items.dart index c75500deb..04d047516 100644 --- a/lib/pages/setting/eh_mysettings_items.dart +++ b/lib/pages/setting/eh_mysettings_items.dart @@ -5,8 +5,8 @@ final _controller = Get.find(); Widget _buildSelectedProfileItem(BuildContext context) { return Obx(() { final Map actionMap = {}; - for (final _profile in _controller.ehSetting.profilelist) { - actionMap['${_profile.value}'] = _profile.name; + for (final ehProfile in _controller.ehSetting.profilelist) { + actionMap['${ehProfile.value}'] = ehProfile.name; } return SelectorCupertinoListTile( key: UniqueKey(), @@ -56,7 +56,7 @@ Widget _buildImageSizeItem(BuildContext context) { '5': '2400x', '4': '1600x', '3': '1280x', - '2': '980x', + // '2': '980x', '1': '780x', }; return Obx(() { @@ -208,8 +208,12 @@ Widget _buildThumbSizeItem( BuildContext context, ) { final Map actionMap = { + // auto '0': L10n.of(context).uc_ts_0, + // normal '1': L10n.of(context).uc_ts_1, + // small + '2': L10n.of(context).uc_ts_2, }; return Obx(() { @@ -229,7 +233,7 @@ Widget _buildThumbRowItem( ) { final Map actionMap = { '0': '4', - '1': '10', + '1': '8', '2': '20', '3': '40', }; @@ -313,18 +317,30 @@ Widget _buildShowPageNumbers( final Map actionMap = { '0': L10n.of(context).uc_pn_0, '1': L10n.of(context).uc_pn_1, + '2': L10n.of(context).uc_pn_2, }; - return EhCupertinoListTile( - title: Text(L10n.of(context).uc_show_page_num), - trailing: Obx(() { - return CupertinoSwitch( - value: _controller.ehSetting.showGalleryPageNumbers == '0', - onChanged: (val) => _controller.ehSetting = _controller.ehSetting - .copyWith(showGalleryPageNumbers: val ? '0'.oN : '1'.oN), - ); - }), - ); + return Obx(() { + return SelectorCupertinoListTile( + key: UniqueKey(), + title: L10n.of(context).uc_show_page_num, + actionMap: actionMap, + initVal: _controller.ehSetting.showGalleryPageNumbers ?? '0', + onValueChanged: (val) => _controller.ehSetting = + _controller.ehSetting.copyWith(showGalleryPageNumbers: val.oN), + ); + }); + + // return EhCupertinoListTile( + // title: Text(L10n.of(context).uc_show_page_num), + // trailing: Obx(() { + // return CupertinoSwitch( + // value: _controller.ehSetting.showGalleryPageNumbers == '0', + // onChanged: (val) => _controller.ehSetting = _controller.ehSetting + // .copyWith(showGalleryPageNumbers: val ? '0'.oN : '1'.oN), + // ); + // }), + // ); } Widget _buildOriginalImages( diff --git a/lib/pages/setting/eh_mysettings_page.dart b/lib/pages/setting/eh_mysettings_page.dart index 0f64037df..aad3b860e 100644 --- a/lib/pages/setting/eh_mysettings_page.dart +++ b/lib/pages/setting/eh_mysettings_page.dart @@ -19,7 +19,7 @@ part 'eh_mysettings_items.dart'; const kFavList = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; class EhMySettingsPage extends GetView { - const EhMySettingsPage({Key? key}) : super(key: key); + const EhMySettingsPage({super.key}); @override Widget build(BuildContext context) {