Commit Graph

529 Commits

Author SHA1 Message Date
bjoern 1b68e13d9c "scan qr code" wordings (#2146)
* pass qr-code strings to core (as qr code images are generated in core now)

* shorter wording of qr code hints

* quote group name as done in most other places
2021-11-25 12:09:10 +01:00
bjoern ddda0750ba tweak wording for 'Last seen' (#2145) 2021-11-23 21:51:31 +01:00
Asiel Díaz Benítez a79912109c Update res/values/strings.xml
Co-authored-by: bjoern <r10s@b44t.com>
2021-11-23 11:41:27 -05:00
adbenitez c7956abbaf show last-seen info in profile 2021-11-22 23:11:42 -05:00
B. Petersen a9764e89ed update translations 2021-11-17 11:06:03 +01:00
B. Petersen 6468094ac2 update translations 2021-11-16 22:27:50 +01:00
B. Petersen 5b64238c82 fix translation source 2021-11-16 22:19:35 +01:00
Hocuri a6be2f426c Don't set draft after creating group, instead improve group creation hint (#2134)
fix deltachat/deltachat-core-rust#2793

Also see deltachat/deltachat-core-rust#2805
2021-11-16 10:44:55 +01:00
bjoern 949f9b5b2f prepare 1.24.0 (#2104)
* update changelog for 1.24.0

* add device message

* add recent commits to changelog

* bump version to 1.24.0
2021-11-05 00:48:37 +01:00
bjoern 45187174f2 new group from profile (#2100)
* add 'New Group or Subject' to contact profiles and allow group creation from there

* preselect contacts on group-creation from profile

* remove dead code

* also for existing group-creation, do not finish calling activity needlessly (this is pretty unexpected behavior)

* on editing groups, just use isProtected() from the chat to edit
2021-10-31 15:24:50 +01:00
bjoern 1e2bc56aec adapt 'self-profile' hint to reality (#2102)
* adapt 'profile' hint to reality

- the profile hint misses that also the signature
  is sent out, together with name and image

- strike the part about that sent information cannot be retracted -
  that is pretty clear,
  and if we say that here, why not beside every message ;)
  not sure where that comes from,
  i checked similar settings in other messengers,
  there is no comparable hint.

* remove unclear 'alongside' wording
2021-10-30 23:09:11 +02:00
B. Petersen eedf1c4858 Revert "add 'New Group or Subject' to contact profiles and allow group creation from there"
This reverts commit 872044b811.
2021-10-29 10:44:29 +02:00
B. Petersen 872044b811 add 'New Group or Subject' to contact profiles and allow group creation from there 2021-10-29 10:34:46 +02:00
B. Petersen cac85528df update translations 2021-10-27 17:40:17 +02:00
B. Petersen cb1b1871b0 update translations 2021-10-27 17:28:19 +02:00
bjoern a0c96af983 make new 'join group' strings translatable, remove superfluous code (#2095)
* make new 'join group' strings translatable

* remove now superfluous group-join-progress-dialog

* remove thread-back-to-main roundtrip, joinSecurejoin() should return fast enough, not much different from any other chat creation
2021-10-27 17:23:45 +02:00
Asiel Díaz Benítez eb75aaae1a use Dismiss instead of Mark as Read in notification action (#2083) 2021-10-15 11:22:48 +02:00
adbenitez ba40209723 add checkbox to selected account 2021-10-13 03:22:55 -04:00
bjoern a73f17144b add usage string for connectivity view (#2066)
moreover, fix the id used for 'Broadcast List'
2021-10-01 22:28:37 +02:00
bjoern e71f5d9bba broadcasts android ui (#2060)
* add broadcasts ffi

* add 'broadcast' options to menu, chat, profile etc.

* generate initial broadcast names

* reword broadcast hint

* make 'Broadcasts Lists' experimental; while on that, also add a confirmation dialog to the location streaming switch (wording taken from ios)

* Update res/values/strings.xml

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

* comment on strings.xml

* tweak 'experimental' appearing, avoid the 'test tube'-emoji that is not supported on many devices

Co-authored-by: Hocuri <hocuri@gmx.de>
2021-09-30 15:44:17 +02:00
bjoern 3af9fdcea6 do not say, device-messages can be deleted from the server somehow (#2059)
it is a bit nitpicking and also a cornercase,
however, yes, it was not correct before.
2021-09-24 18:04:33 +02:00
bjoern 1ef4b23811 prefer 'All' over 'No Limit' (#2055) 2021-09-22 18:45:05 +02:00
B. Petersen 17bdd6e0da fix typo in english source strings 2021-09-22 02:06:37 +02:00
B. Petersen fe113cb520 hotfix: remove superfluous backslash 2021-09-21 01:47:54 +02:00
bjoern d7072d57df add translations recently needed by core: connectivity, quota, device messages and some other bits (#2053) 2021-09-21 01:00:26 +02:00
bjoern a33ff17f3f pull in translatable/lasting strings from desktop (#2050)
* pull in translatable/lasting strings from desktop -> _locales/_untranslated_en.json

* fix typo

* add missing headline

* Update res/values/strings.xml

Co-authored-by: Simon Laux <Simon-Laux@users.noreply.github.com>

Co-authored-by: Simon Laux <Simon-Laux@users.noreply.github.com>
2021-09-19 18:34:09 +02:00
bjoern beb601bc06 do not download large messages automatically (#2045)
* add download-ffi methods

* add 'Download' button for incomplete messages

* show 'downloading' animation

* make download_limit configurable

* set button to 'disabled' and text to 'Downloading...' on downloading; color does not really reflect that yet, but that can probably be tweaked by xml

* make 'download message body' translatable
2021-09-13 23:07:49 +02:00
Asiel Díaz Benítez c4f7a72493 allow to export all selected attachments (#2048)
* allow to export more than one attachment

* tweak strings
2021-09-06 23:31:52 +02:00
B. Petersen 75af8159c0 typo: it is not 'Learn Apeeling' :D 2021-08-23 12:12:15 +02:00
bjoern ed1b363d70 add device message for 1.22 (#2036)
* add device message for 1.22

* adapt 1.22 device message for ios, for desktop, update_1_22 could fit (or we can add another later)
2021-08-20 17:58:27 +02:00
bjoern 0995930636 unify buttons (#2007)
* use standard button style for block/accept

* make existing buttons a little bit nicer

* make 'login' button more outstanding, esp. in dark-mode, where colors are tuned down for now
2021-08-02 10:38:14 +02:00
bjoern 2e9f7e58f2 tweak 'Archived Chats' and 'Requests' (#1991)
* add 'Archived Chats' menu entry

the menu entry is at the place where the 'Contact Requests' were before -
that way, ppl may find existing contact requests easier.

moreover, it is now possible to access 'Archived Chats'
without endless scrolling ;)

* for archived requests, show both tags

* show a hint when 'Archived Chats' is empty

* contact requests do not display unread count; do not retrieve it and do not show text in bold
2021-07-29 10:18:51 +02:00
Hocuri f941fd3c53 Remove Deaddrop chat (Android UI) (#1975)
See deltachat/deltachat-core-rust#2514

Fixes #1963
Fixes #1890

Before deleting a chat the user is asked for confirmation. Before blocking not, because blocking is not "destructive" (i.e. can be completely reverted by unblocking the contact). I'm wondering whether we should show a snackbar with an Undo button though, but we can probably wait for user feedback on this.

* Start removing deaddrop chat

* Generally works

* Fix the buttons

(it's not easy to not show one of the buttons in
ConstraintLayout; if problems turn up, we should probably
just not use ConstraintLayout)

* fix more things

* restartLoader() instead of notifyDataSetChanged() because the latter didn't do anything

* Archived badge

* Rename "Contact request" to "Request"

* oops

* Remove setStockTranslation(8, context.getString(R.string.chat_contact_request));

* Remove commented-out code, we probably won't need it

* Don't show "Delete" button for 1:1 chats

* Get rid of short flickering when declining a request

* Set the app's night mode to match the preference

This added 6ms to startup time, but I think that's OK, as
we will also be able to use more `-night` views in the future

* Make "Accept" text a bit brighter and easier to read in dark mode

* Check if the chattype is Group instead of members.length == 1
2021-07-26 13:01:59 +02:00
bjoern 3cbaafb437 use 'Updating…' instead of 'Getting new messages…' (#1984)
- 'Getting new messages…' is not always fitting,
  the messages may be old or they are not visible as messags at all
  (read receipts, setup-contact, sync).
  'Updating…' is better fitting here.

- 'Getting new messages…' is a bit too long and results in
  linebreaks on smaller devices.
2021-07-23 08:27:57 +02:00
B. Petersen a14a7f4548 use 'E-Mail' when in a title context 2021-07-21 13:45:47 +02:00
bjoern 4960a2609e capitalize some strings (#1979)
* capitalize some strings

as discussed several times on different channels,
nowadays, it is more usual to use capitalized titles;
fitting better to existing environments.

this pr capitalizes menu entries, buttons and titles;
"titles" include all name of all settings.

whats left lowercase (just to have a clear focus):
- states
- values
- whole sentences
- titles mentioned in whole sentences

(nb: there is the rough idea of having something as "Group or Subject"
instead of just "Group" -
this change is also easier with the new capitalisation rules ;)

as this all does not affect other languages
(they have their own rules),
we should be careful not to force re-translations.

* fix typos
2021-07-21 13:35:54 +02:00
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
adbenitez dddaee9192 set navigation bar color in dark mode 2021-05-15 14:43:22 -04:00