优化翻译

pull/997/head
gedoor 4 years ago
parent 90aa72fa6f
commit 4d2a7e5d7d
  1. 11
      app/src/main/java/io/legado/app/help/ReadTipConfig.kt
  2. 6
      app/src/main/res/values-pt-rBR/strings.xml
  3. 3
      app/src/main/res/values-zh-rHK/strings.xml
  4. 3
      app/src/main/res/values-zh-rTW/strings.xml
  5. 3
      app/src/main/res/values-zh/strings.xml
  6. 5
      app/src/main/res/values/strings.xml

@ -8,10 +8,17 @@ object ReadTipConfig {
appCtx.resources.getStringArray(R.array.read_tip).toList() appCtx.resources.getStringArray(R.array.read_tip).toList()
} }
val headerModes by lazy { val headerModes by lazy {
linkedMapOf(0 to "状态栏显示时隐藏", 1 to "显示", 2 to "隐藏") linkedMapOf(
Pair(0, appCtx.getString(R.string.hide_when_status_bar_show)),
Pair(1, appCtx.getString(R.string.show)),
Pair(2, appCtx.getString(R.string.hide))
)
} }
val footerModes by lazy { val footerModes by lazy {
linkedMapOf(0 to "显示", 1 to "隐藏") linkedMapOf(
Pair(0, appCtx.getString(R.string.show)),
Pair(1, appCtx.getString(R.string.hide))
)
} }
const val none = 0 const val none = 0
const val chapterTitle = 1 const val chapterTitle = 1

@ -832,5 +832,11 @@
<string name="show_unread">Mostrar não lido</string> <string name="show_unread">Mostrar não lido</string>
<string name="use_default_cover">sempre usar capa padrão</string> <string name="use_default_cover">sempre usar capa padrão</string>
<string name="use_default_cover_s">sempre usar capa padrão,não usar rede</string> <string name="use_default_cover_s">sempre usar capa padrão,não usar rede</string>
<string name="title_font_size">Font size</string>
<string name="title_margin_top">Margin top</string>
<string name="title_margin_bottom">Marigin bottom</string>
<string name="show">Show</string>
<string name="hide">Hide</string>
<string name="hide_when_status_bar_show">Hide when status bar show</string>
</resources> </resources>

@ -830,5 +830,8 @@
<string name="title_font_size">字號</string> <string name="title_font_size">字號</string>
<string name="title_margin_top">上邊距</string> <string name="title_margin_top">上邊距</string>
<string name="title_margin_bottom">下邊距</string> <string name="title_margin_bottom">下邊距</string>
<string name="show">显示</string>
<string name="hide">隐藏</string>
<string name="hide_when_status_bar_show">状态栏显示时隐藏</string>
</resources> </resources>

@ -834,5 +834,8 @@
<string name="title_font_size">字號</string> <string name="title_font_size">字號</string>
<string name="title_margin_top">上邊距</string> <string name="title_margin_top">上邊距</string>
<string name="title_margin_bottom">下邊距</string> <string name="title_margin_bottom">下邊距</string>
<string name="show">显示</string>
<string name="hide">隐藏</string>
<string name="hide_when_status_bar_show">状态栏显示时隐藏</string>
</resources> </resources>

@ -834,5 +834,8 @@
<string name="title_font_size">字号</string> <string name="title_font_size">字号</string>
<string name="title_margin_top">上边距</string> <string name="title_margin_top">上边距</string>
<string name="title_margin_bottom">下边距</string> <string name="title_margin_bottom">下边距</string>
<string name="show">显示</string>
<string name="hide">隐藏</string>
<string name="hide_when_status_bar_show">状态栏显示时隐藏</string>
</resources> </resources>

@ -830,10 +830,13 @@
<string name="use_default_cover_s">Always show the default cover, do not show the network cover</string> <string name="use_default_cover_s">Always show the default cover, do not show the network cover</string>
<string name="search_src">Search source code</string> <string name="search_src">Search source code</string>
<string name="boo_src">Book source code</string> <string name="boo_src">Book source code</string>
<string name="toc_src">Chapters source code</string> <string name="toc_src">Chapters source code</string>
<string name="content_src">Content source code</string> <string name="content_src">Content source code</string>
<string name="list_src">List source code</string> <string name="list_src">List source code</string>
<string name="title_font_size">Font size</string> <string name="title_font_size">Font size</string>
<string name="title_margin_top">Margin top</string> <string name="title_margin_top">Margin top</string>
<string name="title_margin_bottom">Marigin bottom</string> <string name="title_margin_bottom">Marigin bottom</string>
<string name="show">Show</string>
<string name="hide">Hide</string>
<string name="hide_when_status_bar_show">Hide when status bar show</string>
</resources> </resources>

Loading…
Cancel
Save