[polari] meson: Use meson.project_name() instead of app_id for pots
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] meson: Use meson.project_name() instead of app_id for pots
- Date: Thu, 1 Nov 2018 13:23:35 +0000 (UTC)
commit 475d9a1b0fbac27eafe75c988e41b180ff968b30
Author: Jeremy Bicha <jbicha ubuntu com>
Date: Mon Oct 8 16:54:32 2018 -0400
meson: Use meson.project_name() instead of app_id for pots
Ubuntu's dh_translations tool for its language packs
assumes that the translation templates match the project id.
Let's follow that pattern.
Before, the translation templates were named polari.pot and
help-org.gnome.Polari.pot
Now they are named polari.pot and help-polari.pot
See comment 21 on https://launchpad.net/bugs/1762889
help/meson.build | 2 +-
po/meson.build | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/help/meson.build b/help/meson.build
index 83e16ef..d317298 100644
--- a/help/meson.build
+++ b/help/meson.build
@@ -1,4 +1,4 @@
-gnome.yelp(app_id,
+gnome.yelp(meson.project_name(),
sources: [
'index.page',
'introduction.page',
diff --git a/po/meson.build b/po/meson.build
index 029e4e9..e9b77d7 100644
--- a/po/meson.build
+++ b/po/meson.build
@@ -1 +1 @@
-i18n.gettext('polari', preset: 'glib')
+i18n.gettext(meson.project_name(), preset: 'glib')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]