Make name of editor file dialog filters translatable
This commit is contained in:
@@ -883,7 +883,8 @@ void ProjectExportDialog::_export_project() {
|
||||
|
||||
List<String> extension_list = platform->get_binary_extensions(current);
|
||||
for (int i = 0; i < extension_list.size(); i++) {
|
||||
export_project->add_filter("*." + extension_list[i] + " ; " + platform->get_name() + " Export");
|
||||
// TRANSLATORS: This is the name of a project export file format. %s will be replaced by the platform name.
|
||||
export_project->add_filter(vformat("*.%s; %s", extension_list[i], vformat(TTR("%s Export"), platform->get_name())));
|
||||
}
|
||||
|
||||
if (!current->get_export_path().is_empty()) {
|
||||
|
||||
Reference in New Issue
Block a user