Modern Apps git

← Modern-Apps.git

office: remove user-facing notes

Commit
17d5763584e0f81eacc5b077e1135d1b73e756eb
Author
Vayun Mathur <[email protected]>
When
2026-12-05 14:10 UTC (22 hours ago)
Parents
650e14a
Remove the explanatory paragraph on the online-sharing off
screen ("Turn on online sharing to collaborate on documents in
real time. This generates your encryption keys and a device id
and registers your device..."). The off-state title and Enable
button remain; the enable confirmation dialog is unchanged.

Diff

office/src/main/java/com/vayunmathur/office/ui/OfficeOnlineScreens.kt
diff --git a/office/src/main/java/com/vayunmathur/office/ui/OfficeOnlineScreens.kt b/office/src/main/java/com/vayunmathur/office/ui/OfficeOnlineScreens.ktindex 5cec803f71..818eab39d9 100644--- a/office/src/main/java/com/vayunmathur/office/ui/OfficeOnlineScreens.kt+++ b/office/src/main/java/com/vayunmathur/office/ui/OfficeOnlineScreens.kt@@ -115,12 +115,6 @@ internal fun OnlineDisabledScreen(onEnable: () -> Unit) {         ) {             Spacer(Modifier.height(SpacingScreen))             Text(stringResource(R.string.online_sharing_is_off), style = MaterialTheme.typography.titleMedium)-            Spacer(Modifier.height(SpacingSm))-            Text(stringResource(R.string.turn_on_online_sharing_to_collaborate_on),-                style = MaterialTheme.typography.bodyMedium,-                color = MaterialTheme.colorScheme.onSurfaceVariant,-                textAlign = androidx.compose.ui.text.style.TextAlign.Center-            )             Spacer(Modifier.height(SpacingScreen))             Button(                 onClick = onEnable,
office/src/main/res/values-ar/strings.xml
diff --git a/office/src/main/res/values-ar/strings.xml b/office/src/main/res/values-ar/strings.xmlindex 2fae59948a..f4290f4929 100644--- a/office/src/main/res/values-ar/strings.xml+++ b/office/src/main/res/values-ar/strings.xml@@ -194,7 +194,6 @@     <string name="row_column_size">حجم الصف/العمود…</string>     <string name="number_format">تنسيق الأرقام</string>     <string name="number_2_dp">أرقام (2 dp)</string>-    <string name="turn_on_online_sharing_to_collaborate_on">فعِّل المشاركة عبر الإنترنت للتعاون في المستندات في الوقت الفعلي. يؤدي هذا لإنشاء مفاتيح تشفير خاصتّك ومعرّف جهاز وتسجيل جهازك حتى يتمكن الآخرون من المشاركة معك. لا يتم إنشاء أي شيء أو إرساله حتى تقوم بتفعيله.</string>     <string name="anonymous">مجهول</string>     <string name="on">مفعّل</string>     <string name="off">متوقف</string>
office/src/main/res/values-et/strings.xml
diff --git a/office/src/main/res/values-et/strings.xml b/office/src/main/res/values-et/strings.xmlindex d5bbb49e2a..6122192394 100644--- a/office/src/main/res/values-et/strings.xml+++ b/office/src/main/res/values-et/strings.xml@@ -270,7 +270,6 @@     <string name="normal_1">● Tavaline</string>     <string name="wide">● Lai</string>     <string name="wide_1">Lai</string>-    <string name="turn_on_online_sharing_to_collaborate_on">Lülita sisse veebipõhine jagamine, et dokumente reaalajas ühiselt töödelda. See loob su krüptovõtmed ja seadme tunnuse ning registreerib su seadme, et teised saaksid sinuga faile jagada. Mitte midagi ei looda ega saadeta enne, kui sa selle funktsionaalsuse sisse lülitad.</string>     <string name="document_dark_mode">✓ Dokumendivaade tumedas kujunduses</string>     <string name="document_dark_mode_1">Dokumendivaade tumedas kujunduses</string>     <string name="document_theme">Dokumendi kujundus</string>
office/src/main/res/values-fr/strings.xml
diff --git a/office/src/main/res/values-fr/strings.xml b/office/src/main/res/values-fr/strings.xmlindex 669f30fd59..2eab4ff1d6 100644--- a/office/src/main/res/values-fr/strings.xml+++ b/office/src/main/res/values-fr/strings.xml@@ -44,7 +44,6 @@     <string name="epub_epub">EPUB (.epub)…</string>     <string name="meta_modified">Modifié le</string>     <string name="speaker_notes_1">Notes du présentateur…</string>-    <string name="turn_on_online_sharing_to_collaborate_on">Activez le partage en ligne pour collaborer sur des documents en temps réel. Cela génère vos clés de chiffrement et un identifiant d’appareil, puis enregistre votre appareil afin que d’autres personnes puissent partager des documents avec vous. Rien n’est créé ni envoyé tant que vous ne l’activez pas.</string>     <string name="next">Suivant ▶</string>     <string name="empty_spreadsheet">Feuille de calcul vide</string>     <string name="insert_chart">Insérer un graphique</string>
office/src/main/res/values-pl/strings.xml
diff --git a/office/src/main/res/values-pl/strings.xml b/office/src/main/res/values-pl/strings.xmlindex 07df21498c..49befe66de 100644--- a/office/src/main/res/values-pl/strings.xml+++ b/office/src/main/res/values-pl/strings.xml@@ -483,7 +483,6 @@     <string name="save_failed">Błąd zapisu: <xliff:g id="error" example="Permission denied">%1$s</xliff:g></string>     <!-- OfficeViewModel: Toast saved successfully -->     <!-- MainActivity: Explanation prompting user to enable online sharing for real-time collaboration. Full sentence. -->-    <string name="turn_on_online_sharing_to_collaborate_on">Włącz udostępnianie online, aby współpracować nad dokumentami w czasie rzeczywistym. Spowoduje to wygenerowanie kluczy szyfrowania oraz identyfikatora urządzenia, a także zarejestruje urządzenie, umożliwiając innym udostępnianie plików. Nic nie zostanie utworzone ani wysłane, dopóki nie włączysz tej opcji.</string>     <!-- MainActivity: Fallback author name Anonymous. Noun. -->     <string name="anonymous">Anonimowy</string>     <!-- MainActivity: Fallback author Unknown. Noun. -->
office/src/main/res/values-ru/strings.xml
diff --git a/office/src/main/res/values-ru/strings.xml b/office/src/main/res/values-ru/strings.xmlindex 9c0055486a..9f35c6e710 100644--- a/office/src/main/res/values-ru/strings.xml+++ b/office/src/main/res/values-ru/strings.xml@@ -218,7 +218,6 @@     <string name="number_2_dp">Номер (2 dp)</string>     <string name="center">Центр</string>     <string name="save_failed">Сохранить не удалось: <xliff:g id="error" example="Permission denied">%1$s</xliff:g></string>-    <string name="turn_on_online_sharing_to_collaborate_on">Включите онлайн-обмен, для колаборации в реальном времени. Это генерирует ключи шифрования и регистрирует id вашего устройствао, чтобы другие могли поделиться с вами. Ничто не создается или не отправляется, пока вы не включите шифрование.</string>     <string name="anonymous">Анонимный</string>     <string name="insert_chart">Вставить чарт</string>     <string name="edit_chart">Редактировать чарт</string>
office/src/main/res/values-sv/strings.xml
diff --git a/office/src/main/res/values-sv/strings.xml b/office/src/main/res/values-sv/strings.xmlindex 5a9ea13327..33ea7d07eb 100644--- a/office/src/main/res/values-sv/strings.xml+++ b/office/src/main/res/values-sv/strings.xml@@ -239,7 +239,6 @@     <string name="number_format">Talformat</string>     <string name="number_2_dp">Tal (2 decimaler)</string>     <string name="save_failed">Det gick inte att spara: <xliff:g id="error" example="Permission denied">%1$s</xliff:g></string>-    <string name="turn_on_online_sharing_to_collaborate_on">Aktivera delning online för att samarbeta i dokument i realtid. Det skapar dina krypteringsnycklar och ett enhets-id samt registrerar enheten så att andra kan dela med dig. Inget skapas eller skickas förrän du aktiverar det.</string>     <string name="anonymous">Anonym</string>     <string name="annotation_author_date"><xliff:g id="author" example="Anonymous">%1$s</xliff:g><xliff:g id="date_suffix" example=" · 2024-01-01">%2$s</xliff:g></string>     <string name="tracked_change_author_date"><xliff:g id="change_type" example="Insertion">%1$s</xliff:g> · <xliff:g id="author" example="Unknown">%2$s</xliff:g><xliff:g id="date_suffix" example=" · 2024-01-01">%3$s</xliff:g></string>
office/src/main/res/values-zh-rCN/strings.xml
diff --git a/office/src/main/res/values-zh-rCN/strings.xml b/office/src/main/res/values-zh-rCN/strings.xmlindex f79cf1ec4c..51e851be58 100644--- a/office/src/main/res/values-zh-rCN/strings.xml+++ b/office/src/main/res/values-zh-rCN/strings.xml@@ -156,7 +156,6 @@     <string name="bring_to_front">置于顶层</string>     <string name="special_character_1">特殊字符…</string>     <string name="speaker_notes_1">演讲者备注…</string>-    <string name="turn_on_online_sharing_to_collaborate_on">开启在线共享功能,即可实时协作处理文档。这会生成您的加密密钥和设备 ID,并注册您的设备,以便他人可以与您共享文档。在您启用此功能之前,不会创建或发送任何内容。</string>     <string name="insert_chart">插入图表</string>     <string name="move_paragraph_up">段落上移</string>     <string name="anonymous">匿名</string>
office/src/main/res/values/strings.xml
diff --git a/office/src/main/res/values/strings.xml b/office/src/main/res/values/strings.xmlindex 66f6c79990..52cc60a211 100644--- a/office/src/main/res/values/strings.xml+++ b/office/src/main/res/values/strings.xml@@ -485,7 +485,6 @@     <!-- OfficeViewModel: Toast error when save fails. %1$s=error reason/message -->     <string name="save_failed">Save failed: <xliff:g id="error" example="Permission denied">%1$s</xliff:g></string>     <!-- MainActivity: Explanation prompting user to enable online sharing for real-time collaboration. Full sentence. -->-    <string name="turn_on_online_sharing_to_collaborate_on">Turn on online sharing to collaborate on documents in real time. This generates your encryption keys and a device id and registers your device so others can share with you. Nothing is created or sent until you enable it.</string>      <!-- MainActivity: Fallback author name Anonymous. Noun. -->     <string name="anonymous">Anonymous</string>
office/src/test/java/com/vayunmathur/office/Slice4MenuBarOnlineTest.kt
diff --git a/office/src/test/java/com/vayunmathur/office/Slice4MenuBarOnlineTest.kt b/office/src/test/java/com/vayunmathur/office/Slice4MenuBarOnlineTest.ktindex 0de05290f9..5fa2cfa3bf 100644--- a/office/src/test/java/com/vayunmathur/office/Slice4MenuBarOnlineTest.kt+++ b/office/src/test/java/com/vayunmathur/office/Slice4MenuBarOnlineTest.kt@@ -186,7 +186,7 @@ class Slice4MenuBarOnlineTest {         rule.setContent {             OnlineTab(viewModel = viewModel, onOpenDoc = {})         }-        // Long explainer sits below spacers: existence only.-        rule.onNodeWithText("Turn on online sharing", substring = true).assertExists()+        rule.onNodeWithText("Online sharing is off").assertExists()+        rule.onNodeWithText("Enable online sharing").assertExists()     } }