Installer: Refactor custom languages

This commit is contained in:
Nodir Temirkhodjaev 2023-05-09 13:26:06 +03:00
parent 2435a09e87
commit 5e885e95d8
17 changed files with 182 additions and 127 deletions

View File

@ -10,6 +10,7 @@
#define APP_EXE StringChange("{app}\%exe%", "%exe%", APP_EXE_NAME) #define APP_EXE StringChange("{app}\%exe%", "%exe%", APP_EXE_NAME)
#define LANG_PATH AddBackslash(SourcePath) + "languages" #define LANG_PATH AddBackslash(SourcePath) + "languages"
#define LANG_CUSTOM LANG_PATH + "\custom"
[Setup] [Setup]
; NOTE: The value of AppId uniquely identifies this application. ; NOTE: The value of AppId uniquely identifies this application.
@ -43,16 +44,16 @@ Compression=lzma2/ultra
SolidCompression=yes SolidCompression=yes
[Languages] [Languages]
Name: "en"; MessagesFile: "compiler:Default.isl,{#LANG_PATH}\Default.isl" Name: "en"; MessagesFile: "compiler:Default.isl,{#LANG_CUSTOM}\Default.isl"
Name: "de"; MessagesFile: "compiler:Languages\German.isl,{#LANG_PATH}\German.isl" Name: "de"; MessagesFile: "compiler:Languages\German.isl,{#LANG_CUSTOM}\German.isl"
Name: "fr"; MessagesFile: "compiler:Languages\French.isl,{#LANG_PATH}\French.isl" Name: "fr"; MessagesFile: "compiler:Languages\French.isl,{#LANG_CUSTOM}\French.isl"
Name: "it"; MessagesFile: "compiler:Languages\Italian.isl,{#LANG_PATH}\Italian.isl" Name: "it"; MessagesFile: "compiler:Languages\Italian.isl,{#LANG_CUSTOM}\Italian.isl"
Name: "ko"; MessagesFile: "compiler:Languages\Korean.isl,{#LANG_PATH}\Korean.isl" Name: "ko"; MessagesFile: "compiler:Languages\Korean.isl,{#LANG_CUSTOM}\Korean.isl"
Name: "pt"; MessagesFile: "compiler:Languages\Portuguese.isl,{#LANG_PATH}\Portuguese.isl" Name: "pt"; MessagesFile: "compiler:Languages\Portuguese.isl,{#LANG_CUSTOM}\Portuguese.isl"
Name: "pt_BR"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl,{#LANG_PATH}\BrazilianPortuguese.isl" Name: "pt_BR"; MessagesFile: "compiler:Languages\BrazilianPortuguese.isl,{#LANG_CUSTOM}\BrazilianPortuguese.isl"
Name: "ru"; MessagesFile: "compiler:Languages\Russian.isl,{#LANG_PATH}\Russian.isl" Name: "ru"; MessagesFile: "compiler:Languages\Russian.isl,{#LANG_CUSTOM}\Russian.isl"
Name: "sl"; MessagesFile: "compiler:Languages\Slovenian.isl,{#LANG_PATH}\Slovenian.isl" Name: "sl"; MessagesFile: "compiler:Languages\Slovenian.isl,{#LANG_CUSTOM}\Slovenian.isl"
Name: "zh_CN"; MessagesFile: "{#LANG_PATH}\ChineseSimplified.isl" Name: "zh_CN"; MessagesFile: "{#LANG_PATH}\ChineseSimplified.isl,{#LANG_CUSTOM}\ChineseSimplified.isl"
[Tasks] [Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}" Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"

View File

@ -155,7 +155,7 @@ DiskSpaceMBLabel=
CannotInstallToNetworkDrive=安装程序无法安装到一个网络驱动器。 CannotInstallToNetworkDrive=安装程序无法安装到一个网络驱动器。
CannotInstallToUNCPath=安装程序无法安装到一个UNC路径。 CannotInstallToUNCPath=安装程序无法安装到一个UNC路径。
InvalidPath=您必须输入一个带驱动器卷标的完整路径,例如:%n%nC:\APP%n%n或下列形式的UNC路径%n%n\\server\share InvalidPath=您必须输入一个带驱动器卷标的完整路径,例如:%n%nC:\APP%n%n或下列形式的UNC路径%n%n\\server\share
InvalidDrive=您选定的驱动器或 UNC 共享不存在或不能访问。请选择其它位置。 InvalidDrive=您选定的驱动器或 UNC 共存在或不能访问。请选择其它位置。
DiskSpaceWarningTitle=磁盘空间不足 DiskSpaceWarningTitle=磁盘空间不足
DiskSpaceWarning=安装程序至少需要 %1 KB 的可用空间才能安装,但选定驱动器只有 %2 KB 的可用空间。%n%n您一定要继续吗 DiskSpaceWarning=安装程序至少需要 %1 KB 的可用空间才能安装,但选定驱动器只有 %2 KB 的可用空间。%n%n您一定要继续吗
DirNameTooLong=文件夹名称或路径太长。 DirNameTooLong=文件夹名称或路径太长。
@ -344,14 +344,3 @@ AssocingFileExtension=
AutoStartProgramGroupDescription=启动组: AutoStartProgramGroupDescription=启动组:
AutoStartProgram=自动启动 %1 AutoStartProgram=自动启动 %1
AddonHostProgramNotFound=%1无法找到您所选择的文件夹。%n%n您想要继续吗 AddonHostProgramNotFound=%1无法找到您所选择的文件夹。%n%n您想要继续吗
; *** Fort Firewall messages
WindowsExplorerIntegration=集成到 Windows 资源管理器
WindowsService=添加Windows服务
Portable=便携
UninstallPassword=请输入卸载密码
UninstallPasswordOK=确定
UninstallPasswordCancel=取消
WrongPassword=密码错误
NotCompatibleWithHVCI=这个程序与HVCI核心隔离不兼容。
IsDeleteData=您希望删除配置文件和数据文件吗?

View File

@ -1,11 +0,0 @@
[LangOptions]
LanguageName=Fran<00E7>ais
LanguageID=$040C
LanguageCodePage=1252
[CustomMessages]
; *** Fort Firewall messages
WindowsExplorerIntegration=Windows Explorer integration
WindowsService=Windows Service
Portable=Portable

View File

@ -1,11 +0,0 @@
[LangOptions]
LanguageName=Deutsch
LanguageID=$0407
LanguageCodePage=1252
[CustomMessages]
; *** Fort Firewall messages
WindowsExplorerIntegration=Windows Explorer integration
WindowsService=Windows Service
Portable=Portable

View File

@ -1,11 +0,0 @@
[LangOptions]
LanguageName=Italiano
LanguageID=$0410
LanguageCodePage=1252
[CustomMessages]
; *** Fort Firewall messages
WindowsExplorerIntegration=Windows Explorer integration
WindowsService=Windows Service
Portable=Portable

View File

@ -1,11 +0,0 @@
[LangOptions]
LanguageName=<D55C><AD6D><C5B4>
LanguageID=$0412
LanguageCodePage=949
[CustomMessages]
; *** Fort Firewall messages
WindowsExplorerIntegration=Windows Explorer integration
WindowsService=Windows Service
Portable=Portable

View File

@ -1,11 +0,0 @@
[LangOptions]
LanguageName=Slovenski
LanguageID=$0424
LanguageCodePage=1250
[CustomMessages]
; *** Fort Firewall messages
WindowsExplorerIntegration=Windows Explorer integration
WindowsService=Windows Service
Portable=Portable

View File

@ -9,3 +9,9 @@ LanguageCodePage=1252
WindowsExplorerIntegration=Windows Explorer integration WindowsExplorerIntegration=Windows Explorer integration
WindowsService=Windows Service WindowsService=Windows Service
Portable=Portable Portable=Portable
UninstallPassword=Uninstall Password
UninstallPasswordOK=OK
UninstallPasswordCancel=Cancel
WrongPassword=Wrong password
NotCompatibleWithHVCI=This program is not compatible with HVCI (Core Isolation).
IsDeleteData=Delete config & data files?

View File

@ -0,0 +1,17 @@
[LangOptions]
LanguageName=<7B80><4F53><4E2D><6587>
LanguageID=$0804
LanguageCodePage=936
[CustomMessages]
; *** Fort Firewall messages
WindowsExplorerIntegration=集成到 Windows 资源管理器
WindowsService=添加Windows服务
Portable=便携
UninstallPassword=请输入卸载密码
UninstallPasswordOK=确定
UninstallPasswordCancel=取消
WrongPassword=密码错误
NotCompatibleWithHVCI=这个程序与HVCI核心隔离不兼容。
IsDeleteData=您希望删除配置文件和数据文件吗?

View File

@ -0,0 +1,17 @@
[LangOptions]
LanguageName=Fran<00E7>ais
LanguageID=$040C
LanguageCodePage=1252
[CustomMessages]
; *** Fort Firewall messages
WindowsExplorerIntegration=Windows Explorer integration
WindowsService=Windows Service
Portable=Portable
UninstallPassword=Uninstall Password
UninstallPasswordOK=OK
UninstallPasswordCancel=Cancel
WrongPassword=Wrong password
NotCompatibleWithHVCI=This program is not compatible with HVCI (Core Isolation).
IsDeleteData=Delete config & data files?

View File

@ -0,0 +1,17 @@
[LangOptions]
LanguageName=Deutsch
LanguageID=$0407
LanguageCodePage=1252
[CustomMessages]
; *** Fort Firewall messages
WindowsExplorerIntegration=Windows Explorer integration
WindowsService=Windows Service
Portable=Portable
UninstallPassword=Uninstall Password
UninstallPasswordOK=OK
UninstallPasswordCancel=Cancel
WrongPassword=Wrong password
NotCompatibleWithHVCI=This program is not compatible with HVCI (Core Isolation).
IsDeleteData=Delete config & data files?

View File

@ -0,0 +1,17 @@
[LangOptions]
LanguageName=Italiano
LanguageID=$0410
LanguageCodePage=1252
[CustomMessages]
; *** Fort Firewall messages
WindowsExplorerIntegration=Windows Explorer integration
WindowsService=Windows Service
Portable=Portable
UninstallPassword=Uninstall Password
UninstallPasswordOK=OK
UninstallPasswordCancel=Cancel
WrongPassword=Wrong password
NotCompatibleWithHVCI=This program is not compatible with HVCI (Core Isolation).
IsDeleteData=Delete config & data files?

View File

@ -0,0 +1,17 @@
[LangOptions]
LanguageName=<D55C><AD6D><C5B4>
LanguageID=$0412
LanguageCodePage=949
[CustomMessages]
; *** Fort Firewall messages
WindowsExplorerIntegration=Windows Explorer integration
WindowsService=Windows Service
Portable=Portable
UninstallPassword=Uninstall Password
UninstallPasswordOK=OK
UninstallPasswordCancel=Cancel
WrongPassword=Wrong password
NotCompatibleWithHVCI=This program is not compatible with HVCI (Core Isolation).
IsDeleteData=Delete config & data files?

View File

@ -9,3 +9,9 @@ LanguageCodePage=1252
WindowsExplorerIntegration=Windows Explorer integration WindowsExplorerIntegration=Windows Explorer integration
WindowsService=Windows Service WindowsService=Windows Service
Portable=Portable Portable=Portable
UninstallPassword=Uninstall Password
UninstallPasswordOK=OK
UninstallPasswordCancel=Cancel
WrongPassword=Wrong password
NotCompatibleWithHVCI=This program is not compatible with HVCI (Core Isolation).
IsDeleteData=Delete config & data files?

View File

@ -9,3 +9,9 @@ LanguageCodePage=1251
WindowsExplorerIntegration=Èíòåãðàöèÿ ñ Windows Explorer WindowsExplorerIntegration=Èíòåãðàöèÿ ñ Windows Explorer
WindowsService=Windows Service WindowsService=Windows Service
Portable=Portable Portable=Portable
UninstallPassword=Uninstall Password
UninstallPasswordOK=OK
UninstallPasswordCancel=Îòìåíà
WrongPassword=Wrong password
NotCompatibleWithHVCI=Ýòà ïðîãðàììà íåñîâìåñòèìà ñ HVCI (Core Isolation).
IsDeleteData=Óäàëèòü íàñòðîéêè è ôàéëû äàííûõ?

View File

@ -0,0 +1,17 @@
[LangOptions]
LanguageName=Slovenski
LanguageID=$0424
LanguageCodePage=1250
[CustomMessages]
; *** Fort Firewall messages
WindowsExplorerIntegration=Windows Explorer integration
WindowsService=Windows Service
Portable=Portable
UninstallPassword=Uninstall Password
UninstallPasswordOK=OK
UninstallPasswordCancel=Cancel
WrongPassword=Wrong password
NotCompatibleWithHVCI=This program is not compatible with HVCI (Core Isolation).
IsDeleteData=Delete config & data files?