diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c3881fc6..abc858022 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,9 @@ ## Unreleased * Clearer app lists by removing redundant "App" subtitle +* New button for quick access to the apps sent in current chat +* New icon for the in-chat apps button +* Improve hint for app drafts * Add Text-To-Speech (TTS) support for in-chat apps ## v1.58.4 diff --git a/README.md b/README.md index f881688b7..945f2a11f 100644 --- a/README.md +++ b/README.md @@ -245,6 +245,8 @@ Android metadata and changelogs are translated using [Weblate](https://hosted.we Translation status +App strings and website are translated using [Transifex](https://app.transifex.com/delta-chat/). + # Credits Many of the user interface classes were based on the Android Signal messenger when we ported it from the former Telegram-UI base in 2019. diff --git a/metadata/de/short_description.txt b/metadata/de/short_description.txt deleted file mode 100644 index 36a005180..000000000 --- a/metadata/de/short_description.txt +++ /dev/null @@ -1 +0,0 @@ -Schreibe Nachrichten mit E-Mails. Retro, Offen. Privatsphäre im Design. diff --git a/metadata/it/changelogs/6864.txt b/metadata/it/changelogs/6864.txt deleted file mode 100644 index ab3bcb224..000000000 --- a/metadata/it/changelogs/6864.txt +++ /dev/null @@ -1,7 +0,0 @@ -- nuovo inserimento: puoi creare un nuovo profilo con un tocco su "Crea Nuovo Profilo" - oppure utilizzare un accesso esistente o la configurazione del secondo dispositivo come al solito -i contatti possono essere allegati come "Schede" in "Allega/Contatto"; quando il destinatario tocca le carte, è possibile stabilire la crittografia end-to-end garantita -- aggiungi contatti manualmente in "Nuova Chat / Nuovo Contatto / Aggiungi Contatto Manualmente" - - invia qualsiasi emoji come reazione - - mostrare le reazioni nei riepiloghi - - blocca/archivia/ecc. le chat direttamente dai risultati di ricerca - - Risolti bug e altro ancora diff --git a/metadata/it/changelogs/6904.txt b/metadata/it/changelogs/6904.txt deleted file mode 100644 index a6cffadc4..000000000 --- a/metadata/it/changelogs/6904.txt +++ /dev/null @@ -1,4 +0,0 @@ -- aggiungi un'opzione per contrassegnare tutte le chat selezionate come "Lette" (tocca a lungo una chat per avviare la modalità di selezione) - - i nuovi profili chatmail per dispositivo singolo hanno come impostazione predefinita "Elimina Messaggi Dopo il Download" - - quando si utilizza un profilo chatmail su più dispositivi, la cancellazione viene modificata in "Automatica" (la strategia di cancellazione dipende quindi dal server) - - Risolti bug e altro ancora diff --git a/metadata/pt-BR/full_description.txt b/metadata/pt-BR/full_description.txt deleted file mode 100644 index cd7a7dc0d..000000000 --- a/metadata/pt-BR/full_description.txt +++ /dev/null @@ -1,12 +0,0 @@ -Delta Chat é um aplicativo de mensagens que é completamente compatível com a infraestrutura de email já existente. -Assim, com o Delta Chat você tem a facilidade de muitos aplicativos de mensagens com o alcance de email. Além disso, você é independente de outras companhias e sercviços -- já que suas informações e dados não estão relacionadas com o Delta Chat, você não vai nem adicionar novas permissões aqui. -Resumo de alguns recursos: -* Seguro com criptografia de ponta a ponta, com suporte ao novo padrão Autocrypt -* Rápido usando Push-IMAP -* Maior base de usuários -- destinatários que não estiverem usando Delta Chat podem ser alcançados também -* Compatívle -- não apenas consigo mesmo -* Interface de usuário elegante e simples -* Sistema distribuído -* Sem spam -- apenas mensages de usuários conhecidos são mostradas por padrão -* Confiável -- pode até ser usado para mensagens comerciais -* Completamente OpenSource e baseado em padrões diff --git a/src/main/java/org/thoughtcrime/securesms/ConversationActivity.java b/src/main/java/org/thoughtcrime/securesms/ConversationActivity.java index 8883b61f6..cdd31e0a8 100644 --- a/src/main/java/org/thoughtcrime/securesms/ConversationActivity.java +++ b/src/main/java/org/thoughtcrime/securesms/ConversationActivity.java @@ -526,6 +526,9 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity } else if (itemId == R.id.menu_show_map) { WebxdcActivity.openMaps(this, chatId); return true; + } else if (itemId == R.id.menu_show_apps) { + handleProfile(true); + return true; } else if (itemId == R.id.menu_search_up) { handleMenuSearchNext(false); return true; @@ -606,10 +609,13 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity } } - private void handleProfile() { + private void handleProfile(boolean showApps) { Intent intent = new Intent(this, ProfileActivity.class); intent.putExtra(ProfileActivity.CHAT_ID_EXTRA, chatId); intent.putExtra(ProfileActivity.FROM_CHAT, true); + if (showApps) { + intent.putExtra(ProfileActivity.FORCE_TAB_EXTRA, ProfileActivity.TAB_WEBXDC); + } startActivity(intent); overridePendingTransition(0, 0); } @@ -863,7 +869,7 @@ public class ConversationActivity extends PassphraseRequiredActionBarActivity buttonToggle.getBackground().invalidateSelf(); }); - titleView.setOnClickListener(v -> handleProfile()); + titleView.setOnClickListener(v -> handleProfile(false)); titleView.setOnBackClickedListener(view -> handleReturnToConversationList()); composeText.setOnKeyListener(composeKeyPressedListener); diff --git a/src/main/java/org/thoughtcrime/securesms/mms/AttachmentManager.java b/src/main/java/org/thoughtcrime/securesms/mms/AttachmentManager.java index d00fe7e9a..8e7a592c8 100644 --- a/src/main/java/org/thoughtcrime/securesms/mms/AttachmentManager.java +++ b/src/main/java/org/thoughtcrime/securesms/mms/AttachmentManager.java @@ -312,7 +312,7 @@ public class AttachmentManager { } else if (slide.hasDocument()) { if (slide.isWebxdcDocument()) { DcMsg instance = msg != null ? msg : DcHelper.getContext(context).getMsg(slide.dcMsgId); - webxdcView.setWebxdc(instance, context.getString(R.string.videochat_tap_to_open)); + webxdcView.setWebxdc(instance, context.getString(R.string.webxdc_draft_hint)); webxdcView.setWebxdcClickListener((v, s) -> { WebxdcActivity.openWebxdcActivity(context, instance); }); @@ -409,7 +409,7 @@ public class AttachmentManager { if (slide.isPresent()) { if (slide.get().isWebxdcDocument()) { if (webxdcView != null) { - webxdcView.setWebxdc(DcHelper.getContext(context).getMsg(slide.get().dcMsgId), context.getString(R.string.videochat_tap_to_open)); + webxdcView.setWebxdc(DcHelper.getContext(context).getMsg(slide.get().dcMsgId), context.getString(R.string.webxdc_draft_hint)); } } } diff --git a/src/main/res/drawable/baseline_apps_24.xml b/src/main/res/drawable/baseline_apps_24.xml deleted file mode 100644 index 18dae5c30..000000000 --- a/src/main/res/drawable/baseline_apps_24.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/src/main/res/drawable/ic_apps_24.xml b/src/main/res/drawable/ic_apps_24.xml new file mode 100644 index 000000000..f578daeb2 --- /dev/null +++ b/src/main/res/drawable/ic_apps_24.xml @@ -0,0 +1,3 @@ + + + diff --git a/src/main/res/layout/attachment_type_selector.xml b/src/main/res/layout/attachment_type_selector.xml index 6a6fc0a00..114932d4d 100644 --- a/src/main/res/layout/attachment_type_selector.xml +++ b/src/main/res/layout/attachment_type_selector.xml @@ -195,9 +195,9 @@ android:id="@+id/webxdc_button" android:layout_width="53dp" android:layout_height="53dp" - android:src="@drawable/baseline_apps_24" + android:src="@drawable/ic_apps_24" android:scaleType="center" - android:contentDescription="@string/webxdc_apps" + android:contentDescription="@string/webxdc_app" app:circleColor="@color/apps_icon" /> @@ -205,7 +205,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" style="@style/AttachmentTypeLabel" - android:text="@string/webxdc_apps"/> + android:text="@string/webxdc_app"/> diff --git a/src/main/res/menu/conversation.xml b/src/main/res/menu/conversation.xml index 46be4a3a6..d21b28434 100644 --- a/src/main/res/menu/conversation.xml +++ b/src/main/res/menu/conversation.xml @@ -25,6 +25,11 @@ android:visible="false" app:showAsAction="always"/> + + @@ -34,7 +39,7 @@ + app:showAsAction="never" /> diff --git a/src/main/res/values/strings.xml b/src/main/res/values/strings.xml index 6f3294e49..c4de54441 100644 --- a/src/main/res/values/strings.xml +++ b/src/main/res/values/strings.xml @@ -195,6 +195,7 @@ Apps App Picker URL If set, the URL will be used as the App Picker instead of the default one + Tap \"Send\" to share Home Games Tools