Commit Graph

463 Commits

Author SHA1 Message Date
B. Petersen ed80c3eeec update translations: en, de 2023-06-20 12:36:47 +02:00
B. Petersen 0891dcb186 fix '>' in xml 2023-06-20 11:44:26 +02:00
bjoern b8a38ff5cf prepare 1.38.0 (#2590)
* update changelog for 1.38.0

* update device message for 1.38.0

* bump bersion to 1.38.0

* make device message translatable
2023-06-20 11:38:45 +02:00
bjoern d984710721 add select_chat (#2589) 2023-06-16 16:26:27 +02:00
B. Petersen 8267e35328 give more context to 'last_seen' 2023-05-22 20:04:57 +02:00
Simon Laux b33394f73a add strings for verified, verified by and last_seen_relative (#2563)
* add strings for `verified`, `verified by` and `last_seen_relative`

for https://github.com/deltachat/deltachat-desktop/pull/3227

partially addresses https://github.com/deltachat/deltachat-android/pull/2429:
because it addresses one key `last_seen_relative`

* Apply suggestions from code review

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

---------

Co-authored-by: bjoern <r10s@b44t.com>
2023-05-18 12:47:08 +02:00
bjoern e50a13f371 streamline map wording (#2562)
* streamline menu

- remove prefix 'Show', we are not using it at most other places,
  nor do comparable UI

- move 'All Locations' below 'All Media',
  this seems to be more logical
  (we were even thinking of making 'Locations' a tap in 'Media')

* add missing plural form for 'Location' (needed for iOS map experiments, maybe also the better title for the in-chat-maps in general)
2023-05-15 12:40:44 +02:00
B. Petersen dcab41b1bf update translations 2023-04-18 16:26:00 +02:00
bjoern d7c53d8cb4 add 'load remote images' strings as needed by desktop (#2536) 2023-04-07 23:12:01 +02:00
bjoern 31939dc977 make transfer-backup devicemsg translatable (#2533) 2023-04-04 19:44:54 +02:00
B. Petersen 99e0f8fbff 1.36.0 hotfix: fix typo in english device message 2023-03-29 12:39:43 +02:00
bjoern affd120ba4 prepare 1.36 (#2522)
* update changelog for 1.36, core part

* update changelog for 1.36, android part

* bump version to 1.36

* add device message for 1.36

* qualify 'Add Second Device' as experimental also in device message

* apply recent suggestions to CHANGELOG
2023-03-29 12:32:42 +02:00
B. Petersen bd6dd64c36 'Unlock to continue' is shorter and sufficient - the context is shown above - and the way to unlock (password, swipe...) is shown below 2023-03-27 15:53:15 +02:00
B. Petersen d69d7c06be show a little message before QR code generation
we already had a confirmation dialog for probably most security-aware users
always when the device is protected by a screen lock.

this commits adds a more on-point text -
and shows the same text in a simple alert in case a device has no screen lock.
2023-03-27 10:29:26 +02:00
B. Petersen f3b1493dc3 remove now unused strings 2023-03-27 10:29:26 +02:00
B. Petersen 04ed2f9b38 add explicit experimental and version hint 2023-03-25 16:44:06 +01:00
B. Petersen a2765597dd add instructions 2023-03-25 16:44:06 +01:00
B. Petersen b36cfcabe9 add "Add as Second Device" to welcome view
ppl try already now to set up a second device from the welcome screen.
however, end up in logging into their email account again,
creating issues with keys and more.
a dedicated "Add as Second Devies" button targets this UX issue
by offering a clear path for setting up a second device.

moreover, the string "Scan Invitation Code" is used again (as on all releases),
this string is used quite a bit in different handouts,
changing that would worsen UX as well.

the "Restore from Backup is moved down,
if you really use this path, finding the button is the smallest issue.
the different layout of the button makes clear,
that this is not the preferred way to set up a new account
(but sure, to restore a backup :)
2023-03-25 16:44:06 +01:00
B. Petersen f931c9bc41 typo: receiver 2023-03-25 12:30:22 +01:00
bjoern 3cede346f3 add multi-device-setup (#2493)
* add DcBackupProvider add receiveBackup() wrappers

* add 'Add Another Device' item to settings

* add android-ifaddrs

core-rust uses getifaddrs() which is not available on android ndk.
pull in the code from https://github.com/morristech/android-ifaddrs
that provides an implementation.

* add BackupProviderActivity

* make SVG-hack reusable

* add BackupProviderFragment

* prepare scanning backup codes

* Revert "add android-ifaddrs"

This reverts commit 33b1424427620396f282805d37f8e05c67758546.

* more logging

* call receiveBackup() on scanning DC_QR_BACKUP

* Fixup for recvmmsg fallback

* protect BackupProviderActivity by system secret

* show transfer progress as provided form the core; hide qr-code once scanned

* add a permanent notification for the provider

* clarify what we are waiting for

* add a permanent notification for the receiver

* ask before finishing BackupProviderActivity

* it is fine to cancel the abort question by tapping outside the alert

* remove outdated comment from 'keep screen on'

* add and check TRANSFER_MODE

* rename BackupProviderActivity to BackupTransferActivity

* use our base activity

* start/stop IO in base activity

* use BackupTransferActivity also for scanning

* add BackupReceiverFragment

* show detailed transfer progress

* show details instead of percent during preparation, for now

* launch chatlist and remove welcome when transfer is done

* redirect to chatlist automatically after transfer succeeded

* reword

* make log accessible from send and receive activities

* bump version

* show error if backup provider creation fails

* remove unneeded format()

* show some context in the errors alerts, hide QR code sooner

* calculate transfer percentage as specified

* show a 'close' instead of a 'back' button to make visually clear, things are aborted (there is a quesion anyway)

* add option to copy backup-qr-code to clipboard

* remove vague retry statement, core will show a detailed error soon

* warn about QR codes on clipboard getting invalidated

* make basic strings translatable

* add troubleshooting menu item (once help is evolved, it may be a more visible button, may be localized, may be offline)

* rename to backup_transfer_fragment.xml

* add detailed instructions

* move 1,2,3 layout to the .xml

* fix layout

* use text size used elsewhere

* do best effort to show SSID on sending device

* make SSID code reusable for receiver

* adapt to otherwise used font style

* show ssid also for receiver

* minor refactorings

* make qr code subtitle translatable

* tune down 'same network hint' on scanning device

* add progress bar to provider

* add progress bar to receiver

* bump version

* use 'Add Second Device' wording

this seems slightly catchier as "Add Another Device"
and has less "A" esp. in "Add as Another Device" :)

also at least translation to german seems nicer ("Zweitgerät"),
most ppl will use max. two devices, but even if more,
that should still be fine.

this was also the first intuition also by other devs in their mockups,
so we'll give it a try.

* use "Exporting/Preparing/Prepared Account" wording

let's give that a try - "Account" is also widely used,
so that seems to make some sense.
even if not 100% fitting,
it seems better than introducing the new term "Collection".

* refine abort question

* Update res/layout/backup_provider_fragment.xml

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

* Update src/org/thoughtcrime/securesms/qr/BackupProviderFragment.java

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

* Update src/org/thoughtcrime/securesms/qr/BackupReceiverFragment.java

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

* Update src/org/thoughtcrime/securesms/qr/BackupTransferActivity.java

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

* Update src/org/thoughtcrime/securesms/qr/BackupReceiverFragment.java

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

* remove string duplicate

* refine 1,2,3

* simplify string ids

* focus on what matters

---------

Co-authored-by: link2xt <link2xt@testrun.org>
Co-authored-by: Hocuri <hocuri@gmx.de>
2023-03-24 15:22:26 +01:00
bjoern 44f3865bb3 use term "Wallpaper" instead of "Background" (#2501)
in english "Background" is already used for "Background connection",
"Background App Refresh", "Background Notification",
so using another term here make things clearer -
esp. when the option is seen without futher context.

also, many other app prefer "Wallpaper", eg. iOS, Android, Signal, WhatsApp ...
so it is also known from there.

all in all, the new term seems much clearer and
avoids misunderstandings.

note: this change is about english only,
no need to re-translate the other languages,
where "Wallpaper" may also should strange;
i added a hint that translators do not need to use the term literally.
2023-03-19 10:57:33 +01:00
bjoern 56cac342f9 streamline "App" wording (#2500)
the term "App" and "Apps" seems to be clear enough inside Delta Chat.
from outside, other terms may still be used to clarify things.
2023-03-14 21:09:19 +01:00
bjoern 69600179d2 fix "empty hints" for "all media" view (#2499)
a common hint makes things easier,
and also has the advantage, that it is more clear to the user what the
focus of this view is as it picks up the wording from the title.
2023-03-14 15:41:54 +01:00
B. Petersen 8956838641 clarify 'Clear Chat', remove string prefix (we add new prefixes or postfixes only if the raw one is not free) 2023-03-14 11:31:26 +01:00
Asiel Díaz Benítez 920889c119 Merge pull request #2175 from deltachat/adb-clear-chat
allow to remove all messages from current chat
2023-03-13 20:18:44 -04:00
adbenitez ffb788e4b6 add "clear chat" 2023-03-13 19:08:06 -04:00
B. Petersen 0d52b49727 update translations 2023-02-12 12:48:12 +01:00
B. Petersen 354ddb5e0a update translations 2023-01-31 14:19:33 +01:00
B. Petersen 7f874fe1f4 update translations, clarify hint for string 'N Selected' 2023-01-31 11:58:16 +01:00
B. Petersen ef25dff3e4 update translations 2023-01-06 11:45:40 +01:00
bjoern 17039651be add function 'mark all as read' to archive (#2443)
* add function 'mark all as read' to archive

as we have the unread counter there now,
we should have an easy way to reset it.

* more clear strings-key
2023-01-06 11:37:33 +01:00
bjoern d764ed7b91 clarify meaning of 'left'; this came out of transifex discussions (#2416) 2022-11-08 09:59:24 +01:00
bjoern a9c8b30c3e prepare 1.34.0 (#2392)
* bump version to 1.34.0

* update changelog for 1.34

* add core changes to CHANGELOG (core91..core95)

* add 1.34 device message

* tweak device message

* update translations
2022-10-01 23:01:26 +02:00
B. Petersen 1e8f4c3bee update translations: do not abbreviate 'seconds' in disappearing messages messages 2022-09-30 19:19:13 +02:00
bjoern 2fabc56b84 remove deprecated strings (#2391)
* remove old system messages strings; these ones are no longer needed since https://github.com/deltachat/deltachat-android/pull/2380

* remove unused device message

* pull translations
2022-09-30 16:13:39 +02:00
B. Petersen c65208718c explain placeholder of DCLOGIN strings 2022-09-29 18:40:42 +02:00
B. Petersen f30ed105ef use 'log in' wording as done at similar places 2022-09-29 18:37:14 +02:00
Simon Laux 05fcac819e add dclogin scheme to qr code scan (#2366)
* add dclogin scheme to qr code scan

* Update src/org/thoughtcrime/securesms/qr/QrCodeHandler.java

Co-authored-by: Asiel Díaz Benítez <asieldbenitez@gmail.com>

* Update src/org/thoughtcrime/securesms/qr/QrCodeHandler.java

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

* handle DCACCOUNT and DCLOGIN schemes on new intents

* keep existing function name, that is maybe not less confusing, but at least already known

Co-authored-by: bjoern <r10s@b44t.com>
Co-authored-by: Asiel Díaz Benítez <asieldbenitez@gmail.com>
2022-09-29 18:34:01 +02:00
B. Petersen 7a95bfd4ba make transifex happy and remove space after attribute name
the space is valid xml afaik,
however, transifex does not like it and throws an error.

closes #2388
2022-09-23 19:45:47 +02:00
cyBerta d747d84616 add missing strings for webxdc selector and webxdc shortcuts on iOS (#2381)
* add missing strings for webxdc selector and webxdc shortcuts on iOS

* improve empty state hint for webxdc selector

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

* Update webxdc shortcut strings

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

Co-authored-by: bjoern <r10s@b44t.com>
2022-09-21 22:20:41 +02:00
bjoern 3a7227b77b reword "Webxdc content" (#2377)
* reword "Webxdc [content]" to "Webxdc Apps"

adding "App" to the term makes things much clearer to the user,
was "Webxdc" is about.

eg. on iOS, we have an app selector meanwhile,
calling that _just_ "Webxdc" in the menu or in the title makes it pretty
unclear to the user what this is about.
same for the tab "Webxdc" on desktop or the default description in the summary.
otoh, calling it _only_ "Apps" (as now), may also raise false expectations
and may be mixed with "normal" apps.

so, "Webxdc App" seems to be a good approach.

there is also the term "Mini App" [^1], we could also go for that,
but this is a broader discussion as this would give up the term "Webxdc" partly.

in any case, if there is few space in the UI,
it seems to be okay to abbreviate with just "App" or "Apps" as needed,
if it is otherwise clear that the thing is a "Webxdc App" or "Mini App".

[^1]: the term "Mini App" is aleady known for similar types of apps
(some "small app" running in a "super app")
cmp. https://www.w3.org/TR/mini-app-white-paper/#what-is-miniapp .
of course, our "Webxdc Apps" are not compatible with other "Mini Apps"
however, this is also not the case between "Mini Apps" of other vendors
which also have different focuses.
so "Mini App" seems to be a broader term and does not imply compatibiliy.

* use term 'Private Apps' for webxdc content

* add some translator hints
2022-09-19 10:01:43 +02:00
bjoern 13c32b6552 rework system messages (#2380)
* do not set deprecated stock-translations

* mark now unused stock translations as deprecated

* add new system messages to english strings.xml

* add translator comments to new strings

* set new system messages
2022-09-11 21:03:54 +02:00
bjoern 853000f8dc option to add webxdc apps to home screen (#2353)
* add 'Add to Home Screen' menus for webxdc apps

* make adding shortcut basically work

* avoid starting webxdc from foreign accounts

* recreate back stack, if possible

according to
https://developer.android.com/training/notify-user/navigation :
"When you start an activity from a notification,
you must preserve the user's expected navigation experience.
Tapping Back should take the user
back through the app's normal work flow to the Home screen [...]"

same seems to be true for shortcuts using the same class for constructing
the back stack.

the back stack is reconstructed for API 26 (Oreo, 2017) or newer,
for oder API `requestPinShortcut()`
only uses the top-level activity for the shortcut.
working around that is probably possible, but would be quite some effort in an
already complicated area and would result in bugs that are not so easy to see.

also, on these old androids, users are probably used to the no-back-stack
behaviour.

* show a warning if app was deleted

* add 'Add to Home Screen' also to gallery

beside chat- and webxdc-activity,
this is the third place where the webxdc is listed.

as adding may result in dialogs from the launcher,
we allow the option only for a single selected webxdc,
as otherwise a series of dialogs would pop up.

* show 'Done' toast short, this is what we are doing at all the other places when showing 'Done'
2022-08-15 11:30:14 +02:00
Hocuri 7f1bcef8da Slightly adapt string to this change 2022-07-17 00:05:29 +02:00
Hocuri 05c52e622f hpk's wording suggestion, correct blog post link 2022-07-17 00:05:29 +02:00
Hocuri db84eb8664 r10s' string explanations
Co-authored-by: bjoern <r10s@b44t.com>
2022-07-17 00:05:29 +02:00
Hocuri 045ba76390 Add AEAP info dialog & strings 2022-07-17 00:05:29 +02:00
B. Petersen 2d248a543f fix files tab hint: depending on the system, music may be displayed in other tabs; therefore, just remove that hint 'files' also include 'music' in the remaining cases 2022-07-16 18:18:34 +02:00
B. Petersen eb7ef043d9 fix upper lowercase, thanks @OzancanKaratas 2022-07-16 11:51:27 +02:00
B. Petersen d4d0624e39 fix typo in english source 2022-07-11 12:14:25 +02:00