Worked around the Norwegian Bokm(å/aa)l issue.

Enhanced the gettextize script to update mo files for windows and osx.  This script should be run any time that a new language is added (don't for get to svn add the Data/Languages language subdirectory), and on occasion to update the language files with strings from the source code.
Added the Hebrew mo file for windows and osx (and update the others).


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6790 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2011-01-09 05:47:04 +00:00
parent 1a72beead0
commit fbd4487987
21 changed files with 1104 additions and 995 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+99 -95
View File
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+99 -95
View File
File diff suppressed because it is too large Load Diff
+99 -95
View File
File diff suppressed because it is too large Load Diff
+99 -95
View File
File diff suppressed because it is too large Load Diff
+15 -1
View File
@@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
cd ${0/gettextize/}/..
SRCDIR=Source
@@ -6,3 +6,17 @@ CPP_FILE_LIST=$(find $SRCDIR \( -name '*.cpp' -o -name '*.h' -o -name '*.c' \) -
-path '*Debug*')
xgettext -d dolphin-emu -s --keyword=_ --keyword=wxTRANSLATE -p ./Languages -o dolphin-emu.pot $CPP_FILE_LIST \
--package-name="Dolphin Emu" --package-version="2.0"
POTFILE=./Languages/dolphin-emu.pot
PO_FILES=$(find ./Languages -name '*.po')
for PO in $PO_FILES
do
msgmerge --quiet --update --backup=none -s $PO $POTFILE
LANGUAGE=$(echo $PO | sed -e 's/^.*\/Languages\///' -e 's/\.po$//')
if [ ! -d ./Data/Languages/$LANGUAGE ]; then
mkdir ./Data/Languages/$LANGUAGE
fi
msgfmt -o ./Data/Languages/$LANGUAGE/$(basename ${POTFILE/pot/mo}) $PO
done
+197 -138
View File
File diff suppressed because it is too large Load Diff
+99 -95
View File
File diff suppressed because it is too large Load Diff
+99 -95
View File
File diff suppressed because it is too large Load Diff
+99 -95
View File
File diff suppressed because it is too large Load Diff
+99 -95
View File
File diff suppressed because it is too large Load Diff

Some files were not shown because too many files have changed in this diff Show More