From efc68bc0c95c37930b6b3d4951ef09ec77530513 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Fri, 22 Aug 2025 13:57:22 +0800 Subject: [PATCH] Fix Spanish localization for Awake module name and all product name instances (#41252) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Awake module name was being incorrectly translated to "Activo" in Spanish localization, while it should remain as "Awake" (similar to how "Text Extractor" remains untranslated). **Issue:** In the Spanish version of PowerToys Settings, the Awake module was appearing as "Activo" instead of "Awake". This is inconsistent with other module names like "Text Extractor" that remain in English. **Root Cause:** The localization system was translating strings that had generic comments like "Product name: Navigation view item name for Awake". Strings without comments or with specific "do not localize" comments are preserved in their original language. **Solution:** Updated the resource file comments for all Awake-related strings to include explicit localization prevention instructions: 1. Changed `Shell_Awake.Content` comment from "Product name: Navigation view item name for Awake" to "Awake is a product name, do not localize" 2. Added "Awake is a product name, do not localize" comment to `Awake.ModuleTitle` which previously had no comment 3. Added "Awake is a product name, do not localize" comment to OOBE (Out of Box Experience) strings: - `Oobe_Awake.Description` - `Oobe_Awake_HowToUse.Text` - `Oobe_Awake_TipsAndTricks.Text` 4. Added "Awake is a product name, do not localize" comment to `Awake_ModeSettingsCard.Description` These changes follow the same pattern used by other PowerToys modules (PowerRename, PowerToys Run, Shortcut Guide, etc.) to prevent translation of product names across all user-facing contexts including settings, navigation, and onboarding flows. **Files Changed:** - `src/settings-ui/Settings.UI/Strings/en-us/Resources.resw` Fixes #41199. --- 💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs. --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: niels9001 <9866362+niels9001@users.noreply.github.com> Co-authored-by: Niels Laute --- src/settings-ui/Settings.UI/Strings/en-us/Resources.resw | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/settings-ui/Settings.UI/Strings/en-us/Resources.resw b/src/settings-ui/Settings.UI/Strings/en-us/Resources.resw index 9abdde4a4b..38ae16b691 100644 --- a/src/settings-ui/Settings.UI/Strings/en-us/Resources.resw +++ b/src/settings-ui/Settings.UI/Strings/en-us/Resources.resw @@ -485,7 +485,7 @@ Awake - Product name: Navigation view item name for Awake + {Locked} PowerToys Run @@ -2280,6 +2280,7 @@ From there, simply click on one of the supported files in the File Explorer and Awake + Awake is a product name, do not localize A convenient way to keep your PC awake on-demand. @@ -2333,12 +2334,15 @@ From there, simply click on one of the supported files in the File Explorer and Awake is a Windows tool designed to keep your PC awake on-demand without having to manage its power settings. This behavior can be helpful when running time-consuming tasks while ensuring that your PC does not go to sleep or turn off its screens. + Awake is a product name, do not localize Open **PowerToys Settings** and enable Awake + Awake is a product name, do not localize You can always change modes quickly by **right-clicking the Awake icon** in the system tray. + Awake is a product name, do not localize An error occurred trying to install this update: @@ -2433,6 +2437,7 @@ From there, simply click on one of the supported files in the File Explorer and Manage the state of your device when Awake is active + Awake is a product name, do not localize Excluded apps