From 243530ff191426e2f56c49d6b8b95d524d0925fc Mon Sep 17 00:00:00 2001 From: bgk Date: Tue, 12 May 2015 04:00:03 +0000 Subject: [PATCH] PO: Fix update_pot.sh line endings --- po/update_pot.sh | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/po/update_pot.sh b/po/update_pot.sh index d4e9c5f0..5ed32438 100755 --- a/po/update_pot.sh +++ b/po/update_pot.sh @@ -1,22 +1,22 @@ -#!/bin/sh - -# Generate translation template file for the GTK+ port -intltool-extract --local --type=gettext/glade ../src/gtk/ui/cheatedit.ui -intltool-extract --local --type=gettext/glade ../src/gtk/ui/cheatlist.ui -intltool-extract --local --type=gettext/glade ../src/gtk/ui/display.ui -intltool-extract --local --type=gettext/glade ../src/gtk/ui/gameboyadvance.ui -intltool-extract --local --type=gettext/glade ../src/gtk/ui/gameboy.ui -intltool-extract --local --type=gettext/glade ../src/gtk/ui/preferences.ui -intltool-extract --local --type=gettext/glade ../src/gtk/ui/sound.ui -intltool-extract --local --type=gettext/glade ../src/gtk/ui/vbam.ui - -xgettext -k_ -kN_ -o gvbam/gvbam.pot ../src/gtk/*.cpp tmp/*.h - -rm -r tmp/ - -# Generate translation template file for the wxWidgets port -wxrc -g ../src/wx/wxvbam.xrc -o wx-xrc-strings.h - -xgettext -k_ -kN_ -o wxvbam/wxvbam.pot ../src/wx/*.cpp ../src/wx/*.h ../src/wx/widgets/*.cpp wx-xrc-strings.h - -rm -r wx-xrc-strings.h +#!/bin/sh + +# Generate translation template file for the GTK+ port +intltool-extract --local --type=gettext/glade ../src/gtk/ui/cheatedit.ui +intltool-extract --local --type=gettext/glade ../src/gtk/ui/cheatlist.ui +intltool-extract --local --type=gettext/glade ../src/gtk/ui/display.ui +intltool-extract --local --type=gettext/glade ../src/gtk/ui/gameboyadvance.ui +intltool-extract --local --type=gettext/glade ../src/gtk/ui/gameboy.ui +intltool-extract --local --type=gettext/glade ../src/gtk/ui/preferences.ui +intltool-extract --local --type=gettext/glade ../src/gtk/ui/sound.ui +intltool-extract --local --type=gettext/glade ../src/gtk/ui/vbam.ui + +xgettext -k_ -kN_ -o gvbam/gvbam.pot ../src/gtk/*.cpp tmp/*.h + +rm -r tmp/ + +# Generate translation template file for the wxWidgets port +wxrc -g ../src/wx/wxvbam.xrc -o wx-xrc-strings.h + +xgettext -k_ -kN_ -o wxvbam/wxvbam.pot ../src/wx/*.cpp ../src/wx/*.h ../src/wx/widgets/*.cpp wx-xrc-strings.h + +rm -r wx-xrc-strings.h