Patrick Griffis
155617e539
i18n: Improve language handling
...
- Fix LINGUAS changes not being picked up
- Fix multiple langs per line in LINGUAS
- Make empty languages acceptable
Fixes #1127
8 years ago
Patrick Griffis
acb0a38aac
i18n: Add preset kwarg
...
Many frameworks, such as glib, provide translation functions and
functions that take format strings. As such every application using
these must duplicate the gettext arguments to function properly.
This reduces that duplication and improves correctness so they are
not left out.
Fixes #1123
8 years ago
Patrick Griffis
7d68715297
i18n: Add merge_file function
...
This is a repeated task that we can simplify
Closes #1120
8 years ago
Patrick Griffis
e4a755ba92
i18n: Read languages from LINGUAS file
...
This avoids duplicating a list and allows the translation
maintainers to not have to modify the build system.
Mentioned in #1115
8 years ago
Patrick Griffis
314eb5110e
gettext: Use argparse to handle arguments
8 years ago
Patrick Griffis
423c8dbb40
gettext: Add update-po target
...
For each project this creates a <project>-update-po target.
When ran this updates the pot file and then merges it back
into the po files in the source directory with `msgmerge`
for project maintainers and translators.
Fixes #819
8 years ago
Patrick Griffis
f30be6fb92
gettext: Add ability to set GETTEXTDATADIRS
...
Some projects use this to allow using local its files
8 years ago
Jussi Pakkanen
0733c0f9a1
Changed run_target to take command as kwarg and add depends. This makes it behave the same as custom_target.
9 years ago
Jussi Pakkanen
3b3c05f6b1
Can pass extra args to xgettext. Closes #554 .
9 years ago
Jussi Pakkanen
dc148e0702
Remove all special casing for gettext and use elementary operations instead.
9 years ago
Jussi Pakkanen
12a4e7d7e7
Moved gettext into i18n module.
9 years ago
Jussi Pakkanen
455e55f8e5
Back to .py suffix in files. Closes #394 .
9 years ago
Jussi Pakkanen
23b98cd6e6
Renamed meson package to mesonbuild so that we can have a script named meson in the same toplevel dir.
9 years ago
Jussi Pakkanen
1510522b1b
Moved mesongui into module.
9 years ago
Jussi Pakkanen
2ee27504a8
Moved mesonconf implementation in the module.
9 years ago
Jussi Pakkanen
ec44795f8a
Moved all wrap related things to their own submodule.
9 years ago
Jussi Pakkanen
4c31e7774d
Finalize moduleification so that full test suite runs.
9 years ago
Jussi Pakkanen
66c01401de
Moved scripts in the module and started work to run them via the main meson command.
9 years ago
Jussi Pakkanen
d2a14075b3
Some fixes for other backends.
9 years ago
Jussi Pakkanen
61cb4ae9ca
Can compile full test suite.
9 years ago
Jussi Pakkanen
a5508d3fd3
Can run most of test suite (with hacks).
9 years ago
Jussi Pakkanen
8b1039fa30
Organise files into a module structure.
9 years ago