浏览代码

Localize tracker not logged in error

arkon 4 年之前
父节点
当前提交
5f9df78ab0

+ 1 - 1
app/src/main/java/eu/kanade/tachiyomi/data/backup/BackupRestoreService.kt

@@ -426,7 +426,7 @@ class BackupRestoreService : Service() {
                             track
                         }
                 } else {
-                    errors.add(Date() to "${manga.title} - ${service?.name} not logged in")
+                    errors.add(Date() to "${manga.title} - ${getString(R.string.tracker_not_logged_in, service?.name)}")
                     Observable.empty()
                 }
             }

+ 1 - 0
app/src/main/res/values/strings.xml

@@ -327,6 +327,7 @@
     <string name="pref_backup_slots">Maximum backups</string>
     <string name="source_not_found">Source not found</string>
     <string name="source_not_found_name">Source not found: %1$s</string>
+    <string name="tracker_not_logged_in">Not logged in: %1$s</string>
     <string name="backup_created">Backup created</string>
     <string name="invalid_backup_file">Invalid backup file</string>
     <string name="invalid_backup_file_missing_data">File is missing data.</string>