View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002607 | Eressea | Reportformat | public | 2019-09-11 16:40 | 2025-01-18 08:46 |
| Reporter | Thoran | Assigned To | Enno | ||
| Priority | normal | Severity | text | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Product Version | 3.21.0 | ||||
| Target Version | 3.22 | Fixed in Version | 3.22 | ||
| Summary | 0002607: Leerzeichen fehlt im NR bei Auflistung der Schemen | ||||
| Description | Mir fällt gerade durch Zufall auf, dass in der Auflistung der Schemen einer Astralraumregion im NR Leerzeichen fehlen, nämlich hinter dem Teilstring "Schemen der Regionen" sowie vor dem Teilstring "sind erkennbar". ---snip--- Schemen der RegionenPigifal (12,-17), Burgogúpês (12,-18), Setsacilfan (11,-16), Rattir (11,-17), Howards End (10,-15), Dandat (10,-16), Giber (10,-17), Luhn (9,-15), Vyrur (9,-16), Dutevetil (9,-17), Düsterland (8,-15), Schwertelfelder (8,-16)sind erkennbar. ---snap--- | ||||
| Tags | No tags attached. | ||||
| Faction | d08a | ||||
| Game | E2 | ||||
| Report | 1137 | ||||
|
Formatieren von Listen ist immer schon ein Problem gewesen, da gibt es in jeder Sprache andere Regeln, was Kommas und andere Trenner (wie "und") angeht. Ich bräuchte da so etwas wie http://icu-project.org/apiref/icu4j/com/ibm/icu/text/ListFormatter.html - vielleciht löse ich das also aus diesem Anlass mal grundsätzlich. |
|
|
Lösung auf Stack Overflow gepostet, wo jemand vor Jahren die gleiche Frage hatte: https://stackoverflow.com/questions/43081112/localization-of-lists/58033018#58033018 |
|
|
Meine Implementation in C schient auch zu funktionieren: |
|
|
Mein neuer Code funktioniert ganz prima, den werde ich noch an anderen Stellen benutzen. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-09-11 16:40 | Thoran | New Issue | |
| 2019-09-20 16:24 | Enno | Assigned To | => Enno |
| 2019-09-20 16:24 | Enno | Status | new => assigned |
| 2019-09-20 16:24 | Enno | Target Version | => 3.22 |
| 2019-09-20 16:33 | Enno | Note Added: 0008569 | |
| 2019-09-20 17:47 | Enno | Note Added: 0008570 | |
| 2019-09-21 18:47 | Enno | Note Added: 0008571 | |
| 2019-09-21 18:47 | Enno | Note Edited: 0008571 | |
| 2019-09-21 20:22 | Enno | Status | assigned => resolved |
| 2019-09-21 20:22 | Enno | Resolution | open => fixed |
| 2019-09-21 20:22 | Enno | Fixed in Version | => 3.22 |
| 2019-09-21 20:22 | Enno | Note Added: 0008572 | |
| 2025-01-18 08:46 | Xolgrim | Status | resolved => closed |