VirtualBox

Changeset 43863 in vbox for trunk/src


Ignore:
Timestamp:
Nov 13, 2012 2:01:19 PM (12 years ago)
Author:
vboxsync
Message:

Windows host installer: Renamed Languages directory to NLS, integrated German, French, Italian and Traditional Chinese (Taiwan); fixed corrupted + wrong codepage Traditional Chinese (Taiwan) file, fixed fr_FR typo.

Location:
trunk/src/VBox/Installer/win
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/win/Makefile.kmk

    r42321 r43863  
    4949# Globals and targets.
    5050#
    51 VBOX_INSTALLER_LANGUAGES  = en_US
     51VBOX_INSTALLER_LANGUAGES  = de_DE en_US fr_FR it_IT zh_TW
    5252VBOX_INSTALLER_LANGUAGES += $(VBOX_INSTALLER_ADD_LANGUAGES)
     53
     54#
     55# We don't have the license text in another language than English yet,
     56# so just define the branding targets to use the English one for now.
     57#
     58$(foreach lang,$(VBOX_INSTALLER_LANGUAGES), \
     59        $(eval VBOX_BRAND_$(lang)_LICENSE_RTF := $(VBOX_BRAND_LICENSE_RTF)) \
     60        $(eval VBOX_BRAND_$(lang)_LANGUAGE_CODEPAGE := 1252))
     61
     62# Some languages need another codepage than 1252. Override them here.
     63VBOX_BRAND_zh_TW_LANGUAGE_CODEPAGE := 950
    5364
    5465VBOX_PATH_WIN_INST_SRC := $(PATH_SUB_CURRENT)
     
    92103BLDDIRS += \
    93104        $(VBOX_WIN_INST_OUT_DIR) \
    94         $(VBOX_WIN_INST_OUT_DIR)/Languages/
     105        $(VBOX_WIN_INST_OUT_DIR)/NLS/
    95106
    96107OTHER_CLEAN += \
     
    101112        $(VBOX_WIN_INST_OUT_DIR)/VBoxKey.wxi \
    102113        $(foreach lang,$(VBOX_INSTALLER_LANGUAGES), \
    103                 $(VBOX_WIN_INST_OUT_DIR)/Languages/Language_$(lang).wxl \
    104                 $(VBOX_WIN_INST_OUT_DIR)/Languages/License_$(lang).wxl \
    105                 $(VBOX_WIN_INST_OUT_DIR)/Languages/$(lang).mst \
     114                $(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl \
     115                $(VBOX_WIN_INST_OUT_DIR)/NLS/License_$(lang).wxl \
     116                $(VBOX_WIN_INST_OUT_DIR)/NLS/$(lang).mst \
    106117                $(VBOX_WIN_INST_OUT_DIR)/VirtualBox_$(lang).wixobj \
    107118                $(VBOX_WIN_INST_OUT_DIR)/$(PACKAGE_NAME_LANG)_$(lang).msi) \
     
    164175#
    165176define def_vbox_lang_xml
    166 $(VBOX_WIN_INST_OUT_DIR)/Languages/Language_$(lang).wxl: $(VBOX_PATH_WIN_INST_SRC)/Languages/$(lang).wxl | $$$$(dir $$$$@)
     177$(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl: $(VBOX_PATH_WIN_INST_SRC)/NLS/$(lang).wxl | $$$$(dir $$$$@)
    167178        $$(call MSG_GENERATE,,$$@,$$<)
    168179        $(QUIET)$(INSTALL) -m 0644 $$< $$@
     
    187198#
    188199define def_vbox_license_xml
    189 $(VBOX_WIN_INST_OUT_DIR)/Languages/License_$(lang).wxl: $(license_file) $(MAKEFILE_CURRENT) | $$$$(dir $$$$@)
     200$(VBOX_WIN_INST_OUT_DIR)/NLS/License_$(lang).wxl: $(license_file) $(MAKEFILE_CURRENT) | $$$$(dir $$$$@)
    190201        $$(call MSG_GENERATE,,$$@,$$<)
    191202        $(APPEND) -t $$@ '<?xml version="1.0" encoding="utf-8"?>'
    192         $(APPEND) $$@ '<WixLocalization xmlns="http://schemas.microsoft.com/wix/2006/localization" Codepage="1252" Culture="$(lang)">'
     203        $(APPEND) $$@ '<WixLocalization xmlns="http://schemas.microsoft.com/wix/2006/localization" Codepage="$(VBOX_BRAND_$(lang)_LANGUAGE_CODEPAGE)" Culture="$(lang)">'
    193204
    194205        $(REDIRECT) -a+to $$@ -- $(ECHO_EXT) -n '<String Id=\"LicenseText\">'
     
    286297$(VBOX_WIN_INST_OUT_DIR)/$(PACKAGE_NAME_LANG)_$(lang).msi: \
    287298                $(VBOX_WIN_INST_OUT_DIR)/VirtualBox_$(lang).wixobj \
    288                 $(VBOX_WIN_INST_OUT_DIR)/Languages/Language_$(lang).wxl \
    289                 $(VBOX_WIN_INST_OUT_DIR)/Languages/License_$(lang).wxl \
     299                $(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl \
     300                $(VBOX_WIN_INST_OUT_DIR)/NLS/License_$(lang).wxl \
    290301                $(PATH_STAGE_BIN)/VBoxInstallHelper.dll \
    291302                $(VBOX_SVN_REV_KMK) \
     
    295306        $(QUIET)$(RM) -f $$(wildcard $(VBOX_WIN_INST_OUT_DIR)/$(PACKAGE_BASE)-r*_$(lang).msi)
    296307        $(VBOX_PATH_WIX)/light.exe -nologo \
    297                 -loc $(VBOX_WIN_INST_OUT_DIR)/Languages/Language_$(lang).wxl \
    298                 -loc $(VBOX_WIN_INST_OUT_DIR)/Languages/License_$(lang).wxl \
     308                -loc $(VBOX_WIN_INST_OUT_DIR)/NLS/Language_$(lang).wxl \
     309                -loc $(VBOX_WIN_INST_OUT_DIR)/NLS/License_$(lang).wxl \
    299310                -ext $(VBOX_PATH_WIX)/WixUIExtension.dll \
    300311                -ext $(VBOX_PATH_WIX)/WixDifxAppExtension.dll \
     
    305316                        $(VBOX_PATH_WIX)/difxapp_x86.wixlib, \
    306317                        $(VBOX_PATH_WIX)/difxapp_x64.wixlib)
    307         $(RM) -f $(VBOX_WIN_INST_OUT_DIR)/Languages/$(lang).mst
     318        $(RM) -f $(VBOX_WIN_INST_OUT_DIR)/NLS/$(lang).mst
    308319        $(call VBOX_SIGN_FILE_FN,$$@,$(VBOX_PRODUCT) $(VBOX_VERSION_STRING)r$(VBOX_SVN_REV) ($(KBUILD_TARGET_ARCH)))
    309320endef
     
    517528#
    518529define def_vbox_create_mst
    519 .NOTPARALLEL: $(VBOX_WIN_INST_OUT_DIR)/Languages/$(lang).mst
    520 $(VBOX_WIN_INST_OUT_DIR)/Languages/$(lang).mst: \
     530.NOTPARALLEL: $(VBOX_WIN_INST_OUT_DIR)/NLS/$(lang).mst
     531$(VBOX_WIN_INST_OUT_DIR)/NLS/$(lang).mst: \
    521532                $(VBOX_WIN_INST_OUT_DIR)/$(PACKAGE_NAME_LANG)_en_US.msi \
    522533                $(VBOX_WIN_INST_OUT_DIR)/$(PACKAGE_NAME_LANG)_$(lang).msi \
     
    551562                $(VBOX_WIN_INST_OUT_DIR)/Shortcuts_StartMenu.wxi \
    552563                $(foreach lang,$(VBOX_INSTALLER_LANGUAGES), $(VBOX_WIN_INST_OUT_DIR)/$(PACKAGE_NAME_LANG)_$(lang).msi) \
    553                 $(foreach lang,$(VBOX_INSTALLER_ADD_LANGUAGES), $(VBOX_WIN_INST_OUT_DIR)/Languages/$(lang).mst) \
     564                $(foreach lang,$(VBOX_INSTALLER_ADD_LANGUAGES), $(VBOX_WIN_INST_OUT_DIR)/NLS/$(lang).mst) \
    554565                $(VBOX_SVN_REV_KMK) \
    555566                | $$(dir $$@)
  • trunk/src/VBox/Installer/win/NLS/fr_FR.wxl

    r40051 r43863  
    5959    <String Id="Only32Bit">Cette application ne marche que sur des systèmes Windows 32-bit. Veuillez installer la version 64-bit de [ProductName]!</String>
    6060    <String Id="Only64Bit">Cette application ne marche que sur des systèmes Windows 64-bit. Veuillez installer la version 32-bit de [ProductName]!</String>
    61     <String Id="InnotekFound">Vous avez une ancienne installation de Sun VirtualBox sur cette machine. Il vous faudra la désinstaller avant de pouvoir installer [ProductName].</String>
    6261    <String Id="InnotekFound">Vous avez une ancienne installation de innotek VirtualBox sur cette machine. Il vous faudra la désinstaller avant de pouvoir installer [ProductName].</String>
    6362
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette