Commit Graph

342 Commits

Author SHA1 Message Date
B. Petersen 07c3623275 udpate translations 2021-07-19 14:53:30 +02:00
bjoern 2105c500ce consider multi-device usage on withdraw/revive QR code wordings (#1977)
in a multi-device-setup,
if deviceB scans a setup-contact QR code shown on deviceA,
it is misleading to say that the QR code was withdrawn
and can be revived.
actually, the QR code was never withdrawn by the user.

this is fixed by this pr.
(at some point, we want to sync QR codes across devices,
but even then, there may be siutuations where things are not in sync)

moreover,
the wording is more explicit about what is usually done with the qr code;
this is esp. helpful, when scanning a printed QR code without much context.
2021-07-19 10:47:22 +02:00
bjoern 466697c976 allow withdrawing and reviving qr codes, add corresponding strings (#1965)
the code-part of this pr is pretty simple, most work was already done in core at deltachat/deltachat-core-rust#2512

* add DC_QR_{WITHDRAW|REVIVE}_VERIFY{CONTACT|GROUP} constants

* ask to withdraw/revive qr codes

* reword redraw hints, fix typos

* reword revive statement

* Update res/values/strings.xml: Add "by others"

* Apply suggestions from comradekingu's code review

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Hocuri <hocuri@gmx.de>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
2021-07-14 17:46:20 +02:00
Hocuri b3fea81bed Implement a basic connectivity view
The non-squashed original commits are available at 243bd3a56:

* First, quick and dirty version

* Basic HTML connectivity view

* Codestyle, automatically refresh

* Make it accessible from the settings

* Improve usability

I did some user-testing with my family, these are the results:
- Added an emoji to the html page (red dot for not connected, and so on)
- Adapted error messages for SMTP:
  "Not started" -> "(You did not try to send a message recently)"
  "🟢 Connected" -> "🟢 Your last message was sent successfully"
- "Not connected" is misleading, because they think that this means that there is no internet connection.
  But "Not connected" can have other causes, like, a not responding server or a changed-but-not-updated-in-DC password

  Possible solutions:
  - "Not connected" -> "Not connected with gmx.de" (or whatever comes after the '@' in configured_addr). The problem: some people have an own domain for their emails, but no own servers. "Not connected with <your domain>" and might make them think that the problem is that DC tries to connect to the server <your domain>, while the server is hosted at Strato.com.
  - We can ask the system whether there currently is network and then show another error message. The problem: Sometimes the system is wrong.

* Remove error_network

* Remove server_response string

* Move `getConnectivitySummary()` to `DcHelper`

* Implement the changes we agreed on

* Remove string error_no_network

* small fixes
2021-07-08 22:50:22 +02:00
bjoern 1ebe04505c fix some typos (#1966)
* prefer e-mail over email, before, that was mixed. cherry-pick from #1960

* fix typos
2021-06-30 14:54:59 +02:00
Jikstra bfdddf1567 Clarify disappearing message hint (#1926)
* Clarify disappearing message hint

I got the user feedback that it's not clear that this setting only applies for this chat/group and is not a global setting like device/server deletion

* incorporate feedback to disappearing messages hint

Co-authored-by: B. Petersen <r10s@b44t.com>
2021-06-30 13:53:33 +02:00
B. Petersen c44f688f7c update translations 2021-06-02 14:17:30 +02:00
bjoern 096cfc81ab refine wording of remaining screenlock (#1944)
we keep using the screenlock for "Backup" and "Manage keys";
these dialog always used the wording of the "global" screenlock,
sth. as "Please Unlock Delta Chat", however, that wording was always wrong
as Delta Chat itself is not locked in these situations.

this pr sets the title to the selected action
and just says "Please enter system secret to continue."

moreover, the toasts on canceling the action are removed,
they do not make much sense here,
there was a user action just before, so that is pretty clear anyway.
2021-06-02 14:08:14 +02:00
Hocuri 8c0fac43c4 Remove screenlock (#1942)
* Remove screen lock feature, move the two remaining "App access" options into "Advanced"

Locking the app was removed a long time ago, so in "App access" in the
settings, the only two remaining items were "Screen security" and
"Incognito keyboard".

* Remove the now-unused strings

* remove app-access-category from main settings screen

Co-authored-by: B. Petersen <r10s@b44t.com>
2021-06-02 11:21:47 +02:00
adbenitez 49954ef1d7 escape apostrophe 2021-05-22 16:49:34 -04:00
Simon Laux 8c3a8c8aac push untranslated strings from desktop (#1935)
* push untranslated strings from desktop

* Apply suggestions from code review

Co-authored-by: bjoern <r10s@b44t.com>

* address suggestions

* change punycode related placeholders

* fix the xml I broke (invalid closing tags)

* Apply suggestions from code review

Co-authored-by: bjoern <r10s@b44t.com>

Co-authored-by: bjoern <r10s@b44t.com>
2021-05-22 16:18:38 +02:00
B. Petersen 3ad83767e8 typo 2021-05-19 16:42:28 +02:00
B. Petersen 0224780f5f doc on translations 2021-05-19 16:40:10 +02:00
B. Petersen 3939bbe439 add missing 'Forwarded' string 2021-05-10 14:21:47 +02:00
B. Petersen 39b67e8876 link to online privacy policy (this is also a gplay requirement) 2021-05-07 14:29:55 +02:00
B. Petersen 6008c4a0b4 draft a device message, the message is pretty neutral and should fit for ios/desktop as well 2021-05-05 21:41:57 +02:00
adbenitez b197cb1a7e apply review suggestions 2021-05-01 17:41:06 -04:00
Asiel Díaz Benítez c7cbd80f91 Update res/values/strings.xml
Co-authored-by: Hocuri <hocuri@gmx.de>
2021-05-01 17:28:50 -04:00
Asiel Díaz Benítez dcae99680f Update res/values/strings.xml
Co-authored-by: Hocuri <hocuri@gmx.de>
2021-05-01 15:53:44 -04:00
adbenitez 0dde372e9c add labels to staged image and image editor 2021-04-29 17:44:51 -04:00
adbenitez 1fa9a43d0e add labels to quick camera buttons 2021-04-29 17:08:34 -04:00
adbenitez d434b534bb improve accessibility of some buttons 2021-04-29 05:00:15 -04:00
B. Petersen a5c51a59ce try to explain 'lock' button better 2021-04-15 20:33:06 +02:00
B. Petersen 04619ade89 update translations 2021-04-15 20:15:41 +02:00
adbenitez 7b6f1bd507 add lock recording feature 2021-03-14 15:28:23 +01:00
B. Petersen 406bb9a6ee update translations 2021-02-10 15:54:55 +01:00
B. Petersen 097da7c165 show name of forwarded in groups, keep title of forwarded messages in grey 2021-02-10 15:50:10 +01:00
B. Petersen c14a864bf0 update translations 2021-02-07 23:51:39 +01:00
bjoern c814885f5c mailinglists3 (#1781)
* Adapt to mailing lists

* Change the question if this is a mailing list (untested)

* rm unused fn

* Adapt to getSenderName -> getOverrideSenderName (untested)

* Use dc_msg_get_sender_first_name() because sometimes the first name was not correctly shown in mailing lists

* Don't let the user modify mailing list groups

* Fix crash

* Make Unnamed newsletter translatable, make the subtitle of mailing lists "Mailing list"

* tweak and hide some controls for mailing lists

* Update src/com/b44t/messenger/DcChat.java

Co-authored-by: bjoern <r10s@b44t.com>

* adapt to new dc_msg_get_real_chat() api, remove dc_msg_get_sender_first_name()

* remove now dead code

* add mailing list name to contact-request-question

move question-creation to a helper class
to avoid duplicated code.

* fix DcMsg.getOverrideSenderName()

* adapt to new dc_decide_on_contact_request() api

* re-allow changing name+image for mailinglists, see recent discussions on PRs

* remove memberlist- and settings-tab from mailinglist profile until there is some use for them

* adapt to new DC_CHAT_TYPE_MAILINGLIST type

Co-authored-by: Hocuri <hocuri@gmx.de>
2021-02-07 23:39:48 +01:00
B. Petersen f03c8a5062 update translations 2021-02-03 13:55:01 +01:00
link2xt 9e610e5d4b Replace 4 weeks option with 5 weeks option
While 4 weeks always fits in a month,
5 weeks (35 days) always covers at least a month,
so it can be used in a situation where messages are required to
be stored for a month.
2021-02-03 13:34:05 +03:00
link2xt f155757cee Change list of ephemeral message options
Also match unknown options to some known option, not "disabled".
2021-01-31 00:45:13 +03:00
bjoern 8d9c02dd7a add option to view full (html) message (#1763)
* add get-mime-original apis

* remove unused control

* add 'Show full message' buttons

* split reusable WebViewActivity from LocalHelpActivity

* add FullMsgActivity

* load html via AsyncTask

* adapt to changed api

* handle mailto:-links in WebView

* block loading remote images by default, add user setting always/once/never

* do not hide 'Once' button in always-mode, playing around a day with hidden 'Once' that looks more like a bug :)

* wording: as 'Always' affects all messages, it is better to speak of multiple senders

* wording: use 'Load remote images'

this makes it easier for the user to find the option
if one sees, images are missing in the document.

* wording: shorten text.

* wording: change 'may' to 'can'. 'may' sounds a bit as if someone allows this.

* Don't use AsyncTask

* check 'once' if appropriate

* use lite-colored checkbox-emoji in dark-theme

* add comment about missing error logging

Co-authored-by: Hocuri <hocuri@gmx.de>
2021-01-28 22:53:15 +01:00
B. Petersen 3a7443a91d update translations 2021-01-22 22:40:38 +01:00
Hocuri 1ff6a3a18d Dark theme / DayNight: Add option to follow system
fix maybe #1748. Maybe not, because actually I don't understand why
issue #1748 even happened because we don't use the system background for
the bubble but an own one (see conversation_item_sent.xml:50). Probably
the system is somehow trying to forcefully create a dark mode.

So, let's see whether this PR fixes the issue, if not, I'll try again.
2020-12-19 19:51:55 +01:00
B. Petersen b284a70ef7 reword no-blocked-contats-hint 2020-11-22 23:06:00 +01:00
B. Petersen 4362bb07d0 update translations 2020-11-20 13:19:12 +01:00
B. Petersen 8e185e4f26 show permanent hint about server-delete impact
when server-deletion is enabled,
always show a hint about the impact below the option.

the hint is a summary of the conformation-dialog
so that the user is more aware of the impact
if enabling was some time ago
or the option was even enabled by the provider-db.
2020-11-18 21:54:39 +01:00
B. Petersen 8675a21e64 fix grammar 2020-11-18 11:32:35 +01:00
B. Petersen 4b3355813d incorporate some of @Hocuri's suggestions 2020-11-17 23:39:16 +01:00
B. Petersen 21faaa5f9c fortify wording in delete-server dialog
this pr changes the wording,
not relativize things, underlining the worse impact.

i avoided adding "maybe" or "potentially" here,
even if that would be more accurate.

moreover, the pr adds some red color and emojicons.
2020-11-17 16:35:50 +01:00
bjoern 4316354163 Update res/values/strings.xml
Co-authored-by: link2xt <ilabdsf@gmail.com>
2020-11-01 01:24:59 +01:00
B. Petersen 8e724e8a76 update changelog, add device message for 1.14 2020-11-01 01:24:58 +01:00
B. Petersen 8bd280f44b update translations 2020-10-25 17:02:56 +01:00
B. Petersen 6f25349572 placeholders in strings need to be uniquely adressable, more than one %s needs to be %1, %2 and so on 2020-10-21 14:26:28 +02:00
B. Petersen b8099e8107 reword protection message and make it translatable 2020-10-18 13:13:11 +02:00
B. Petersen 6e9ff3033a use string 'Delete contact' to delete contacts 2020-10-17 01:40:36 +02:00
Hocuri 810f1d0e01 Sort strings to the correct place 2020-10-16 18:51:59 +02:00
B. Petersen 9ba23ed977 wording: use 'profile image' and 'group image' everywhere 2020-10-15 21:26:47 +02:00
Simon Laux d00d4fd152 add translation strings from desktop (#1658)
* add strings from desktop

* update wording

* escape ampersands

* reorder menu to clipboard

* remove back_to_top

* group avatar to group image

Co-authored-by: bjoern <r10s@b44t.com>

* remove default_value_automatic

* rename ask_delete_chat_desktop to dedup to
ask_delete_named_chat_desktop

* rename desktop delete accounts strings
delete_account_confirmation_header_desktop -> ask_delete_value
delete_account_confirmation_desktop -> delete_account_explain_with_name

* apply Hocuri's suggestion
on delete_account_confirmation_desktop

* reuse existing strings for zoom factor

* capitalize "Micro"

* remove usused a11y_qr_data

* profile_image_select and delete

Co-authored-by: bjoern <r10s@b44t.com>

* lowercase clipboard

* Cannot in one word

* shorten delete_account_confirmation_header_desktop
upon r10s suggestion

* remove a11y_profile_image_label
as we can use pref_profile_photo instead

* apply hocuri's pref_notification suggestions

* Apply suggestions from code review

Co-authored-by: Hocuri <hocuri@gmx.de>

* readd removed string that android still uses it

* remove common things out of _desktop namespace, typo fixes, ordering

* typo

* typo

Co-authored-by: bjoern <r10s@b44t.com>
Co-authored-by: Hocuri <hocuri@gmx.de>
2020-10-15 19:04:55 +02:00