mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-22 17:18:39 +00:00
Move unsupported language list into a separate file (#13865)
This commit is contained in:
parent
8db4381304
commit
c60d971bc4
4 changed files with 18 additions and 12 deletions
|
@ -660,17 +660,9 @@ if(BUILD_SERVER)
|
|||
endif()
|
||||
endif(BUILD_SERVER)
|
||||
|
||||
# Blacklisted locales that don't work.
|
||||
# see issue #4638
|
||||
set(GETTEXT_BLACKLISTED_LOCALES
|
||||
ar
|
||||
dv
|
||||
he
|
||||
hi
|
||||
kn
|
||||
ms_Arab
|
||||
th
|
||||
)
|
||||
# See issue #4638
|
||||
FILE(READ "${CMAKE_SOURCE_DIR}/src/unsupported_language_list.txt" GETTEXT_BLACKLISTED_LOCALES)
|
||||
STRING(REGEX REPLACE "\n" ";" GETTEXT_BLACKLISTED_LOCALES "${GETTEXT_BLACKLISTED_LOCALES}")
|
||||
|
||||
option(APPLY_LOCALE_BLACKLIST "Use a blacklist to avoid known broken locales" TRUE)
|
||||
|
||||
|
|
8
src/unsupported_language_list.txt
Normal file
8
src/unsupported_language_list.txt
Normal file
|
@ -0,0 +1,8 @@
|
|||
List of languages that are not supported. See issue #4638.
|
||||
ar
|
||||
dv
|
||||
he
|
||||
hi
|
||||
kn
|
||||
ms_Arab
|
||||
th
|
Loading…
Add table
Add a link
Reference in a new issue