12 Commits

Author SHA1 Message Date
Steve Cotton
5b53be5d2a CMake part of replacing po4a-gettextize with po4a-updatepo
The design of po4a seems to expect it to act as a build system,
running with a config file telling it which files to build. In
version 0.68-1, the po4a-gettextize tool has changed to error out
with a comment that it's not being run the way it expects.

See https://bugs.debian.org/1020821

po4a-updatepo works for now with 0.68-1, although it prints a deprecation
message.
2023-05-29 00:21:51 +02:00
Nils Kneuper
d491415bbf added a cmake hack for finding asciidoc when using recent archlinux 2022-07-09 12:05:48 +02:00
Andrei BENCSIK
43c79e34a2 Refactor FindTranslationTools.cmake
* macro for avoiding code repetition
2022-05-01 22:31:23 -05:00
Iris Morelle
018a0ebd78
i18n: Add N_n() no-op macro to allow xgettext to extract plural forms
This is intended to allow xgettext to extract plural forms from the code
without actually altering the input. Basically, this is to _n() as N_()
is to _(), and doesn't actually call any gettext functions.
2021-09-17 07:17:34 -03:00
Martin Hrubý (hrubymar10)
674fda85b7 Migrate links to https if available - Fwd c18537edc0678f40a209797d72dfaba3e5e88545
(cherry-picked from commit bc4d22dc72e79c3d6a3364ac896e473afd298246)
2018-10-07 03:23:36 +00:00
Victor Sergienko
c2a56b403e Hide minor translations (<80%) from language selection menu. (#2552)
@CelticMinstrel suggests we only use non-campaign textdomains without manpages.
2018-03-13 22:51:36 -04:00
Charles Dang
3a90f86674 Addressed more whitespace issues from #2613
[ci skip]
2018-03-12 03:48:59 +11:00
Celtic Minstrel
b7aea011f9 Add VNGETTEXT macro to complement the VGETTEXT macro 2017-04-15 23:36:57 -04:00
Ignacio R. Morelle
b270658f50 cmake: Quick-and-dirty fix for the DocBook XSL path on Debian
Without this, rebuilding the game manuals fails because
/usr/share/asciidoc/docbook-xsl/xhtml.xsl doesn't exist. We need to use
/etc/asciidoc/docbook-xsl/xhtml.xsl instead here.
2015-01-16 00:25:39 -03:00
Mark de Wever
14ad071a40 Polish the pot-update cmake target. 2011-01-16 10:31:31 +00:00
Mark de Wever
1000f2533c Reimplement the update-po4a-manual.
This version can be build in parallel. Also remove the original po4a
update code.
2011-01-08 11:44:35 +00:00
Mark de Wever
14db2d8b01 Move pot-update dependencies in a separate file.
This allows to move the po4a update tools in the same file and keep the
dependencies better together.
2011-01-02 18:50:00 +00:00