From d69a96ee912991ab8730dbe66bf4b1fd0016ca1e Mon Sep 17 00:00:00 2001 From: hokiepokedad2 <38219945+hokiepokedad2@users.noreply.github.com> Date: Wed, 19 Aug 2026 02:09:00 -0400 Subject: [PATCH] feat(where): the remaining nine alarm types, and translations Cards - Raids, eggs, quests and max battles share app-alarm-info, so that component now renders the Where chip instead of its own distance display. One change, four types, and no chance of the four drifting apart. - Gyms, lures, nests, invasions and fort changes each carried their own distance-chip markup; all five now use the chip. - Every list loads the profile's selected areas, used only to keep the inherited wording honest. - Clicking a chip opens the scope sheet, on all ten types. Raids and eggs share a list, so the tracking type is a parameter rather than two methods. Edit dialogs - The areas-or-distance control cannot express an area-confined alarm, and switching it to a distance would have sent both and been refused by PoracleNG. It is hidden for those alarms, and every dialog shows the scope read-only above it. Translations - All 37 WHERE strings plus the Places menu entry into de, es, fr, it, nl, pl, pt, pt-BR, sv and da. The applier asserts each locale carries exactly the English key set and that every {{placeholder}} survives, since a dropped one renders as literal braces to the user. RADIUS_KM matching English in Danish and German, and PLACE_NAME in German, are cognates. Verified with npm run build, not just tsc and jest -- template errors only surface in the production build, which is how NG8004 reached CI last time. --- .../fort-change-edit-dialog.component.html | 73 +++++++++++------- .../fort-change-edit-dialog.component.scss | 13 ++++ .../fort-change-edit-dialog.component.ts | 7 ++ .../fort-change-list.component.html | 11 +-- .../fort-change-list.component.ts | 38 ++++++++++ .../gyms/gym-edit-dialog.component.html | 73 +++++++++++------- .../gyms/gym-edit-dialog.component.scss | 13 ++++ .../modules/gyms/gym-edit-dialog.component.ts | 7 ++ .../app/modules/gyms/gym-list.component.html | 11 +-- .../app/modules/gyms/gym-list.component.ts | 38 ++++++++++ .../invasion-edit-dialog.component.html | 73 +++++++++++------- .../invasion-edit-dialog.component.scss | 13 ++++ .../invasion-edit-dialog.component.ts | 7 ++ .../invasions/invasion-list.component.html | 11 +-- .../invasions/invasion-list.component.ts | 38 ++++++++++ .../lures/lure-edit-dialog.component.html | 73 +++++++++++------- .../lures/lure-edit-dialog.component.scss | 13 ++++ .../lures/lure-edit-dialog.component.ts | 7 ++ .../modules/lures/lure-list.component.html | 11 +-- .../app/modules/lures/lure-list.component.ts | 38 ++++++++++ .../max-battle-edit-dialog.component.html | 73 +++++++++++------- .../max-battle-edit-dialog.component.scss | 13 ++++ .../max-battle-edit-dialog.component.ts | 7 ++ .../max-battle-list.component.html | 10 ++- .../max-battles/max-battle-list.component.ts | 38 +++++++++- .../nests/nest-edit-dialog.component.html | 73 +++++++++++------- .../nests/nest-edit-dialog.component.scss | 13 ++++ .../nests/nest-edit-dialog.component.ts | 7 ++ .../modules/nests/nest-list.component.html | 11 +-- .../app/modules/nests/nest-list.component.ts | 38 ++++++++++ .../quests/quest-edit-dialog.component.html | 73 +++++++++++------- .../quests/quest-edit-dialog.component.scss | 13 ++++ .../quests/quest-edit-dialog.component.ts | 7 ++ .../modules/quests/quest-list.component.html | 10 ++- .../modules/quests/quest-list.component.ts | 38 +++++++++- .../raids/raid-edit-dialog.component.html | 73 +++++++++++------- .../raids/raid-edit-dialog.component.scss | 13 ++++ .../raids/raid-edit-dialog.component.ts | 7 ++ .../modules/raids/raid-list.component.html | 20 ++++- .../app/modules/raids/raid-list.component.ts | 44 ++++++++++- .../alarm-info/alarm-info.component.html | 10 ++- .../alarm-info/alarm-info.component.ts | 20 ++++- .../ClientApp/src/assets/i18n/da.json | 74 +++++++++--------- .../ClientApp/src/assets/i18n/de.json | 72 +++++++++--------- .../ClientApp/src/assets/i18n/es.json | 76 +++++++++---------- .../ClientApp/src/assets/i18n/fr.json | 76 +++++++++---------- .../ClientApp/src/assets/i18n/it.json | 76 +++++++++---------- .../ClientApp/src/assets/i18n/nl.json | 76 +++++++++---------- .../ClientApp/src/assets/i18n/pl.json | 76 +++++++++---------- .../ClientApp/src/assets/i18n/pt-BR.json | 76 +++++++++---------- .../ClientApp/src/assets/i18n/pt.json | 76 +++++++++---------- .../ClientApp/src/assets/i18n/sv.json | 76 +++++++++---------- CHANGELOG.md | 2 + 53 files changed, 1286 insertions(+), 649 deletions(-) diff --git a/Applications/Pgan.PoracleWebNet.App/ClientApp/src/app/modules/fort-changes/fort-change-edit-dialog.component.html b/Applications/Pgan.PoracleWebNet.App/ClientApp/src/app/modules/fort-changes/fort-change-edit-dialog.component.html index 9ec0564d..f953a52a 100644 --- a/Applications/Pgan.PoracleWebNet.App/ClientApp/src/app/modules/fort-changes/fort-change-edit-dialog.component.html +++ b/Applications/Pgan.PoracleWebNet.App/ClientApp/src/app/modules/fort-changes/fort-change-edit-dialog.component.html @@ -40,39 +40,54 @@
{{ 'ALARM.USE_AREAS_HINT' | translate }}
+ +
+
{{ 'ALARM.USE_AREAS_HINT' | translate }}
+{{ 'ALARM.SET_DISTANCE_HINT' | translate }}
+ +{{ 'ALARM.SET_DISTANCE_HINT' | translate }}
+{{ 'ALARM.USE_AREAS_HINT' | translate }}
+ +
+
{{ 'ALARM.USE_AREAS_HINT' | translate }}
+{{ 'ALARM.SET_DISTANCE_HINT' | translate }}
+ +{{ 'ALARM.SET_DISTANCE_HINT' | translate }}
+{{ 'ALARM.USE_AREAS_HINT' | translate }}
+ +
+
{{ 'ALARM.USE_AREAS_HINT' | translate }}
+{{ 'ALARM.SET_DISTANCE_HINT' | translate }}
+ +{{ 'ALARM.SET_DISTANCE_HINT' | translate }}
+{{ 'ALARM.USE_AREAS_HINT' | translate }}
+ +
+
{{ 'ALARM.USE_AREAS_HINT' | translate }}
+{{ 'ALARM.SET_DISTANCE_HINT' | translate }}
+ +{{ 'ALARM.SET_DISTANCE_HINT' | translate }}
+{{ 'ALARM.USE_AREAS_HINT' | translate }}
+ +
+
{{ 'ALARM.USE_AREAS_HINT' | translate }}
+{{ 'ALARM.SET_DISTANCE_HINT' | translate }}
+ +{{ 'ALARM.SET_DISTANCE_HINT' | translate }}
+