diff options
author | Haoyu Qiu <timothyqiu32@gmail.com> | 2023-03-02 14:38:59 +0800 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-03-30 19:24:52 +0200 |
commit | d6b36e800dfa8970c6bdeab2ed9a0e027e30068b (patch) | |
tree | ead788a95bf867a7e3f3d3421d261c038824377b /core | |
parent | ae0a98ef9b7772998f475bb169c435c7d4f22dab (diff) |
Improve POT Generation dialog
* Avoid "property not found" warnings when adding a file for the first
time.
* When no file is added, disable the Generate POT button instead of
printing a warning.
(cherry picked from commit 584136271cf92b7731f82dce22c4e99075b9b5d7)
Diffstat (limited to 'core')
-rw-r--r-- | core/config/project_settings.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/config/project_settings.cpp b/core/config/project_settings.cpp index ac51380c30..123e01860e 100644 --- a/core/config/project_settings.cpp +++ b/core/config/project_settings.cpp @@ -1348,6 +1348,7 @@ ProjectSettings::ProjectSettings() { GLOBAL_DEF_INTERNAL("application/config/features", PackedStringArray()); GLOBAL_DEF_INTERNAL("internationalization/locale/translation_remaps", PackedStringArray()); GLOBAL_DEF_INTERNAL("internationalization/locale/translations", PackedStringArray()); + GLOBAL_DEF_INTERNAL("internationalization/locale/translations_pot_files", PackedStringArray()); } ProjectSettings::~ProjectSettings() { |