Change makepot to parse .glade files (#210)
This commit is contained in:
parent
33865c4dc9
commit
d7ec861a4f
27
makepot
27
makepot
@ -1,4 +1,29 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
xgettext --language=Python --keyword=_ --output=mintmenu.pot usr/lib/linuxmint/mintMenu/mintMenu.py usr/lib/linuxmint/mintMenu/mintMenuConfig.py usr/lib/linuxmint/mintMenu/keybinding.py usr/lib/linuxmint/mintMenu/plugins/recent.py usr/lib/linuxmint/mintMenu/plugins/applications.py usr/lib/linuxmint/mintMenu/plugins/system_management.py usr/lib/linuxmint/mintMenu/plugins/places.py usr/lib/linuxmint/mintMenu/plugins/recentHelper.py
|
intltool-extract --type=gettext/glade usr/lib/linuxmint/mintMenu/mintMenu.glade
|
||||||
|
intltool-extract --type=gettext/glade usr/lib/linuxmint/mintMenu/mintMenuConfig.glade
|
||||||
|
intltool-extract --type=gettext/glade usr/lib/linuxmint/mintMenu/plugins/applications.glade
|
||||||
|
intltool-extract --type=gettext/glade usr/lib/linuxmint/mintMenu/plugins/places.glade
|
||||||
|
intltool-extract --type=gettext/glade usr/lib/linuxmint/mintMenu/plugins/recent.glade
|
||||||
|
intltool-extract --type=gettext/glade usr/lib/linuxmint/mintMenu/plugins/system_management.glade
|
||||||
|
|
||||||
|
xgettext --language=Python --keyword=_ --keyword=N_ --output=mintmenu.pot \
|
||||||
|
usr/lib/linuxmint/mintMenu/mintMenu.py \
|
||||||
|
usr/lib/linuxmint/mintMenu/mintMenu.glade.h \
|
||||||
|
usr/lib/linuxmint/mintMenu/mintMenuConfig.py \
|
||||||
|
usr/lib/linuxmint/mintMenu/mintMenuConfig.glade.h \
|
||||||
|
usr/lib/linuxmint/mintMenu/keybinding.py \
|
||||||
|
usr/lib/linuxmint/mintMenu/plugins/applications.py \
|
||||||
|
usr/lib/linuxmint/mintMenu/plugins/applications.glade.h \
|
||||||
|
usr/lib/linuxmint/mintMenu/plugins/recent.py \
|
||||||
|
usr/lib/linuxmint/mintMenu/plugins/recent.glade.h \
|
||||||
|
usr/lib/linuxmint/mintMenu/plugins/recentHelper.py \
|
||||||
|
usr/lib/linuxmint/mintMenu/plugins/places.py \
|
||||||
|
usr/lib/linuxmint/mintMenu/plugins/places.glade.h \
|
||||||
|
usr/lib/linuxmint/mintMenu/plugins/system_management.py \
|
||||||
|
usr/lib/linuxmint/mintMenu/plugins/system_management.glade.h
|
||||||
|
|
||||||
|
rm -rf usr/lib/linuxmint/mintMenu/*.glade.h
|
||||||
|
rm -rf usr/lib/linuxmint/mintMenu/plugins/*.glade.h
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user