From 8c8db45d5a06656ef42005e2e5274acab3e5697d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Moreno?= Date: Wed, 8 Jul 2020 16:16:56 +0200 Subject: [PATCH] fix i18n --- build/lib/i18n.js | 7 +------ build/lib/i18n.ts | 6 +----- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/build/lib/i18n.js b/build/lib/i18n.js index def00ab6cc3..7371b0f022f 100644 --- a/build/lib/i18n.js +++ b/build/lib/i18n.js @@ -1141,12 +1141,7 @@ function createIslFile(originalFilePath, messages, language, innoSetup) { if (line.length > 0) { let firstChar = line.charAt(0); if (firstChar === '[' || firstChar === ';') { - if (line === '; *** Inno Setup version 5.5.3+ English messages ***') { - content.push(`; *** Inno Setup version 5.5.3+ ${innoSetup.defaultInfo.name} messages ***`); - } - else { - content.push(line); - } + content.push(line); } else { let sections = line.split('='); diff --git a/build/lib/i18n.ts b/build/lib/i18n.ts index 7e386a7fd6f..89131b0129f 100644 --- a/build/lib/i18n.ts +++ b/build/lib/i18n.ts @@ -1308,11 +1308,7 @@ function createIslFile(originalFilePath: string, messages: Map, language if (line.length > 0) { let firstChar = line.charAt(0); if (firstChar === '[' || firstChar === ';') { - if (line === '; *** Inno Setup version 5.5.3+ English messages ***') { - content.push(`; *** Inno Setup version 5.5.3+ ${innoSetup.defaultInfo!.name} messages ***`); - } else { - content.push(line); - } + content.push(line); } else { let sections: string[] = line.split('='); let key = sections[0]; -- GitLab