mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Makes more strings in editor translatable
* File type names in file dialogs * Layout option names * Visual shader editor UI
This commit is contained in:
@@ -371,8 +371,8 @@ private:
|
||||
|
||||
fdialog->set_mode(FileDialog::MODE_OPEN_FILE);
|
||||
fdialog->clear_filters();
|
||||
fdialog->add_filter("project.godot ; " VERSION_NAME " Project");
|
||||
fdialog->add_filter("*.zip ; Zip File");
|
||||
fdialog->add_filter(vformat("project.godot ; %s %s", VERSION_NAME, TTR("Project")));
|
||||
fdialog->add_filter("*.zip ; " + TTR("Zip File"));
|
||||
} else {
|
||||
fdialog->set_mode(FileDialog::MODE_OPEN_DIR);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user