From 20829e1ad5af8050c40254d72050763e37e99fbe Mon Sep 17 00:00:00 2001 From: wgh19 Date: Fri, 31 May 2024 17:44:50 +0800 Subject: [PATCH] improve text --- assets/tr.json | 12 ++++++++---- lib/pages/image_page.dart | 8 ++++---- lib/pages/main_page.dart | 12 +++++++----- 3 files changed, 19 insertions(+), 13 deletions(-) diff --git a/assets/tr.json b/assets/tr.json index 9aaf952..b5129f2 100644 --- a/assets/tr.json +++ b/assets/tr.json @@ -3,14 +3,14 @@ "Search": "搜索", "Downloading": "下载中", "Downloaded": "已下载", - "Artwork": "作品", + "Artwork": "插画", "Explore": "探索", "Bookmarks": "收藏", "Following": "关注", "History": "历史", "Ranking": "排行", "Settings": "设置", - "Artworks": "作品", + "Artworks": "插画", "Mangas": "漫画", "Users": "用户", "Search artwork": "搜索作品", @@ -156,7 +156,9 @@ "Next work": "下一作品", "Previous work": "上一作品", "Add to favorites": "添加收藏", - "Follow the artist": "关注画师" + "Follow the artist": "关注画师", + "Manga": "漫画", + "Actions": "操作" }, "zh_TW": { "Search": "搜索", @@ -315,6 +317,8 @@ "Next work": "下一作品", "Previous work": "上一作品", "Add to favorites": "添加收藏", - "Follow the artist": "關注畫師" + "Follow the artist": "關注畫師", + "Manga": "漫畫", + "Actions": "操作" } } \ No newline at end of file diff --git a/lib/pages/image_page.dart b/lib/pages/image_page.dart index 0c9ba72..da7c25d 100644 --- a/lib/pages/image_page.dart +++ b/lib/pages/image_page.dart @@ -252,16 +252,16 @@ class _ImagePageState extends State with WindowListener { child: width > 600 ? Button( onPressed: showMenu, - child: const Row( + child: Row( children: [ - Icon( + const Icon( MdIcons.menu, size: 18, ), - SizedBox( + const SizedBox( width: 8, ), - Text('Actions'), + Text('Actions'.tl), ], )) : IconButton( diff --git a/lib/pages/main_page.dart b/lib/pages/main_page.dart index 721247f..471e892 100644 --- a/lib/pages/main_page.dart +++ b/lib/pages/main_page.dart @@ -152,7 +152,9 @@ class _MainPageState extends State with WindowListener { ), PaneItemSeparator(), PaneItemHeader( - header: Text("Artwork".tl).paddingBottom(4).paddingLeft(8)), + header: Text('${"Artwork".tl}/${"Manga".tl}') + .paddingBottom(4) + .paddingLeft(8)), PaneItem( icon: const Icon( MdIcons.explore_outlined, @@ -215,10 +217,10 @@ class _MainPageState extends State with WindowListener { context: context, removeTop: true, child: Navigator( - key: navigatorKey, - onGenerateRoute: (settings) => AppPageRoute( - builder: (context) => const RecommendationPage()), - ), + key: navigatorKey, + onGenerateRoute: (settings) => AppPageRoute( + builder: (context) => const RecommendationPage()), + ), ))), ); }