Commit 60ff727
Replace hardcoded entity type names with synonym placeholders in English and German translations (#1128)
* Initial plan
* Initial plan for replacing entity type names with placeholders
Co-authored-by: jbtronics <[email protected]>
* Replace entity type names with synonym placeholders in English translations
Co-authored-by: jbtronics <[email protected]>
* Add more synonym placeholders for storage location, project, and part patterns
Co-authored-by: jbtronics <[email protected]>
* Update tree navigation labels with synonym placeholders
Co-authored-by: jbtronics <[email protected]>
* Fix remaining entity type placeholders identified in code review
Co-authored-by: jbtronics <[email protected]>
* Fix placeholder syntax: use [Type]/[[Type]] instead of {type}/{{type}} and add German translations
Co-authored-by: jbtronics <[email protected]>
* Fix German translation to avoid awkward word concatenation with placeholder
Co-authored-by: jbtronics <[email protected]>
* Use capitalized placeholders in German translations (nouns are always capitalized in German)
Co-authored-by: jbtronics <[email protected]>
* Fixed length menu for datatable views
* Capitalize placeholders at the beginning of sentences/titles in English translations
Co-authored-by: jbtronics <[email protected]>
* Ensure that synonym placeholders get cached on a per locale level
---------
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jbtronics <[email protected]>
Co-authored-by: Jan Böhmer <[email protected]>1 parent a356eec commit 60ff727
File tree
16 files changed
+318
-192
lines changed- src/EventListener
- tests/EventListener
- translations
16 files changed
+318
-192
lines changedLines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
| 69 | + | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13495 | 13495 | | |
13496 | 13496 | | |
13497 | 13497 | | |
| 13498 | + | |
| 13499 | + | |
| 13500 | + | |
| 13501 | + | |
| 13502 | + | |
| 13503 | + | |
| 13504 | + | |
| 13505 | + | |
| 13506 | + | |
13498 | 13507 | | |
13499 | | - | |
| 13508 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12164 | 12164 | | |
12165 | 12165 | | |
12166 | 12166 | | |
| 12167 | + | |
| 12168 | + | |
| 12169 | + | |
| 12170 | + | |
| 12171 | + | |
| 12172 | + | |
| 12173 | + | |
| 12174 | + | |
| 12175 | + | |
12167 | 12176 | | |
12168 | | - | |
| 12177 | + | |
0 commit comments