VirtualBox

Changeset 91381 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Sep 27, 2021 9:40:08 AM (3 years ago)
Author:
vboxsync
Message:

Main/nls: The VBOX_APPROVED_MAIN_LANGUAGES list should be exactly the languages we've got .qm/.ts files. That will make makefiles a lot simpler and a little faster to load. bugref:1909

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/Makefile.kmk

    r91326 r91381  
    14241424# NLS stuff.
    14251425#
    1426 
    1427 #
    1428 # Include the language lists.
    1429 #
    14301426include $(PATH_SUB_CURRENT)/nls/ApprovedLanguages.kmk
    14311427
    14321428PROGRAMS += VirtualBoxAPI
    14331429VirtualBoxAPI_TEMPLATE = VBoxNLS
    1434 VirtualBoxAPI_QT_TRANSLATIONS_INST = $(INST_BIN)nls/
    1435 VirtualBoxAPI_QT_TRANSLATIONS = \
    1436         $(filter \
    1437                 $(addsuffix .ts, $(addprefix $(VBOX_PATH_MAIN_SRC)/nls/VirtualBoxAPI_, \
    1438                         $(VBOX_APPROVED_MAIN_LANGUAGES))), \
    1439                 $(wildcard $(VBOX_PATH_MAIN_SRC)/nls/*.ts))
    1440 
     1430VirtualBoxAPI_QT_TRANSLATIONS = $(addsuffix .ts,$(addprefix $(VBOX_PATH_MAIN_SRC)/nls/VirtualBoxAPI_,$(VBOX_APPROVED_MAIN_LANGUAGES)))
    14411431VirtualBoxAPI_VBOX_ALL_NLS_SOURCES = $(wildcard \
    14421432        $(VBOX_PATH_MAIN_SRC)/include/*.h\
  • trunk/src/VBox/Main/nls/ApprovedLanguages.kmk

    r91312 r91381  
    11# $Id$
    22## @file
    3 # ApprovedLanguages.kmk - List of approved GUI translations
     3# ApprovedLanguages.kmk - List of approved Main API translations.
    44#
    55
     
    1616#
    1717
    18 # The list of approved GUI languages.
    19 VBOX_APPROVED_MAIN_LANGUAGES := \
    20         bg    \
    21         ca    \
    22         cs    \
    23         da    \
    24         de    \
    25         el    \
    26         en    \
    27         es    \
    28         eu    \
    29         fa    \
    30         fr    \
    31         hr_HR \
    32         hu    \
    33         id    \
    34         it    \
    35         ja    \
    36         ko    \
    37         lt    \
    38         nl    \
    39         pl    \
    40         pt_BR \
    41         ru    \
    42         sl    \
    43         th    \
    44         tr    \
    45         uk    \
    46         zh_CN \
    47         zh_TW
     18# The list of approved Main API languages.
     19VBOX_APPROVED_MAIN_LANGUAGES :=
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