1008-localization-on-views-part-1 #1148

Merged
a24julot merged 27 commits from 1008-localization-on-views-part-1 into team_1_week_7 2026-05-26 08:30:57 +00:00
Collaborator

Also includes #1010 as they were just split up for time.

Localization of the 'Views'. See #1008 and #1010 for details.

There will probably be a conflict between this and PR #1101, but nothing functional will be affected.

There are still some things that can't properly be localized yet, but we can leave that to next year's students.

Also includes [#1010](https://git.webug.se/Andras/BoundlessFlowCampus2K/issues/1010) as they were just split up for time. Localization of the 'Views'. See [#1008](https://git.webug.se/Andras/BoundlessFlowCampus2K/issues/1008) and [#1010](https://git.webug.se/Andras/BoundlessFlowCampus2K/issues/1010) for details. There will probably be a conflict between this and [PR #1101](https://git.webug.se/Andras/BoundlessFlowCampus2K/pulls/1101), but nothing functional will be affected. There are still some things that can't properly be localized yet, but we can leave that to next year's students.
I changed the "views.idxxxx.title" rows in the localization .jsons because they were effectively "magic numbers" which is something we want to avoid, and it also caused an issue making localization of the AddCardModal.js impossible to fully localize (to my knowledge).

They now have names reflective of what they actually are.

We might want to change their naming convention around though, so instead of
"views.TemperatureView.title"
it could be
"views.title.TemperatureView".

I'll leave that up to the leaders to decide.
As the sensor names are generated in the mockup, their names are directly retrieved from the database so they are not localized.

Also added two more generic UI translations (UI.loading and UI.error) and updated sudoku to utilize them
also removed two empty lines from EnergyView.js
a24julot 2026-05-26 06:47:18 +00:00
CodeTranslator had the umbers reapet
its supose to be 1-27 but it went from 0-9 then repeted, also created a seperate new file for without translation as its used to chose symbol
Collaborator

The translated files works, the new views are not implemented witch was planed, did a small change in one file where some index numbers repeated itself instead of being unique.
ready to merge and the remaining things will be implemented in subsequent issues.

The translated files works, the new views are not implemented witch was planed, did a small change in one file where some index numbers repeated itself instead of being unique. ready to merge and the remaining things will be implemented in subsequent issues.
a24julot merged commit c06b9acf68 into team_1_week_7 2026-05-26 08:30:57 +00:00
c24danli deleted branch 1008-localization-on-views-part-1 2026-05-27 11:51:39 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Andras/BoundlessFlowCampus2K!1148
No description provided.