diff --git a/makepot b/makepot index d80b2a3..5f9f759 100755 --- a/makepot +++ b/makepot @@ -1,4 +1,29 @@ #!/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 +