diff options
-rw-r--r-- | kxkb/pixmap.cpp | 38 | ||||
-rw-r--r-- | l10n/braille/entry.desktop | 19 | ||||
-rw-r--r-- | l10n/braille/flag.png | bin | 0 -> 8153 bytes | |||
-rw-r--r-- | l10n/eo/entry.desktop | 19 | ||||
-rw-r--r-- | l10n/eo/flag.png | bin | 0 -> 6167 bytes | |||
-rw-r--r-- | l10n/jv/entry.desktop | 19 | ||||
-rw-r--r-- | l10n/jv/flag.png | bin | 0 -> 103 bytes | |||
-rw-r--r-- | l10n/mi/entry.desktop | 30 | ||||
-rw-r--r-- | l10n/mi/flag.png | bin | 0 -> 10037 bytes |
9 files changed, 115 insertions, 10 deletions
diff --git a/kxkb/pixmap.cpp b/kxkb/pixmap.cpp index 4a3e6aff2..238023d9b 100644 --- a/kxkb/pixmap.cpp +++ b/kxkb/pixmap.cpp @@ -164,16 +164,25 @@ TQString LayoutIcon::getCountryFromLayoutName(const TQString& layoutName) if( layoutName == "mkd" ) flag = "mk"; else - if( layoutName == "srp" ) { - TQString csFlagFile = locate("locale", flagTemplate.arg("cs")); - flag = csFlagFile.isEmpty() ? "yu" : "cs"; + if( layoutName == "srp" ) { + TQString csFlagFile = locate("locale", flagTemplate.arg("cs")); + flag = csFlagFile.isEmpty() ? "yu" : "cs"; } else if( layoutName.endsWith("/jp") ) flag = "jp"; - else - if( layoutName == "trq" || layoutName == "trf" || layoutName == "tralt" ) - flag = "tr"; + 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 = ""; @@ -182,10 +191,19 @@ TQString LayoutIcon::getCountryFromLayoutName(const TQString& layoutName) } else { if( layoutName == "ar" ) // Arabic - not argentina - ; - else - if( layoutName == "sr" || layoutName == "cs") // Serbian language - Yugoslavia - flag = "yu"; + ; + 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"; else if( layoutName == "bs" ) // Bosnian language - Bosnia flag = "ba"; diff --git a/l10n/braille/entry.desktop b/l10n/braille/entry.desktop new file mode 100644 index 000000000..78b58ac14 --- /dev/null +++ b/l10n/braille/entry.desktop @@ -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= diff --git a/l10n/braille/flag.png b/l10n/braille/flag.png Binary files differnew file mode 100644 index 000000000..b5a9e7731 --- /dev/null +++ b/l10n/braille/flag.png diff --git a/l10n/eo/entry.desktop b/l10n/eo/entry.desktop new file mode 100644 index 000000000..76eb14339 --- /dev/null +++ b/l10n/eo/entry.desktop @@ -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 diff --git a/l10n/eo/flag.png b/l10n/eo/flag.png Binary files differnew file mode 100644 index 000000000..d33c530fc --- /dev/null +++ b/l10n/eo/flag.png diff --git a/l10n/jv/entry.desktop b/l10n/jv/entry.desktop new file mode 100644 index 000000000..9207d197e --- /dev/null +++ b/l10n/jv/entry.desktop @@ -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 diff --git a/l10n/jv/flag.png b/l10n/jv/flag.png Binary files differnew file mode 100644 index 000000000..fd94581e8 --- /dev/null +++ b/l10n/jv/flag.png diff --git a/l10n/mi/entry.desktop b/l10n/mi/entry.desktop new file mode 100644 index 000000000..34b2b4fdb --- /dev/null +++ b/l10n/mi/entry.desktop @@ -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 diff --git a/l10n/mi/flag.png b/l10n/mi/flag.png Binary files differnew file mode 100644 index 000000000..ec1aaaef0 --- /dev/null +++ b/l10n/mi/flag.png |