diff options
Diffstat (limited to 'src/ui/inputwidget.c')
-rw-r--r-- | src/ui/inputwidget.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c index 699ed184..05b83b3d 100644 --- a/src/ui/inputwidget.c +++ b/src/ui/inputwidget.c | |||
@@ -26,6 +26,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ | |||
26 | #include "util.h" | 26 | #include "util.h" |
27 | #include "keys.h" | 27 | #include "keys.h" |
28 | #include "prefs.h" | 28 | #include "prefs.h" |
29 | #include "lang.h" | ||
29 | #include "app.h" | 30 | #include "app.h" |
30 | 31 | ||
31 | #include <the_Foundation/array.h> | 32 | #include <the_Foundation/array.h> |
@@ -251,6 +252,7 @@ void setMaxLen_InputWidget(iInputWidget *d, size_t maxLen) { | |||
251 | 252 | ||
252 | void setHint_InputWidget(iInputWidget *d, const char *hintText) { | 253 | void setHint_InputWidget(iInputWidget *d, const char *hintText) { |
253 | setCStr_String(&d->hint, hintText); | 254 | setCStr_String(&d->hint, hintText); |
255 | translate_Lang(&d->hint); /* TODO: Keep original for retranslations. */ | ||
254 | } | 256 | } |
255 | 257 | ||
256 | void setContentPadding_InputWidget(iInputWidget *d, int left, int right) { | 258 | void setContentPadding_InputWidget(iInputWidget *d, int left, int right) { |