Commit Graph

391 Commits

Author SHA1 Message Date
B. Petersen 9277ac0623 adapt strings to new welcome screen 2022-04-26 21:14:48 +02:00
B. Petersen ad042a73ab add "Resend" to message menu
the UI does not check before selection if a message can be resent,
this is subject to change and not worth the effort.
instead, just an error is shown.

for the ID_NEVER_SHOW_AS_ACTION_* - this is a bit ugly,
however, the few alternatives i tried were even more uglier,
Java and Array-primitives are just not great.
as it is not changed often, it is probably not worth the effort to dive deeper.
2022-04-26 21:00:47 +02:00
Hocuri a4efe7f47f Warn when enabling config "only_fetch_mvbox" 2022-04-12 19:10:16 +02:00
B. Petersen d841812dff update translations 2022-02-01 22:09:04 +01:00
B. Petersen 40631f15c0 update translations 2022-02-01 21:58:03 +01:00
bjoern 6381328c43 prepare 1.28.0 (#2216)
* update changelog for 1.28.0

* bump version to 1.28.0

* add 1.28 device message

* streamlined device message

* fix typo

* simplify wording wrt mailing lists

Co-authored-by: holger krekel <holger@merlinux.eu>
2022-02-01 14:53:51 +01:00
Hocuri 0bc9f4735c Add OnlyFetchMvbox option (#2206)
* [WIP] Add OnlyFetchMvbox option

* Update res/values/strings.xml

* Adapt to the core changes

* Update res/values/strings.xml

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

* Remove unnecessary startIo() addition

* Update res/values/strings.xml

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

Co-authored-by: bjoern <r10s@b44t.com>
2022-01-31 17:47:52 +01:00
bjoern c205a1692e webxdc: warn when the app tries sendUpdate() and the user cannot send (#2199)
* show a warning when trying to sendUpdate() for contact requests or other chats the user cannot send to

* add missing 'Start...' translation
2022-01-22 22:11:29 +01:00
Asiel Díaz Benítez eb25a5e78c add "developer mode" preference (#2196)
* add "developer mode" preference

* activate WebContentsDebugging also after restart

as the preference option is persisted,
we should call setWebContentsDebuggingEnabled() not only on flag changes.

* capitalize option name, shorter description

* prefer 'can' over 'may'; the latter is very formal

* add Prefs.isDeveloperModeEnabled()

Co-authored-by: B. Petersen <r10s@b44t.com>
2022-01-22 11:01:48 +01:00
bjoern d6344a8f2d remove unused strings (#2169)
* remove unused strings

there were some left over the time :)

- i used the 'Unused Resources' linter in Android Studio
  to get delete candidates

- i removed all old 'Contact Request' strings
  as we do not have this anymore in that form.

- i checked every string using ./scripts/grep-string.sh
  that checks for usages on android, ios, node and desktop.

* remove chat_no_messages_hint
2021-12-13 10:44:57 +01:00
bjoern 40bbfd6aa7 improve wording of one-to-one-chat hint (#2165)
* improve wording of one-to-one-chat hint

at #2134 we shortend the hint shown for an empty group massively,
removing greylisting hints and the hint that the recipient can user other mua.

the result of that shortening is that the creation of a one-to-one chat
is now way too long :)

i suggest shorten the hint in a similar way,
not much would be left then, however, that is maybe not bad :)

* re-add the aspect that the recipient does not need Delta Chat
2021-12-12 16:54:34 +01:00
bjoern 9755a7e028 add 'Download failed' string (#2167) 2021-12-09 11:01:08 +01:00
bjoern 09e0d7e4d0 prepare 1.26.0 (#2153)
* update changelog for 1.26.0

* add device message; as 1.24 is still pretty fresh, we also keep that message for now

* bump version to 1.26
2021-11-29 00:21:28 +01:00
B. Petersen f1f7156f15 hotfix: fix source strings.xml errors 2021-11-28 17:23:58 +01:00
Simon Laux 5601ca91b1 add translation strings from desktop (#2149)
* add translation strings from desktop

* Update res/values/strings.xml

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

* rename `mailto_dialog_confirm_replace_draft` to just `confirm_replace_draft`

Co-authored-by: bjoern <r10s@b44t.com>
2021-11-28 00:29:36 +01:00
B. Petersen 0213019aa0 update translations 2021-11-26 11:42:27 +01:00
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
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
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 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