Copy-edit translation files
Marco Ricci

Marco Ricci commited on 2026-04-02 09:30:07
Zeige 1 geänderte Dateien mit 33 Einfügungen und 3 Löschungen.


Re-normalize whitespace for the commentary in the German translation
files.

Also add commentary to the NO_UNIX_DOMAIN_SOCKETS and
NO_WINDOWS_NAMED_PIPES warning messages and the NO_AGENT_SUPPORT error
message that indicates that these messages belong together, and their
translations should be similar.
... ...
@@ -2003,7 +2003,17 @@ class WarnMsgTemplate(enum.Enum):
2003 2003
         flags="python-brace-format",
2004 2004
     )
2005 2005
     NO_UNIX_DOMAIN_SOCKETS = commented(
2006
-        "",
2006
+        'This is one of several "Cannot connect to an SSH agent via '
2007
+        '<communication_channel_type> because this Python version '
2008
+        'does not support them." messages issued '
2009
+        "when searching for an applicable SSH agent socket provider.  "
2010
+        "(WarnMsgTemplate.NO_WINDOWS_NAMED_PIPES, "
2011
+        "ErrMsgTemplate.NO_AGENT_SUPPORT.)  "
2012
+        "The user may see multiple such messages in immediate succession "
2013
+        "as socket providers are tried out one by one.  "
2014
+        "If feasible, translations of these messages should therefore "
2015
+        "be grammatically similar, so that the user can clearly "
2016
+        "recognize them as variants of essentially the same message.",
2007 2017
     )(
2008 2018
         "Warning message",
2009 2019
         "Cannot connect to an SSH agent via UNIX domain sockets "
... ...
@@ -2011,7 +2021,17 @@ class WarnMsgTemplate(enum.Enum):
2011 2021
     )
2012 2022
     """"""
2013 2023
     NO_WINDOWS_NAMED_PIPES = commented(
2014
-        "",
2024
+        'This is one of several "Cannot connect to an SSH agent via '
2025
+        '<communication_channel_type> because this Python version '
2026
+        'does not support them." messages issued '
2027
+        "when searching for an applicable SSH agent socket provider.  "
2028
+        "(WarnMsgTemplate.NO_UNIX_DOMAIN_SOCKETS, "
2029
+        "ErrMsgTemplate.NO_AGENT_SUPPORT.)  "
2030
+        "The user may see multiple such messages in immediate succession "
2031
+        "as socket providers are tried out one by one.  "
2032
+        "If feasible, translations of these messages should therefore "
2033
+        "be grammatically similar, so that the user can clearly "
2034
+        "recognize them as variants of essentially the same message.",
2015 2035
     )(
2016 2036
         "Warning message",
2017 2037
         "Cannot connect to an SSH agent via Windows named pipes "
... ...
@@ -2269,7 +2289,17 @@ class ErrMsgTemplate(enum.Enum):
2269 2289
     )
2270 2290
     """"""
2271 2291
     NO_AGENT_SUPPORT = commented(
2272
-        "",
2292
+        'This error message works in tandem with, '
2293
+        'and is usually preceded by, one of several '
2294
+        '"Cannot connect to an SSH agent via <communication_channel_type> '
2295
+        'because this Python version does not support them." '
2296
+        "warning messages issued while searching for an applicable "
2297
+        "SSH agent socket provider.  "
2298
+        "(WarnMsgTemplate.NO_UNIX_DOMAIN_SOCKETS, "
2299
+        "WarnMsgTemplate.NO_WINDOWS_NAMED_PIPES.)  "
2300
+        "If feasible, translations of these messages should therefore "
2301
+        "be grammatically similar, so that the user can clearly "
2302
+        "recognize them as variants of essentially the same message.",
2273 2303
     )(
2274 2304
         "Error message",
2275 2305
         "Cannot connect to an SSH agent because this Python version "
2276 2306