Closed Mauladen closed 6 years ago
Pikaur parses the output of pacman --help for its own help,
pacman --help
pacman
pikaur
options:
common pacman options:
But when running under another locale, the second operation will fail, eg. options is opciones in Spanish.
options
opciones
Possible solutions:
_("options:")
LANG=C
I would advocate 3. Thoughts?
@Zopieux i am up for №1
2 is also fine (ie to replace only s/pacman/pikaur/g
s/pacman/pikaur/g
Pikaur parses the output of
pacman --help
for its own help,pacman
withpikaur
options:
with something likecommon pacman options:
But when running under another locale, the second operation will fail, eg.
options
isopciones
in Spanish.Possible solutions:
_("options:")
instead, but this means addingoptions:
translation to our own catalog for every supported locale.pacman
that is more or less guaranteed to bepacman
in every locale).options:
but accept that this will only work for English or by accident (ie. target locale translates tooptions:
too).LANG=C
so the replace works, but then pikaur help will have to be in English.I would advocate 3. Thoughts?