diff --git a/qt/aqt/mediacheck.py b/qt/aqt/mediacheck.py index 941de6bdc..79275996e 100644 --- a/qt/aqt/mediacheck.py +++ b/qt/aqt/mediacheck.py @@ -72,7 +72,7 @@ class MediaChecker: # show report and offer to delete diag = QDialog(self.mw) - diag.setWindowTitle("Anki") + diag.setWindowTitle(tr(TR.MEDIA_CHECK_WINDOW_TITLE)) layout = QVBoxLayout(diag) diag.setLayout(layout) text = QTextEdit() diff --git a/rslib/ftl/media-check.ftl b/rslib/ftl/media-check.ftl index f531a3de4..9cdde6d0e 100644 --- a/rslib/ftl/media-check.ftl +++ b/rslib/ftl/media-check.ftl @@ -3,50 +3,50 @@ # the number of files, and the total space used by files # that have been moved to the trash folder. eg, # "Trash folder: 3 files, 3.47MB" -media-check-trash-count = Trash folder: { $count -> - [one] 1 file, {$megs}MB - *[other] {$count} files, {$megs}MB - } -media-check-missing-count = Missing files: {$count} -media-check-unused-count = Unused files: {$count} -media-check-renamed-count = Renamed files: {$count} -media-check-oversize-count = Over 100MB: {$count} -media-check-subfolder-count = Subfolders: {$count} +media-check-trash-count = + Trash folder: { $count -> + [one] 1 file, { $megs }MB + *[other] { $count } files, { $megs }MB + } +media-check-missing-count = Missing files: { $count } +media-check-unused-count = Unused files: { $count } +media-check-renamed-count = Renamed files: { $count } +media-check-oversize-count = Over 100MB: { $count } +media-check-subfolder-count = Subfolders: { $count } ## Shown at the top of each section media-check-renamed-header = Some files have been renamed for compatibility: media-check-oversize-header = Files over 100MB can not be synced with AnkiWeb. media-check-subfolder-header = Folders inside the media folder are not supported. -media-check-missing-header = - The following files are referenced by cards, but were not found in the media folder: -media-check-unused-header = - The following files were found in the media folder, but do not appear to be used on any cards: +media-check-missing-header = The following files are referenced by cards, but were not found in the media folder: +media-check-unused-header = The following files were found in the media folder, but do not appear to be used on any cards: ## Shown once for each file -media-check-renamed-file = Renamed: {$old} -> {$new} -media-check-oversize-file = Over 100MB: {$filename} -media-check-subfolder-file = Folder: {$filename} -media-check-missing-file = Missing: {$filename} -media-check-unused-file = Unused: {$filename} +media-check-renamed-file = Renamed: { $old } -> { $new } +media-check-oversize-file = Over 100MB: { $filename } +media-check-subfolder-file = Folder: { $filename } +media-check-missing-file = Missing: { $filename } +media-check-unused-file = Unused: { $filename } ## Progress -media-check-checked = Checked {$count}... +media-check-checked = Checked { $count }... ## Deleting unused media media-check-delete-unused-confirm = Delete unused media? -media-check-files-remaining = {$count -> - [one] 1 file - *[other] {$count} files - } remaining. -media-check-delete-unused-complete = {$count -> - [one] 1 file - *[other] {$count} files - } moved to the trash. - +media-check-files-remaining = + { $count -> + [one] 1 file + *[other] { $count } files + } remaining. +media-check-delete-unused-complete = + { $count -> + [one] 1 file + *[other] { $count } files + } moved to the trash. media-check-trash-emptied = The trash folder is now empty. media-check-trash-restored = Restored deleted files to the media folder. @@ -62,3 +62,4 @@ media-check-render-latex = Render LaTeX media-check-empty-trash = Empty Trash # button to move deleted files from the trash back into the media folder media-check-restore-trash = Restore Deleted +media-check-window-title = Check Media