CMake: support Esperanto
Since the minimum Qt version is 5.15.0, we always have a version that can support Esperanto in QLocale, so drop the checks.
This commit is contained in:
parent
f5891e1c8c
commit
4935da8fe4
@ -139,8 +139,6 @@ set(CALAMARES_DESCRIPTION_SUMMARY "The distribution-independent installer framew
|
|||||||
# (sr@latin in particular) or location (ca@valencia) need special
|
# (sr@latin in particular) or location (ca@valencia) need special
|
||||||
# handling in libcalamares/locale/Translation.h .
|
# handling in libcalamares/locale/Translation.h .
|
||||||
#
|
#
|
||||||
# NOTE: move eo (Esperanto) to _ok once Qt can actually create a
|
|
||||||
# locale for it. (Qt 5.12.2 can, see Translation Status section).
|
|
||||||
# NOTE: move ie (Interlingue) to _ok once Qt supports it.
|
# NOTE: move ie (Interlingue) to _ok once Qt supports it.
|
||||||
# NOTE: update these lines by running `txstats.py`, or for full automation
|
# NOTE: update these lines by running `txstats.py`, or for full automation
|
||||||
# `txstats.py -e`. See also
|
# `txstats.py -e`. See also
|
||||||
@ -411,19 +409,10 @@ set(Calamares_WITH_QML ${WITH_QML})
|
|||||||
|
|
||||||
### Transifex Translation status
|
### Transifex Translation status
|
||||||
#
|
#
|
||||||
# Construct language lists for use. This massages the language lists
|
# Construct language lists for use. This massages the language lists if
|
||||||
# for use with older Qt (which does not support Esperanto) and checks
|
# needed and checks for some obvious errors. The actual work of
|
||||||
# for some obvious error. The actual work of compiling translations
|
# compiling translations is done in the lang/ directory.
|
||||||
# is done in the lang/ directory.
|
|
||||||
#
|
#
|
||||||
if(Qt5_VERSION VERSION_GREATER 5.12.1)
|
|
||||||
# At least Qt 5.12.2 seems to support Esperanto in QLocale
|
|
||||||
if("eo" IN_LIST _tx_incomplete)
|
|
||||||
message(STATUS "Esperanto support since Qt 5.12.2, enabling Esperanto locale")
|
|
||||||
list(REMOVE_ITEM _tx_incomplete "eo")
|
|
||||||
list(APPEND _tx_ok "eo")
|
|
||||||
endif()
|
|
||||||
endif()
|
|
||||||
|
|
||||||
set(curr_tx ${_tx_complete} ${_tx_good} ${_tx_ok} ${_tx_incomplete})
|
set(curr_tx ${_tx_complete} ${_tx_good} ${_tx_ok} ${_tx_incomplete})
|
||||||
set(tx_errors OFF)
|
set(tx_errors OFF)
|
||||||
|
Loading…
Reference in New Issue
Block a user