diff options
-rw-r--r-- | po/en.po | 8 | ||||
-rw-r--r-- | src/ui/mobile.c | 3 | ||||
-rw-r--r-- | src/ui/uploadwidget.c | 6 |
3 files changed, 15 insertions, 2 deletions
@@ -1047,6 +1047,14 @@ msgstr "MIME type:" | |||
1047 | msgid "upload.token" | 1047 | msgid "upload.token" |
1048 | msgstr "Token:" | 1048 | msgstr "Token:" |
1049 | 1049 | ||
1050 | # Mobile subheading in the Upload dialog. | ||
1051 | msgid "upload.url" | ||
1052 | msgstr "URL" | ||
1053 | |||
1054 | # Mobile subheading: buttons for entering uploaded data. | ||
1055 | msgid "upload.content" | ||
1056 | msgstr "Content" | ||
1057 | |||
1050 | msgid "hint.upload.path" | 1058 | msgid "hint.upload.path" |
1051 | msgstr "URL path" | 1059 | msgstr "URL path" |
1052 | 1060 | ||
diff --git a/src/ui/mobile.c b/src/ui/mobile.c index 5a787e7b..64a5a7cc 100644 --- a/src/ui/mobile.c +++ b/src/ui/mobile.c | |||
@@ -653,6 +653,9 @@ void makePanelItem_Mobile(iWidget *panel, const iMenuItem *item) { | |||
653 | fixedHeight_WidgetFlag | | 653 | fixedHeight_WidgetFlag | |
654 | (!argLabel_Command(spec, "frame") ? frameless_WidgetFlag : 0), | 654 | (!argLabel_Command(spec, "frame") ? frameless_WidgetFlag : 0), |
655 | iTrue); | 655 | iTrue); |
656 | if (argLabel_Command(spec, "font")) { | ||
657 | setFont_LabelWidget(lab, argLabel_Command(spec, "font")); | ||
658 | } | ||
656 | } | 659 | } |
657 | else if (equal_Command(spec, "padding")) { | 660 | else if (equal_Command(spec, "padding")) { |
658 | float height = 1.5f; | 661 | float height = 1.5f; |
diff --git a/src/ui/uploadwidget.c b/src/ui/uploadwidget.c index fc5cc190..28a35668 100644 --- a/src/ui/uploadwidget.c +++ b/src/ui/uploadwidget.c | |||
@@ -192,12 +192,14 @@ void init_UploadWidget(iUploadWidget *d) { | |||
192 | }; | 192 | }; |
193 | initPanels_Mobile(w, NULL, (iMenuItem[]){ | 193 | initPanels_Mobile(w, NULL, (iMenuItem[]){ |
194 | { "title id:heading.upload" }, | 194 | { "title id:heading.upload" }, |
195 | { "label id:upload.info" }, | 195 | { "heading id:upload.url" }, |
196 | { format_CStr("label id:upload.info font:%d", | ||
197 | deviceType_App() == phone_AppDeviceType ? uiLabelBig_FontId : uiLabelMedium_FontId) }, | ||
196 | { "input id:upload.path hint:hint.upload.path noheading:1 url:1 text:" }, | 198 | { "input id:upload.path hint:hint.upload.path noheading:1 url:1 text:" }, |
197 | { "heading text:${heading.upload.id}" }, | 199 | { "heading text:${heading.upload.id}" }, |
198 | { "dropdown id:upload.id icon:0x1f464 text:", 0, 0, constData_Array(makeIdentityItems_UploadWidget_(d)) }, | 200 | { "dropdown id:upload.id icon:0x1f464 text:", 0, 0, constData_Array(makeIdentityItems_UploadWidget_(d)) }, |
199 | { "input id:upload.token hint:hint.upload.token.long icon:0x1f516 text:" }, | 201 | { "input id:upload.token hint:hint.upload.token.long icon:0x1f516 text:" }, |
200 | { "padding" }, | 202 | { "heading id:upload.content" }, |
201 | { "panel id:dlg.upload.text icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | 203 | { "panel id:dlg.upload.text icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, |
202 | { "panel id:dlg.upload.file icon:0x1f4c1", 0, 0, (const void *) fileItems }, | 204 | { "panel id:dlg.upload.file icon:0x1f4c1", 0, 0, (const void *) fileItems }, |
203 | { NULL } | 205 | { NULL } |