From 680e9e61fe73216b911f3c8e9ccf3ac99df87b8b Mon Sep 17 00:00:00 2001 From: Yousuf Khan Date: Sat, 27 Jun 2026 17:02:46 +0500 Subject: [PATCH 1/2] fix: convert Title Case strings to sentence case --- AnkiDroid/src/main/res/values/02-strings.xml | 24 +++++++++---------- .../java/com/ichi2/anki/TranslationTest.kt | 2 +- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/AnkiDroid/src/main/res/values/02-strings.xml b/AnkiDroid/src/main/res/values/02-strings.xml index c5da6d2d2acf..dc99174597a9 100644 --- a/AnkiDroid/src/main/res/values/02-strings.xml +++ b/AnkiDroid/src/main/res/values/02-strings.xml @@ -66,11 +66,11 @@ Card marked as leech Unknown error This was caused by an internal error in the WebView - Out of Memory + Out of memory The WebView was terminated by the system. This typically happens when the application runs out of memory, often due to large fonts or media. WebView renderer crashed. Cause: %s - Fatal Error: WebView renderer crashed. Cause: %s - System WebView Rendering Failure + Fatal error: WebView renderer crashed. Cause: %s + System WebView rendering failure System WebView failed to render card \'%1$s\'.\n %2$s Slide to cancel @@ -222,7 +222,7 @@ Invalid AnkiDroid JS API version. Contact developer %s, or view wiki AnkiDroid JS API update available. Contact developer %s, or view wiki View - (Error Code: %d) + (Error code: %d) Copied to clipboard @@ -233,7 +233,7 @@ Search decks - Fatal Error + Fatal error AnkiDroid relies on the System WebView which is unavailable. This can happen if the system is installing updates. Please try again in a few minutes.\n\n%s AnkiDroid cannot access storage due to an Android error.\n\n%s @@ -294,11 +294,11 @@ %s%% Download deck Open in browser - Try Again + Try again Cancel download Cancel download? Downloading %s - Import Deck + Import deck Something went wrong, please try again Download failed You can use other apps while the download is running @@ -317,7 +317,7 @@ Make field %s sticky - Learn More + Learn more Search returned no results @@ -343,7 +343,7 @@ Study less Remember more Anki\'s card scheduler saves time by strengthening your weakest memories and preserving your strongest - Get Started + Get started Sync from AnkiWeb @@ -423,12 +423,12 @@ opening the system text to speech settings fails">Failed to open text to speech Voice not supported. Try another or install a voice engine. - Deck Picker + Deck picker Delete deck without confirmation - Note Editor + Note editor Select note type Tag editor - Card Template Editor + Card template editor Edit front template Edit back template Edit styling diff --git a/AnkiDroid/src/test/java/com/ichi2/anki/TranslationTest.kt b/AnkiDroid/src/test/java/com/ichi2/anki/TranslationTest.kt index 994c0224d68c..bf3384078531 100644 --- a/AnkiDroid/src/test/java/com/ichi2/anki/TranslationTest.kt +++ b/AnkiDroid/src/test/java/com/ichi2/anki/TranslationTest.kt @@ -262,7 +262,6 @@ class TranslationTest : RobolectricTest() { "Import", // R.string.menu_import | TR.actionsImport() "Language", // R.string.language | TR.preferencesLanguage() "Later", // R.string.button_backup_later | TR.schedulingUpdateLaterButton() - "Learn More", // R.string.scoped_storage_learn_more | TR.schedulingUpdateMoreInfoButton() "Learn ahead limit", // R.string.learn_cutoff | TR.preferencesLearnAheadLimit() "Light", // R.string.day_theme_light | TR.preferencesThemeLight() "Media", // R.string.media @@ -353,6 +352,7 @@ class TranslationTest : RobolectricTest() { "Answer buttons", // R.string.answer_buttons | TR.statisticsAnswerButtonsTitle() "Follow system", // R.string.theme_follow_system | TR.preferencesThemeFollowSystem() "Select all", // R.string.card_browser_select_all | TR.editingImageOcclusionSelectAll() + "Learn more", // R.string.scoped_storage_learn_more | TR.schedulingUpdateMoreInfoButton() "Show answer", // R.string.show_answer // TR.studyingShowAnswer() // TR.deckConfigQuestionActionShowAnswer() From 572ca58b7b99d6dfb0725804fc438f51294e51f2 Mon Sep 17 00:00:00 2001 From: Yousuf Khan Date: Sat, 27 Jun 2026 23:48:59 +0500 Subject: [PATCH 2/2] revert Learn more change --- AnkiDroid/src/main/res/values/02-strings.xml | 2 +- AnkiDroid/src/test/java/com/ichi2/anki/TranslationTest.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/AnkiDroid/src/main/res/values/02-strings.xml b/AnkiDroid/src/main/res/values/02-strings.xml index dc99174597a9..c79252887229 100644 --- a/AnkiDroid/src/main/res/values/02-strings.xml +++ b/AnkiDroid/src/main/res/values/02-strings.xml @@ -317,7 +317,7 @@ Make field %s sticky - Learn more + Learn More Search returned no results diff --git a/AnkiDroid/src/test/java/com/ichi2/anki/TranslationTest.kt b/AnkiDroid/src/test/java/com/ichi2/anki/TranslationTest.kt index bf3384078531..994c0224d68c 100644 --- a/AnkiDroid/src/test/java/com/ichi2/anki/TranslationTest.kt +++ b/AnkiDroid/src/test/java/com/ichi2/anki/TranslationTest.kt @@ -262,6 +262,7 @@ class TranslationTest : RobolectricTest() { "Import", // R.string.menu_import | TR.actionsImport() "Language", // R.string.language | TR.preferencesLanguage() "Later", // R.string.button_backup_later | TR.schedulingUpdateLaterButton() + "Learn More", // R.string.scoped_storage_learn_more | TR.schedulingUpdateMoreInfoButton() "Learn ahead limit", // R.string.learn_cutoff | TR.preferencesLearnAheadLimit() "Light", // R.string.day_theme_light | TR.preferencesThemeLight() "Media", // R.string.media @@ -352,7 +353,6 @@ class TranslationTest : RobolectricTest() { "Answer buttons", // R.string.answer_buttons | TR.statisticsAnswerButtonsTitle() "Follow system", // R.string.theme_follow_system | TR.preferencesThemeFollowSystem() "Select all", // R.string.card_browser_select_all | TR.editingImageOcclusionSelectAll() - "Learn more", // R.string.scoped_storage_learn_more | TR.schedulingUpdateMoreInfoButton() "Show answer", // R.string.show_answer // TR.studyingShowAnswer() // TR.deckConfigQuestionActionShowAnswer()