Skip to content

Commit fa75294

Browse files
committed
add device message
1 parent 75498e7 commit fa75294

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/main/java/org/thoughtcrime/securesms/ConversationListActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ protected void onCreate(Bundle icicle, boolean ready) {
118118
// it is not needed to keep all past update messages, however, when deleted, also the strings should be deleted.
119119
try {
120120
DcContext dcContext = DcHelper.getContext(this);
121-
final String deviceMsgLabel = "update_2_0_0_android-h";
121+
final String deviceMsgLabel = "update_2_25_0_android-b";
122122
if (!dcContext.wasDeviceMsgEverAdded(deviceMsgLabel)) {
123123
DcMsg msg = null;
124124
if (!getIntent().getBooleanExtra(FROM_WELCOME, false)) {
@@ -129,7 +129,7 @@ protected void onCreate(Bundle icicle, boolean ready) {
129129
// Util.copy(inputStream, new FileOutputStream(outputFile));
130130
// msg.setFile(outputFile, "image/jpeg");
131131

132-
msg.setText(getString(R.string.update_2_0, "https://arcanechat.me/#contribute"));
132+
msg.setText(getString(R.string.update_2_25, "https://i.delta.chat/#0A45953086F0C166D3BAF1D4BB2025496E4C2704&x=MVPi07rQBEmHO4FRb3brpwDe&j=n8mkKqu42WAKKUCx1bQOVh23&s=RxuXoa0vhvTs0QLsWM45Ues0&a=adb%40arcanechat.me&n=adb&b=ArcaneChat+Channel", "https://arcanechat.me/#contribute"));
133133
}
134134
dcContext.addDeviceMsg(deviceMsgLabel, msg);
135135

src/main/res/values-es/strings.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1212,6 +1212,8 @@
12121212
<string name="perm_enable_bg_already_done">Ya has permitido que Delta Chat reciba mensajes en segundo plano.\n\nSi los mensajes aún no llegan en segundo plano, compruebe también la configuración de su sistema.</string>
12131213

12141214
<!-- device messages for updates -->
1215+
<string name="update_2_25">🔮 ¿Qué hay de nuevo?\n\n★ Ahora es posible crear canales con enlace de invitación. Únete al canal oficial (en inglés) de Delta Chat aquí: %1$s\n\n★ Ahorro de datos: reducido el tamaño de las notificaciones de lectura\n\n★ Ahora es posible guardar en el almacenamiento archivos compartidos por mini-apps\n\n★ Más protección de metadatos\n\n★ La creación de grupos se sincroniza immediatamente en todos tus dispositivos\n\n★ Arreglado el ordenamiento de multimedia en la galería del chat\n\n★ Varios otros arreglos y pequeñas mejoras\n\n\n💜 Dona para ayudarnos a mantener nuestra independencia y seguir mejorando: %1$s</string>
1216+
12151217
<string name="update_2_0">🔮 ¿Qué hay de nuevo?\n\n★ El cifrado del chat es ahora más confiable, no puede degradarse, por lo que los candados 🔒 en los mensajes ya no son necesarios.\n\n★ Los correos sin cifrado aparecerán en su propio chat y marcados con un símbolo de correo ✉️\n\n★ Nueva pantalla de perfil mejorado\n\n★ Nuevo botón para acceder rápidamente a las mini-apps del chat\n\n\n💜 Dona para ayudarnos a mantener nuestra independencia y seguir mejorando: %1$s</string>
12161218

12171219
<!-- deprecated -->

src/main/res/values/strings.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1219,6 +1219,8 @@
12191219
<string name="perm_enable_bg_already_done">You already allowed Delta Chat to receive messages in the background.\n\nIf messages still do not arrive in background, please also check your system settings.</string>
12201220

12211221
<!-- device messages for updates -->
1222+
<string name="update_2_25">🔮 What\'s new?\n\n★ Now it is possible to create channels that have invite links! Join the official Delta Chat channel here: %1$s\n\n★ More metadata protection\n\n★ Better multi-device: synchronize group creation across devices\n\n★ Data saving: reduce size of read receipts\n\n★ Improved onboarding speed\n\n★ Now it is possible to save to storage files shared from inside in-chat apps\n\n★ Fixed sorting of old media in the chat\'s gallery\n\n★ Several other fixes and small improvements\n\n\n💜 Please donate to help us remain independent and continue to bring improvements: %2$s</string>
1223+
12221224
<string name="update_2_0">🔮 What\'s new?\n\n★ End-to-end encryption is reliable and forever now so padlocks 🔒 are not needed anymore.\n\n★ Classic email without end-to-end encryption is marked with a letter symbol ✉️\n\n★ New enhanced profile screen for all your contacts\n\n★ New button for quick access to apps used in a chat\n\n\n💜 Please donate to help us remain independent and continue to bring improvements: %1$s</string>
12231225

12241226
<!-- deprecated -->

0 commit comments

Comments
 (0)