From 2615934a2c377858dce2a0410982287faed754a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel=20Arruga=20Vivas?= 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. --- gnu.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu.scm b/gnu.scm index f139531ef3..0e87b10eb2 100644 --- a/gnu.scm +++ b/gnu.scm @@ -78,6 +78,19 @@ (raise (apply make-compound-condition + ;; 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) (condition -- 2.29.2