Skip to content

Commit 9ea49e7

Browse files
authored
Merge branch 'releases/5.0.5' into translations/ooni/03c6e946f2
2 parents 682cd7a + 97fb017 commit 9ea49e7

File tree

27 files changed

+36
-33
lines changed

27 files changed

+36
-33
lines changed

composeApp/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@ android {
154154
applicationId = config.appId
155155
minSdk = libs.versions.android.minSdk.get().toInt()
156156
targetSdk = libs.versions.android.targetSdk.get().toInt()
157-
versionCode = 170 // Always increment by 10. See fdroid flavor below
158-
versionName = "5.0.4"
157+
versionCode = 190 // Always increment by 10. See fdroid flavor below
158+
versionName = "5.0.5"
159159
resValue("string", "app_name", config.appName)
160160
resValue("string", "ooni_run_enabled", config.supportsOoniRun.toString())
161161
resValue(

composeApp/src/commonMain/composeResources/values-es/strings-common.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@
2929
<string name="Dashboard_Runv2_Overview_SeeMore">Ver más</string>
3030
<string name="Dashboard_RunV2_ExpiredTag">EXPIRED</string>
3131
<string name="Dashboard_RunV2_UpdatedTag">UPDATED</string>
32+
<string name="Dashboard_RunV2_UpdateTag">ACTUALIZACIÓN</string>
3233
<string name="Dashboard_Runv2_Overview_LastUpdated">Last updated %1$s</string>
34+
<string name="Dashboard_Runv2_Overview_RejectedUpdate">Actualización rechazada</string>
3335
<string name="Dashboard_Runv2_Overview_UndoRejectedUpdate">Deshacer</string>
3436
<string name="Dashboard_Runv2_Overview_ReviewUpdates">Revisar Actualizaciones</string>
3537

@@ -40,6 +42,8 @@
4042
<string name="Dashboard_ReviewDescriptor_Label">Link Update (%1$s of %2$s)</string>
4143
<string name="Dashboard_ReviewDescriptor_Button_Last">UPDATE AND FINISH (%1$s of %2$s)</string>
4244
<string name="Dashboard_ReviewDescriptor_Button_Default">UPDATE (%1$s of %2$s)</string>
45+
<string name="Dashboard_ReviewDescriptor_Reject">Rechazar Actualización</string>
46+
4347
<string name="Dashboard_Update_Restart">Reiniciar</string>
4448

4549
<!-- Test -->
@@ -315,6 +319,7 @@
315319
<string name="OONIRun_Run">Ejecutar</string>
316320

317321
<string name="Notification_ChannelName">Probando</string>
322+
<string name="Notification_UpdateChannelName">Actualizaciones de Enlaces</string>
318323
<string name="Notification_StopTest">Detener la prueba</string>
319324

320325
<string name="Common_Back">Volver</string>

composeApp/src/commonMain/composeResources/values-fr/strings-common.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,8 @@
317317
<string name="Modal_Error_CantDownloadURLs">Impossible de télécharger la liste des URL. Réessayez.</string>
318318
<string name="Modal_CustomURL_Title_NotSaved">Confirmez-vous?</string>
319319
<string name="Modal_CustomURL_NotSaved">Vos URL ne seront pas enregistrées si vous quittez cet écran. Voulez-vous vraiment le quitter?</string>
320+
<string name="Modal_Autorun_BatteryOptimization_Onboarding">L’application ne peut pas effectuer des tests automatiquement sans l’autorisation de fonctionner en arrière-plan. Voulez-vous réessayer \?</string>
321+
<string name="Modal_Autorun_BatteryOptimization_Reminder">L’application doit être autorisée à effectuer des tests automatiquement en arrière-plan.</string>
320322
<string name="Modal_EnableNotifications_Title">Obtenez des mises à jour sur la censure d’Internet</string>
321323

322324
<!-- Common / Others -->

composeApp/src/commonMain/composeResources/values-zh-rCN/strings-common.xml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,13 +317,16 @@
317317
<string name="Modal_Error_CantDownloadURLs">无法下载 URL 列表。请重试。</string>
318318
<string name="Modal_CustomURL_Title_NotSaved">是否确定?</string>
319319
<string name="Modal_CustomURL_NotSaved">离开此屏幕将不会保存您的 URL。确定离开吗?</string>
320+
<string name="Modal_Autorun_BatteryOptimization_Onboarding">没有后台权限,本应用无法自动运行测试。你要再次尝试吗?</string>
321+
<string name="Modal_Autorun_BatteryOptimization_Reminder">应用需要权限以在后台自动运行测试</string>
320322
<string name="Modal_EnableNotifications_Title">获取网络审查的动态</string>
321323

322324
<!-- Common / Others -->
323325

324326
<string name="OONIRun_Run">运行</string>
325327

326328
<string name="Notification_ChannelName">测试中</string>
329+
<string name="Notification_UpdateChannelName">链接更新</string>
327330
<string name="Notification_StopTest">停止测试</string>
328331

329332
<string name="Common_Back">返回</string>

composeApp/src/commonMain/kotlin/org/ooni/probe/ui/run/RunScreen.kt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ fun RunScreen(
165165
regularTestItems(descriptor, testItems, onEvent)
166166

167167
TestDisplayMode.WebsitesOnly ->
168-
websiteItems(descriptor, testItems)
168+
websiteItems(testItems)
169169
}
170170
}
171171
}
@@ -341,12 +341,9 @@ fun TestItem(
341341
}
342342
}
343343

344-
private fun LazyListScope.websiteItems(
345-
descriptor: Descriptor,
346-
testItems: List<SelectableItem<NetTest>>,
347-
) {
344+
private fun LazyListScope.websiteItems(testItems: List<SelectableItem<NetTest>>) {
348345
val websites = testItems.flatMap { it.item.inputs.orEmpty() }
349-
items(websites, key = { "${descriptor.key}_$it" }) { website ->
346+
items(websites) { website ->
350347
Text(
351348
website,
352349
modifier = Modifier
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

2+
ic_launcher_monochrome.xml
23
ic_launcher_foreground.xml
3-
notification_icon.xml
4-
ic_launcher_monochrome.xml
4+
notification_icon.xml

composeApp/src/dwMain/resources/assets/descriptors.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@
143143
"https://www.dw.com/",
144144
"https://www.bbc.com/",
145145
"http://www.lemonde.fr/",
146-
"https://www.rferl.org/",
147146
"http://www.rfi.fr/",
148147
"http://www.voanews.com/",
149148
"https://ici.radio-canada.ca/rci/en",
@@ -323,7 +322,6 @@
323322
"https://www.dw.com/",
324323
"https://www.bbc.com/",
325324
"http://www.lemonde.fr/",
326-
"https://www.rferl.org/",
327325
"http://www.rfi.fr/",
328326
"http://www.voanews.com/",
329327
"https://ici.radio-canada.ca/rci/en",

composeApp/src/ooniMain/composeResources/values-de/strings-organization.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<string name="Dashboard_InstantMessaging_Card_Description">Teste die Blockierung von Instant Messaging-Apps</string>
2626
<string name="Dashboard_InstantMessaging_Overview_Paragraph">Prüfe, ob [WhatsApp](https://ooni.org/nettest/whatsapp/), [Facebook Messenger](https://ooni.org/nettest/facebook-messenger/), [Telegram](https://ooni.org/nettest/telegram/) und [Signal](https://ooni.org/nettest/signal) blockiert sind.\n\nDeine Ergebnisse werden auf dem [OONI Explorer](https://explorer.ooni.org/world/) und [OONI API](https://api.ooni.io/) veröffentlicht.</string>
2727
<string name="Dashboard_Circumvention_Card_Description">Test auf Blockierung der Instrumente zur Zensurumgehung </string>
28-
<string name="Dashboard_Circumvention_Overview_Paragraph">Prüfe, ob [Psiphon](https://ooni.org/nettest/psiphon/), [Tor](https://ooni.org/nettest/tor/) oder [RiseupVPN](https://ooni.org/nettest/riseupvpn/) blockiert sind.\n\nDeine Ergebnisse werden auf dem [OONI Explorer](https://explorer.ooni.org/) und [OONI API](https://api.ooni.io/) veröffentlicht.</string>
28+
<string name="Dashboard_Circumvention_Overview_Paragraph">Prüfe, ob [Psiphon](https://ooni.org/nettest/psiphon/) oder [Tor](https://ooni.org/nettest/tor/) blockiert sind.\n\nDeine Ergebnisse werden auf dem [OONI Explorer](https://explorer.ooni.org/) und [OONI API](https://api.ooni.io/) veröffentlicht.</string>
2929
<string name="Dashboard_Experimental_Card_Description">Neue experimentelle Tests durchführen</string>
3030
<string name="Dashboard_Experimental_Overview_Paragraph">Führe die folgenden neuen, vom OONI-Team entwickelten experimentellen Tests durch:\n%1$s\n\nDeine Ergebnisse werden im [OONI Explorer] veröffentlicht.(https://explorer.ooni.org/) und [OONI API](https://api.ooni.io/).</string>
3131

composeApp/src/ooniMain/composeResources/values-el/strings-organization.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
<string name="Dashboard_InstantMessaging_Card_Description">Έλεγξε το μπλοκάρισμα εφαρμογών συνομιλιών</string>
2626
<string name="Dashboard_InstantMessaging_Overview_Paragraph">Δες αν το [WhatsApp](https://ooni.org/nettest/whatsapp/), το [Facebook Messenger](https://ooni.org/nettest/facebook-messenger/), το [Telegram](https://ooni.org/nettest/telegram/) και το [Signal](https://ooni.org/nettest/signal) έχουν μπλοκαριστεί.\n\nΤα αποτελέσματα των δοκιμών σου θα δημοσιευτούν στο [OONI Explorer](https://explorer.ooni.org/world/) και στο [OONI API](https://api.ooni.io/).</string>
2727
<string name="Dashboard_Circumvention_Card_Description">Έλεγξε το μπλοκάρισμα εργαλείων παράκαμψης λογοκρισίας</string>
28-
<string name="Dashboard_Circumvention_Overview_Paragraph">Δες αν το [Psiphon](https://ooni.org/nettest/psiphon/), το [Tor](https://ooni.org/nettest/tor/) ή το [RiseupVPN](https://ooni.org/nettest/riseupvpn/) έχουν μπλοκαριστεί.\n\nΤα αποτελέσματα θα δημοσιευτούν στο [OONI Explorer] (https://explorer.ooni.org/) και στο [OONI API] (https://api.ooni.io/).</string>
2928
<string name="Dashboard_Experimental_Card_Description">Εκτέλεση νέων πειραματικών δοκιμών</string>
3029
<string name="Dashboard_Experimental_Overview_Paragraph">Εκτέλεσε τις παρακάτω νέες πειραματικές δοκιμές που αναπτύχθηκαν από την ομάδα του OONI:\n%1$s\n\nΤα αποτελέσματά σου θα δημοσιευθούν στο [OONI Explorer](https://explorer.ooni.org/) και στο [OONI API](https://api.ooni.io/).</string>
3130

composeApp/src/ooniMain/composeResources/values-es/strings-organization.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<string name="Dashboard_InstantMessaging_Card_Description">Prueba el bloqueo de aplicaciones de mensajería instantánea.</string>
2626
<string name="Dashboard_InstantMessaging_Overview_Paragraph">Comprueba si [WhatsApp](https://ooni.org/nettest/whatsapp/), [Facebook Messenger](https://ooni.org/nettest/facebook-messenger/), [Telegram](https://ooni.org/nettest/telegram/) y [Signal](https://ooni.org/nettest/signal) están bloqueados.\n\nTus resultados serán publicados en el [Explorador OONI](https://explorer.ooni.org/world/) y la [API OONI](https://api.ooni.io/).</string>
2727
<string name="Dashboard_Circumvention_Card_Description">Probar el bloqueo de herramientas de elusión de censura</string>
28-
<string name="Dashboard_Circumvention_Overview_Paragraph">Comprueba si [Psiphon](https://ooni.org/nettest/psiphon/), [Tor](https://ooni.org/nettest/tor/) o [RiseupVPN](https://ooni.org/nettest/riseupvpn/) están bloqueados.\n\nTus resultados serán publicados en [Explorador OONI] (https://explorer.ooni.org/) y [OONI API](https://api.ooni.io/).</string>
28+
<string name="Dashboard_Circumvention_Overview_Paragraph">Comprueba si [Psiphon](https://ooni.io/nettest/psiphon/) y [Tor](https://ooni.io/nettest/tor/) están bloqueados.\n\nTus resultados se publicarán en [OONI Explorer](https://explorer.ooni.org/) y [OONI API](https://api.ooni.io/).</string>
2929
<string name="Dashboard_Experimental_Card_Description">Ejecutar nuevas pruebas experimentales</string>
3030
<string name="Dashboard_Experimental_Overview_Paragraph">Ejecutar las siguientes nuevas pruebas experimentales desarrolladas por el equipo OONI:\n%1$s\n\nTus resultados serán publicados en el [Explorador OONI](https://explorer.ooni.org/) y el [API OONI](https://api.ooni.io/).</string>
3131

0 commit comments

Comments
 (0)