Skip to content

Commit

Permalink
Improve end-to-end encryption UX; fixes #96
Browse files Browse the repository at this point in the history
  • Loading branch information
bilde2910 committed Dec 12, 2019
1 parent fdb35db commit 0ca32c4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
<string name="label_interval">Update interval (seconds)</string>
<string name="label_custom_id">Preferred link ID</string>
<string name="label_custom_id_hint">&lt;randomly generated&gt;</string>
<string name="label_use_e2e">Encrypt share</string>
<string name="label_use_e2e">Password protect share</string>

<string name="label_e2e_password">Encryption key</string>
<string name="label_e2e_password">Encryption password</string>
<string name="label_mode">Sharing mode:</string>
<string name="label_allow_adopt">Allow adoption:</string>

Expand Down
4 changes: 2 additions & 2 deletions backend-php/include/lang/en/texts.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
$LANG['group_pin_invalid'] = 'Invalid group PIN!';
$LANG['session_invalid'] = 'Invalid session!';
$LANG['location_invalid'] = 'Invalid location!';
$LANG['group_e2e_unsupported'] = 'End-to-end encryption cannot be used for group shares!';
$LANG['e2e_adoption_not_allowed'] = 'This share is using end-to-end encryption and cannot be adopted!';
$LANG['group_e2e_unsupported'] = 'Group shares cannot be password protected!';
$LANG['e2e_adoption_not_allowed'] = 'This share is password protected and cannot be adopted!';
14 changes: 7 additions & 7 deletions frontend/assets/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"page_title": "Hauk",
"expired_head": "Location expired",
"expired_body": "The shared location you tried to access was not found on the server. If this link worked before, the share might have expired.",
"e2e_title": "End-to-end encryption",
"e2e_placeholder": "Encryption password",
"e2e_password_prompt": "This share is protected by end-to-end encryption. Please enter the encryption password to access the share.",
"e2e_incorrect": "The encryption password you entered was wrong. Please try again.",
"e2e_unavailable_secure": "This share is protected by end-to-end encryption. Decryption is currently unavailable because you are not using HTTPS. Please ensure you are using HTTPS, then try again.",
"e2e_unsupported": "This share is protected by end-to-end encryption. Your browser does not appear to support the cryptographic functions required to decrypt such shares. Please try again with another web browser.",
"e2e_title": "Password protected",
"e2e_placeholder": "Enter password",
"e2e_password_prompt": "This share is password protected. Please enter the password to access the share.",
"e2e_incorrect": "The password you entered was wrong. Please try again.",
"e2e_unavailable_secure": "This share is password protected. You cannot unlock this share because you are not using HTTPS. Please ensure you are using HTTPS, then try again.",
"e2e_unsupported": "This share is password protected. Your browser lacks the functionality required to open such shares. Please try again with another web browser.",
"gnss_signal_head": "Please wait",
"gnss_signal_body": "Sender is waiting for GPS signal",
"point_app_to": "Point the Hauk app to this server to share your location:",
Expand All @@ -23,7 +23,7 @@
"last_update_days": "{{time}}d ago",
"btn_dismiss": "Dismiss",
"btn_cancel": "Cancel",
"btn_decrypt": "Decrypt",
"btn_decrypt": "Unlock",
"f_droid_badge_url": "https://fdroid.gitlab.io/artwork/badge/get-it-on.png",
"google_play_badge_url": "https://play.google.com/intl/en_us/badges/static/images/badges/en_badge_web_generic.png"
}

0 comments on commit 0ca32c4

Please sign in to comment.