fix: Update meson.build to handle localization

The previous version of the Meson build files did not handle the po
directory correctly, and lost a lot of information. As part of the
migration away from Autotools, this is one more item that needs to be
checked off.

CI: [ci skip] [doxy skip]
master
nirenjan 2026-03-12 12:48:23 -07:00
parent ad30bfff7b
commit e9a806a6a2
3 changed files with 15 additions and 4 deletions

View File

@ -6,9 +6,9 @@
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: libx52 0.3.2\n"
"Project-Id-Version: libx52 0.3.3\n"
"Report-Msgid-Bugs-To: https://github.com/nirenjan/libx52/issues\n"
"POT-Creation-Date: 2026-03-12 08:31-0700\n"
"POT-Creation-Date: 2026-03-12 12:28-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"

View File

@ -1,3 +1,14 @@
i18n.gettext(meson.project_name(),
args: '--directory=' + meson.source_root(),
args: [
'--directory=' + meson.source_root(),
'--msgid-bugs-address=https://github.com/nirenjan/libx52/issues',
'--package-name=' + meson.project_name(),
'--package-version=' + meson.project_version(),
'--copyright-holder=Nirenjan Krishnan',
'--keyword=_', '--keyword=N_',
],
languages: [
'xx_PL',
],
install: true,
)

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: libx52 0.2.3\n"
"Report-Msgid-Bugs-To: https://github.com/nirenjan/libx52/issues\n"
"POT-Creation-Date: 2026-03-12 08:31-0700\n"
"POT-Creation-Date: 2026-03-12 12:28-0700\n"
"PO-Revision-Date: 2023-01-04 08:40-0800\n"
"Last-Translator: Nirenjan Krishnan <nirenjan@gmail.com>\n"
"Language-Team: Dummy Language for testing i18n\n"