diff --git a/scss/ionic.app.scss b/scss/ionic.app.scss index 0f87ffadf1912322302ede774f374c8771db26af..a1259a717f57e2feb3c42745a35eca6570424bd3 100644 --- a/scss/ionic.app.scss +++ b/scss/ionic.app.scss @@ -1964,11 +1964,20 @@ $ionicon-var-badge-editable: $ionicon-var-edit + "\00a0"; } } +/********** + About modal +**********/ .modal.about .bar.bar-header .button + .title { left: 0 !important; /* avoid title offset on large screens, if button are 'visible-xs')'*/ } +.modal.about { + .ion-telegram:before { + content: url('../img/logo_telegram.svg'); + } +} + /********** Item buttons **********/ diff --git a/www/i18n/locale-ca.json b/www/i18n/locale-ca.json index 8c1613b1188c35daab8398d8128db5b3d1157aab..9098fa5800a8c9213f9b7794e3c4faec48b531c0 100644 --- a/www/i18n/locale-ca.json +++ b/www/i18n/locale-ca.json @@ -112,7 +112,11 @@ "CODE": "Codi font:", "OFFICIAL_WEB_SITE": "Web oficial:", "DEVELOPERS": "Desenvolupat per:", - "FORUM": "Fòrum:", + "USER_FORUM": "Fòrum d'usuaris:", + "TECH_FORUM": "Fòrum Tècnic:", + "TELEGRAM": "Grup de Telegram:", + "USER_HELP_DIVIDER": "Comunitat", + "CONTRIBUTE_DIVIDER": "Contribuir", "PLEASE_REPORT_ISSUE": "Si trobeu errors no us ho penseu i informeu-nos", "REPORT_ISSUE": "Informa d'un problema" }, diff --git a/www/i18n/locale-de-DE.json b/www/i18n/locale-de-DE.json index 162cbc7c9a861efda715eaea3c1857c6bb3e7460..57ba812b2e68c7aef42d343b4ddb760f6810da00 100644 --- a/www/i18n/locale-de-DE.json +++ b/www/i18n/locale-de-DE.json @@ -111,7 +111,11 @@ "CODE": "Quellcode:", "OFFICIAL_WEB_SITE": "Offizielle Webseite:", "DEVELOPERS": "Entwickler:", - "FORUM": "Forum:", + "USER_FORUM": "Benutzerforum:", + "TECH_FORUM": "Technisches Forum:", + "TELEGRAM": "Telegram-Gruppe:", + "USER_HELP_DIVIDER": "Gemeinschaft", + "CONTRIBUTE_DIVIDER": "Beitragen", "DEV_WARNING": "Warnung", "DEV_WARNING_MESSAGE": "Diese Anwendung ist noch in der aktiven Entwicklung.<br/>Bitte melde uns jedes auftretende Problem!", "DEV_WARNING_MESSAGE_SHORT": "Diese App ist evtentuell noch instabil(in Entwicklung).", diff --git a/www/i18n/locale-en-GB.json b/www/i18n/locale-en-GB.json index 70a4df1cd558fc0301f469260250dde697064ddf..424bb260b9597b8ba284aa3ee1ff98fb5d7ae361 100644 --- a/www/i18n/locale-en-GB.json +++ b/www/i18n/locale-en-GB.json @@ -111,7 +111,11 @@ "CODE": "Source code:", "OFFICIAL_WEB_SITE": "Official web site:", "DEVELOPERS": "Developers:", - "FORUM": "Forum:", + "USER_FORUM": "User forum:", + "TECH_FORUM": "Technical forum:", + "TELEGRAM": "Telegram group:", + "USER_HELP_DIVIDER": "Community", + "CONTRIBUTE_DIVIDER": "Contribute", "PLEASE_REPORT_ISSUE": "Please report any issue to us!", "REPORT_ISSUE": "Report an issue", "BTN_OPEN_DEV_WINDOW": "Open the debug window" diff --git a/www/i18n/locale-en.json b/www/i18n/locale-en.json index 3ad8f8db22291afe0449d38569ee0b12cd5aed8c..2629bf63ceb6c7979592c1ec69504e4b8b87191c 100644 --- a/www/i18n/locale-en.json +++ b/www/i18n/locale-en.json @@ -111,7 +111,11 @@ "CODE": "Source code:", "OFFICIAL_WEB_SITE": "Official web site:", "DEVELOPERS": "Developers:", - "FORUM": "Forum:", + "USER_FORUM": "User forum:", + "TECH_FORUM": "Technical forum:", + "TELEGRAM": "Telegram group:", + "USER_HELP_DIVIDER": "Community", + "CONTRIBUTE_DIVIDER": "Contribute", "PLEASE_REPORT_ISSUE": "Please report any issue to us!", "REPORT_ISSUE": "Report an issue", "BTN_OPEN_DEV_WINDOW": "Open the debug window" diff --git a/www/i18n/locale-eo-EO.json b/www/i18n/locale-eo-EO.json index 5a5dda2647454ebb81c778a7288837dbb322b394..a7e91f8af45524299ab49f657cf62366f5a48aa9 100644 --- a/www/i18n/locale-eo-EO.json +++ b/www/i18n/locale-eo-EO.json @@ -111,7 +111,11 @@ "CODE": "Fonto-kodo:", "OFFICIAL_WEB_SITE": "Oficiala retejo:", "DEVELOPERS": "Programita de:", - "FORUM": "Forumo:", + "USER_FORUM": "Uzant-Forumo:", + "TECH_FORUM": "Teknika Forumo:", + "TELEGRAM": "Telegram-Grupo:", + "USER_HELP_DIVIDER": "Komunumo", + "CONTRIBUTE_DIVIDER": "Kontribui", "PLEASE_REPORT_ISSUE": "Ne hezitu sciigi al ni la renkontitajn fuŝaĵojn", "REPORT_ISSUE": "Sciigi problemon", "BTN_OPEN_DEV_WINDOW": "Malfermi la fenestron pri malfuŝigado" diff --git a/www/i18n/locale-es-ES.json b/www/i18n/locale-es-ES.json index 99e6f21849882a7b7904d6f93b8dde0ef810c008..35e3c48155d8a9ebd4d196b52e6d3d759a297cab 100644 --- a/www/i18n/locale-es-ES.json +++ b/www/i18n/locale-es-ES.json @@ -112,7 +112,11 @@ "CODE": "Código fuente:", "OFFICIAL_WEB_SITE": "Web oficial:", "DEVELOPERS": "Desarrollado por:", - "FORUM": "Foro:", + "USER_FORUM": "Foro de usuarios:", + "TECH_FORUM": "Foro técnico:", + "TELEGRAM": "Grupo de Telegram:", + "USER_HELP_DIVIDER": "Comunidad", + "CONTRIBUTE_DIVIDER": "Contribuir", "PLEASE_REPORT_ISSUE": "No dude en informarnos de anomalías encontradas", "REPORT_ISSUE": "Reportar un problema" }, diff --git a/www/i18n/locale-fr-FR.json b/www/i18n/locale-fr-FR.json index 71016cc67c57c226ea302f516b9fc2d43b891843..cb9ae4d3f1063f328179858a55205393aecbb4c6 100644 --- a/www/i18n/locale-fr-FR.json +++ b/www/i18n/locale-fr-FR.json @@ -111,9 +111,13 @@ "CODE": "Code source :", "OFFICIAL_WEB_SITE": "Site web officiel :", "DEVELOPERS": "Développé par :", - "FORUM": "Forum :", + "USER_FORUM": "Forum utilisateur:", + "TECH_FORUM": "Forum technique :", + "TELEGRAM": "Groupe Telegram :", "PLEASE_REPORT_ISSUE": "N'hésitez pas à nous remonter les anomalies rencontrées", "REPORT_ISSUE": "Remonter un problème", + "USER_HELP_DIVIDER": "Communauté", + "CONTRIBUTE_DIVIDER": "Contribuer", "BTN_OPEN_DEV_WINDOW": "Ouvrir la fenêtre de debuggage" }, "HOME": { diff --git a/www/i18n/locale-it-IT.json b/www/i18n/locale-it-IT.json index 3b4edb919d381c24f1f61b1a6e870742738dcff4..eabf04464ba2a14ceaec90ee79af68391e6aad59 100644 --- a/www/i18n/locale-it-IT.json +++ b/www/i18n/locale-it-IT.json @@ -111,7 +111,11 @@ "CODE": "Codice sorgente:", "OFFICIAL_WEB_SITE": "Pagina web ufficiale:", "DEVELOPERS": "Sviluppatori:", - "FORUM": "Forum:", + "USER_FORUM": "Forum degli utenti:", + "TECH_FORUM": "Forum tecnico:", + "TELEGRAM": "Gruppo Telegram:", + "USER_HELP_DIVIDER": "Comunità", + "CONTRIBUTE_DIVIDER": "Contribuire", "PLEASE_REPORT_ISSUE": "Per favore comunicaci qualunque problema!", "REPORT_ISSUE": "Comunica un problema", "BTN_OPEN_DEV_WINDOW": "Apri la finestra di debug" diff --git a/www/i18n/locale-nl-NL.json b/www/i18n/locale-nl-NL.json index ab88116f227fe1c754170bae34e222a3ca089e6c..821a53c01e7f841e3ffe55e7432cba30244fac24 100644 --- a/www/i18n/locale-nl-NL.json +++ b/www/i18n/locale-nl-NL.json @@ -102,7 +102,11 @@ "LICENSE": "<b>Vrije</b> software (GNU AGPLv3 licentie).", "CODE": "Broncode:", "DEVELOPERS": "Ontwikkelaars:", - "FORUM": "Forum:", + "USER_FORUM": "Gebruikersforum:", + "TECH_FORUM": "Technisch Forum:", + "TELEGRAM": "Telegram Groep:", + "USER_HELP_DIVIDER": "Gemeenschap", + "CONTRIBUTE_DIVIDER": "Bijdragen", "DEV_WARNING": "Waarschuwing", "DEV_WARNING_MESSAGE": "Deze applicatie is nog in actieve onwikkeling.<br/>Meld ons elk pobleem!", "DEV_WARNING_MESSAGE_SHORT": "Deze App is nog instabiel (in ontwikkeling).", diff --git a/www/i18n/locale-pt-PT.json b/www/i18n/locale-pt-PT.json index c3c716576b27ecfd570973212f0b77164c6f35b8..52b694cda2d081e5349d23db857ef105a745156b 100644 --- a/www/i18n/locale-pt-PT.json +++ b/www/i18n/locale-pt-PT.json @@ -112,7 +112,11 @@ "CODE": "Código fonte:", "OFFICIAL_WEB_SITE": "Site oficial:", "DEVELOPERS": "Desenvolvido por:", - "FORUM": "Fórum:", + "USER_FORUM": "Fórum de usuários:", + "TECH_FORUM": "Fórum Técnico:", + "TELEGRAM": "Grupo Telegram:", + "USER_HELP_DIVIDER": "Comunidade", + "CONTRIBUTE_DIVIDER": "Contribuir", "PLEASE_REPORT_ISSUE": "Não se iniba de nos informar sobre anomalias encontradas", "REPORT_ISSUE": "Reportar um problema" }, diff --git a/www/img/logo_telegram.svg b/www/img/logo_telegram.svg new file mode 100644 index 0000000000000000000000000000000000000000..ec6ee141f46ec1b326576d879093963192fc6d30 --- /dev/null +++ b/www/img/logo_telegram.svg @@ -0,0 +1,3 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"> + <path fill="#444" d="M16 0.5c-8.563 0-15.5 6.938-15.5 15.5s6.938 15.5 15.5 15.5c8.563 0 15.5-6.938 15.5-15.5s-6.938-15.5-15.5-15.5zM23.613 11.119l-2.544 11.988c-0.188 0.85-0.694 1.056-1.4 0.656l-3.875-2.856-1.869 1.8c-0.206 0.206-0.381 0.381-0.781 0.381l0.275-3.944 7.181-6.488c0.313-0.275-0.069-0.431-0.482-0.156l-8.875 5.587-3.825-1.194c-0.831-0.262-0.85-0.831 0.175-1.231l14.944-5.763c0.694-0.25 1.3 0.169 1.075 1.219z"/> +</svg> diff --git a/www/js/services/settings-services.js b/www/js/services/settings-services.js index 988ea9686e16537ee43eda56411104c144d8b01b..34edcd25b3b3d3c00effad00661b1298e1e9be8b 100644 --- a/www/js/services/settings-services.js +++ b/www/js/services/settings-services.js @@ -81,6 +81,8 @@ angular.module('cesium.settings.services', ['ngApi', 'cesium.config']) sourceLicenseUrl: 'https://git.duniter.org/clients/cesium-grp/cesium/-/raw/master/LICENSE', newIssueUrl: "https://git.duniter.org/clients/cesium-grp/cesium/issues/new", userForumUrl: "https://forum.monnaie-libre.fr", + userTelegramUrl: "https://t.me/monnaielibrejune", + techForumUrl: "https://forum.duniter.org", latestReleaseUrl: "https://api.github.com/repos/duniter/cesium/releases/latest", // FIXME: get release from gitlab duniterLatestReleaseUrl: undefined, // disable for now diff --git a/www/templates/modal_about.html b/www/templates/modal_about.html index e775eb7ef508ced9035c090305e2f337d21db940..af617cc00691f6f2d7db61593ac0892b67c6d53c 100644 --- a/www/templates/modal_about.html +++ b/www/templates/modal_about.html @@ -37,12 +37,25 @@ </h3> </ion-item> + <div class="item item-divider no-border"> + <p translate>ABOUT.USER_HELP_DIVIDER</p> + </div> + <!-- forum --> <ion-item class="item-icon-left"> <i class="item-image icon ion-chatbubbles"></i> - {{'ABOUT.FORUM' | translate}} + {{'ABOUT.USER_FORUM' | translate}} <h3><a ng-click="openLink($event, $root.settings.userForumUrl)">{{::$root.settings.userForumUrl}}</a></h3> </ion-item> + <ion-item class="item-icon-left"> + <i class="item-image icon ion-telegram"></i> + {{'ABOUT.TELEGRAM' | translate}} + <h3><a ng-click="openLink($event, $root.settings.userTelegramUrl)">{{::$root.settings.userTelegramUrl}}</a></h3> + </ion-item> + + <div class="item item-divider no-border"> + <p translate>ABOUT.CONTRIBUTE_DIVIDER</p> + </div> <!-- report issue --> <ion-item class="item-icon-left item-text-wrap"> @@ -60,6 +73,13 @@ <h3><a ng-click="openLink($event, $root.settings.sourceUrl)">{{$root.settings.sourceUrl}}</a></h3> </ion-item> + <!-- tech forum --> + <ion-item class="item-icon-left"> + <i class="item-image icon ion-chatbubbles"></i> + {{'ABOUT.TECH_FORUM' | translate}} + <h3><a ng-click="openLink($event, $root.settings.techForumUrl)">{{::$root.settings.techForumUrl}}</a></h3> + </ion-item> + <!-- team --> <ion-item class="item-icon-left item-text-wrap"> <i class="item-image icon ion-person-stalker"></i>