Aegisub/po
Oneric bc3358fcfe po/make_pot: increase portability across shells
Base POSIX leaves the handling of backslahes in the operand
implementation defined. The XSI extension specifies several
escape sequences, like e.g. \n, which shall be transformed
upon printing.
Current make_pot.sh expects XSI behaviour and indeed e.g.
dash’s echo builtin implements this. echo builtins of other common
shells such as bash however, do not (by default). Avoid this portability
pitfall by just using printf at all relevant places. See:
  https://pubs.opengroup.org/onlinepubs/9699919799/utilities/echo.html
  https://pubs.opengroup.org/onlinepubs/9699919799/utilities/printf.html

This also allows us to stop substituting each backslash with four
backslashes before piping to maybe_append. This substituion existed
to safely pass backslahes through maybe_append’s two layers of echo.

Also improve quoting. For consistency prefer single-quote quoting over
shell backslash escapes. QUote the unguarded *.lua to ensure it will
continue to work if there happen to be any lua files in the scripts
working directory.

This supersedes commits from wangqr/Aegisub which adjusted quoting and
echo usage to work with different shells. This is more throughout and
doesn't introduce semi-broken intermediate states.
  0fbcaea871
  4aee271d03
  940181c7bc
(Note the second commit actually didn't manage to achieve the intended
portability, since several echo usages remained and it forgot to adjust
the backslash substitution, which was then fixed in the third commit.)
2023-04-30 17:46:20 +02:00
..
aegisub.pot Make all of the syntax highlighter colors customizable 2014-07-01 12:25:22 -07:00
ar.po add '(Language)' after translated labels as suggested on the forums: http://forum.aegisub.org/viewtopic.php?f=5&t=66925#p91569 2014-07-28 12:08:23 -07:00
be.po Added Belarusian Localization 2019-09-22 19:23:39 -04:00
bg.po add '(Language)' after translated labels as suggested on the forums: http://forum.aegisub.org/viewtopic.php?f=5&t=66925#p91569 2014-07-28 12:08:23 -07:00
ca.po Update Catalan translation (really) 2017-03-25 12:13:24 -07:00
cs.po add '(Language)' after translated labels as suggested on the forums: http://forum.aegisub.org/viewtopic.php?f=5&t=66925#p91569 2014-07-28 12:08:23 -07:00
da.po Move everything up a level since the root dir no longer has stuff 2014-03-11 12:14:57 -07:00
de.po add '(Language)' after translated labels as suggested on the forums: http://forum.aegisub.org/viewtopic.php?f=5&t=66925#p91569 2014-07-28 12:08:23 -07:00
el.po add '(Language)' after translated labels as suggested on the forums: http://forum.aegisub.org/viewtopic.php?f=5&t=66925#p91569 2014-07-28 12:08:23 -07:00
es.po Quick fix 2016-06-26 19:42:57 +02:00
eu.po add '(Language)' after translated labels as suggested on the forums: http://forum.aegisub.org/viewtopic.php?f=5&t=66925#p91569 2014-07-28 12:08:23 -07:00
fa.po Move everything up a level since the root dir no longer has stuff 2014-03-11 12:14:57 -07:00
fi.po Update Finnish translation 2014-11-30 09:41:18 -08:00
fr_FR.po Updates French translation (#121) 2021-05-23 04:54:46 -04:00
gl.po add '(Language)' after translated labels as suggested on the forums: http://forum.aegisub.org/viewtopic.php?f=5&t=66925#p91569 2014-07-28 12:08:23 -07:00
hu.po Update Hungarian translation 2014-11-22 13:04:02 -08:00
id.po add '(Language)' after translated labels as suggested on the forums: http://forum.aegisub.org/viewtopic.php?f=5&t=66925#p91569 2014-07-28 12:08:23 -07:00
it.po it.po: fix typo (#59) 2018-04-29 13:00:11 -07:00
ja.po Move everything up a level since the root dir no longer has stuff 2014-03-11 12:14:57 -07:00
ko.po Move everything up a level since the root dir no longer has stuff 2014-03-11 12:14:57 -07:00
LINGUAS Move language specifications to LINGUAS file 2021-01-10 03:14:12 -05:00
make_pot.sh po/make_pot: increase portability across shells 2023-04-30 17:46:20 +02:00
meson.build build: consider all translation keywords for C++ 2023-04-30 17:10:24 +02:00
nl.po add '(Language)' after translated labels as suggested on the forums: http://forum.aegisub.org/viewtopic.php?f=5&t=66925#p91569 2014-07-28 12:08:23 -07:00
pl.po Polish translation corrections (#130) 2021-05-23 17:33:04 -04:00
POTFILES Integrate appdata.xml into meson build 2023-04-30 03:09:56 +02:00
pt_BR.po Move everything up a level since the root dir no longer has stuff 2014-03-11 12:14:57 -07:00
pt_PT.po add '(Language)' after translated labels as suggested on the forums: http://forum.aegisub.org/viewtopic.php?f=5&t=66925#p91569 2014-07-28 12:08:23 -07:00
README_ja.txt Move everything up a level since the root dir no longer has stuff 2014-03-11 12:14:57 -07:00
ru.po add '(Language)' after translated labels as suggested on the forums: http://forum.aegisub.org/viewtopic.php?f=5&t=66925#p91569 2014-07-28 12:08:23 -07:00
sr_RS.po add '(Language)' after translated labels as suggested on the forums: http://forum.aegisub.org/viewtopic.php?f=5&t=66925#p91569 2014-07-28 12:08:23 -07:00
sr_RS@latin.po add '(Language)' after translated labels as suggested on the forums: http://forum.aegisub.org/viewtopic.php?f=5&t=66925#p91569 2014-07-28 12:08:23 -07:00
stats.sh Move everything up a level since the root dir no longer has stuff 2014-03-11 12:14:57 -07:00
uk_UA.po Improve the Ukrainian translation. Closes #1828. 2014-10-12 15:28:53 -07:00
vi.po Update Vietnamese translation 2015-07-27 10:29:23 -07:00
zh_CN.po Update Simplified Chinese translation (#55) 2018-04-29 12:59:59 -07:00
zh_TW.po add '(Language)' after translated labels as suggested on the forums: http://forum.aegisub.org/viewtopic.php?f=5&t=66925#p91569 2014-07-28 12:08:23 -07:00