build: remove unused language files

i18n in the Windows installer was disabled in 2016 for Reasons and never
re-enabled.

There have been no complaints about lack of localization in the
intervening years, suggesting there isn't a huge demand for it either.

Let's remove the files because it was confusing at least one potential
contributor.

Refs: https://github.com/nodejs/node/issues/45090
PR-URL: https://github.com/nodejs/node/pull/45138
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
pull/45211/head
Ben Noordhuis 2022-10-24 00:33:16 +02:00 committed by Yagiz Nizipli
parent 71bdecb908
commit 9c13e05a41
No known key found for this signature in database
GPG Key ID: BF30FCDE21EAFABC
4 changed files with 0 additions and 121 deletions

View File

@ -1,35 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<WixLocalization Culture="de-de" xmlns="http://schemas.microsoft.com/wix/2006/localization">
<!-- See https://msdn.microsoft.com/en-us/goglobal/bb964664.aspx -->
<String Id="LocaleId">1031</String>
<String Id="WelcomeDlgDescription">Dieser Installationsassistent wird [ProductName] auf Ihrem Computer installieren.</String>
<String Id="InstallDirDlgDescription">Wählen Sie einen anderen Installationsort oder klicken Sie auf Weiter zum installieren.</String>
<String Id="MajorUpgrade_DowngradeErrorMessage">Eine neuere Version von [ProductName] ist bereits installiert. Der Installationsassistent wird jetzt geschlossen.</String>
<!-- References like [ProductName] or $(var.ProductName) don't seem to work in Title attributes -->
<String Id="NodeRuntime_Title">Node.js-Laufzeitumgebung</String>
<String Id="NodeRuntime_Description">Installation der [ProductName]-Laufzeitumgebung (node.exe).</String>
<String Id="npm_Title">npm-Paketmanager</String>
<String Id="npm_Description">Installiert npm, den empfohlenen Paketmanager für [ProductName].</String>
<String Id="corepack_Title">corepack manager</String>
<String Id="corepack_Description">Install corepack, the universal package manager for [ProductName].</String>
<String Id="DocumentationShortcuts_Title">Link zur Online-Dokumentation</String>
<String Id="DocumentationShortcuts_Description">Fügt Startmenü-Einträge zur Online-Dokumentation von [ProductName] [FullVersion] und zur [ProductName]-Website hinzu.</String>
<String Id="EnvironmentPath_Title">Hinzufügen zu PATH</String>
<String Id="EnvironmentPath_Description">Fügt [ProductName], npm und globale durch npm installierte Module zur PATH-Umgebungsvariable hinzu.</String>
<String Id="EnvironmentPathNode_Title">Node.js und npm</String>
<String Id="EnvironmentPathNode_Description">Fügt [ProductName] und npm (falls installiert) zur PATH-Umgebungsvariable hinzu.</String>
<String Id="EnvironmentPathNpmModules_Title">npm-Module</String>
<String Id="EnvironmentPathNpmModules_Description">Fügt globale durch npm installierte Module zur PATH-Umgebungsvariable hinzu. Diese Option funktioniert nur für den aktuellen Benutzer, andere Benutzer müssen ihre PATH-Umgebungsvariable selbst manuell aktualisieren.</String>
<!-- References like [ProductName] are not resolved for Property tags -->
<String Id="WIXUI_EXITDIALOGOPTIONALTEXT">Node.js wurde erfolgreich installiert.</String>
</WixLocalization>

View File

@ -1,35 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<WixLocalization Culture="it-it" xmlns="http://schemas.microsoft.com/wix/2006/localization">
<!-- See https://msdn.microsoft.com/en-us/goglobal/bb964664.aspx -->
<String Id="LocaleId">1040</String>
<String Id="WelcomeDlgDescription">Installazione di [ProductName] sul tuo computer.</String>
<String Id="InstallDirDlgDescription">Scegliere una cartella di destinazione o premere Avanti per installare nella cartella predefinita.</String>
<String Id="MajorUpgrade_DowngradeErrorMessage">Una versione successiva di [ProductName] è già installata. Il setup terminerà ora.</String>
<!-- References like [ProductName] or $(var.ProductName) don't seem to work in Title attributes -->
<String Id="NodeRuntime_Title">Node.js runtime</String>
<String Id="NodeRuntime_Description">Installa [ProductName] runtime (node.exe).</String>
<String Id="npm_Title">npm package manager</String>
<String Id="npm_Description">Installa npm, il package manager raccomandato per [ProductName].</String>
<String Id="corepack_Title">corepack manager</String>
<String Id="corepack_Description">Installa corepack, il package manager universale per [ProductName].</String>
<String Id="DocumentationShortcuts_Title">Collegamenti alla documentazione online</String>
<String Id="DocumentationShortcuts_Description">Aggiunge i collegamenti al menu start alla documentazione online per [ProductName] [FullVersion] e per il sito web di [ProductName].</String>
<String Id="EnvironmentPath_Title">Aggiunta al PATH</String>
<String Id="EnvironmentPath_Description">Aggiunge [ProductName], npm, e i moduli installati globalmente da npm alla variable di ambiente PATH.</String>
<String Id="EnvironmentPathNode_Title">Node.js e npm</String>
<String Id="EnvironmentPathNode_Description">Aggiunge [ProductName] e npm (se installato) alla variabile di ambiente PATH.</String>
<String Id="EnvironmentPathNpmModules_Title">Moduli npm</String>
<String Id="EnvironmentPathNpmModules_Description">Aggiunge i moduli installati globalmente da npm alla variabile di ambiente PATH. Questa opzione avrà effetto solo per l'utente corrente, gli altri utenti dovranno aggiornare la loro variabile PATH manualmente.</String>
<!-- References like [ProductName] are not resolved for Property tags -->
<String Id="WIXUI_EXITDIALOGOPTIONALTEXT">Node.js è stato installato correttamente.</String>
</WixLocalization>

View File

@ -1,35 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<WixLocalization Culture="zh-cn" xmlns="http://schemas.microsoft.com/wix/2006/localization">
<!-- See https://msdn.microsoft.com/en-us/goglobal/bb964664.aspx -->
<String Id="LocaleId">2052</String>
<String Id="WelcomeDlgDescription">本安装向导将在您的计算机上安装 [ProductName]。</String>
<String Id="InstallDirDlgDescription">请选择一个自定义的安装位置,或单击下一步开始安装。</String>
<String Id="MajorUpgrade_DowngradeErrorMessage">已安装 [ProductName] 的一个更高版本。安装程序将立即退出。</String>
<!-- References like [ProductName] or $(var.ProductName) don't seem to work in Title attributes -->
<String Id="NodeRuntime_Title">Node.js 运行时</String>
<String Id="NodeRuntime_Description">安装核心 [ProductName] 运行时node.exe。</String>
<String Id="npm_Title">npm 包管理器</String>
<String Id="npm_Description">安装 npm [ProductName] 的推荐包管理器。</String>
<String Id="corepack_Title">corepack manager</String>
<String Id="corepack_Description">Install corepack, the universal package manager for [ProductName].</String>
<String Id="DocumentationShortcuts_Title">在线文档的快捷方式</String>
<String Id="DocumentationShortcuts_Description">在开始菜单内添加 [ProductName] [FullVersion] 的在线文档链接和 [ProductName] 的网站链接。</String>
<String Id="EnvironmentPath_Title">添加到 PATH 环境变量中</String>
<String Id="EnvironmentPath_Description">把 [ProductName], npm 和以全局方式安装的 npm 模块添加到 PATH 环境变量中。</String>
<String Id="EnvironmentPathNode_Title">Node.js 和 npm</String>
<String Id="EnvironmentPathNode_Description">把 [ProductName] 和 npm如果安装了添加到 PATH 环境变量中。</String>
<String Id="EnvironmentPathNpmModules_Title">npm 模块</String>
<String Id="EnvironmentPathNpmModules_Description">把以全局方式安装的 npm 模块添加到 PATH 环境变量中。此选项仅适用于当前用户;其他用户需要手动更新他们的 PATH 环境变量。</String>
<!-- References like [ProductName] are not resolved for Property tags -->
<String Id="WIXUI_EXITDIALOGOPTIONALTEXT">Node.js 已成功安装。</String>
</WixLocalization>

View File

@ -67,11 +67,6 @@
</WixExtension>
</ItemGroup>
<ItemGroup>
<!--
<EmbeddedResource Include="i18n\de-de.wxl" />
<EmbeddedResource Include="i18n\it-it.wxl" />
<EmbeddedResource Include="i18n\zh-cn.wxl" />
-->
<EmbeddedResource Include="i18n\en-us.wxl" />
</ItemGroup>
<ItemGroup>
@ -94,16 +89,5 @@
<PropertyGroup>
<PostBuildEvent>move "!(TargetPath)" "$(TargetDir)\$(TargetFileName)"
move "!(TargetPdbPath)" "$(TargetDir)\$(TargetPdbName)"</PostBuildEvent>
<!--
<PostBuildEvent>
"$(WixToolPath)\torch.exe" -t language "$(TargetDir)en-US\$(TargetFileName)" "$(TargetDir)de-de\$(TargetFileName)" -out "$(TargetDir)transforms\de-de.mst"
"$(WixToolPath)\torch.exe" -t language "$(TargetDir)en-US\$(TargetFileName)" "$(TargetDir)it-it\$(TargetFileName)" -out "$(TargetDir)transforms\it-it.mst"
"$(WixToolPath)\torch.exe" -t language "$(TargetDir)en-US\$(TargetFileName)" "$(TargetDir)zh-cn\$(TargetFileName)" -out "$(TargetDir)transforms\zh-cn.mst"
cscript.exe "$(WindowsSDK80Path)bin\$(Platform)\WiSubStg.vbs" "$(TargetDir)en-US\$(TargetFileName)" "$(TargetDir)transforms\de-de.mst" 1031
cscript.exe "$(WindowsSDK80Path)bin\$(Platform)\WiSubStg.vbs" "$(TargetDir)en-US\$(TargetFileName)" "$(TargetDir)transforms\it-it.mst" 1040
cscript.exe "$(WindowsSDK80Path)bin\$(Platform)\WiSubStg.vbs" "$(TargetDir)en-US\$(TargetFileName)" "$(TargetDir)transforms\zh-cn.mst" 2052
cscript.exe "$(WindowsSDK80Path)bin\$(Platform)\WiLangId.vbs" "$(TargetDir)en-US\$(TargetFileName)" Package 1031,1033,1040,2052
</PostBuildEvent>
-->
</PropertyGroup>
</Project>