From 952b736ef526183efa4baacd27136333fe0e6835 Mon Sep 17 00:00:00 2001 From: Tony Young Date: Tue, 23 Aug 2016 11:11:05 -0700 Subject: [PATCH 1/3] Add IRCCloud support. --- app/store/ServicesList.js | 9 +++++++++ resources/icons/irccloud.png | Bin 0 -> 1043 bytes 2 files changed, 9 insertions(+) create mode 100644 resources/icons/irccloud.png diff --git a/app/store/ServicesList.js b/app/store/ServicesList.js index 0d68cad8..8dac640c 100644 --- a/app/store/ServicesList.js +++ b/app/store/ServicesList.js @@ -433,6 +433,15 @@ Ext.define('Rambox.store.ServicesList', { ,description: 'Yandex is a free webmail service with unlimited mail storage, protection from viruses and spam, access from web interface, etc.' ,url: 'https://passport.yandex.com/' ,type: 'email' + }, + { + id:' irccloud' + ,logo: 'irccloud.png' + ,name: 'IRCCloud' + ,description: 'IRCCloud is a modern IRC client that keeps you connected, with none of the baggage.' + ,url: 'https://www.irccloud.com/' + ,type: 'messaging' + ,js_unread: 'function checkUnread(){var t=0;[].map.call(document.querySelectorAll(".bufferBadges > .badge"),n=>n.textContent?parseInt(n.textContent,10):0).reduce((x,y)=>x+y,0);updateBadge(t)}function updateBadge(e){e>=1?document.title="("+e+") "+originalTitle:document.title=originalTitle}var originalTitle=document.title;setInterval(checkUnread,3000);' } ] }); diff --git a/resources/icons/irccloud.png b/resources/icons/irccloud.png new file mode 100644 index 0000000000000000000000000000000000000000..17373adb96422ed2f18bd4b4f6fa6c987b55ae94 GIT binary patch literal 1043 zcmV+u1nm2XP)i}=?0C4aB|Nj7R@c>1Y{r&!^$@wII@==xaIEeFktoHu? z{`2+v1$FW9_5NC#^|H?S^Y{MS===ajngDb0^Y;7N;_l7Z=)&3h+T`@1!}pN7_W(?z zp~U$BOQHZrn^t|c@bmZ#cJTmV)2Ye%U7Ym*SiU=o^xo?HSef+zZteh1sQ3E*0Atkv zSG?BW?A_$=!qxHsZR_*)`T%e5_xb(+Z0MJ+(Ewo2eVWDqY2qJNpa5IN0C4cJ&G_~B z{`L3#g0c3Er_K8N{oCgE09nAr+WH7gp4#K@Z>IKTjK!$D+R4@E(c=8{_WJ;F@rASY zHp@y_7<`uqOB&Ep10m;h6<=I{IlNSE^V z{w{;^lDF^C-0PC6&oE-908p*k;_m=w-vCLU07aGnY2yG{zW`0908FHW-7Xja000Se zQchC zT0mnyTENFl;yeZvpa2CZKmiI+KqA#xlg(tZHI1nR0T4+Kz)l0{h{r%E7=!Iq<~XO5~$+=b&|j+4;YmMYI#7dBv9Z11xa9?2b`1wZr|YoS0sS^>N0RU zE)KM9!T!o*J38}t;MsFP)YFRv@+SaS{V5!98nD%)fVOvlt``Fw0en4q1h51Gbs~WC zB0vWMSP=m>5Wu(yP(T1*MSyVx@Kgjii~x>`0LKu(jaI;S3jxf`;(?KS2w?0`2@SNg zBLH(@{tOaWYg)tref{$#+gci>E&JvY1mogQhiHnB(MRKIoM;-zAo3&e|8uU&WM zV*#^oq1ke~xiiZuQ`4Z({a|e7bwkbp?rsCadjYwI`|XQz*VqT!z(b;^gh$|JKPCd6 zfZKEz4bc6<1zx_IBLTYKxa%|hcE}_F-hcSm8Xx}j+4?d;1AO~#{p-ijgh>PZ{Pnvz z_or*_0H4$ppa2CZKmk5lAVB}^!Jq{U@~ Date: Sun, 28 Aug 2016 08:09:33 -0400 Subject: [PATCH 2/3] Hide Google & expose phone number login for mysms --- app/store/ServicesList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/store/ServicesList.js b/app/store/ServicesList.js index 0d68cad8..58019a46 100644 --- a/app/store/ServicesList.js +++ b/app/store/ServicesList.js @@ -314,7 +314,7 @@ Ext.define('Rambox.store.ServicesList', { ,description: 'The mysms family of applications helps you text anywhere and enhances your messaging experience on your smartphone, tablet and computer.' ,url: 'https://app.mysms.com/#login' ,type: 'messaging' - ,js_unread: 'function checkUnread(){var e=document.getElementsByClassName("unread"),t=0;for(i=0;i=1?document.title="("+e+") "+originalTitle:document.title=originalTitle}var originalTitle=document.title;setInterval(checkUnread,3000);' + ,js_unread: 'function checkUnread(){var e=document.getElementsByClassName("unread"),t=0;for(i=0;i=1?document.title="("+e+") "+originalTitle:document.title=originalTitle}"https://app.mysms.com/#login"===document.baseURI&&(document.getElementsByClassName("innerPanel")[0].rows[0].style.display="none",document.getElementsByClassName("innerPanel")[0].rows[1].cells[0].firstElementChild.style.display="none",document.getElementsByClassName("msisdnLoginPanel")[0].style.display="inline");var originalTitle=document.title;setInterval(checkUnread,3000);' ,note: 'You have to use this service by signing in with your mobile number.' }, { From 69e83026339ce7e3d67f89f6a553a85c6712b78c Mon Sep 17 00:00:00 2001 From: Hauwertlhaufn Date: Sun, 28 Aug 2016 16:58:25 +0200 Subject: [PATCH 3/3] Update ext-locale-de.js I corrected the grammar. --- ext/packages/ext-locale/overrides/de/ext-locale-de.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ext/packages/ext-locale/overrides/de/ext-locale-de.js b/ext/packages/ext-locale/overrides/de/ext-locale-de.js index b52aa516..1b614a0b 100644 --- a/ext/packages/ext-locale/overrides/de/ext-locale-de.js +++ b/ext/packages/ext-locale/overrides/de/ext-locale-de.js @@ -123,7 +123,7 @@ Ext.define("Ext.locale.de.toolbar.Paging", { nextText: "nächste Seite", lastText: "letzte Seite", refreshText: "Aktualisieren", - displayMsg: "Anzeige Eintrag {0} - {1} von {2}", + displayMsg: "Eintrag anzeigen {0} - {1} von {2}", emptyMsg: "Keine Daten vorhanden" }); @@ -168,8 +168,8 @@ Ext.define("Ext.locale.de.form.field.VTypes", { override: "Ext.form.field.VTypes", emailText: 'Dieses Feld sollte eine E-Mail-Adresse enthalten. Format: "user@example.com"', urlText: 'Dieses Feld sollte eine URL enthalten. Format: "http:/' + '/www.example.com"', - alphaText: 'Dieses Feld darf nur Buchstaben enthalten und _', - alphanumText: 'Dieses Feld darf nur Buchstaben und Zahlen enthalten und _' + alphaText: 'Dieses Feld darf nur Buchstaben und _ enthalten', + alphanumText: 'Dieses Feld darf nur Buchstaben, Zahlen und _ enthalten' }); Ext.define("Ext.locale.de.form.field.HtmlEditor", { @@ -235,7 +235,7 @@ Ext.define("Ext.locale.de.form.field.HtmlEditor", { }, insertorderedlist: { title: 'Numerierte Liste', - text: 'Beginnt eine numerierte Liste.', + text: 'Beginnt eine nummerierte Liste.', cls: Ext.baseCSSPrefix + 'html-editor-tip' }, createlink: {