Merge pull request #5293 from Paulb23/ttr_add_font_extention

Made .fnt warning translatable
This commit is contained in:
Rémi Verschelde 2016-06-19 15:57:05 +02:00 committed by GitHub
commit 0cf4bba6e2
1 changed files with 1 additions and 1 deletions

View File

@ -533,7 +533,7 @@ class EditorFontImportDialog : public ConfirmationDialog {
}
if (dest->get_line_edit()->get_text().extension().to_lower() != "fnt") {
error_dialog->set_text("Invalid file extension. \nPlease use .fnt");
error_dialog->set_text(TTR("Invalid file extension. \nPlease use .fnt"));
error_dialog->popup_centered(Size2(200,100));
return;
}