Rename events for faster readability

Einsatzbeginn → Beginn, Einsatzende → Ende, Beweismittel → Fund

Fixes #7

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
EiSiMo 2026-04-15 09:54:17 +02:00
parent 921aebe281
commit 8d6cfbead9
2 changed files with 6 additions and 6 deletions

View file

@ -57,12 +57,12 @@ module Config {
return [ return [
{ :key => ACTION_HISTORY, :icon => Rez.Drawables.IconHistory, :lines => ["Verlauf"], :color => 0xF94144 }, { :key => ACTION_HISTORY, :icon => Rez.Drawables.IconHistory, :lines => ["Verlauf"], :color => 0xF94144 },
{ :key => EVENT_GENERAL, :icon => Rez.Drawables.IconEvent, :lines => ["Ereignis"], :color => 0xF3722C }, { :key => EVENT_GENERAL, :icon => Rez.Drawables.IconEvent, :lines => ["Ereignis"], :color => 0xF3722C },
{ :key => EVENT_START, :icon => Rez.Drawables.IconStart, :lines => ["Einsatz", "beginn"], :color => 0xF8961E }, { :key => EVENT_START, :icon => Rez.Drawables.IconStart, :lines => ["Beginn"], :color => 0xF8961E },
{ :key => EVENT_END, :icon => Rez.Drawables.IconEnd, :lines => ["Einsatz", "ende"], :color => 0xF9844A }, { :key => EVENT_END, :icon => Rez.Drawables.IconEnd, :lines => ["Ende"], :color => 0xF9844A },
{ :key => EVENT_ARRIVAL, :icon => Rez.Drawables.IconArrival, :lines => ["Eintreffen"], :color => 0xF9C74F }, { :key => EVENT_ARRIVAL, :icon => Rez.Drawables.IconArrival, :lines => ["Eintreffen"], :color => 0xF9C74F },
{ :key => EVENT_ARREST, :icon => Rez.Drawables.IconArrest, :lines => ["Festnahme"], :color => 0x90BE6D }, { :key => EVENT_ARREST, :icon => Rez.Drawables.IconArrest, :lines => ["Festnahme"], :color => 0x90BE6D },
{ :key => EVENT_FORCE, :icon => Rez.Drawables.IconForce, :lines => ["Zwang"], :color => 0x43AA8B }, { :key => EVENT_FORCE, :icon => Rez.Drawables.IconForce, :lines => ["Zwang"], :color => 0x43AA8B },
{ :key => EVENT_EVIDENCE, :icon => Rez.Drawables.IconEvidence, :lines => ["Beweis", "mittel"], :color => 0x4D908E }, { :key => EVENT_EVIDENCE, :icon => Rez.Drawables.IconEvidence, :lines => ["Fund"], :color => 0x4D908E },
{ :key => EVENT_SIGHTING, :icon => Rez.Drawables.IconSighting, :lines => ["Sichtung"], :color => 0x577590 }, { :key => EVENT_SIGHTING, :icon => Rez.Drawables.IconSighting, :lines => ["Sichtung"], :color => 0x577590 },
{ :key => ACTION_DELETE, :icon => Rez.Drawables.IconDelete, :lines => ["Letzten", "löschen"], :color => 0xFF2222 } { :key => ACTION_DELETE, :icon => Rez.Drawables.IconDelete, :lines => ["Letzten", "löschen"], :color => 0xFF2222 }
]; ];

View file

@ -59,12 +59,12 @@ class GlanceView extends WatchUi.GlanceView {
private function _eventLabel(key as String) as String { private function _eventLabel(key as String) as String {
if (key.equals(Config.EVENT_GENERAL)) { return "Ereignis"; } if (key.equals(Config.EVENT_GENERAL)) { return "Ereignis"; }
if (key.equals(Config.EVENT_START)) { return "Einsatzbeginn"; } if (key.equals(Config.EVENT_START)) { return "Beginn"; }
if (key.equals(Config.EVENT_END)) { return "Einsatzende"; } if (key.equals(Config.EVENT_END)) { return "Ende"; }
if (key.equals(Config.EVENT_ARRIVAL)) { return "Eintreffen"; } if (key.equals(Config.EVENT_ARRIVAL)) { return "Eintreffen"; }
if (key.equals(Config.EVENT_ARREST)) { return "Festnahme"; } if (key.equals(Config.EVENT_ARREST)) { return "Festnahme"; }
if (key.equals(Config.EVENT_FORCE)) { return "Zwang"; } if (key.equals(Config.EVENT_FORCE)) { return "Zwang"; }
if (key.equals(Config.EVENT_EVIDENCE)) { return "Beweismittel"; } if (key.equals(Config.EVENT_EVIDENCE)) { return "Fund"; }
if (key.equals(Config.EVENT_SIGHTING)) { return "Sichtung"; } if (key.equals(Config.EVENT_SIGHTING)) { return "Sichtung"; }
return key; return key;
} }