mintmenu/makepot

30 lines
1.4 KiB
Bash
Executable File

#!/bin/bash
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