* [bug#73015] [PATCH] Fixing texinfo macros in pt_BR localization.
@ 2024-09-03 20:33 Thiago Astrizi
2024-09-04 9:20 ` pelzflorian (Florian Pelz)
2024-09-04 19:21 ` bug#73015: " pelzflorian (Florian Pelz)
0 siblings, 2 replies; 3+ messages in thread
From: Thiago Astrizi @ 2024-09-03 20:33 UTC (permalink / raw)
To: 73015
[-- Attachment #1: Type: text/plain, Size: 605 bytes --]
I use GNU guix in pt_BR and command "guix build -f" always fails
producing error message:
texinfo.scm:92:2: In procedure command-spec:
Throw to key `parser-error' with args `(#f "Unknown command" exemplo)'.
The error disappears if I change the language of my system. Checking
the localization files, I found that the pt_BR translation had some
problems in the texinfo file: some translator incorrectly translated
the name of some commands (eg. @example to @exemplo). Checking the
entire file, I identified 3 mistakes of this kind and I am sending the
patch as attachment.
--
--
Thiago Leucz Astrizi
[-- Attachment #2: 0001-nls-Fixing-Texinfo-macros-in-pt-BR-translation.patch --]
[-- Type: text/x-patch, Size: 1327 bytes --]
From 862c7513a18c6b68bc76f2595e69a791f23391ba Mon Sep 17 00:00:00 2001
From: Thiago Leucz Astrizi <thiago@bitbitbit.com.br>
Date: Tue, 3 Sep 2024 17:12:07 -0300
Subject: [PATCH] nls: Fixing Texinfo macros in pt-BR translation.
* po/guix/pt_BR.po: Fixing '@exemplo', '@end exempl' and missing '@file'.
The first 2 cases were macros incorrectly translated, the last was a missing macro.
---
po/guix/pt_BR.po | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/po/guix/pt_BR.po b/po/guix/pt_BR.po
index ba8f7255d7..edb5a07f40 100644
--- a/po/guix/pt_BR.po
+++ b/po/guix/pt_BR.po
@@ -986,7 +986,7 @@ msgid ""
"@code{home-environment} record."
msgstr ""
"Este é o @dfn{perfil do usuário} e pode ser encontrado em\n"
-"@{~/.guix-home/profile}. Ele contém pacotes e arquivos\n"
+"@file{~/.guix-home/profile}. Ele contém pacotes e arquivos\n"
"de configuração que o usuário declarou em seu registro\n"
"@code{home-environment}."
@@ -3651,13 +3651,13 @@ msgstr ""
"Scheme no final do arquivo que consiste apenas no nome da variável do pacote\n"
"que você definiu, como neste exemplo:\n"
"\n"
-"@exemplo\n"
+"@example\n"
"(define-public meu-pacote\n"
" (package\n"
" ...))\n"
"\n"
"meu-pacote\n"
-"@end exempl"
+"@end example"
#: guix/scripts/build.scm:573
msgid ""
--
2.45.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#73015] [PATCH] Fixing texinfo macros in pt_BR localization.
2024-09-03 20:33 [bug#73015] [PATCH] Fixing texinfo macros in pt_BR localization Thiago Astrizi
@ 2024-09-04 9:20 ` pelzflorian (Florian Pelz)
2024-09-04 19:21 ` bug#73015: " pelzflorian (Florian Pelz)
1 sibling, 0 replies; 3+ messages in thread
From: pelzflorian (Florian Pelz) @ 2024-09-04 9:20 UTC (permalink / raw)
To: Thiago Astrizi; +Cc: 73015
Thank you Thiago for fixing the pt_BR translation mistakes. I will
check those errors on Weblate
<https://translate.fedoraproject.org/projects/guix/guix/pt_BR/> and
resync translations this afternoon.
Regards,
Florian
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#73015: [PATCH] Fixing texinfo macros in pt_BR localization.
2024-09-03 20:33 [bug#73015] [PATCH] Fixing texinfo macros in pt_BR localization Thiago Astrizi
2024-09-04 9:20 ` pelzflorian (Florian Pelz)
@ 2024-09-04 19:21 ` pelzflorian (Florian Pelz)
1 sibling, 0 replies; 3+ messages in thread
From: pelzflorian (Florian Pelz) @ 2024-09-04 19:21 UTC (permalink / raw)
To: Thiago Astrizi; +Cc: 73015-done
Instead of pushing, I’ve fixed your reported errors on Weblate and
resynced. Along with multiple errors of the same kind in other
translations. The @{…} error with missing texinfo markup was a good
find. “LC_ALL=pt_BR.utf8 guix build -f gnu/packages/guile.scm” fails
with a properly displayed error message now.
Thank you! Closing.
Regards,
Florian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-09-04 19:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-03 20:33 [bug#73015] [PATCH] Fixing texinfo macros in pt_BR localization Thiago Astrizi
2024-09-04 9:20 ` pelzflorian (Florian Pelz)
2024-09-04 19:21 ` bug#73015: " pelzflorian (Florian Pelz)
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.