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:
Oliver Hamlet
2014-09-22 18:35:41 +01:00
parent 397756fd54
commit dd78e2c129
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -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
View File
@@ -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') )
+4
View File
@@ -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"