ソースを参照

Reword "Catalogues" to "Sources" for user-facing consistency

arkon 5 年 前
コミット
224f08279b

+ 2 - 2
app/shortcuts.xml

@@ -38,8 +38,8 @@
         android:icon="@drawable/sc_explore_48dp"
         android:shortcutDisabledMessage="@string/app_not_available"
         android:shortcutId="show_catalogues"
-        android:shortcutLongLabel="@string/label_catalogues"
-        android:shortcutShortLabel="@string/label_catalogues">
+        android:shortcutLongLabel="@string/label_sources"
+        android:shortcutShortLabel="@string/label_sources">
         <intent
             android:action="eu.kanade.tachiyomi.SHOW_CATALOGUES"
             android:targetClass="eu.kanade.tachiyomi.ui.main.MainActivity" />

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/ui/catalogue/CatalogueController.kt

@@ -72,7 +72,7 @@ class CatalogueController : NucleusController<CataloguePresenter>(),
      * @return title.
      */
     override fun getTitle(): String? {
-        return applicationContext?.getString(R.string.label_catalogues)
+        return applicationContext?.getString(R.string.label_sources)
     }
 
     /**

+ 2 - 2
app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.kt

@@ -82,7 +82,7 @@ class MainActivity : BaseActivity() {
                     R.id.nav_library -> setRoot(LibraryController(), id)
                     R.id.nav_updates -> setRoot(UpdatesController(), id)
                     R.id.nav_history -> setRoot(HistoryController(), id)
-                    R.id.nav_catalogues -> setRoot(CatalogueController(), id)
+                    R.id.nav_sources -> setRoot(CatalogueController(), id)
                     R.id.nav_more -> setRoot(MoreController(), id)
                 }
             } else {
@@ -196,7 +196,7 @@ class MainActivity : BaseActivity() {
             SHORTCUT_LIBRARY -> setSelectedDrawerItem(R.id.nav_library)
             SHORTCUT_RECENTLY_UPDATED -> setSelectedDrawerItem(R.id.nav_updates)
             SHORTCUT_RECENTLY_READ -> setSelectedDrawerItem(R.id.nav_history)
-            SHORTCUT_CATALOGUES -> setSelectedDrawerItem(R.id.nav_catalogues)
+            SHORTCUT_CATALOGUES -> setSelectedDrawerItem(R.id.nav_sources)
             SHORTCUT_EXTENSIONS -> {
                 setSelectedDrawerItem(R.id.nav_more)
                 router.pushController(ExtensionController().withFadeTransaction())

+ 2 - 2
app/src/main/res/menu/bottom_nav.xml

@@ -13,9 +13,9 @@
         android:icon="@drawable/ic_history_24dp"
         android:title="@string/label_recent_manga" />
     <item
-        android:id="@+id/nav_catalogues"
+        android:id="@+id/nav_sources"
         android:icon="@drawable/ic_explore_state"
-        android:title="@string/label_catalogues" />
+        android:title="@string/label_sources" />
     <item
         android:id="@+id/nav_more"
         android:icon="@drawable/ic_more_horiz_24dp"

+ 2 - 2
app/src/main/res/values/strings.xml

@@ -17,7 +17,7 @@
     <string name="label_library">Library</string>
     <string name="label_recent_updates">Updates</string>
     <string name="label_recent_manga">History</string>
-    <string name="label_catalogues">Catalogues</string>
+    <string name="label_sources">Sources</string>
     <string name="label_categories">Categories</string>
     <string name="label_backup">Backup</string>
     <string name="label_migration">Source migration</string>
@@ -581,7 +581,7 @@
     <string name="information_no_downloads">No downloads</string>
     <string name="information_no_recent">No recent chapters</string>
     <string name="information_no_recent_manga">No recently read manga</string>
-    <string name="information_empty_library">Your library is empty, add series to your library from the catalogues.</string>
+    <string name="information_empty_library">Your library is empty, add series to your library from the sources.</string>
     <string name="information_empty_category">You have no categories. Hit the plus button to create one for organizing your library.</string>
     <string name="information_cloudflare_bypass_failure">Failed to bypass Cloudflare</string>
     <string name="information_webview_outdated">Please update the WebView app for better compatibility</string>