Fix usage of bibliographic language codes

This commit is contained in:
Martchus 2021-01-20 22:39:42 +01:00
parent 2d67ddeeea
commit aed719bacf
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ foreach (LANGUAGE_INDEX RANGE "${LANGUAGE_COUNT}")
string(JSON LANGUAGE_ENTRY GET "${LANGUAGE_JSON}" "639-2" "${LANGUAGE_INDEX}")
string(JSON LANGUAGE_ALPHA_2 ERROR_VARIABLE ERROR GET "${LANGUAGE_ENTRY}" "alpha_2")
string(JSON LANGUAGE_ALPHA_3 ERROR_VARIABLE ERROR GET "${LANGUAGE_ENTRY}" "alpha_3")
string(JSON LANGUAGE_BIBLIOGRAPHIC ERROR_VARIABLE ERROR GET "${LANGUAGE_ENTRY}" "bibliographic" "name")
string(JSON LANGUAGE_BIBLIOGRAPHIC ERROR_VARIABLE ERROR GET "${LANGUAGE_ENTRY}" "bibliographic")
string(JSON LANGUAGE_NAME ERROR_VARIABLE ERROR GET "${LANGUAGE_ENTRY}" "name")
if (NOT LANGUAGE_BIBLIOGRAPHIC)
set(LANGUAGE_BIBLIOGRAPHIC "${LANGUAGE_ALPHA_3}")