Add missing language strings for the file selector

This commit is contained in:
Joshua Ogunyinka 2022-01-03 12:07:47 +04:00 committed by David Capello
parent 60b5df4030
commit 797f8db2fa
2 changed files with 5 additions and 2 deletions

View File

@ -828,6 +828,8 @@ file_name = File name:
file_type = File type: file_type = File type:
pinned_folders = Pinned Folders pinned_folders = Pinned Folders
recent_folders = Recent Folders recent_folders = Recent Folders
all_formats = All formats
all_files = All files
[filters] [filters]
selected_cels = Selected selected_cels = Selected

View File

@ -485,7 +485,8 @@ bool FileSelector::show(
// File type for all formats // File type for all formats
fileType()->addItem( fileType()->addItem(
new CustomFileExtensionItem("All formats", allExtensions)); new CustomFileExtensionItem(Strings::file_selector_all_formats(),
allExtensions));
// One file type for each supported image format // One file type for each supported image format
for (const auto& e : allExtensions) { for (const auto& e : allExtensions) {
@ -499,7 +500,7 @@ bool FileSelector::show(
} }
// All files // All files
fileType()->addItem( fileType()->addItem(
new CustomFileExtensionItem("All files", new CustomFileExtensionItem(Strings::file_selector_all_files(),
base::paths())); // Empty extensions means "*.*" base::paths())); // Empty extensions means "*.*"
// file name entry field // file name entry field