Move translation po files to an external svn repository. The location is http://dolphin-emu-translations.googlecode.com/svn/trunk. I have given some of the primary dolphin committers write access to that repository. If you are a dolphin-emu committer, and I didn't give you access, and you want it, just let me know.

Now po files can be updated as often as we want without bumping up the svn revision numbers of dolphin itself.  I left the dolphin-emu.pot and primary build files in the primary dolphin-emu svn.  The dolphin-emu.pot file will still need to be updated on occasion to reflect changes to strings in the program.  The gettextize script will still work as before for this.
Also added Arabic translations to the build thanks to mansoor.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7343 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice 2011-03-14 13:33:11 +00:00
parent 5f0e073d1c
commit 4ccb31e7af
28 changed files with 435 additions and 115408 deletions

View File

@ -430,7 +430,7 @@ install(DIRECTORY Data/User/ DESTINATION ${datadir}/user PATTERN .svn EXCLUDE)
install(DIRECTORY Data/Sys/ DESTINATION ${datadir}/sys PATTERN .svn EXCLUDE)
include(FindGettext)
if(GETTEXT_FOUND AND NOT DISABLE_WX)
file(GLOB LINGUAS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} Languages/*.po)
file(GLOB LINGUAS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} Languages/po/*.po)
GETTEXT_CREATE_TRANSLATIONS(Languages/dolphin-emu.pot ALL ${LINGUAS})
endif()
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Linux")

View File

@ -60,54 +60,56 @@
<Midl />
</ItemDefinitionGroup>
<ItemGroup>
<msgfmt Include="cs.po" />
<msgfmt Include="da.po" />
<msgfmt Include="de.po" />
<msgfmt Include="el.po" />
<msgfmt Include="en.po" />
<msgfmt Include="es.po" />
<msgfmt Include="fr.po" />
<msgfmt Include="he.po" />
<msgfmt Include="hu.po" />
<msgfmt Include="it.po" />
<msgfmt Include="ja.po" />
<msgfmt Include="ko.po" />
<msgfmt Include="nb.po" />
<msgfmt Include="nl.po" />
<msgfmt Include="pl.po" />
<msgfmt Include="pt_BR.po" />
<msgfmt Include="pt.po" />
<msgfmt Include="ru.po" />
<msgfmt Include="sr.po" />
<msgfmt Include="tr.po" />
<msgfmt Include="zh_CN.po" />
<msgfmt Include="zh_TW.po" />
<msgfmt Include="po/ar.po" />
<msgfmt Include="po/cs.po" />
<msgfmt Include="po/da.po" />
<msgfmt Include="po/de.po" />
<msgfmt Include="po/el.po" />
<msgfmt Include="po/en.po" />
<msgfmt Include="po/es.po" />
<msgfmt Include="po/fr.po" />
<msgfmt Include="po/he.po" />
<msgfmt Include="po/hu.po" />
<msgfmt Include="po/it.po" />
<msgfmt Include="po/ja.po" />
<msgfmt Include="po/ko.po" />
<msgfmt Include="po/nb.po" />
<msgfmt Include="po/nl.po" />
<msgfmt Include="po/pl.po" />
<msgfmt Include="po/pt_BR.po" />
<msgfmt Include="po/pt.po" />
<msgfmt Include="po/ru.po" />
<msgfmt Include="po/sr.po" />
<msgfmt Include="po/tr.po" />
<msgfmt Include="po/zh_CN.po" />
<msgfmt Include="po/zh_TW.po" />
</ItemGroup>
<ItemGroup>
<None Include="cs.po" />
<None Include="da.po" />
<None Include="de.po" />
<None Include="el.po" />
<CustomBuild Include="en.po">
<None Include="po/ar.po" />
<None Include="po/cs.po" />
<None Include="po/da.po" />
<None Include="po/de.po" />
<None Include="po/el.po" />
<CustomBuild Include="po/en.po">
<FileType>Document</FileType>
</CustomBuild>
<None Include="es.po" />
<None Include="fr.po" />
<None Include="he.po" />
<None Include="hu.po" />
<None Include="it.po" />
<None Include="ja.po" />
<None Include="ko.po" />
<None Include="nb.po" />
<None Include="nl.po" />
<None Include="pl.po" />
<None Include="pt_BR.po" />
<None Include="pt.po" />
<None Include="ru.po" />
<None Include="tr.po" />
<None Include="sr.po" />
<None Include="zh_CN.po" />
<None Include="zh_TW.po" />
<None Include="po/es.po" />
<None Include="po/fr.po" />
<None Include="po/he.po" />
<None Include="po/hu.po" />
<None Include="po/it.po" />
<None Include="po/ja.po" />
<None Include="po/ko.po" />
<None Include="po/nb.po" />
<None Include="po/nl.po" />
<None Include="po/pl.po" />
<None Include="po/pt_BR.po" />
<None Include="po/pt.po" />
<None Include="po/ru.po" />
<None Include="po/tr.po" />
<None Include="po/sr.po" />
<None Include="po/zh_CN.po" />
<None Include="po/zh_TW.po" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -10,7 +10,7 @@ xgettext -d dolphin-emu -s --keyword=_ --keyword=wxTRANSLATE --keyword=SuccessAl
--package-name="Dolphin Emu"
POTFILE=./Languages/dolphin-emu.pot
PO_FILES=$(find ./Languages -name '*.po')
PO_FILES=$(find ./Languages/po -name '*.po')
for PO in $PO_FILES
do
msgmerge --quiet --update --backup=none -s $PO $POTFILE

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -88,9 +88,9 @@ elif sys.platform == 'darwin':
languages = []
msgfmt = env.WhereIs('msgfmt')
if not msgfmt == None:
po_files = Glob('#Languages/*.po', strings = True)
po_files = Glob('#Languages/po/*.po', strings = True)
for po in po_files:
index_lo = po.find('Languages/') + len('Languages/')
index_lo = po.find('Languages/po/') + len('Languages/po/')
index_hi = po.find('.po')
lang = po[index_lo:index_hi]
lproj = os.sep + lang + '.lproj'

View File

@ -51,6 +51,7 @@ extern CFrame* main_frame;
static const wxLanguage langIds[] =
{
wxLANGUAGE_DEFAULT,
wxLANGUAGE_ARABIC,
wxLANGUAGE_CHINESE_SIMPLIFIED,
wxLANGUAGE_CHINESE_TRADITIONAL,
wxLANGUAGE_CZECH,
@ -322,6 +323,7 @@ void CConfigMain::InitializeGUILists()
// GUI language arrayStrings
// keep these in sync with the langIds array at the beginning of this file
arrayStringFor_InterfaceLang.Add(_("<System>"));
arrayStringFor_InterfaceLang.Add(_("Arabic"));
arrayStringFor_InterfaceLang.Add(_("Chinese (Simplified)"));
arrayStringFor_InterfaceLang.Add(_("Chinese (Traditional)"));
arrayStringFor_InterfaceLang.Add(_("Czech"));