build: Explain why we bundle GTK locales

This commit is contained in:
Bruno 2024-12-19 13:54:29 -03:00
parent 2952039ea7
commit 5ea569e208
No known key found for this signature in database
2 changed files with 2 additions and 0 deletions

View File

@ -248,6 +248,7 @@ lang_array=($(echo $(ls po/*.po |
tr '\n\r' ' '))
for lang in "${lang_array[@]}"; do
bund_usr "$GIMP_PREFIX" share/locale/$lang/LC_MESSAGES
# Needed for eventually used widgets, GTK inspector etc
bund_usr "$UNIX_PREFIX" share/locale/$lang/LC_MESSAGES/gtk3*.mo
# For language list in text tool options
bund_usr "$UNIX_PREFIX" share/locale/$lang/LC_MESSAGES/iso_639*3.mo

View File

@ -161,6 +161,7 @@ lang_array=($(echo $(ls $GIMP_SOURCE/po/*.po |
for lang in "${lang_array[@]}"; do
bundle "$GIMP_PREFIX" share/locale/$lang/LC_MESSAGES/*.mo
if [ -d "$MSYS_PREFIX/share/locale/$lang/LC_MESSAGES/" ]; then
# Needed for eventually used widgets, GTK inspector etc
bundle "$MSYS_PREFIX" share/locale/$lang/LC_MESSAGES/gtk*.mo
# For language list in text tool options
bundle "$MSYS_PREFIX" share/locale/$lang/LC_MESSAGES/iso_639_3.mo