unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: "Miguel Ángel Arruga Vivas" <rosen644835@gmail.com>
Cc: guix-devel@gnu.org, Zhu Zihao <all_but_last@163.com>
Subject: Re: Word order in Guix l10n
Date: Sun, 27 Dec 2020 23:13:39 +0100	[thread overview]
Message-ID: <87bleesxrg.fsf@gnu.org> (raw)
In-Reply-To: <87czz0yan6.fsf@gmail.com> ("Miguel Ángel Arruga Vivas"'s message of "Wed, 23 Dec 2020 13:22:53 +0100")

¡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	other threads:[~2020-12-27 22:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-15 10:53 Word order in Guix l10n Zhu Zihao
2020-12-15 12:25 ` Julien Lepiller
2020-12-18 15:04   ` Ludovic Courtès
2020-12-18 18:03     ` Arun Isaac
2020-12-22 15:00       ` Ludovic Courtès
2020-12-22 15:06         ` Julien Lepiller
2020-12-23 12:22           ` Miguel Ángel Arruga Vivas
2020-12-27 22:13             ` Ludovic Courtès [this message]
2020-12-22 15:45         ` Miguel Ángel Arruga Vivas
2020-12-15 13:11 ` Arun Isaac
2020-12-15 13:51   ` Zhu Zihao

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bleesxrg.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=all_but_last@163.com \
    --cc=guix-devel@gnu.org \
    --cc=rosen644835@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).