summaryrefslogtreecommitdiffstats
path: root/editor/project_settings_editor.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-07-02 22:22:46 +0200
committerGitHub <noreply@github.com>2020-07-02 22:22:46 +0200
commitf9c2f35dd925eb6620021dc540b1d049c04d7cd4 (patch)
tree9dae42f261a2f0f735912326b61c36f066b426ec /editor/project_settings_editor.h
parent661f8ee780927779b133fa3da8ed4a83bef5b44b (diff)
parentefb460942536fcd35aa50fc6dbeb6aeea6917642 (diff)
downloadredot-engine-f9c2f35dd925eb6620021dc540b1d049c04d7cd4.tar.gz
Merge pull request #39415 from SkyLucilfer/PotGeneration
Add POT generation feature in Editor
Diffstat (limited to 'editor/project_settings_editor.h')
-rw-r--r--editor/project_settings_editor.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/editor/project_settings_editor.h b/editor/project_settings_editor.h
index 728f31efa8..cf47b1df4a 100644
--- a/editor/project_settings_editor.h
+++ b/editor/project_settings_editor.h
@@ -110,6 +110,10 @@ class ProjectSettingsEditor : public AcceptDialog {
Vector<TreeItem *> translation_filter_treeitems;
Vector<int> translation_locales_idxs_remap;
+ Tree *translation_pot_list;
+ EditorFileDialog *translation_pot_file_open;
+ EditorFileDialog *translation_pot_generate;
+
EditorAutoloadSettings *autoload_settings;
EditorPluginSettings *plugin_settings;
@@ -159,6 +163,13 @@ class ProjectSettingsEditor : public AcceptDialog {
void _translation_filter_option_changed();
void _translation_filter_mode_changed(int p_mode);
+ void _translation_pot_add(const String &p_path);
+ void _translation_pot_delete(Object *p_item, int p_column, int p_button);
+ void _translation_pot_file_open();
+ void _translation_pot_generate_open();
+ void _translation_pot_generate(const String &p_file);
+ void _update_translation_pot_file_extensions();
+
void _toggle_search_bar(bool p_pressed);
Variant get_drag_data_fw(const Point2 &p_point, Control *p_from);