Merge pull request #4868 from Geequlim/more-tranlatable
Set more visible string to translatable
This commit is contained in:
commit
a5777994cb
12 changed files with 20 additions and 27 deletions
|
@ -240,8 +240,8 @@ DependencyEditor::DependencyEditor() {
|
|||
tree = memnew( Tree );
|
||||
tree->set_columns(2);
|
||||
tree->set_column_titles_visible(true);
|
||||
tree->set_column_title(0,"Resource");
|
||||
tree->set_column_title(1,"Path");
|
||||
tree->set_column_title(0,TTR("Resource"));
|
||||
tree->set_column_title(1,TTR("Path"));
|
||||
tree->set_hide_root(true);
|
||||
tree->connect("button_pressed",this,"_load_pressed");
|
||||
|
||||
|
@ -401,7 +401,7 @@ void DependencyRemoveDialog::show(const Vector<String> &to_erase) {
|
|||
|
||||
if (exist) {
|
||||
owners->show();
|
||||
text->set_text("The files being removed are required by other resources in order for them to work.\nRemove them anyway? (no undo)");
|
||||
text->set_text(TTR("The files being removed are required by other resources in order for them to work.\nRemove them anyway? (no undo)"));
|
||||
popup_centered_minsize(Size2(500,220));
|
||||
} else {
|
||||
owners->hide();
|
||||
|
@ -675,7 +675,7 @@ OrphanResourcesDialog::OrphanResourcesDialog(){
|
|||
files->set_column_min_width(1,100);
|
||||
files->set_column_expand(0,true);
|
||||
files->set_column_expand(1,false);
|
||||
files->set_column_title(0,"Resource");
|
||||
files->set_column_title(0,TTR("Resource"));
|
||||
files->set_column_title(1,TTR("Owns"));
|
||||
files->set_hide_root(true);
|
||||
vbc->add_margin_child(TTR("Resources Without Explicit Ownership:"),files,true);
|
||||
|
|
|
@ -150,7 +150,7 @@ void EditorPluginSettings::_bind_methods() {
|
|||
EditorPluginSettings::EditorPluginSettings() {
|
||||
|
||||
HBoxContainer *title_hb = memnew( HBoxContainer );
|
||||
title_hb->add_child(memnew( Label("Installed Plugins:")));
|
||||
title_hb->add_child(memnew( Label(TTR("Installed Plugins:"))));
|
||||
title_hb->add_spacer();
|
||||
update_list = memnew( Button(TTR("Update")) );
|
||||
update_list->connect("pressed",this,"update_plugins");
|
||||
|
@ -162,9 +162,9 @@ EditorPluginSettings::EditorPluginSettings() {
|
|||
plugin_list->set_columns(4);
|
||||
plugin_list->set_column_titles_visible(true);
|
||||
plugin_list->set_column_title(0,TTR("Name:"));
|
||||
plugin_list->set_column_title(1,"Version:");
|
||||
plugin_list->set_column_title(2,"Author:");
|
||||
plugin_list->set_column_title(3,"Status:");
|
||||
plugin_list->set_column_title(1,TTR("Version:"));
|
||||
plugin_list->set_column_title(2,TTR("Author:"));
|
||||
plugin_list->set_column_title(3,TTR("Status:"));
|
||||
plugin_list->set_column_expand(0,true);
|
||||
plugin_list->set_column_expand(1,false);
|
||||
plugin_list->set_column_expand(2,false);
|
||||
|
@ -185,4 +185,3 @@ EditorPluginSettings::EditorPluginSettings() {
|
|||
updating=false;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -1614,7 +1614,7 @@ String EditorFontImportPlugin::get_name() const {
|
|||
}
|
||||
String EditorFontImportPlugin::get_visible_name() const{
|
||||
|
||||
return "Font";
|
||||
return TTR("Font");
|
||||
}
|
||||
void EditorFontImportPlugin::import_dialog(const String& p_from){
|
||||
|
||||
|
|
|
@ -331,7 +331,7 @@ String EditorMeshImportPlugin::get_name() const {
|
|||
}
|
||||
String EditorMeshImportPlugin::get_visible_name() const{
|
||||
|
||||
return "Mesh";
|
||||
return TTR("Mesh");
|
||||
}
|
||||
void EditorMeshImportPlugin::import_dialog(const String& p_from){
|
||||
|
||||
|
@ -561,4 +561,3 @@ EditorMeshImportPlugin::EditorMeshImportPlugin(EditorNode* p_editor) {
|
|||
dialog = memnew( EditorMeshImportDialog(this));
|
||||
p_editor->get_gui_base()->add_child(dialog);
|
||||
}
|
||||
|
||||
|
|
|
@ -406,7 +406,7 @@ String EditorSampleImportPlugin::get_name() const {
|
|||
}
|
||||
String EditorSampleImportPlugin::get_visible_name() const{
|
||||
|
||||
return "Audio Sample";
|
||||
return TTR("Audio Sample");
|
||||
}
|
||||
void EditorSampleImportPlugin::import_dialog(const String& p_from){
|
||||
|
||||
|
@ -921,5 +921,3 @@ Vector<uint8_t> EditorSampleExportPlugin::custom_export(String& p_path,const Ref
|
|||
EditorSampleExportPlugin::EditorSampleExportPlugin() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -2647,7 +2647,7 @@ String EditorSceneAnimationImportPlugin::get_name() const {
|
|||
String EditorSceneAnimationImportPlugin::get_visible_name() const{
|
||||
|
||||
|
||||
return "3D Scene Animation";
|
||||
return TTR("3D Scene Animation");
|
||||
}
|
||||
void EditorSceneAnimationImportPlugin::import_dialog(const String& p_from){
|
||||
|
||||
|
@ -2662,4 +2662,3 @@ EditorSceneAnimationImportPlugin::EditorSceneAnimationImportPlugin(EditorNode* p
|
|||
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -828,7 +828,7 @@ String EditorTextureImportPlugin::get_name() const {
|
|||
|
||||
String EditorTextureImportPlugin::get_visible_name() const {
|
||||
|
||||
return "Texture";
|
||||
return TTR("Texture");
|
||||
|
||||
}
|
||||
void EditorTextureImportPlugin::import_dialog(const String& p_from) {
|
||||
|
|
|
@ -387,7 +387,7 @@ String EditorTranslationImportPlugin::get_name() const {
|
|||
}
|
||||
String EditorTranslationImportPlugin::get_visible_name() const {
|
||||
|
||||
return "Translation";
|
||||
return TTR("Translation");
|
||||
}
|
||||
void EditorTranslationImportPlugin::import_dialog(const String& p_from) {
|
||||
|
||||
|
|
|
@ -1544,7 +1544,7 @@ AnimationPlayerEditorPlugin::AnimationPlayerEditorPlugin(EditorNode *p_node) {
|
|||
anim_editor = memnew( AnimationPlayerEditor(editor) );
|
||||
anim_editor->set_undo_redo(editor->get_undo_redo());
|
||||
|
||||
editor->add_bottom_panel_item("Animation",anim_editor);
|
||||
editor->add_bottom_panel_item(TTR("Animation"),anim_editor);
|
||||
/*
|
||||
editor->get_viewport()->add_child(anim_editor);
|
||||
anim_editor->set_area_as_parent_rect();
|
||||
|
@ -1562,5 +1562,3 @@ AnimationPlayerEditorPlugin::AnimationPlayerEditorPlugin(EditorNode *p_node) {
|
|||
AnimationPlayerEditorPlugin::~AnimationPlayerEditorPlugin()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1427,7 +1427,7 @@ ProjectExportDialog::ProjectExportDialog(EditorNode *p_editor) {
|
|||
sample_vbox->add_margin_child(TTR("Trailing Silence:"),sample_trim);
|
||||
|
||||
script_vbox = memnew( VBoxContainer );
|
||||
script_vbox->set_name("Script");
|
||||
script_vbox->set_name(TTR("Script"));
|
||||
sections->add_child(script_vbox);
|
||||
script_mode = memnew( OptionButton );
|
||||
script_vbox->add_margin_child(TTR("Script Export Mode:"),script_mode);
|
||||
|
|
|
@ -1016,7 +1016,7 @@ void ProjectListFilter::_setup_filters() {
|
|||
|
||||
filter_option->clear();
|
||||
filter_option->add_item(TTR("Name"));
|
||||
filter_option->add_item("Path");
|
||||
filter_option->add_item(TTR("Path"));
|
||||
}
|
||||
|
||||
void ProjectListFilter::_command(int p_command) {
|
||||
|
|
|
@ -1761,7 +1761,7 @@ ProjectSettings::ProjectSettings(EditorData *p_data) {
|
|||
tmc->add_child(translation_remap_options);
|
||||
|
||||
translation_remap_options->set_columns(2);
|
||||
translation_remap_options->set_column_title(0,"Path");
|
||||
translation_remap_options->set_column_title(0,TTR("Path"));
|
||||
translation_remap_options->set_column_title(1,TTR("Locale"));
|
||||
translation_remap_options->set_column_titles_visible(true);
|
||||
translation_remap_options->set_column_expand(0,true);
|
||||
|
@ -1827,7 +1827,7 @@ ProjectSettings::ProjectSettings(EditorData *p_data) {
|
|||
autoload_list->set_column_title(0,TTR("Name"));
|
||||
autoload_list->set_column_expand(0,true);
|
||||
autoload_list->set_column_min_width(0,100);
|
||||
autoload_list->set_column_title(1,"Path");
|
||||
autoload_list->set_column_title(1,TTR("Path"));
|
||||
autoload_list->set_column_expand(1,true);
|
||||
autoload_list->set_column_min_width(1,100);
|
||||
autoload_list->set_column_title(2,TTR("Singleton"));
|
||||
|
|
Loading…
Reference in a new issue