public inbox for [email protected]  
help / color / mirror / Atom feed
Typo in fr.po
3+ messages / 3 participants
[nested] [flat]

* Typo in fr.po
@ 2024-09-10 20:40  Kirill Reshke <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Kirill Reshke @ 2024-09-10 20:40 UTC (permalink / raw)
  To: [email protected]

While reading & grepping sources, found:

#~ "Synchronized snapshots are not supported on standby servers.\n"
 .....
#~ "Les snapshots synchronisés ne sont pas supportés sur les serveurs
de stadby.\n"

The last word should be `standby.` ?

-- 
Best regards,
Kirill Reshke





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Typo in fr.po
@ 2024-09-11 03:00  Alexander Lakhin <[email protected]>
  parent: Kirill Reshke <[email protected]>
  0 siblings, 1 reply; 3+ messages in thread

From: Alexander Lakhin @ 2024-09-11 03:00 UTC (permalink / raw)
  To: Kirill Reshke <[email protected]>; [email protected]; +Cc: Guillaume Lelarge <[email protected]>

Hello,

10.09.2024 23:40, Kirill Reshke wrpte:
> While reading & grepping sources, found:
>
> #~ "Synchronized snapshots are not supported on standby servers.\n"
>   .....
> #~ "Les snapshots synchronisés ne sont pas supportés sur les serveurs
> de stadby.\n"
>
> The last word should be `standby.` ?

That msgstr line marked with "#", that is that entry is obsolete [1].

I could not find any clear typos in the French translation, but with very
helpful chkpos.py [2] (I can share the python3-compatible version I use)
from Daniele Varrazzo, I've discovered:
ERROR SuffixWhitespace failed in initdb.po: match failed
#: initdb.c:1086
#, c-format
msgid "selecting dynamic shared memory implementation ... "
msgstr "sélection de l'implémentation de la mémoire partagée dynamique..."

ERROR SuffixWhitespace failed in initdb.po: match failed
#: initdb.c:1481
#, c-format
msgid "running bootstrap script ... "
msgstr "lancement du script bootstrap..."

ERROR LongOption failed in initdb.po: option don't match
#: initdb.c:2465
#, c-format
msgid ""
"      --builtin-locale=LOCALE\n"
"                            set builtin locale name for new databases\n"
msgstr ""
"      --builtin-provider=LOCALE\n"
"                               initialise le fournisseur de locale natif pour\n"
"                               les nouvelles bases de données\n"

ERROR LongOption failed in initdb.po: option don't match
#: initdb.c:2477
#, c-format
msgid ""
"  -c, --set NAME=VALUE      override default setting for server parameter\n"
msgstr ""
"  -c NOM=VALEUR      surcharge la configuration par défaut d'un paramètre "
"serveur\n"

ERROR LongOption failed in initdb.po: option don't match
#: initdb.c:2481
#, c-format
msgid "  -n, --no-clean            do not clean up after errors\n"
msgstr "  -n, --noclean                ne nettoie pas après des erreurs\n"

ERROR LongOption failed in initdb.po: option don't match
#: initdb.c:2482
#, c-format
msgid ""
"  -N, --no-sync             do not wait for changes to be written safely to "
"disk\n"
msgstr ""
"  -N, --nosync                 n'attend pas que les modifications soient\n"
"                               proprement écrites sur disque\n"

ERROR PrefixWhitespace failed in initdb.po: match failed
#: initdb.c:2483
#, c-format
msgid "      --no-instructions     do not print instructions for next steps\n"
msgstr ""
"  --no-instructions            n'affiche pas les instructions des prochaines\n"
"                               étapes\n"

ERROR PrefixWhitespace failed in initdb.po: match failed
#: initdb.c:2627
#, c-format
msgid "  default collation: %s\n"
msgstr "collation par défaut : %s\n"

(initdb is not the only one, there are such errors in other .po files too.)

[1] https://www.gnu.org/software/gettext/manual/html_node/Obsolete-Entries.html
[2] https://github.com/dvarrazzo/postgresql-it/blob/master/tools/chkpos.py

Best regards,
Alexander





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Typo in fr.po
@ 2024-09-11 06:12  Guillaume Lelarge <[email protected]>
  parent: Alexander Lakhin <[email protected]>
  0 siblings, 0 replies; 3+ messages in thread

From: Guillaume Lelarge @ 2024-09-11 06:12 UTC (permalink / raw)
  To: Alexander Lakhin <[email protected]>; +Cc: Kirill Reshke <[email protected]>; [email protected]

Hi,

Le mer. 11 sept. 2024 à 05:00, Alexander Lakhin <[email protected]> a
écrit :

> Hello,
>
> 10.09.2024 23:40, Kirill Reshke wrpte:
> > While reading & grepping sources, found:
> >
> > #~ "Synchronized snapshots are not supported on standby servers.\n"
> >   .....
> > #~ "Les snapshots synchronisés ne sont pas supportés sur les serveurs
> > de stadby.\n"
> >
> > The last word should be `standby.` ?
>
> That msgstr line marked with "#", that is that entry is obsolete [1].
>
> I could not find any clear typos in the French translation, but with very
> helpful chkpos.py [2] (I can share the python3-compatible version I use)
> from Daniele Varrazzo, I've discovered:
> ERROR SuffixWhitespace failed in initdb.po: match failed
> #: initdb.c:1086
> #, c-format
> msgid "selecting dynamic shared memory implementation ... "
> msgstr "sélection de l'implémentation de la mémoire partagée dynamique..."
>
> ERROR SuffixWhitespace failed in initdb.po: match failed
> #: initdb.c:1481
> #, c-format
> msgid "running bootstrap script ... "
> msgstr "lancement du script bootstrap..."
>
> ERROR LongOption failed in initdb.po: option don't match
> #: initdb.c:2465
> #, c-format
> msgid ""
> "      --builtin-locale=LOCALE\n"
> "                            set builtin locale name for new databases\n"
> msgstr ""
> "      --builtin-provider=LOCALE\n"
> "                               initialise le fournisseur de locale natif
> pour\n"
> "                               les nouvelles bases de données\n"
>
> ERROR LongOption failed in initdb.po: option don't match
> #: initdb.c:2477
> #, c-format
> msgid ""
> "  -c, --set NAME=VALUE      override default setting for server
> parameter\n"
> msgstr ""
> "  -c NOM=VALEUR      surcharge la configuration par défaut d'un paramètre
> "
> "serveur\n"
>
> ERROR LongOption failed in initdb.po: option don't match
> #: initdb.c:2481
> #, c-format
> msgid "  -n, --no-clean            do not clean up after errors\n"
> msgstr "  -n, --noclean                ne nettoie pas après des erreurs\n"
>
> ERROR LongOption failed in initdb.po: option don't match
> #: initdb.c:2482
> #, c-format
> msgid ""
> "  -N, --no-sync             do not wait for changes to be written safely
> to "
> "disk\n"
> msgstr ""
> "  -N, --nosync                 n'attend pas que les modifications
> soient\n"
> "                               proprement écrites sur disque\n"
>
> ERROR PrefixWhitespace failed in initdb.po: match failed
> #: initdb.c:2483
> #, c-format
> msgid "      --no-instructions     do not print instructions for next
> steps\n"
> msgstr ""
> "  --no-instructions            n'affiche pas les instructions des
> prochaines\n"
> "                               étapes\n"
>
> ERROR PrefixWhitespace failed in initdb.po: match failed
> #: initdb.c:2627
> #, c-format
> msgid "  default collation: %s\n"
> msgstr "collation par défaut : %s\n"
>
> (initdb is not the only one, there are such errors in other .po files too.)
>
> [1]
> https://www.gnu.org/software/gettext/manual/html_node/Obsolete-Entries.html
> [2] https://github.com/dvarrazzo/postgresql-it/blob/master/tools/chkpos.py
>
>
I had no idea such a tool existed. I'll use it for my translations and fix
what needs to be fixed.

Thanks.


-- 
Guillaume.


^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2024-09-11 06:12 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-09-10 20:40 Typo in fr.po Kirill Reshke <[email protected]>
2024-09-11 03:00 ` Alexander Lakhin <[email protected]>
2024-09-11 06:12   ` Guillaume Lelarge <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox