Skip to content

Commit

Permalink
Add a test locale
Browse files Browse the repository at this point in the history
  • Loading branch information
atjn committed Aug 7, 2024
1 parent 3a18309 commit 4631edc
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions apps/locale/locales.js
Original file line number Diff line number Diff line change
Expand Up @@ -755,4 +755,27 @@ var locales = {
day: "ראשון,שני,שלישי,רביעי,חמישי,שישי,שבת",
trans: { yes: "כן", Yes: "כן", no: "לא", No: "לא", ok: "אישור", on: "פעיל", off: "כבוי" }
}*/
/**
* These test strings are designed to be as wide and tall as real locale strings can be.
* All apps should be able to display them properly, to ensure that they work with all locales.
* To make the strings as long as possible, wide characters like "w" and "m" is used,
* and to make them taller, "k" and "g" are used together.
*/
"test": {
lang: "test",
icon: "🐛",
notes: "Produces the longest possible output. Useful for testing.",
decimal_point: ",",
thousands_sep: ",",
speed: "km/h",
distance: { 0: "kmi", 1: "kmi" },
temperature: "°C",
ampm: { 0: "dop", 1: "odp" },
timePattern: { 0: "%HHh%MM:%SS", 1: "%HHh%MM" },
datePattern: { 0: "%b, %d, %Y", 1: "%d. %m %Y" },
abmonth: Array(12).fill("mgmk").join(","),
month: Array(12).fill("megmmaskuum").join(","),
abday: Array(7).fill("mgmk").join(","),
day: Array(7).fill("megmavammkkom").join(","),
},
};

0 comments on commit 4631edc

Please sign in to comment.