summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--po/en.po10
-rw-r--r--res/lang/cs.binbin31599 -> 31683 bytes
-rw-r--r--res/lang/de.binbin30606 -> 30690 bytes
-rw-r--r--res/lang/en.binbin26692 -> 26766 bytes
-rw-r--r--res/lang/eo.binbin25656 -> 25730 bytes
-rw-r--r--res/lang/es.binbin30430 -> 30514 bytes
-rw-r--r--res/lang/es_MX.binbin27762 -> 27836 bytes
-rw-r--r--res/lang/fi.binbin30263 -> 30347 bytes
-rw-r--r--res/lang/fr.binbin31410 -> 31494 bytes
-rw-r--r--res/lang/gl.binbin29615 -> 29699 bytes
-rw-r--r--res/lang/hu.binbin31435 -> 31519 bytes
-rw-r--r--res/lang/ia.binbin28762 -> 28836 bytes
-rw-r--r--res/lang/ie.binbin29350 -> 29434 bytes
-rw-r--r--res/lang/isv.binbin25413 -> 25487 bytes
-rw-r--r--res/lang/pl.binbin30038 -> 30122 bytes
-rw-r--r--res/lang/ru.binbin44798 -> 44882 bytes
-rw-r--r--res/lang/sk.binbin25749 -> 25823 bytes
-rw-r--r--res/lang/sr.binbin44224 -> 44308 bytes
-rw-r--r--res/lang/tok.binbin27472 -> 27556 bytes
-rw-r--r--res/lang/tr.binbin29656 -> 29740 bytes
-rw-r--r--res/lang/uk.binbin44143 -> 44227 bytes
-rw-r--r--res/lang/zh_Hans.binbin25657 -> 25731 bytes
-rw-r--r--res/lang/zh_Hant.binbin25855 -> 25939 bytes
-rw-r--r--src/ui/documentwidget.c7
-rw-r--r--src/ui/keys.c1
-rw-r--r--src/ui/root.c1
-rw-r--r--src/ui/uploadwidget.c4
-rw-r--r--src/ui/uploadwidget.h1
28 files changed, 22 insertions, 2 deletions
diff --git a/po/en.po b/po/en.po
index 425243cc..a4b83dcc 100644
--- a/po/en.po
+++ b/po/en.po
@@ -1011,7 +1011,10 @@ msgid "heading.lookup.other"
1011msgstr "OTHER" 1011msgstr "OTHER"
1012 1012
1013msgid "menu.page.upload" 1013msgid "menu.page.upload"
1014msgstr "Upload Page with Titan…" 1014msgstr "Upload with Titan…"
1015
1016msgid "menu.page.upload.edit"
1017msgstr "Edit Page with Titan…"
1015 1018
1016msgid "heading.upload" 1019msgid "heading.upload"
1017msgstr "Upload with Titan" 1020msgstr "Upload with Titan"
@@ -1768,7 +1771,10 @@ msgid "keys.hoverurl"
1768msgstr "Toggle show URL on hover" 1771msgstr "Toggle show URL on hover"
1769 1772
1770msgid "keys.upload" 1773msgid "keys.upload"
1771msgstr "Upload page with Titan" 1774msgstr "Upload with Titan"
1775
1776msgid "keys.upload.edit"
1777msgstr "Edit Page with Titan"
1772 1778
1773msgid "error.badstatus" 1779msgid "error.badstatus"
1774msgstr "Unknown Status Code" 1780msgstr "Unknown Status Code"
diff --git a/res/lang/cs.bin b/res/lang/cs.bin
index 47a5496f..bc34d7e8 100644
--- a/res/lang/cs.bin
+++ b/res/lang/cs.bin
Binary files differ
diff --git a/res/lang/de.bin b/res/lang/de.bin
index b0967918..5fb9eb03 100644
--- a/res/lang/de.bin
+++ b/res/lang/de.bin
Binary files differ
diff --git a/res/lang/en.bin b/res/lang/en.bin
index a918af83..114fa684 100644
--- a/res/lang/en.bin
+++ b/res/lang/en.bin
Binary files differ
diff --git a/res/lang/eo.bin b/res/lang/eo.bin
index 5f5a056a..3d16450c 100644
--- a/res/lang/eo.bin
+++ b/res/lang/eo.bin
Binary files differ
diff --git a/res/lang/es.bin b/res/lang/es.bin
index 91c1a9e6..fe6bdbb5 100644
--- a/res/lang/es.bin
+++ b/res/lang/es.bin
Binary files differ
diff --git a/res/lang/es_MX.bin b/res/lang/es_MX.bin
index baf7e294..c96da0b0 100644
--- a/res/lang/es_MX.bin
+++ b/res/lang/es_MX.bin
Binary files differ
diff --git a/res/lang/fi.bin b/res/lang/fi.bin
index 67ed5398..d06dfc9c 100644
--- a/res/lang/fi.bin
+++ b/res/lang/fi.bin
Binary files differ
diff --git a/res/lang/fr.bin b/res/lang/fr.bin
index b4ecf798..4cda45d8 100644
--- a/res/lang/fr.bin
+++ b/res/lang/fr.bin
Binary files differ
diff --git a/res/lang/gl.bin b/res/lang/gl.bin
index 005feca3..7ffb40ec 100644
--- a/res/lang/gl.bin
+++ b/res/lang/gl.bin
Binary files differ
diff --git a/res/lang/hu.bin b/res/lang/hu.bin
index 4f9b6d8b..e698c7ac 100644
--- a/res/lang/hu.bin
+++ b/res/lang/hu.bin
Binary files differ
diff --git a/res/lang/ia.bin b/res/lang/ia.bin
index d29bcee8..f951f0c5 100644
--- a/res/lang/ia.bin
+++ b/res/lang/ia.bin
Binary files differ
diff --git a/res/lang/ie.bin b/res/lang/ie.bin
index b648a56c..c4671e06 100644
--- a/res/lang/ie.bin
+++ b/res/lang/ie.bin
Binary files differ
diff --git a/res/lang/isv.bin b/res/lang/isv.bin
index 32b2cb39..2788dc3f 100644
--- a/res/lang/isv.bin
+++ b/res/lang/isv.bin
Binary files differ
diff --git a/res/lang/pl.bin b/res/lang/pl.bin
index 20fa1621..29260245 100644
--- a/res/lang/pl.bin
+++ b/res/lang/pl.bin
Binary files differ
diff --git a/res/lang/ru.bin b/res/lang/ru.bin
index 6c2be568..712d8a01 100644
--- a/res/lang/ru.bin
+++ b/res/lang/ru.bin
Binary files differ
diff --git a/res/lang/sk.bin b/res/lang/sk.bin
index 0604ebab..79b1208f 100644
--- a/res/lang/sk.bin
+++ b/res/lang/sk.bin
Binary files differ
diff --git a/res/lang/sr.bin b/res/lang/sr.bin
index 38b56ffa..79e76d20 100644
--- a/res/lang/sr.bin
+++ b/res/lang/sr.bin
Binary files differ
diff --git a/res/lang/tok.bin b/res/lang/tok.bin
index c8097f29..31f9536e 100644
--- a/res/lang/tok.bin
+++ b/res/lang/tok.bin
Binary files differ
diff --git a/res/lang/tr.bin b/res/lang/tr.bin
index 587774cc..758dba68 100644
--- a/res/lang/tr.bin
+++ b/res/lang/tr.bin
Binary files differ
diff --git a/res/lang/uk.bin b/res/lang/uk.bin
index 18707608..6aedfe5f 100644
--- a/res/lang/uk.bin
+++ b/res/lang/uk.bin
Binary files differ
diff --git a/res/lang/zh_Hans.bin b/res/lang/zh_Hans.bin
index 39024cdc..036ecca3 100644
--- a/res/lang/zh_Hans.bin
+++ b/res/lang/zh_Hans.bin
Binary files differ
diff --git a/res/lang/zh_Hant.bin b/res/lang/zh_Hant.bin
index 59c4dcea..d2aa482d 100644
--- a/res/lang/zh_Hant.bin
+++ b/res/lang/zh_Hant.bin
Binary files differ
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c
index f9efdd28..e63e4636 100644
--- a/src/ui/documentwidget.c
+++ b/src/ui/documentwidget.c
@@ -4116,6 +4116,12 @@ static iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd)
4116 setResponseViewer_UploadWidget(upload, d); 4116 setResponseViewer_UploadWidget(upload, d);
4117 addChild_Widget(get_Root()->widget, iClob(upload)); 4117 addChild_Widget(get_Root()->widget, iClob(upload));
4118 setupSheetTransition_Mobile(as_Widget(upload), iTrue); 4118 setupSheetTransition_Mobile(as_Widget(upload), iTrue);
4119 if (argLabel_Command(cmd, "copy") && isUtf8_Rangecc(range_Block(&d->sourceContent))) {
4120 iString text;
4121 initBlock_String(&text, &d->sourceContent);
4122 setText_UploadWidget(upload, &text);
4123 deinit_String(&text);
4124 }
4119 postRefresh_App(); 4125 postRefresh_App();
4120 } 4126 }
4121 return iTrue; 4127 return iTrue;
@@ -5080,6 +5086,7 @@ static iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e
5080 { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, 5086 { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" },
5081 { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, 5087 { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" },
5082 { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, 5088 { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" },
5089 { "${menu.page.upload.edit}", 0, 0, "document.upload copy:1" },
5083 { "---" }, 5090 { "---" },
5084 { "${menu.page.copyurl}", 0, 0, "document.copylink" } }, 5091 { "${menu.page.copyurl}", 0, 0, "document.copylink" } },
5085 16); 5092 16);
diff --git a/src/ui/keys.c b/src/ui/keys.c
index 30072572..d4d9320e 100644
--- a/src/ui/keys.c
+++ b/src/ui/keys.c
@@ -240,6 +240,7 @@ static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] =
240 { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, 240 { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 },
241 { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, 241 { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 },
242 { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, 242 { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 },
243 { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 },
243 /* The following cannot currently be changed (built-in duplicates). */ 244 /* The following cannot currently be changed (built-in duplicates). */
244#if defined (iPlatformApple) 245#if defined (iPlatformApple)
245 { 1002, { NULL, SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, 0 }, 246 { 1002, { NULL, SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, 0 },
diff --git a/src/ui/root.c b/src/ui/root.c
index 3e0124d8..bc2bc0fb 100644
--- a/src/ui/root.c
+++ b/src/ui/root.c
@@ -1402,6 +1402,7 @@ void createUserInterface_Root(iRoot *d) {
1402 { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, 1402 { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" },
1403 { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, 1403 { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" },
1404 { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, 1404 { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" },
1405 { "${menu.page.upload.edit}", 0, 0, "document.upload copy:1" },
1405 { "---" }, 1406 { "---" },
1406 { "${menu.page.copyurl}", 0, 0, "document.copylink" }, 1407 { "${menu.page.copyurl}", 0, 0, "document.copylink" },
1407 { "${menu.page.copysource}", 'c', KMOD_PRIMARY, "copy" }, 1408 { "${menu.page.copysource}", 'c', KMOD_PRIMARY, "copy" },
diff --git a/src/ui/uploadwidget.c b/src/ui/uploadwidget.c
index 28a35668..ae777a68 100644
--- a/src/ui/uploadwidget.c
+++ b/src/ui/uploadwidget.c
@@ -406,6 +406,10 @@ void setResponseViewer_UploadWidget(iUploadWidget *d, iDocumentWidget *doc) {
406 d->viewer = doc; 406 d->viewer = doc;
407} 407}
408 408
409void setText_UploadWidget(iUploadWidget *d, const iString *text) {
410 setText_InputWidget(findChild_Widget(as_Widget(d), "upload.text"), text);
411}
412
409static iWidget *acceptButton_UploadWidget_(iUploadWidget *d) { 413static iWidget *acceptButton_UploadWidget_(iUploadWidget *d) {
410 return lastChild_Widget(findChild_Widget(as_Widget(d), "dialogbuttons")); 414 return lastChild_Widget(findChild_Widget(as_Widget(d), "dialogbuttons"));
411} 415}
diff --git a/src/ui/uploadwidget.h b/src/ui/uploadwidget.h
index 5a7de45e..1cc1f193 100644
--- a/src/ui/uploadwidget.h
+++ b/src/ui/uploadwidget.h
@@ -31,3 +31,4 @@ iDeclareType(DocumentWidget)
31 31
32void setUrl_UploadWidget (iUploadWidget *, const iString *url); 32void setUrl_UploadWidget (iUploadWidget *, const iString *url);
33void setResponseViewer_UploadWidget (iUploadWidget *, iDocumentWidget *doc); 33void setResponseViewer_UploadWidget (iUploadWidget *, iDocumentWidget *doc);
34void setText_UploadWidget (iUploadWidget *, const iString *text);