@ -57,6 +57,37 @@ set( CALAMARES_VERSION_PATCH 0 )
set ( CALAMARES_VERSION_RC 0 )
set ( CALAMARES_VERSION_RC 0 )
# # # Transifex ( languages ) i n f o
#
# c o m p l e t e = 1 0 0 % t r a n s l a t e d ,
# g o o d = n e a r l y complete ( use own judgement, right now >= 75% )
# o k = incomplete ( more than 25% untranslated ) ,
# b a d = 0 % t r a n s l a t e d , p l a c e h o l d e r i n t x ; t h e s e a r e n o t i n c l u d e d .
#
# L a n g u a g e en ( source language ) i s a d d e d l a t e r . I t i s n ' t l i s t e d i n
# T r a n s i f e x e i t h e r . G e t t h e l i s t o f l a n g u a g e s a n d t h e i r s t a t u s
# f r o m h t t p s : / / t r a n s i f e x . c o m / c a l a m a r e s / c a l a m a r e s / .
#
# W h e n a d d i n g a n e w l a n g u a g e , t a k e c a r e t h a t i t i s p r o p e r l y l o a d e d
# b y t h e t r a n s l a t i o n f r a m e w o r k . L a n g u a g e s w i t h a l t e r n a t e s c r i p t s
# ( s r @ l a t i n i n p a r t i c u l a r ) m a y n e e d s p e c i a l h a n d l i n g i n C a l a m a r e s U t i l s . c p p .
#
# T O D O : d r o p t h e e s _ E S t r a n s l a t i o n f r o m T r a n s i f e x
# T O D O : m o v e eo ( Esperanto ) t o _ o k o n c e Q t c a n a c t u a l l y c r e a t e a
# l o c a l e f o r i t .
#
# N O T E : w h e n u p d a t i n g t h e l i s t f r o m T r a n s i f e x , c o p y t h e s e f o u r l i n e s
# a n d p r e f i x e a c h v a r i a b l e n a m e w i t h " p " , s o t h a t t h e a u t o m a t i c
# c h e c k s f o r n e w l a n g u a g e s a n d m i s s p e l l e d o n e s a r e done ( that is,
# c o p y t h e s e f o u r l i n e s t o f o u r b a c k u p l i n e s , a d d " p " , a n d t h e n u p d a t e
# t h e o r i g i n a l f o u r l i n e s w i t h t h e c u r r e n t t r a n s l a t i o n s ) .
set ( _tx_complete da pt_PT ro tr_TR zh_TW zh_CN pt_BR fr hr ca lt id cs_CZ )
set ( _tx_good sq es pl ja sk it_IT hu ru he de nl bg uk )
set ( _tx_ok ast is ar sv el es_MX gl en_GB th fi_FI hi eu sr nb
s l s r @ l a t i n m r e s _ P R k k k n e t b e )
set ( _tx_bad uz lo ur gu fr_CH fa eo )
# # # C M A K E S E T U P
# # # C M A K E S E T U P
#
#
set ( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMakeModules" )
set ( CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/CMakeModules" )
@ -211,33 +242,10 @@ endif()
# # # T r a n s i f e x T r a n s l a t i o n s t a t u s
# # # T r a n s i f e x T r a n s l a t i o n s t a t u s
#
#
# c o m p l e t e = 1 0 0 % t r a n s l a t e d ,
# C o n s t r u c t l a n g u a g e l i s t s f o r u s e . I f t h e r e a r e p _ t x * v a r i a b l e s ,
# g o o d = n e a r l y complete ( use own judgement, right now >= 75% )
# t h e n r u n a n e x t r a c m a k e - t i m e c h e c k f o r c o n s i s t e n c y o f t h e o l d
# o k = incomplete ( more than 25% untranslated ) ,
# ( p _ t x * ) a n d new ( _tx* ) l i s t s .
# b a d = 0 % t r a n s l a t e d , p l a c e h o l d e r i n t x ; t h e s e a r e n o t i n c l u d e d .
#
# L a n g u a g e en ( source language ) i s a d d e d l a t e r . I t i s n ' t l i s t e d i n
# T r a n s i f e x e i t h e r . G e t t h e l i s t o f l a n g u a g e s a n d t h e i r s t a t u s
# f r o m h t t p s : / / t r a n s i f e x . c o m / c a l a m a r e s / c a l a m a r e s / .
#
# W h e n a d d i n g a n e w l a n g u a g e , t a k e c a r e t h a t i t i s p r o p e r l y l o a d e d
# b y t h e t r a n s l a t i o n f r a m e w o r k . L a n g u a g e s w i t h a l t e r n a t e s c r i p t s
# ( s r @ l a t i n i n p a r t i c u l a r ) m a y n e e d s p e c i a l h a n d l i n g i n C a l a m a r e s U t i l s . c p p .
#
#
# T O D O : d r o p t h e e s _ E S t r a n s l a t i o n f r o m T r a n s i f e x
# T O D O : m o v e eo ( Esperanto ) t o _ o k o n c e Q t c a n a c t u a l l y c r e a t e a
# l o c a l e f o r i t .
#
# N O T E : w h e n u p d a t i n g t h e l i s t f r o m T r a n s i f e x , c o p y t h e s e f o u r l i n e s
# a n d p r e f i x e a c h v a r i a b l e n a m e w i t h " p " , s o t h a t t h e a u t o m a t i c
# c h e c k s f o r n e w l a n g u a g e s a n d m i s s p e l l e d o n e s a r e d o n e .
set ( _tx_complete da pt_PT ro tr_TR zh_TW zh_CN pt_BR fr hr ca lt id cs_CZ )
set ( _tx_good sq es pl ja sk it_IT hu ru he de nl bg uk )
set ( _tx_ok ast is ar sv el es_MX gl en_GB th fi_FI hi eu sr nb
s l s r @ l a t i n m r e s _ P R k k k n e t b e )
set ( _tx_bad uz lo ur gu fr_CH fa eo )
# c h e c k t r a n s l a t i o n u p d a t e
set ( prev_tx ${ p_tx_complete } ${ p_tx_good } ${ p_tx_ok } ${ p_tx_bad } )
set ( prev_tx ${ p_tx_complete } ${ p_tx_good } ${ p_tx_ok } ${ p_tx_bad } )
set ( curr_tx ${ _tx_complete } ${ _tx_good } ${ _tx_ok } ${ _tx_bad } )
set ( curr_tx ${ _tx_complete } ${ _tx_good } ${ _tx_ok } ${ _tx_bad } )
if ( prev_tx )
if ( prev_tx )