add gtk stock clearing script and update glade files

This commit is contained in:
Marcos Pinto 2008-08-31 23:37:02 +00:00
commit 1e4f53b716
2 changed files with 18 additions and 5 deletions

View file

@ -116,11 +116,6 @@ deluge/ui/gtkui/aboutdialog.py
deluge/ui/gtkui/statusbar.py
deluge/ui/gtkui/edittrackersdialog.py
deluge/common.py
deluge/plugins/testp/testp/ui.py
deluge/plugins/testp/testp/gtkui.py
deluge/plugins/testp/testp/core.py
deluge/plugins/testp/testp/__init__.py
deluge/plugins/testp/setup.py
deluge/plugins/init.py
deluge/plugins/label/label/ui.py
deluge/plugins/label/label/gtk_sidebar.py

View file

@ -1,2 +1,20 @@
#!/bin/sh
for x in `find . -name '*.glade' |grep -v '.svn\|build'` ; do \
for y in gtk-apply gtk-bold gtk-cancel gtk-cdrom gtk-clear \
gtk-close gtk-color-picker gtk-convert gtk-copy gtk-cut \
gtk-delete gtk-dialog-error gtk-dialog-info gtk-dialog-question \
gtk-dialog-warning gtk-dnd gtk-dnd-multiple gtk-execute gtk-find \
gtk-find-and-replace gtk-floppy gtk-goto-bottom gtk-goto-first \
gtk-goto-last gtk-goto-top gtk-go-back gtk-go-down gtk-go-forward \
gtk-go-up gtk-help gtk-home gtk-index gtk-italic gtk-jump-to \
gtk-justify-center gtk-justify-fill gtk-justify-left gtk-missing-image \
gtk-new gtk-no gtk-ok gtk-open gtk-paste gtk-preferences gtk-print \
gtk-print-preview gtk-properties gtk-quit gtk-redo gtk-refresh \
gtk-remove gtk-revert-to-saved gtk-save gtk-save-as gtk-select-color \
gtk-select-font gtk-sort-descending gtk-spell-check gtk-stop \
gtk-strikethrough gtk-undelete gtk-underline gtk-undo gtk-yes \
gtk-zoom-100 gtk-zoom-fit gtk-zoom-in gtk-zoom-out; do \
sed -i "s/<property\ name\=\"label\"\ translatable\=\"yes\">$y<\/property>/<property\ name\=\"label\"\ translatable\=\"no\">$y<\/property>/g" $x; \
done;\
done
xgettext -f deluge/i18n/POTFILES.in -o deluge/i18n/deluge.pot