mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Updated readme and packaging scripts for French translation.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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') )
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user