1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 01:12:40 +02:00

po-tips: Fix gettext translation

This commit is contained in:
Niels De Graef
2022-06-27 15:14:01 +02:00
parent 1e8f2d0a4f
commit 3473883edb
2 changed files with 9 additions and 2 deletions

View File

@@ -1,5 +1,8 @@
<?xml version="1.0"?>
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0">
<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
<its:withinTextRule withinText="yes" selector="//thetip//b |
//thetip//big |
//thetip//tt"/>
<its:translateRule selector="/gimp-tips" translate="no"/>
<its:translateRule selector="//thetip" translate="yes"/>
</its:rules>

View File

@@ -1,2 +1,6 @@
potips_dir = meson.current_source_dir()
i18n.gettext(gettext_package + '-tips', preset: 'glib', install: false)
i18n.gettext(gettext_package + '-tips',
preset: 'glib',
install: false,
data_dirs: meson.project_source_root() / 'data' / 'tips',
)