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,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