Internationalization
Sonarqube Scanner / Prepare environment (push) Successful in 20s
Sonarqube Scanner / Build and test (push) Failing after 36s
Sonarqube Scanner / SonarQube analysis (push) Skipped
Sonarqube Scanner / Deploy to Server (push) Successful in 9s

This commit is contained in:
Florian Zumpe
2026-10-01 09:41:01 +02:00
parent 607e5450e1
commit aff88eba1b
41 changed files with 1368 additions and 636 deletions
+11 -11
View File
@@ -4,18 +4,18 @@ globalThis.Wegwichtel ??= {};
'use strict';
const entries = Object.freeze([
['🪵', 'Holz'],
['🪨', 'Felsen'],
['🏮', 'Laterne'],
['🌼', 'Blume'],
['🚬', 'Pfeife'],
['🐦', 'Vogel'],
['🍄', 'Pilz'],
['🍓', 'Erdbeere'],
['🎃', 'Kürbis']
].map(([unicode, label]) => Object.freeze({
['🪵', "group-symbols.holz"],
['🪨', "group-symbols.felsen"],
['🏮', "group-symbols.laterne"],
['🌼', "group-symbols.blume"],
['🚬', "group-symbols.pfeife"],
['🐦', "group-symbols.vogel"],
['🍄', "group-symbols.pilz"],
['🍓', "group-symbols.erdbeere"],
['🎃', "group-symbols.kurbis"]
].map(([unicode, labelKey]) => Object.freeze({
unicode,
label,
get label() { return ns.I18n.t(labelKey); },
imageUrl: `/images/group-symbols/${unicode}.png`
})));