pidgin/pidgin

Move our i18n setup to the glib preset.

2022-03-13, Gary Kramlich
4960320545ef
Parents 05fa2feb07f4
Children 6d816e02fd76
Move our i18n setup to the glib preset.

This makes sure we get our translator comments and a bunch of other stuff we
weren't setting.

Testing Done:
built `pidgin.pot` and verified it looked okay and had comments.

Reviewed at https://reviews.imfreedom.org/r/1343/
--- a/po/meson.build Sun Mar 13 22:06:00 2022 -0500
+++ b/po/meson.build Sun Mar 13 23:59:40 2022 -0500
@@ -1,6 +1,6 @@
i18n = import('i18n')
-i18n.gettext('pidgin',
- args : '--from-code=utf-8',
- install : get_option('nls'),
-)
+# use the glib preset which is defined at
+# https://github.com/mesonbuild/meson/blob/master/mesonbuild/modules/i18n.py#L93
+# at the time of this comment.
+i18n.gettext('pidgin', preset : 'glib', install : get_option('nls'))