Codebase list xapp / 05a5aab
Add i18n for the mate applet. Michael Webster 3 years ago
4 changed file(s) with 13 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
00 #!/bin/bash
11
2 rm -f xapp.pot
3 touch xapp.pot
24 xgettext --language=C --keyword=_ --keyword=N_ --output=xapp.pot libxapp/*.c
5 xgettext --language=Desktop --join-existing --add-comments \
6 -k --keyword=Name --keyword=Description --output=xapp.pot status-applets/*/*.in
37
1818 conf.set('libexec', join_paths(get_option('prefix'), get_option('libexecdir')))
1919
2020 service_file = configure_file(
21 input : 'org.mate.panel.applet.MateXAppStatusAppletFactory.service.in',
21 input : 'org.mate.panel.applet.MateXAppStatusAppletFactory.service',
2222 output: 'org.mate.panel.applet.MateXAppStatusAppletFactory.service',
2323 configuration: conf,
2424 )
2929
3030 ## Applet definition file
3131
32 def_file = configure_file(
33 input : 'org.x.MateXAppStatusApplet.mate-panel-applet.in',
32 i18n.merge_file(
33 input: 'org.x.MateXAppStatusApplet.mate-panel-applet.in',
3434 output: 'org.x.MateXAppStatusApplet.mate-panel-applet',
35 configuration: conf,
36 )
37
38 install_data(def_file,
35 type: 'desktop',
36 po_dir: join_paths(meson.source_root(), 'po'),
37 install: true,
3938 install_dir: join_paths(get_option('datadir'), 'mate-panel', 'applets')
4039 )
41
0 [D-BUS Service]
1 Name=org.mate.panel.applet.MateXAppStatusAppletFactory
2 Exec=@libexec@/xapps/mate-xapp-status-applet.py
+0
-3
status-applets/mate/org.mate.panel.applet.MateXAppStatusAppletFactory.service.in less more
0 [D-BUS Service]
1 Name=org.mate.panel.applet.MateXAppStatusAppletFactory
2 Exec=@libexec@/xapps/mate-xapp-status-applet.py