mirror of
https://github.com/metabrainz/musicbrainz-docker.git
synced 2025-03-14 10:15:58 +00:00
MBVM-98: Fix enabling mirror website translations
Also add notes to hopefully keep language lists in sync. It follows similar changes in musicbrainz-server for MBS-13584.
This commit is contained in:
@ -430,6 +430,8 @@ sub DEVELOPMENT_SERVER { $ENV{MUSICBRAINZ_DEVELOPMENT_SERVER} == 1 ? 1 : 0 }
|
||||
# Please activate the officially approved languages here. Not every .po
|
||||
# file is active because we might have fully translated languages which
|
||||
# are not yet properly supported, like right-to-left languages
|
||||
#
|
||||
# The corresponding language packs must be installed; See NOTE-LANGUAGES-1
|
||||
sub MB_LANGUAGES { shift->DEVELOPMENT_SERVER()
|
||||
? qw( de el es et he fi fr it ja nl sq en )
|
||||
: qw( de fr it nl en )
|
||||
|
@ -37,6 +37,7 @@ RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.asc] https://deb.nodesourc
|
||||
git \
|
||||
# Needed to generate SVG from database schema DOT diagrams
|
||||
graphviz \
|
||||
# NOTE-LANGUAGES-1: These language packs must match the definition of MB_LANGUAGES in DBDefs.pm
|
||||
language-pack-de \
|
||||
language-pack-el \
|
||||
language-pack-es \
|
||||
|
@ -417,6 +417,8 @@ sub DEVELOPMENT_SERVER { $ENV{MUSICBRAINZ_DEVELOPMENT_SERVER} == 1 ? 1 : 0 }
|
||||
# Please activate the officially approved languages here. Not every .po
|
||||
# file is active because we might have fully translated languages which
|
||||
# are not yet properly supported, like right-to-left languages
|
||||
#
|
||||
# The corresponding language packs must be installed; See NOTE-LANGUAGES-1
|
||||
sub MB_LANGUAGES { shift->DEVELOPMENT_SERVER()
|
||||
? qw( de el es et fi fr he it ja nl sq en )
|
||||
: qw( de fr it nl en )
|
||||
|
@ -35,6 +35,11 @@ RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.asc] https://deb.nodesourc
|
||||
gettext \
|
||||
g++ \
|
||||
git \
|
||||
# NOTE-LANGUAGES-1: These language packs must match the definition of MB_LANGUAGES in DBDefs.pm
|
||||
language-pack-de \
|
||||
language-pack-fr \
|
||||
language-pack-it \
|
||||
language-pack-nl \
|
||||
# Needed for Cache in DB_File
|
||||
libdb-dev \
|
||||
libexpat1-dev \
|
||||
|
Reference in New Issue
Block a user