Jon Turney
a562b08ae1
Install files from the test added in 2ff69b20
to make sure it runs
...
and make the test runnable :)
6 years ago
Jussi Pakkanen
fe3efe0bc6
Fix merge file using an array. Closes #4424 .
6 years ago
Jon Turney
4a9fd0e742
Fix remaining flake8 report
...
$ flake8
./test cases/frameworks/6 gettext/generated/desktopgenerator.py:8:1: F821 undefined name 'os'
How is this working?
6 years ago
Masanori Kakura
646a073e36
Fix a comment in "test cases/frameworks/6 gettext"
...
File "data/data3/meson.build" makes Meson create a target
that contains a path separator.
6 years ago
Marty E. Plummer
8fd5297f76
i18n: replace path separator with @
...
using state.subdir will cause / or \ to be inserted into the target name.
Replace them with @ to future-proof it.
Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
6 years ago
Jussi Pakkanen
2ff69b20df
Fix handling generated .desktop files. Closes #4304 .
6 years ago
Marty E. Plummer
add55bb861
i18n: allow custom target names for merge_file
...
As it currently stands, if for whatever reason you have two files you
want to merge with the same output name, it will fail due to multiple
targets with the same name due to the target name being autogenerated
from the output kwarg.
Signed-off-by: Marty E. Plummer <hanetzer@startmail.com>
6 years ago
Corentin Noël
176af2c8c3
i18n: respect variable substitution for the target name when merging translations
...
Previously it wasn't possible to use twice @BASENAME@ as the targets would then be named @BASENAME@_merge
6 years ago
Jon Turney
6243262b67
Fix test cases/frameworks/6 gettext for windows
...
Allow installed file 'intlprog' to have .exe extension
7 years ago
Jon Turney
5ff84e4f50
Skip test cases/frameworks/6 gettext if prereqs not found
...
Skip test cases/frameworks/6 gettext if gettext or libintl not found
7 years ago
Rene Lopez
45cf4191cc
Use correct gettext input file in test
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
Jussi Pakkanen
bd23131eca
Some platforms require linking against libintl explicitly.
8 years ago
Jussi Pakkanen
12a4e7d7e7
Moved gettext into i18n module.
9 years ago
Jussi Pakkanen
73b8ff5341
Rework installation logic so we can go outside the install prefix.
10 years ago
Jussi Pakkanen
26837fda48
Added installed_files.txt files to all places that needed them.
11 years ago
Jussi Pakkanen
0e19d90e97
Now can generate mo files from po files and install them.
11 years ago
Jussi Pakkanen
b422afac9b
Text clarification.
11 years ago
Jussi Pakkanen
bf6dcfef01
Added a few translations.
11 years ago
Jussi Pakkanen
8523bd6ba7
Can generate pot files on command.
11 years ago
Jussi Pakkanen
3c3e580aea
Parse gettext command and generate rule.
11 years ago
Jussi Pakkanen
7006c6aa2c
Some work on gettext.
11 years ago
Jussi Pakkanen
409958feaa
Basic test case for gettext.
11 years ago