diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-23 10:29:14 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-23 10:29:14 +0200 |
commit | 6c6f7a0303405536f634d0f694288c79f076edda (patch) | |
tree | a75d795ea4d09099ec8adc418ddc20ef83fd720a /src/ui/inputwidget.c | |
parent | 244599398b8fa457a160077513456b4b274d386d (diff) |
Lang: Applied string IDs everywhere
More or less everywhere?
IssueID #192
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) { |