Commits

Vladimir Kolev committed cc74c69

The update_language_template.sh script now syncs every translation with the
catalog gsharkdown.pot

Comments (0)

Files changed (2)

 msgstr ""
 "Project-Id-Version: PACKAGE VERSION\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-11-01 11:51+0100\n"
+"POT-Creation-Date: 2011-11-01 12:13+0100\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
 "Language-Team: LANGUAGE <LL@li.org>\n"

update_language_template.sh

 intltool-extract --type=gettext/glade data/preferenes_dialog.ui
 xgettext --keyword=_ --keyword=N_ --language=Python --output=gsharkdown.pot data/about_dialog.ui.h data/lyrics_dialog.ui.h data/main_window.ui.h data/preferenes_dialog.ui.h gsharkdown.py lib/guihelpers.py lib/tfuncs.py
 
+for f in $(ls locale)
+do
+	msgmerge -U "./locale/$f/LC_MESSAGES/gsharkdown.po" gsharkdown.pot
+done
+
+echo "Translations updated"