Browse Source

P4TB-246: Moved the mobile apps to their own tab in the options panel.

master
Jörg Knobloch 1 year ago
parent
commit
9db070cca7
5 changed files with 40 additions and 8 deletions
  1. +4
    -1
      addon/_locales/de/messages.json
  2. +4
    -1
      addon/_locales/en/messages.json
  3. +19
    -6
      addon/content/dialogs/options.xhtml
  4. +12
    -0
      addon/content/resources/images/apple.svg
  5. +1
    -0
      addon/content/resources/images/google.svg

+ 4
- 1
addon/_locales/de/messages.json View File

@ -125,6 +125,9 @@
"optionsTabAbout": {
"message": "Über"
},
"optionsTabMobile": {
"message": "p≡p fürs Handy"
},
"optionsStoreAllSecurely": {
"message": "Nachrichten aller Konten sicher speichern"
},
@ -228,7 +231,7 @@
"message": "Version:"
},
"optionsCompanionApps": {
"message": "Mobile Companion Apps für p≡p für Thunderbird: "
"message": "Mobile Companion Apps für Android and iOS"
},
"optionsDonate": {
"message": "Spende an p≡p für Thunderbird"


+ 4
- 1
addon/_locales/en/messages.json View File

@ -125,6 +125,9 @@
"optionsTabAbout": {
"message": "About"
},
"optionsTabMobile": {
"message": "p≡p for Mobile"
},
"optionsStoreAllSecurely": {
"message": "Store messages securely for all accounts"
},
@ -228,7 +231,7 @@
"message": "Version:"
},
"optionsCompanionApps": {
"message": "Mobile Companion Apps for p≡p for Thunderbird: "
"message": "Mobile Companion Apps for Android and iOS"
},
"optionsDonate": {
"message": "Donate to p≡p for Thunderbird"


+ 19
- 6
addon/content/dialogs/options.xhtml View File

@ -27,6 +27,7 @@
<tab label-localekey="optionsTabAccounts" />
<tab label-localekey="optionsTabCompatibility" />
<tab label-localekey="optionsTabAbout" />
<tab label-localekey="optionsTabMobile" />
</tabs>
<tabpanels flex="1">
<tabpanel>
@ -172,12 +173,6 @@
</html:div>
</html:div>
<html:div class="section">
<html:div class="head"><html:span data-localekey="optionsCompanionApps"></html:span>
<label class="text-link"
onclick="pEpOptions.openLink('https://play.google.com/store/apps/details?id=security.pEp');">Android</label>
<label class="text-link"
onclick="pEpOptions.openLink('https://apps.apple.com/us/app/p-p/id1375458631');">iOS</label>
</html:div>
<html:div class="head">
<label class="text-link"
onclick="pEpOptions.openLink('https://www.pep.security/donate');" label-localekey="optionsDonate"></label>
@ -254,6 +249,24 @@
</html:div>
</html:div>
</tabpanel>
<tabpanel>
<html:div id="mobile">
<html:div class="section">
<html:div class="head"><html:span data-localekey="optionsCompanionApps"></html:span>
<html:br/>
<html:br/>
<label class="text-link"
onclick="pEpOptions.openLink('https://play.google.com/store/apps/details?id=security.pEp');">
<html:img style="height: 50px;" src="chrome://pEp4Tb/content/resources/images/google.svg"/>
</label>
<label class="text-link"
onclick="pEpOptions.openLink('https://apps.apple.com/us/app/p-p/id1375458631');">
<html:img style="height: 50px;" src="chrome://pEp4Tb/content/resources/images/apple.svg"/>
</label>
</html:div>
</html:div>
</html:div>
</tabpanel>
</tabpanels>
</tabbox>
</window>

+ 12
- 0
addon/content/resources/images/apple.svg
File diff suppressed because it is too large
View File


+ 1
- 0
addon/content/resources/images/google.svg
File diff suppressed because it is too large
View File


Loading…
Cancel
Save