Skip to content

Commit

Permalink
refactor: Remove Unused Translations (#1316)
Browse files Browse the repository at this point in the history
  • Loading branch information
nyagami authored Nov 9, 2024
1 parent 4bc3638 commit b68d44d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 63 deletions.
35 changes: 3 additions & 32 deletions strings/languages/en/strings.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,9 @@
"deleteReadChapters": "Delete read chapters",
"deleteReadChaptersDialogTitle": "Are you sure? All chapters marked as read will be deleted.",
"importEpub": "Import Epub",
"importError": "Import Error",
"importNovel": "Import Novel",
"importStaticFiles": "Import Static Files",
"novelInsertFailed": "novel insert failed",
"parseEpub": "Parse Epub",
"useFAB": "Use FAB instead of button",
"userAgent": "User Agent"
},
Expand Down Expand Up @@ -77,28 +75,19 @@
"backupCreated": "Backup created %{fileName}",
"libraryRestored": "Library Restored",
"noAvailableBackup": "There's no available backup",
"noErrorNovel": "There's no error novel",
"novelsRestored": "%{num} novels restored",
"novelsRestoredError": "%{num} novels got errors. Please use Restore error backup to try again.",
"pluginNotExist": "Plugin with id %{id} doenst exist!"
"novelsRestored": "%{num} novels restored"
},
"legacyBackup": "Legacy Backup",
"noBackupFound": "No backup found",
"noDataProvided": "No data provided",
"preparingData": "Preparing Data",
"remote": {
"backup": "Self Host Backup",
"backupInterruped": "Self Host Backup Interruped",
"host": "Host",
"restore": "Self Host Restore",
"restoreInterruped": "Self Host Restore Interruped",
"unknownHost": "Unknown host"
},
"remoteBackup": "Remote Backup",
"restoreBackup": "Restore backup",
"restoreBackupDesc": "Restore library from backup file",
"restoreError": "Restore error",
"restoreErrorDesc": "Using this to restore the remaining. Save your time.",
"restoreLargeBackupsWarning": "Restoring large backups may freeze the app until restoring is finished",
"restorinBackup": "Restoring backup",
"restoringData": "Restoring Data",
Expand All @@ -121,22 +110,15 @@
"latest": "Latest",
"listEmpty": "Enable languages from settings",
"migration": {
"anotherServiceIsRunning": "Another service is running",
"dialogMessage": "Migrate %{url}?",
"migratingToNewSource": "Migrating %{name} to new source",
"migrationError": "Migration error",
"novelAlreadyInLibrary": "Novel already in library",
"novelMigrated": "Novel Migrated",
"selectSource": "Select Source",
"selectSourceDesc": "Select a Source To Migrate From"
},
"noSource": "Your library does not have any novels from this source",
"pinned": "Pinned",
"pluginsHostError": "Plugins host error",
"removeFromLibrary": "Removed from Library",
"searchbar": "Search sources",
"selectNovel": "Select Novel",
"tryAgain": "Try again in a moment",
"uninstalledPlugin": "Uninstalled %{name}",
"updateFailed": "Update failed",
"updatedTo": "Updated to %{version}",
Expand All @@ -148,10 +130,7 @@
"browseSettings": "Browse Settings",
"browseSettingsScreen": {
"concurrentSearches": "Concurrent Source Searches",
"languages": "Languages",
"onlyShowPinnedSources": "Only show pinned sources",
"searchAllSources": "Search all sources",
"searchAllWarning": "Searching a large number of sources may freeze the app till searching is finished."
"languages": "Languages"
},
"categories": {
"addCategories": "Add category",
Expand Down Expand Up @@ -198,7 +177,6 @@
"name": "Name",
"newUpdateAvailable": "New update available",
"ok": "Ok",
"parsing": "Parsing",
"pause": "Pause",
"preparing": "Preparing",
"remove": "Remove",
Expand Down Expand Up @@ -241,16 +219,12 @@
"chapterName": "Chapter: %{name}",
"completed": "Download completed",
"dbInfo": "Downloads are saved in a SQLite Database.",
"downloadChapters": "downloaded Chapters",
"downloader": "Downloader",
"downloading": "Downloading",
"downloadingNovel": "Downloading: %{name}",
"downloadsLower": "downloads",
"failed": "Download failed: %{message}",
"noDownloads": "No downloads",
"pluginNotFound": "Plugin not found!",
"removeDownloadsWarning": "Are you sure? All downloaded chapters will be deleted.",
"serviceRunning": "Another service is running. Queued chapters"
"removeDownloadsWarning": "Are you sure? All downloaded chapters will be deleted."
},
"generalSettings": "General",
"generalSettingsScreen": {
Expand Down Expand Up @@ -288,7 +262,6 @@
},
"globalSearch": {
"allSources": "all sources",
"pinnedSources": "pinned sources",
"searchIn": "Search a novel in"
},
"history": "History",
Expand Down Expand Up @@ -442,11 +415,9 @@
"padding": "Padding",
"pageReader": "Tap left or right to navigate through pages in the reader (Experimental)",
"removeExtraSpacing": "Remove extra paragraph spacing",
"renderHml": "Render HTML",
"scrollAmount": "Scroll amount (screen height by default)",
"showBatteryAndTime": "Show battery and time",
"showProgressPercentage": "Show progress percentage",
"showSwipeMargins": "Show swipe margins",
"swipeGestures": "Swipe left or right to navigate between chapters",
"textAlign": "Text align",
"textSize": "Text size",
Expand Down
35 changes: 4 additions & 31 deletions strings/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ export interface StringMap {
'advancedSettingsScreen.deleteReadChapters': 'string';
'advancedSettingsScreen.deleteReadChaptersDialogTitle': 'string';
'advancedSettingsScreen.importEpub': 'string';
'advancedSettingsScreen.importError': 'string';
'advancedSettingsScreen.importNovel': 'string';
'advancedSettingsScreen.importStaticFiles': 'string';
'advancedSettingsScreen.novelInsertFailed': 'string';
'advancedSettingsScreen.parseEpub': 'string';
'advancedSettingsScreen.useFAB': 'string';
'advancedSettingsScreen.userAgent': 'string';
'appearance': 'string';
Expand Down Expand Up @@ -69,25 +67,16 @@ export interface StringMap {
'backupScreen.legacy.backupCreated': 'string';
'backupScreen.legacy.libraryRestored': 'string';
'backupScreen.legacy.noAvailableBackup': 'string';
'backupScreen.legacy.noErrorNovel': 'string';
'backupScreen.legacy.novelsRestored': 'string';
'backupScreen.legacy.novelsRestoredError': 'string';
'backupScreen.legacy.pluginNotExist': 'string';
'backupScreen.legacyBackup': 'string';
'backupScreen.noBackupFound': 'string';
'backupScreen.noDataProvided': 'string';
'backupScreen.preparingData': 'string';
'backupScreen.remote.backup': 'string';
'backupScreen.remote.backupInterruped': 'string';
'backupScreen.remote.host': 'string';
'backupScreen.remote.restore': 'string';
'backupScreen.remote.restoreInterruped': 'string';
'backupScreen.remote.unknownHost': 'string';
'backupScreen.remoteBackup': 'string';
'backupScreen.restoreBackup': 'string';
'backupScreen.restoreBackupDesc': 'string';
'backupScreen.restoreError': 'string';
'backupScreen.restoreErrorDesc': 'string';
'backupScreen.restoreLargeBackupsWarning': 'string';
'backupScreen.restorinBackup': 'string';
'backupScreen.restoringData': 'string';
Expand All @@ -107,30 +96,22 @@ export interface StringMap {
'browseScreen.lastUsed': 'string';
'browseScreen.latest': 'string';
'browseScreen.listEmpty': 'string';
'browseScreen.migration.anotherServiceIsRunning': 'string';
'browseScreen.migration.dialogMessage': 'string';
'browseScreen.migration.migratingToNewSource': 'string';
'browseScreen.migration.migrationError': 'string';
'browseScreen.migration.novelAlreadyInLibrary': 'string';
'browseScreen.migration.novelMigrated': 'string';
'browseScreen.migration.selectSource': 'string';
'browseScreen.migration.selectSourceDesc': 'string';
'browseScreen.noSource': 'string';
'browseScreen.pinned': 'string';
'browseScreen.pluginsHostError': 'string';
'browseScreen.removeFromLibrary': 'string';
'browseScreen.searchbar': 'string';
'browseScreen.selectNovel': 'string';
'browseScreen.tryAgain': 'string';
'browseScreen.uninstalledPlugin': 'string';
'browseScreen.updateFailed': 'string';
'browseScreen.updatedTo': 'string';
'browseScreen.settings.title': 'string';
'browseScreen.settings.description': 'string';
'browseSettings': 'string';
'browseSettingsScreen.concurrentSearches': 'string';
'browseSettingsScreen.languages': 'string';
'browseSettingsScreen.onlyShowPinnedSources': 'string';
'browseSettingsScreen.searchAllSources': 'string';
'browseSettingsScreen.searchAllWarning': 'string';
'categories.addCategories': 'string';
'categories.cantDeleteDefault': 'string';
'categories.default': 'string';
Expand Down Expand Up @@ -169,7 +150,6 @@ export interface StringMap {
'common.name': 'string';
'common.newUpdateAvailable': 'string';
'common.ok': 'string';
'common.parsing': 'string';
'common.pause': 'string';
'common.preparing': 'string';
'common.remove': 'string';
Expand Down Expand Up @@ -204,22 +184,20 @@ export interface StringMap {
'downloadScreen.chapterName': 'string';
'downloadScreen.completed': 'string';
'downloadScreen.dbInfo': 'string';
'downloadScreen.downloadChapters': 'string';
'downloadScreen.downloader': 'string';
'downloadScreen.downloading': 'string';
'downloadScreen.downloadingNovel': 'string';
'downloadScreen.downloadsLower': 'string';
'downloadScreen.failed': 'string';
'downloadScreen.noDownloads': 'string';
'downloadScreen.pluginNotFound': 'string';
'downloadScreen.removeDownloadsWarning': 'string';
'downloadScreen.serviceRunning': 'string';
'generalSettings': 'string';
'generalSettingsScreen.asc': 'string';
'generalSettingsScreen.autoDownload': 'string';
'generalSettingsScreen.bySource': 'string';
'generalSettingsScreen.chapterSort': 'string';
'generalSettingsScreen.desc': 'string';
'generalSettingsScreen.disableLoadingAnimations': 'string';
'generalSettingsScreen.disableLoadingAnimationsDesc': 'string';
'generalSettingsScreen.disableHapticFeedback': 'string';
'generalSettingsScreen.disableHapticFeedbackDescription': 'string';
'generalSettingsScreen.displayMode': 'string';
Expand All @@ -239,15 +217,12 @@ export interface StringMap {
'generalSettingsScreen.refreshMetadata': 'string';
'generalSettingsScreen.refreshMetadataDescription': 'string';
'generalSettingsScreen.sortOrder': 'string';
'generalSettingsScreen.disableLoadingAnimations': 'string';
'generalSettingsScreen.disableLoadingAnimationsDesc': 'string';
'generalSettingsScreen.updateLibrary': 'string';
'generalSettingsScreen.updateLibraryDesc': 'string';
'generalSettingsScreen.updateOngoing': 'string';
'generalSettingsScreen.updateTime': 'string';
'generalSettingsScreen.useFAB': 'string';
'globalSearch.allSources': 'string';
'globalSearch.pinnedSources': 'string';
'globalSearch.searchIn': 'string';
'history': 'string';
'historyScreen.chapter': 'string';
Expand Down Expand Up @@ -360,11 +335,9 @@ export interface StringMap {
'readerScreen.bottomSheet.padding': 'string';
'readerScreen.bottomSheet.pageReader': 'string';
'readerScreen.bottomSheet.removeExtraSpacing': 'string';
'readerScreen.bottomSheet.renderHml': 'string';
'readerScreen.bottomSheet.scrollAmount': 'string';
'readerScreen.bottomSheet.showBatteryAndTime': 'string';
'readerScreen.bottomSheet.showProgressPercentage': 'string';
'readerScreen.bottomSheet.showSwipeMargins': 'string';
'readerScreen.bottomSheet.swipeGestures': 'string';
'readerScreen.bottomSheet.textAlign': 'string';
'readerScreen.bottomSheet.textSize': 'string';
Expand Down

0 comments on commit b68d44d

Please sign in to comment.