Update key_styles_currency euro lists

This commit is contained in:
pdroidandroid@gmail.com 2022-02-06 17:54:00 +01:00
parent 0493a874c6
commit b868e15003

View file

@ -23,59 +23,84 @@
<case latin:passwordInput="true"> <case latin:passwordInput="true">
<include latin:keyboardLayout="@xml/key_styles_currency_dollar" /> <include latin:keyboardLayout="@xml/key_styles_currency_dollar" />
</case> </case>
<!-- Countries using Euro currency, 23 countries as of November 2012. <!-- List of countries that should have the euro symbol, due to proximity or membership in
1. Andorra (ca_AD, ca_ES) the European Union and/or Eurozone as of September 2019.
2. Austria (de_AT) 1. Andorra (ca_AD, ca_ES)
3. Belgium (nl_BE, fr_BE, de_BE) 2. Austria (de_AT)
4. Cyprus (el_CY, tr_CY) 3. Belgium (nl_BE, fr_BE, de_BE)
5. Estonia (et_EE) 4. Bulgaria (bg_BG)
6. Finland (fi_FI, sv_FI) 5. Croatia (hr_HR)
7. France (fr_FR) 6. Cyprus (el_CY, tr_CY)
8. Germany (de_DE) 7. Czech Republic (cs_CZ)
9. Greece (el_GR) 8. Denmark (da_DK)
10. Ireland (ga_IE, en_IE) 9. Estonia (et_EE)
11. Italy (it_IT) 10. Finland (fi_FI, sv_FI)
12. Kosovo (sq_XK, sr_XK) 11. France (fr_FR)
13. Luxembourg (lb_LU, fr_LU, de_LU) 12. Germany (de_DE)
14. Malta (mt_MT, en_MT) 13. Greece (el_GR)
15. Monaco (fr_MO) 14. Hungary (hu_HU)
16. Montenegro (??_ME) 15. Ireland (ga_IE, en_IE)
17. Netherlands (nl_NL) 16. Italy (it_IT)
18. Portugal (pt_PT) 17. Kosovo (sq_XK, sr_XK)
19. San Marino (it_SM) 18. Latvia (lv_LV)
20. Slovakia (sk_SK) 19. Lithuania (lt_LT)
21. Slovenia (sl_SI) 20. Luxembourg (lb_LU, fr_LU, de_LU)
22. Spain (es_ES, ca_ES, eu_ES, gl_ES) 21. Malta (mt_MT, en_MT)
23. Vatican City (it_VA) --> 22. Monaco (fr_MO)
<case latin:countryCode="AD|AT|BE|CY|EE|FI|FR|DE|GR|IE|IT|XK|LU|MT|MO|ME|NL|PT|SM|SK|SI|ES|VA"> 23. Montenegro (sr_ME)
24. Netherlands (nl_NL)
25. Poland (pl_PL)
26. Portugal (pt_PT)
27. Romania (ro_RO)
28. San Marino (it_SM)
29. Slovakia (sk_SK)
30. Slovenia (sl_SI)
31. Spain (es_ES, ca_ES, eu_ES, gl_ES)
32. Vatican City (it_VA) -->
<case latin:countryCode="AD|AT|BE|BG|HR|CY|CZ|DA|EE|FI|FR|DE|GR|HU|IE|IT|XK|LV|LT|LU|MT|MO|ME|NL|PL|PT|RO|SM|SK|SI|ES|VA">
<include latin:keyboardLayout="@xml/key_styles_currency_euro" /> <include latin:keyboardLayout="@xml/key_styles_currency_euro" />
</case> </case>
<!-- Note: Some subtype locale may not have country code, and it it supposed to indicate the <!-- Note: Some subtype locales may not have a country code, and it is supposed to indicate
country where the language originally/mainly spoken. --> the country where the language is originally and/or mainly spoken. -->
<!-- Though Denmark, Sweden and Turkey don't use Euro as their currency, having the Euro <!-- bg: Bulgaria (bg_BG)
sign on the symbol keyboard might be useful. Especially Danish krone (kr), Swedish ca: Spain (ca_ES), Andorra (ca_AD, ca_ES)
krona (kr) and Turkish lira (TL) can be represented by usual alphabet letters. --> cs: Czech Republic (cs_CZ)
<!-- TODO: The currency sign of Turkish Lira was created in 2012 and assigned U+20BA for da: Denmark (da_DK)
its unicode, although there is no font glyph for it as of November 2012. -->
<!-- da: Denmark (da_DK)
de: Germany (de_DE) de: Germany (de_DE)
el: Greece (el_GR)
en: Ireland (en_IE), Malta (en_MT)
es: Spain (es_ES) es: Spain (es_ES)
et: Estonia (et_EE)
eu: Spain (eu_ES)
fi: Finland (fi_FI) fi: Finland (fi_FI)
fr: France(fr_FR) fr: France (fr_FR)
ga: Ireland (ga_IE)
gl: Spain (gl_ES)
hr: Croatia (hr_HR)
hu: Hungary (hu_HU)
it: Italy (it_IT) it: Italy (it_IT)
lb: Luxembourg (lb_LU, fr_LU, de_LU)
lt: Lithuania (lt_LT)
lv: Latvia (lv_LV)
mt: Malta (mt_MT, en_MT)
nl: Netherlands (nl_NL) nl: Netherlands (nl_NL)
pl: Poland (pl_PL)
pt: Portugal (pt_PT)
ro: Romania (ro_RO)
sk: Slovakia (sk_SK) sk: Slovakia (sk_SK)
sl: Slovenia (sl_SL) sl: Slovenia (sl_SL)
sq: Kosovo (sq_XK)
sr: Kosovo (sq_SR), Montenegro (sr_ME)
sv: Sweden (sv_SV) sv: Sweden (sv_SV)
tr: Trukey (tr_TR) --> tr: Cyprus (tr_CY) -->
<case latin:localeCode="da|de|es|el|fi|fr|it|nl|sk|sl|sv|tr"> <case latin:localeCode="bg|ca|cs|da|de|el|en|es|et|eu|fi|fr|ga|gl|hr|hu|it|lb|lt|lv|mt|nl|pl|pt|ro|sk|sl|sq|sr|sv|tr">
<include latin:keyboardLayout="@xml/key_styles_currency_euro" /> <include latin:keyboardLayout="@xml/key_styles_currency_euro" />
</case> </case>
<!-- ca: Catalan (Andorra, Spain) <!-- ca: Catalan (Andorra, Spain)
et: Estonian (Estonia) eu: Basque (France, Spain)
lb: Luxembougish (Luxembourg) lb: Luxembourgish (Luxembourg)
mt: Maltese (Malta) --> mt: Maltese (Malta) -->
<case latin:languageCode="ca|et|lb|mt"> <case latin:languageCode="ca|eu|lb|mt">
<include latin:keyboardLayout="@xml/key_styles_currency_euro" /> <include latin:keyboardLayout="@xml/key_styles_currency_euro" />
</case> </case>
<!-- fa: Persian (Rial and Afgahni) <!-- fa: Persian (Rial and Afgahni)
@ -117,22 +142,22 @@
U+20AC: "€" EURO SIGN U+20AC: "€" EURO SIGN
U+00A2: "¢" CENT SIGN --> U+00A2: "¢" CENT SIGN -->
<key-style <key-style
latin:styleName="currencyKeyStyle" latin:styleName="currencyKeyStyle"
latin:keySpec="&#x20B9;" latin:keySpec="&#x20B9;"
latin:moreKeys="!text/morekeys_currency_generic" /> latin:moreKeys="!text/morekeys_currency_generic" />
<key-style <key-style
latin:styleName="moreCurrency1KeyStyle" latin:styleName="moreCurrency1KeyStyle"
latin:keySpec="&#x00A3;" /> latin:keySpec="&#x00A3;" />
<key-style <key-style
latin:styleName="moreCurrency2KeyStyle" latin:styleName="moreCurrency2KeyStyle"
latin:keySpec="&#x20AC;" /> latin:keySpec="&#x20AC;" />
<key-style <key-style
latin:styleName="moreCurrency3KeyStyle" latin:styleName="moreCurrency3KeyStyle"
latin:keySpec="$" latin:keySpec="$"
latin:moreKeys="&#x00A2;" /> latin:moreKeys="&#x00A2;" />
<key-style <key-style
latin:styleName="moreCurrency4KeyStyle" latin:styleName="moreCurrency4KeyStyle"
latin:keySpec="&#x00A2;" /> latin:keySpec="&#x00A2;" />
</case> </case>
<!-- GB: United Kingdom (Pound) --> <!-- GB: United Kingdom (Pound) -->
<case latin:countryCode="GB"> <case latin:countryCode="GB">
@ -142,22 +167,22 @@
U+00A2: "¢" CENT SIGN U+00A2: "¢" CENT SIGN
U+20B1: "₱" PESO SIGN --> U+20B1: "₱" PESO SIGN -->
<key-style <key-style
latin:styleName="currencyKeyStyle" latin:styleName="currencyKeyStyle"
latin:keySpec="&#x00A3;" latin:keySpec="&#x00A3;"
latin:moreKeys="&#x00A2;,$,&#x20AC;,&#x00A5;,&#x20B1;" /> latin:moreKeys="&#x00A2;,$,&#x20AC;,&#x00A5;,&#x20B1;" />
<key-style <key-style
latin:styleName="moreCurrency1KeyStyle" latin:styleName="moreCurrency1KeyStyle"
latin:keySpec="&#x20AC;" /> latin:keySpec="&#x20AC;" />
<key-style <key-style
latin:styleName="moreCurrency2KeyStyle" latin:styleName="moreCurrency2KeyStyle"
latin:keySpec="&#x00A5;" /> latin:keySpec="&#x00A5;" />
<key-style <key-style
latin:styleName="moreCurrency3KeyStyle" latin:styleName="moreCurrency3KeyStyle"
latin:keySpec="$" latin:keySpec="$"
latin:moreKeys="&#x00A2;" /> latin:moreKeys="&#x00A2;" />
<key-style <key-style
latin:styleName="moreCurrency4KeyStyle" latin:styleName="moreCurrency4KeyStyle"
latin:keySpec="&#x00A2;" /> latin:keySpec="&#x00A2;" />
</case> </case>
<!-- ar: Arabic (Dollar and Rial) --> <!-- ar: Arabic (Dollar and Rial) -->
<default> <default>