add media check window title, use consistent formatting in template

This commit is contained in:
Damien Elmes 2020-03-12 17:56:36 +10:00
parent 5e676db4a0
commit f0be553e09
2 changed files with 30 additions and 29 deletions

View File

@ -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()

View File

@ -3,7 +3,8 @@
# 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 ->
media-check-trash-count =
Trash folder: { $count ->
[one] 1 file, { $megs }MB
*[other] { $count } files, { $megs }MB
}
@ -18,10 +19,8 @@ media-check-subfolder-count = Subfolders: {$count}
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
@ -38,15 +37,16 @@ media-check-checked = Checked {$count}...
## Deleting unused media
media-check-delete-unused-confirm = Delete unused media?
media-check-files-remaining = {$count ->
media-check-files-remaining =
{ $count ->
[one] 1 file
*[other] { $count } files
} remaining.
media-check-delete-unused-complete = {$count ->
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