Made .fnt warning translatable

This commit is contained in:
Paulb23 2016-06-19 14:33:42 +01:00
parent 37d1bf4d53
commit 0454e1d6cb

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;
}