Fix typos in editor font preload dialog warning messages

This commit is contained in:
Hugo Locurcio 2022-02-21 19:30:16 +01:00
parent b0ba9468ee
commit 06e701ef58
No known key found for this signature in database
GPG Key ID: 39E8F8BE30B0A49C

View File

@ -560,7 +560,7 @@ void DynamicFontImportSettings::_variation_changed(const String &p_edited_proper
void DynamicFontImportSettings::_variations_validate() {
String warn;
if (!vars_list_root->get_first_child()) {
warn = TTR("Warinig: There are no configurations specified, no glyphs will be pre-rendered.");
warn = TTR("Warning: There are no configurations specified, no glyphs will be pre-rendered.");
}
for (TreeItem *vars_item_a = vars_list_root->get_first_child(); vars_item_a; vars_item_a = vars_item_a->get_next()) {
Ref<DynamicFontImportSettingsData> import_variation_data_a = vars_item_a->get_metadata(0);
@ -575,7 +575,7 @@ void DynamicFontImportSettings::_variations_validate() {
match = match && (import_variation_data_b->settings[E->key()] == E->get());
}
if (match) {
warn = TTR("Warinig: Multiple configurations have identical settings. Duplicates will be ignored.");
warn = TTR("Warning: Multiple configurations have identical settings. Duplicates will be ignored.");
break;
}
}