mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Added Danish translation to packaging scripts.
It was missing from the archive script, and partially missing from the installer (as was German translation uninstallation). Also updated the metadata syntax doc.
This commit is contained in:
@@ -462,6 +462,7 @@ msg:
|
||||
<tr><td>Russian<td>ru
|
||||
<tr><td>Spanish<td>es
|
||||
<tr><td>German<td>de
|
||||
<tr><td>Danish<td>da
|
||||
</table>
|
||||
|
||||
<h2 id="license">License</h2>
|
||||
|
||||
+1
-1
@@ -104,7 +104,7 @@ shutil.copy( os.path.join('..', 'build', 'Release', 'cef_200_percent.pak'), temp
|
||||
shutil.copy( os.path.join('..', 'build', 'Release', 'devtools_resources.pak'), temp_path )
|
||||
shutil.copy( os.path.join('..', 'build', 'Release', 'icudtl.dat'), temp_path )
|
||||
|
||||
for lang in ['es', 'ru', 'fr', 'zh_CN', 'pl', 'pt_BR', 'fi', 'de']:
|
||||
for lang in ['es', 'ru', 'fr', 'zh_CN', 'pl', 'pt_BR', 'fi', 'de', 'da']:
|
||||
os.makedirs(os.path.join(temp_path, 'resources', 'l10n', lang, 'LC_MESSAGES'))
|
||||
shutil.copy( os.path.join('..', 'resources', 'l10n', lang, 'LC_MESSAGES', 'loot.mo'), os.path.join(temp_path, 'resources', 'l10n', lang, 'LC_MESSAGES') )
|
||||
|
||||
|
||||
@@ -367,6 +367,8 @@ FunctionEnd
|
||||
File "..\resources\l10n\fi\LC_MESSAGES\loot.mo"
|
||||
SetOutPath "$INSTDIR\resources\l10n\de\LC_MESSAGES"
|
||||
File "..\resources\l10n\de\LC_MESSAGES\loot.mo"
|
||||
SetOutPath "$INSTDIR\resources\l10n\da\LC_MESSAGES"
|
||||
File "..\resources\l10n\de\LC_MESSAGES\loot.mo"
|
||||
|
||||
|
||||
;Install settings file.
|
||||
@@ -500,6 +502,8 @@ FunctionEnd
|
||||
Delete "$INSTDIR\resources\l10n\pl\LC_MESSAGES\loot.mo"
|
||||
Delete "$INSTDIR\resources\l10n\pt_BR\LC_MESSAGES\loot.mo"
|
||||
Delete "$INSTDIR\resources\l10n\fi\LC_MESSAGES\loot.mo"
|
||||
Delete "$INSTDIR\resources\l10n\de\LC_MESSAGES\loot.mo"
|
||||
Delete "$INSTDIR\resources\l10n\da\LC_MESSAGES\loot.mo"
|
||||
RMDir "$INSTDIR\resources\l10n\ru\LC_MESSAGES"
|
||||
RMDir "$INSTDIR\resources\l10n\ru"
|
||||
RMDir "$INSTDIR\resources\l10n\es\LC_MESSAGES"
|
||||
|
||||
Reference in New Issue
Block a user