From 2e7160980572dcdfc417ac0e8b5278283acd0d0f Mon Sep 17 00:00:00 2001 From: "AInfinity_LilacDream." <1977741520@qq.com> Date: Thu, 12 Dec 2024 10:45:08 +0800 Subject: [PATCH] misc #443: change translation to make it more formal, delete some nonsense changes --- lib/l10n/intl_en.arb | 2 +- lib/l10n/intl_ja.arb | 2 +- lib/page/forum/hole_detail.dart | 3 +-- lib/widget/forum/forum_widgets.dart | 1 + 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 1e34013c..a83cb700 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -545,5 +545,5 @@ "proxy_setting_set_successfully": "Proxy settings saved, restart the app to take effect.", "use_webvpn_title": "Use WebVPN proxy", "use_webvpn_description": "When enabled, certain functions could be accessed directly without Fudan LAN (restart required)", - "show_this_person": "Show this person" + "show_this_person": "Filter by this user" } \ No newline at end of file diff --git a/lib/l10n/intl_ja.arb b/lib/l10n/intl_ja.arb index 41a940a9..29ea636b 100644 --- a/lib/l10n/intl_ja.arb +++ b/lib/l10n/intl_ja.arb @@ -527,5 +527,5 @@ "proxy_setting_set_successfully": "プロキシ設定が保存されました。再起動すると有効になります。", "use_webvpn_title": "WebVPN を自動的に使う", "use_webvpn_description": "有効時、一部の機能はFudan LANなしで、直接に連接するのができます (再起動が必要)", - "show_this_person": "この人を見てください" + "show_this_person": "この人だけ" } \ No newline at end of file diff --git a/lib/page/forum/hole_detail.dart b/lib/page/forum/hole_detail.dart index ae08bcd4..341c2580 100644 --- a/lib/page/forum/hole_detail.dart +++ b/lib/page/forum/hole_detail.dart @@ -1210,8 +1210,7 @@ sealed class RenderModel {} class Normal extends RenderModel { OTHole hole; bool? isFavored, isSubscribed; - - String? selectedPerson; + String? selectedPerson = null; Normal(this.hole); diff --git a/lib/widget/forum/forum_widgets.dart b/lib/widget/forum/forum_widgets.dart index 3a58e753..6c87cfb7 100644 --- a/lib/widget/forum/forum_widgets.dart +++ b/lib/widget/forum/forum_widgets.dart @@ -319,6 +319,7 @@ class OTFloorWidget extends StatelessWidget { this.onTapImage, this.searchKeyWord, }); + @override Widget build(BuildContext context) { const int foldLimit = 500;