From 882ec835f83c31493c5d9194c13c6afacbf72c0f Mon Sep 17 00:00:00 2001 From: Akash Yadav Date: Mon, 15 Jan 2024 23:03:32 +0530 Subject: [PATCH] fix(resources): reformat termux strings to make them single-line This is required so that the strings are not messed up in Crowdin --- .../main/res/values/termux_app_strings.xml | 28 +++++-------------- .../main/res/values/termux_shared_strings.xml | 9 ++---- 2 files changed, 10 insertions(+), 27 deletions(-) diff --git a/resources/src/main/res/values/termux_app_strings.xml b/resources/src/main/res/values/termux_app_strings.xml index f46cd0ffa..9be1cc0c0 100644 --- a/resources/src/main/res/values/termux_app_strings.xml +++ b/resources/src/main/res/values/termux_app_strings.xml @@ -24,15 +24,8 @@ AndroidIDE was unable to install the bootstrap packages. Abort Try again - AndroidIDE can only be run as the primary user. - \nBootstrap binaries compiled for AndroidIDE have hardcoded $PREFIX path and cannot be installed - under any path other than:\n%1$s. - AndroidIDE cannot be installed on - portable/external/removable sd card on your device. - \nBootstrap binaries compiled for AndroidIDE have hardcoded $PREFIX path and cannot be installed - under any path other than:\n%1$s. - - + AndroidIDE can only be run as the primary user.\nBootstrap binaries compiled for AndroidIDE have hardcoded $PREFIX path and cannot be installed under any path other than:\n%1$s. + AndroidIDE cannot be installed on portable/external/removable sd card on your device.\nBootstrap binaries compiled for AndroidIDE have hardcoded $PREFIX path and cannot be installed under any path other than:\n%1$s. New session @@ -92,9 +85,7 @@ - AndroidIDE requires - \"Display over other apps\" permission to start terminal sessions from background on Android >= 10. - Grants it from Settings -> Apps -> AndroidIDE -> Advanced + AndroidIDE requires \"Display over other apps\" permission to start terminal sessions from background on Android >= 10. Grants it from Settings -> Apps -> AndroidIDE -> Advanced Invalid execution command runner to TermuxService: `%1$s` Unsupported execution command runner to TermuxService: `%1$s` Unsupported execution command shell create mode to TermuxService: `%1$s` @@ -126,8 +117,7 @@ Terminal View Key Logging Logs will not have entries for terminal view keys. (Default) - Logcat logs will have entries for terminal view keys. - These are very verbose and should be disabled under normal circumstances or will cause performance issues. + Logcat logs will have entries for terminal view keys. These are very verbose and should be disabled under normal circumstances or will cause performance issues. Crash Report Notifications @@ -149,10 +139,8 @@ Soft Keyboard Only If No Hardware - Soft keyboard will be enabled even if - hardware keyboard is connected. (Default) - Soft keyboard will be enabled only if - no hardware keyboard is connected. + Soft keyboard will be enabled even if hardware keyboard is connected. (Default) + Soft keyboard will be enabled only if no hardware keyboard is connected. @@ -165,8 +153,6 @@ Terminal Margin Adjustment Terminal margin adjustment will be disabled. - Terminal margin adjustment will be enabled. - It should be enabled to try to fix the issue where soft keyboard covers part of extra keys/terminal view. - If it causes screen flickering on your devices, then disable it. (Default) + Terminal margin adjustment will be enabled. It should be enabled to try to fix the issue where soft keyboard covers part of extra keys/terminal view. If it causes screen flickering on your devices, then disable it. (Default) \ No newline at end of file diff --git a/resources/src/main/res/values/termux_shared_strings.xml b/resources/src/main/res/values/termux_shared_strings.xml index 4b94398d2..1261a468a 100644 --- a/resources/src/main/res/values/termux_shared_strings.xml +++ b/resources/src/main/res/values/termux_shared_strings.xml @@ -24,8 +24,7 @@ The %1$s (%2$s) app is not installed or is disabled. Failed To Get Package Context - Failed to get package context for the \"%1$s\" package. - This may be because the app package is not installed or it has different APK signature from the current app. + Failed to get package context for the \"%1$s\" package. This may be because the app package is not installed or it has different APK signature from the current app. Check %1$s for more details. Failed to get %1$s/%2$s component state Failed to enable %1$s/%2$s component @@ -49,15 +48,13 @@ - %1$s requires `allow-external-apps` - property to be set to `true` in `%2$s` file. + %1$s requires `allow-external-apps` property to be set to `true` in `%2$s` file. Report Text - **Report Truncated**\n\nReport is too large to view here. - Use `Save To File` option from options menu (3-dots on top right) and view it in an external text editor app.\n\n##\n\n + **Report Truncated**\n\nReport is too large to view here. Use `Save To File` option from options menu (3-dots on top right) and view it in an external text editor app.\n\n##\n\n