mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
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:
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
File diff suppressed because it is too large
Load Diff
+99
-95
File diff suppressed because it is too large
Load Diff
+99
-95
File diff suppressed because it is too large
Load Diff
+99
-95
File diff suppressed because it is too large
Load Diff
+99
-95
File diff suppressed because it is too large
Load Diff
+15
-1
@@ -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
File diff suppressed because it is too large
Load Diff
+99
-95
File diff suppressed because it is too large
Load Diff
+99
-95
File diff suppressed because it is too large
Load Diff
+99
-95
File diff suppressed because it is too large
Load Diff
+99
-95
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
Reference in New Issue
Block a user