Added flags/definitions for existing locales.

* Braille
* Esperanto
* Indonesian (Javanese)
* Maori (New Zealand)

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
pull/202/head
Mavridis Philippe 3 years ago
parent 44ae59c0d9
commit ff8e7b2753
No known key found for this signature in database
GPG Key ID: F8D2D7E2F989A494

@ -174,6 +174,15 @@ TQString LayoutIcon::getCountryFromLayoutName(const TQString& layoutName)
else
if( layoutName == "trq" || layoutName == "trf" || layoutName == "tralt" )
flag = "tr";
else
if( layoutName == "epo" ) // Esperanto
flag = "eo";
else
if( layoutName == "mao" ) // Maori
flag = "mi";
else
if( layoutName == "brai" ) // Braille
flag = "braille";
else
if( layoutName.length() > 2 )
flag = "";
@ -183,6 +192,15 @@ TQString LayoutIcon::getCountryFromLayoutName(const TQString& layoutName)
else {
if( layoutName == "ar" ) // Arabic - not argentina
;
else
if( layoutName == "epo" ) // Esperanto
flag = "eo";
else
if( layoutName == "mao" ) // Maori
flag = "mi";
else
if( layoutName == "brai" ) // Braille
flag = "braille";
else
if( layoutName == "sr" || layoutName == "cs") // Serbian language - Yugoslavia
flag = "yu";

@ -0,0 +1,19 @@
[KCM Locale]
Name=Braille
# Region=
Languages=brai
# DecimalSymbol=
# ThousandsSeparator=
# CurrencySymbol=
# MonetaryDecimalSymbol=
# MonetaryThousandsSeparator=
# PositiveSign=
# NegativeSign=
# FracDigits=
# PositivePrefixCurrencySymbol=
# NegativePrefixCurrencySymbol=
# PositiveMonetarySignPosition=
# NegativeMonetarySignPosition=
# DateFormat=
# DateFormatShort=
# TimeFormat=

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

@ -0,0 +1,19 @@
[KCM Locale]
Name=Esperanto
# Region=
Languages=epo
DecimalSymbol=,
ThousandsSeparator=.
# CurrencySymbol=
MonetaryDecimalSymbol=,
MonetaryThousandsSeparator=.
PositiveSign=
NegativeSign=-
FracDigits=2
PositivePrefixCurrencySymbol=false
NegativePrefixCurrencySymbol=false
PositiveMonetarySignPosition=1
NegativeMonetarySignPosition=1
DateFormat[eo]=%A, la %ea de %B %Y
DateFormatShort=%d/%m/%Y
TimeFormat=%H:%M:%S

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.0 KiB

@ -0,0 +1,19 @@
[KCM Locale]
Name=Indonesia (Java)
Region=southeastasia
Languages=jv
DecimalSymbol=,
ThousandsSeparator=.
CurrencySymbol=Rp.
MonetaryDecimalSymbol=,
MonetaryThousandsSeparator=.
PositiveSign=
NegativeSign=-
FractDigits=2
PositivePrefixCurrencySymbol=true
NegativePrefixCurrencySymbol=true
NegativeMonetarySignPosition=1
DateFormat[jv]=%A, %d %B %Y
DateFormat[eo]=%A, la %ea de %B %Y
DateFormatShort=%e/%m/%Y
TimeFormat=%H:%M:%S

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 B

@ -0,0 +1,30 @@
[KCM Locale]
Name=New Zealand
Region=oceania
Languages=mi,en_GB,en
DecimalSymbol=.
ThousandsSeparator=,
CurrencySymbol=A$
MonetaryDecimalSymbol=.
MonetaryThousandsSeparator=,
PositiveSign=
NegativeSign=-
FracDigits=2
#PositivePrefixCurrencySymbol=
#NegativePrefixCurrencySymbol=
#PositiveMonetarySignPosition=
#NegativeMonetarySignPosition=
DateFormat[en_GB]=%a, %e %b %Y
DateFormat[en]=%a, %e %b %Y
DateFormat[en_US]=%a, %e %b %Y
DateFormat[eo]=%A, la %ea de %B %Y
DateFormatShort=%d/%m/%y
TimeFormat[en_GB]=%I:%M:%S %p
TimeFormat[en]=%I:%M:%S %p
TimeFormat[en_US]=%I:%M:%S %p
TimeFormat[eo]=%H:%M:%S
#WeekStartDay=
#PageSize=
#MeasureSystem=
AddressFormat=%0(%n\n)%0(%cm\n)%0(%s\n)%0(PO BOX %p\n)%0(%L%w%w%R%w%w)%z
AddressCountryPosition=BELOW

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Loading…
Cancel
Save