guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Word order in Guix l10n


From: Ludovic Courtès
Subject: Re: Word order in Guix l10n
Date: Sun, 27 Dec 2020 23:13:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

¡Hola!

Miguel Ángel Arruga Vivas <rosen644835@gmail.com> skribis:

> From 2615934a2c377858dce2a0410982287faed754a9 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Miguel=20=C3=81ngel=20Arruga=20Vivas?=
>  <rosen644835@gmail.com>
> Date: Wed, 23 Dec 2020 13:07:38 +0100
> Subject: [PATCH] nls: Add comment about format directives.
>
> * gnu.scm (%try-use-modules): Add comment for translations.  It should
> be placed on the first string found by xgettext.

[...]

> +                    ;; TRANSLATORS: The scheme-format tag is used to identify
> +                    ;; strings that contain format directives as specified
> +                    ;; here:
> +                    ;; 
> https://www.gnu.org/software/guile/manual/html_node/Formatted-Output.html
> +                    ;;
> +                    ;; The goto/jump directive can be used to alter the order
> +                    ;; of the arguments, either performing relative jumps 
> with
> +                    ;; ~N* and ~N:* (forward and backwards respectively) or
> +                    ;; the absolute position of the argument can be used
> +                    ;; (starting from 0) with ~N@*.  When N isn't provided,
> +                    ;; it's understood to be 1 on the relative jumps (next 
> and
> +                    ;; previous argument respectively) and 0 on the absolute
> +                    ;; jumps (first argument).
>                      (formatted-message (G_ "module ~a not found")
>                                         module)

Oh good, so we’d keep msgids unchanged and let translators use argument
jumping, right?  That sounds good to me.

The only downside is that it might easier for translators to get it
wrong.  Perhaps adding an example in the comment above would help?

Anyway I’m all for this patch.

Thanks!

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]