1
0
mirror of https://github.com/godotengine/godot.git synced 2026-01-06 19:41:11 +00:00

LineEdit placeholder now accepts translated strings.

This commit is contained in:
Ovnuniarchos
2016-07-10 00:39:17 +02:00
parent 864c0e84de
commit 061cadcae5

View File

@@ -31,6 +31,7 @@
#include "os/os.h"
#include "print_string.h"
#include "label.h"
#include "translation.h"
#ifdef TOOLS_ENABLED
#include "tools/editor/editor_settings.h"
#endif
@@ -947,7 +948,7 @@ String LineEdit::get_text() const {
void LineEdit::set_placeholder(String p_text) {
placeholder = p_text;
placeholder = XL_MESSAGE(p_text);
update();
}