Updated readme and packaging scripts for French translation.

This commit is contained in:
WrinklyNinja
2014-02-03 21:50:20 +00:00
parent b7b183dcb8
commit 6160aec4ef
3 changed files with 13 additions and 0 deletions
+1
View File
@@ -346,6 +346,7 @@ To translate the BOSS application:
<li><a href="https://github.com/boss-developers/boss-code/blob/master/resources/l10n/ru/LC_MESSAGES/boss.po">Russian</a>
<li><a href="https://github.com/boss-developers/boss-code/blob/master/resources/l10n/es/LC_MESSAGES/boss.po">Spanish</a>
<li><a href="https://github.com/boss-developers/boss-code/blob/master/resources/l10n/zh/LC_MESSAGES/boss.po">Simplified Chinese</a>
<li><a href="https://github.com/boss-developers/boss-code/blob/master/resources/l10n/fr/LC_MESSAGES/boss.po">French</a>
</ul>
<li>Open Poedit and select <q>File->Preferences</q>, then in the <q>Editor</q> tab ensure that the checkbox for the <q>Automatically compile .mo file on save</q> setting is checked. Click <q>OK</q> to close the preferences window.
<li>If you are starting a new translation, select <q>File->New catalogue from POT file...</q> and choose the template file you downloaded. In the <q>Catalog properties</q> dialog, just click <q>OK</q> without changing anything.
+5
View File
@@ -10,6 +10,8 @@
# resources/l10n/es/LC_MESSAGES/wxstd.mo
# resources/l10n/ru/LC_MESSAGES/boss.mo
# resources/l10n/ru/LC_MESSAGES/wxstd.mo
# resources/l10n/fr/LC_MESSAGES/boss.mo
# resources/l10n/fr/LC_MESSAGES/wxstd.mo
# resources/polyfill.js
# resources/script.js
# resources/style.css
@@ -61,10 +63,13 @@ shutil.copy( os.path.join('..', 'build', 'BOSS.exe'), temp_path )
os.makedirs(os.path.join(temp_path, 'resources', 'l10n', 'es', 'LC_MESSAGES'))
os.makedirs(os.path.join(temp_path, 'resources', 'l10n', 'ru', 'LC_MESSAGES'))
os.makedirs(os.path.join(temp_path, 'resources', 'l10n', 'fr', 'LC_MESSAGES'))
shutil.copy( os.path.join('..', 'resources', 'l10n', 'es', 'LC_MESSAGES', 'boss.mo'), os.path.join(temp_path, 'resources', 'l10n', 'es', 'LC_MESSAGES') )
shutil.copy( os.path.join('..', 'resources', 'l10n', 'es', 'LC_MESSAGES', 'wxstd.mo'), os.path.join(temp_path, 'resources', 'l10n', 'es', 'LC_MESSAGES') )
shutil.copy( os.path.join('..', 'resources', 'l10n', 'ru', 'LC_MESSAGES', 'boss.mo'), os.path.join(temp_path, 'resources', 'l10n', 'ru', 'LC_MESSAGES') )
shutil.copy( os.path.join('..', 'resources', 'l10n', 'ru', 'LC_MESSAGES', 'wxstd.mo'), os.path.join(temp_path, 'resources', 'l10n', 'ru', 'LC_MESSAGES') )
shutil.copy( os.path.join('..', 'resources', 'l10n', 'fr', 'LC_MESSAGES', 'boss.mo'), os.path.join(temp_path, 'resources', 'l10n', 'fr', 'LC_MESSAGES') )
shutil.copy( os.path.join('..', 'resources', 'l10n', 'fr', 'LC_MESSAGES', 'wxstd.mo'), os.path.join(temp_path, 'resources', 'l10n', 'fr', 'LC_MESSAGES') )
shutil.copy( os.path.join('..', 'resources', 'polyfill.js'), os.path.join(temp_path, 'resources') )
+7
View File
@@ -281,6 +281,9 @@ FunctionEnd
;SetOutPath "$INSTDIR\resources\l10n\zh\LC_MESSAGES"
;File "..\resources\l10n\zh\LC_MESSAGES\boss.mo"
;File "..\resources\l10n\zh\LC_MESSAGES\wxstd.mo"
SetOutPath "$INSTDIR\resources\l10n\fr\LC_MESSAGES"
File "..\resources\l10n\fr\LC_MESSAGES\wxstd.mo"
File "..\resources\l10n\fr\LC_MESSAGES\boss.mo"
;Install settings file.
SetOutPath "$LOCALAPPDATA\BOSS"
@@ -374,6 +377,8 @@ FunctionEnd
;Delete "$INSTDIR\resources\l10n\de\LC_MESSAGES\wxstd.mo"
;Delete "$INSTDIR\resources\l10n\zh\LC_MESSAGES\boss.mo"
;Delete "$INSTDIR\resources\l10n\zh\LC_MESSAGES\wxstd.mo"
Delete "$INSTDIR\resources\l10n\fr\LC_MESSAGES\boss.mo"
Delete "$INSTDIR\resources\l10n\fr\LC_MESSAGES\wxstd.mo"
RMDir "$INSTDIR\resources\l10n\ru\LC_MESSAGES"
RMDir "$INSTDIR\resources\l10n\ru"
RMDir "$INSTDIR\resources\l10n\es\LC_MESSAGES"
@@ -382,6 +387,8 @@ FunctionEnd
;RMDir "$INSTDIR\resources\l10n\de"
;RMDir "$INSTDIR\resources\l10n\zh\LC_MESSAGES"
;RMDir "$INSTDIR\resources\l10n\zh"
RMDir "$INSTDIR\resources\l10n\fr\LC_MESSAGES"
RMDir "$INSTDIR\resources\l10n\fr"
RMDir "$INSTDIR\resources\l10n"
RMDir "$INSTDIR\resources"