=> e36bed146728f93d5be8a9b84d8756f0b5ccaada
[1mdiff --git a/po/en.po b/po/en.po[m [1mindex 425243cc..a4b83dcc 100644[m [1m--- a/po/en.po[m [1m+++ b/po/en.po[m [36m@@ -1011,7 +1011,10 @@[m [mmsgid "heading.lookup.other"[m msgstr "OTHER"[m [m msgid "menu.page.upload"[m [31m-msgstr "Upload Page with Titan…"[m [32m+[m[32mmsgstr "Upload with Titan…"[m [32m+[m [32m+[m[32mmsgid "menu.page.upload.edit"[m [32m+[m[32mmsgstr "Edit Page with Titan…"[m [m msgid "heading.upload"[m msgstr "Upload with Titan"[m [36m@@ -1768,7 +1771,10 @@[m [mmsgid "keys.hoverurl"[m msgstr "Toggle show URL on hover"[m [m msgid "keys.upload"[m [31m-msgstr "Upload page with Titan"[m [32m+[m[32mmsgstr "Upload with Titan"[m [32m+[m [32m+[m[32mmsgid "keys.upload.edit"[m [32m+[m[32mmsgstr "Edit Page with Titan"[m [m msgid "error.badstatus"[m msgstr "Unknown Status Code"[m [1mdiff --git a/res/lang/cs.bin b/res/lang/cs.bin[m [1mindex 47a5496f..bc34d7e8 100644[m Binary files a/res/lang/cs.bin and b/res/lang/cs.bin differ [1mdiff --git a/res/lang/de.bin b/res/lang/de.bin[m [1mindex b0967918..5fb9eb03 100644[m Binary files a/res/lang/de.bin and b/res/lang/de.bin differ [1mdiff --git a/res/lang/en.bin b/res/lang/en.bin[m [1mindex a918af83..114fa684 100644[m Binary files a/res/lang/en.bin and b/res/lang/en.bin differ [1mdiff --git a/res/lang/eo.bin b/res/lang/eo.bin[m [1mindex 5f5a056a..3d16450c 100644[m Binary files a/res/lang/eo.bin and b/res/lang/eo.bin differ [1mdiff --git a/res/lang/es.bin b/res/lang/es.bin[m [1mindex 91c1a9e6..fe6bdbb5 100644[m Binary files a/res/lang/es.bin and b/res/lang/es.bin differ [1mdiff --git a/res/lang/es_MX.bin b/res/lang/es_MX.bin[m [1mindex baf7e294..c96da0b0 100644[m Binary files a/res/lang/es_MX.bin and b/res/lang/es_MX.bin differ [1mdiff --git a/res/lang/fi.bin b/res/lang/fi.bin[m [1mindex 67ed5398..d06dfc9c 100644[m Binary files a/res/lang/fi.bin and b/res/lang/fi.bin differ [1mdiff --git a/res/lang/fr.bin b/res/lang/fr.bin[m [1mindex b4ecf798..4cda45d8 100644[m Binary files a/res/lang/fr.bin and b/res/lang/fr.bin differ [1mdiff --git a/res/lang/gl.bin b/res/lang/gl.bin[m [1mindex 005feca3..7ffb40ec 100644[m Binary files a/res/lang/gl.bin and b/res/lang/gl.bin differ [1mdiff --git a/res/lang/hu.bin b/res/lang/hu.bin[m [1mindex 4f9b6d8b..e698c7ac 100644[m Binary files a/res/lang/hu.bin and b/res/lang/hu.bin differ [1mdiff --git a/res/lang/ia.bin b/res/lang/ia.bin[m [1mindex d29bcee8..f951f0c5 100644[m Binary files a/res/lang/ia.bin and b/res/lang/ia.bin differ [1mdiff --git a/res/lang/ie.bin b/res/lang/ie.bin[m [1mindex b648a56c..c4671e06 100644[m Binary files a/res/lang/ie.bin and b/res/lang/ie.bin differ [1mdiff --git a/res/lang/isv.bin b/res/lang/isv.bin[m [1mindex 32b2cb39..2788dc3f 100644[m Binary files a/res/lang/isv.bin and b/res/lang/isv.bin differ [1mdiff --git a/res/lang/pl.bin b/res/lang/pl.bin[m [1mindex 20fa1621..29260245 100644[m Binary files a/res/lang/pl.bin and b/res/lang/pl.bin differ [1mdiff --git a/res/lang/ru.bin b/res/lang/ru.bin[m [1mindex 6c2be568..712d8a01 100644[m Binary files a/res/lang/ru.bin and b/res/lang/ru.bin differ [1mdiff --git a/res/lang/sk.bin b/res/lang/sk.bin[m [1mindex 0604ebab..79b1208f 100644[m Binary files a/res/lang/sk.bin and b/res/lang/sk.bin differ [1mdiff --git a/res/lang/sr.bin b/res/lang/sr.bin[m [1mindex 38b56ffa..79e76d20 100644[m Binary files a/res/lang/sr.bin and b/res/lang/sr.bin differ [1mdiff --git a/res/lang/tok.bin b/res/lang/tok.bin[m [1mindex c8097f29..31f9536e 100644[m Binary files a/res/lang/tok.bin and b/res/lang/tok.bin differ [1mdiff --git a/res/lang/tr.bin b/res/lang/tr.bin[m [1mindex 587774cc..758dba68 100644[m Binary files a/res/lang/tr.bin and b/res/lang/tr.bin differ [1mdiff --git a/res/lang/uk.bin b/res/lang/uk.bin[m [1mindex 18707608..6aedfe5f 100644[m Binary files a/res/lang/uk.bin and b/res/lang/uk.bin differ [1mdiff --git a/res/lang/zh_Hans.bin b/res/lang/zh_Hans.bin[m [1mindex 39024cdc..036ecca3 100644[m Binary files a/res/lang/zh_Hans.bin and b/res/lang/zh_Hans.bin differ [1mdiff --git a/res/lang/zh_Hant.bin b/res/lang/zh_Hant.bin[m [1mindex 59c4dcea..d2aa482d 100644[m Binary files a/res/lang/zh_Hant.bin and b/res/lang/zh_Hant.bin differ [1mdiff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c[m [1mindex f9efdd28..e63e4636 100644[m [1m--- a/src/ui/documentwidget.c[m [1m+++ b/src/ui/documentwidget.c[m [36m@@ -4116,6 +4116,12 @@[m [mstatic iBool handleCommand_DocumentWidget_(iDocumentWidget *d, const char *cmd)[m setResponseViewer_UploadWidget(upload, d);[m addChild_Widget(get_Root()->widget, iClob(upload));[m setupSheetTransition_Mobile(as_Widget(upload), iTrue);[m [32m+[m[32m if (argLabel_Command(cmd, "copy") && isUtf8_Rangecc(range_Block(&d->sourceContent))) {[m [32m+[m[32m iString text;[m [32m+[m[32m initBlock_String(&text, &d->sourceContent);[m [32m+[m[32m setText_UploadWidget(upload, &text);[m [32m+[m[32m deinit_String(&text);[m [32m+[m[32m }[m postRefresh_App();[m }[m return iTrue;[m [36m@@ -5080,6 +5086,7 @@[m [mstatic iBool processEvent_DocumentWidget_(iDocumentWidget *d, const SDL_Event *e[m { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" },[m { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" },[m { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" },[m [32m+[m[32m { "${menu.page.upload.edit}", 0, 0, "document.upload copy:1" },[m { "---" },[m { "${menu.page.copyurl}", 0, 0, "document.copylink" } },[m 16);[m [1mdiff --git a/src/ui/keys.c b/src/ui/keys.c[m [1mindex 30072572..d4d9320e 100644[m [1m--- a/src/ui/keys.c[m [1m+++ b/src/ui/keys.c[m [36m@@ -240,6 +240,7 @@[m [mstatic const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] =[m { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 },[m { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 },[m { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 },[m [32m+[m[32m { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 },[m /* The following cannot currently be changed (built-in duplicates). */[m #if defined (iPlatformApple)[m { 1002, { NULL, SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, 0 },[m [1mdiff --git a/src/ui/root.c b/src/ui/root.c[m [1mindex 3e0124d8..bc2bc0fb 100644[m [1m--- a/src/ui/root.c[m [1m+++ b/src/ui/root.c[m [36m@@ -1402,6 +1402,7 @@[m [mvoid createUserInterface_Root(iRoot *d) {[m { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" },[m { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" },[m { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" },[m [32m+[m[32m { "${menu.page.upload.edit}", 0, 0, "document.upload copy:1" },[m { "---" },[m { "${menu.page.copyurl}", 0, 0, "document.copylink" },[m { "${menu.page.copysource}", 'c', KMOD_PRIMARY, "copy" },[m [1mdiff --git a/src/ui/uploadwidget.c b/src/ui/uploadwidget.c[m [1mindex 28a35668..ae777a68 100644[m [1m--- a/src/ui/uploadwidget.c[m [1m+++ b/src/ui/uploadwidget.c[m [36m@@ -406,6 +406,10 @@[m [mvoid setResponseViewer_UploadWidget(iUploadWidget *d, iDocumentWidget *doc) {[m d->viewer = doc;[m }[m [m [32m+[m[32mvoid setText_UploadWidget(iUploadWidget *d, const iString *text) {[m [32m+[m[32m setText_InputWidget(findChild_Widget(as_Widget(d), "upload.text"), text);[m[41m [m [32m+[m[32m}[m [32m+[m static iWidget *acceptButton_UploadWidget_(iUploadWidget *d) {[m return lastChild_Widget(findChild_Widget(as_Widget(d), "dialogbuttons"));[m }[m [1mdiff --git a/src/ui/uploadwidget.h b/src/ui/uploadwidget.h[m [1mindex 5a7de45e..1cc1f193 100644[m [1m--- a/src/ui/uploadwidget.h[m [1m+++ b/src/ui/uploadwidget.h[m [36m@@ -31,3 +31,4 @@[m [miDeclareType(DocumentWidget)[m [m void setUrl_UploadWidget (iUploadWidget *, const iString *url);[m void setResponseViewer_UploadWidget (iUploadWidget *, iDocumentWidget *doc);[m [32m+[m[32mvoid setText_UploadWidget (iUploadWidget *, const iString *text);[m
text/gemini; charset=utf-8
This content has been proxied by September (3851b).