[Libreoffice-commits] help.git: Mac does have a "Control" key

Stephan Bergmann sbergman at redhat.com
Mon Apr 24 08:36:52 UTC 2017

On 04/24/2017 09:15 AM, Stephan Bergmann wrote:
> commit 0205b43e4d518239ff3d6b9bed0cc9317939acd9
> Author: Stephan Bergmann <sbergman at redhat.com>
> Date:   Mon Apr 24 09:11:24 2017 +0200
>      Mac does have a "Control" key
>      (even labeled "Ctrl" on my German MacBook keyboard, not "Strg" as the
>      localization of "Ctrl" on German standard PC-style keyboards), and Writer's
>      "Format - Clear Direct Formatting" (which this help item is presumably about) is
>      indeed Ctrl+M (labeled "^M" in the menu) on macOS.
>      So unconditionally use "Ctrl+M" here for now, notwithstanding potential Mac
>      localization issues (see that German "Ctrl" vs "Strg" issue).

I have no idea how we generally handle this issue in documentation and 
translation: always use generic "Ctrl+M" (whatever that gets translated 
to); use some mark-up to ensure (German etc.) translation will be 
"Strg+M" for non-Mac and "Ctrl+M" for Mac; use "Control+M" on Mac (as 
had been done prior to 
"I don’t think Macs have Control keys…"; or...?

>      This corrects 9ed1958ba7f75bb4184f09d79814849d06313d72 "I don’t think Macs have
>      Control keys…"
>      Change-Id: I2f62c95341fc4079686ac616965675b307a97fde
> diff --git a/source/text/shared/04/01010000.xhp b/source/text/shared/04/01010000.xhp
> index e21c42acf..b6cf9781e 100644
> --- a/source/text/shared/04/01010000.xhp
> +++ b/source/text/shared/04/01010000.xhp
> @@ -488,7 +488,7 @@
>            </tablerow>
>            <tablerow>
>               <tablecell>
> -               <paragraph xml-lang="en-US" id="par_idN10BC0" role="tablecontent"><switchinline select="sys"><caseinline select="MAC">Command</caseinline><defaultinline>Ctrl</defaultinline></switchinline>+M</paragraph>
> +               <paragraph xml-lang="en-US" id="par_idN10BC0" role="tablecontent">Ctrl+M</paragraph>
>               </tablecell>
>               <tablecell>
>                  <paragraph xml-lang="en-US" id="par_idN10BE8" role="tablecontent" l10n="NEW">Removes direct formatting from selected text or objects (as in <emph>Format - Clear Direct Formatting</emph>)</paragraph>

More information about the LibreOffice mailing list