From f496e0e8046066e1b395a5c3bbf8c8901a0406d4 Mon Sep 17 00:00:00 2001 From: Kenneth Murerwa Date: Tue, 31 Oct 2023 20:13:47 +0300 Subject: [PATCH] fix: Fix Translate Wiki Issues with Splash Activity Screen Strings (#5219) ## Explanation When merged, this PR will: - Remove white spaces and new lines that were added to Splash Activity Screen strings by the [App/OS Deprecation Milestone 3 PR](https://github.com/oppia/oppia-android/pull/5096). This will allow TranslateWiki to translate them. See related [comment on the PR](https://github.com/oppia/oppia-android/commit/d471d79e7bcce6de8351cf045458af23711fcdb2#r130759117). ## Essential Checklist - [x] The PR title and explanation each start with "Fix #bugnum: " (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".) - [x] Any changes to [scripts/assets](https://github.com/oppia/oppia-android/tree/develop/scripts/assets) files have their rationale included in the PR explanation. - [x] The PR follows the [style guide](https://github.com/oppia/oppia-android/wiki/Coding-style-guide). - [x] The PR does not contain any unnecessary code changes from Android Studio ([reference](https://github.com/oppia/oppia-android/wiki/Guidance-on-submitting-a-PR#undo-unnecessary-changes)). - [x] The PR is made from a branch that's **not** called "develop" and is up-to-date with "develop". - [x] The PR is **assigned** to the appropriate reviewers ([reference](https://github.com/oppia/oppia-android/wiki/Guidance-on-submitting-a-PR#clarification-regarding-assignees-and-reviewers-section)). ## For UI-specific PRs only If your PR includes UI-related changes, then: - Add screenshots for portrait/landscape for both a tablet & phone of the before & after UI changes - For the screenshots above, include both English and pseudo-localized (RTL) screenshots (see [RTL guide](https://github.com/oppia/oppia-android/wiki/RTL-Guidelines)) - Add a video showing the full UX flow with a screen reader enabled (see [accessibility guide](https://github.com/oppia/oppia-android/wiki/Accessibility-A11y-Guide)) - For PRs introducing new UI elements or color changes, both light and dark mode screenshots must be included - Add a screenshot demonstrating that you ran affected Espresso tests locally & that they're passing Co-authored-by: Adhiambo Peres <59600948+adhiamboperes@users.noreply.github.com> --- app/src/main/res/values/strings.xml | 56 ++++++++--------------------- 1 file changed, 14 insertions(+), 42 deletions(-) diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 97547bc1638..9b924f81a97 100755 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -472,48 +472,20 @@ completed_story_list_recyclerview_tag Please select all correct choices. - - Unsupported app version - - - This version of the app is no longer supported. Please update it through the Play Store. - - - Close app - - - App update required - - - A new version of %s is now available. The new version is more secure, and improves your learning experience.\n\nThis version is no longer supported. To continue using the app, please update to the latest version. - - - Update - - - Close app - - - New update available - - - A new version of %s is now available. We recommend that you update the app for bug fixes and a better learning experience. - - - Dismiss - - - Update - - - Update your Android OS - - - We recommend updating your Android OS to take advantage of %s\'s new features and lessons.\n\nVisit your phone\'s Settings app to update your OS. - - - Dismiss - + Unsupported app version + This version of the app is no longer supported. Please update it through the Play Store. + Close app + App update required + A new version of %s is now available. The new version is more secure, and improves your learning experience.\n\nThis version is no longer supported. To continue using the app, please update to the latest version. + Update + Close app + New update available + A new version of %s is now available. We recommend that you update the app for bug fixes and a better learning experience. + Dismiss + Update + Update your Android OS + We recommend updating your Android OS to take advantage of %s\'s new features and lessons.\n\nVisit your phone\'s Settings app to update your OS. + Dismiss Developer Build Alpha Beta