[LANG-64] Resource delete confirmation message is not correct processed Created: 12/Jul/16 Updated: 06/Feb/17 Resolved: 07/Dec/16 |
|
| Status: | Closed |
| Project: | Language Bundles |
| Component/s: | German |
| Affects Version/s: | 1.0.7 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Frank Sommer | Assignee: | Hieu Nguyen Duc |
| Resolution: | Obsolete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | 0d | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Template: |
|
||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||||||
| Date of First Response: | |||||||||||||
| Sprint: | Saigon 73 | ||||||||||||
| Story Points: | 1 | ||||||||||||
| Description |
|
If a German user deletes a resource from resources app, a not processed confirmation message will be shown. Following error message is logged. 16-07-12 10:17:08 WARN AUTHOR[http-bio-8001-exec-9]info.magnolia.i18nsystem.util.MessageFormatterUtils: Inserting arguments into message 'Zum L÷schen markierte Ressource {0,Wahl,1# Datei|1< Dateien} erfolgreich gel÷scht.' failed: 'unknown format type: Wahl'.
Seems to be the same reason like |
| Comments |
| Comment by Mercedes Iruela [ 13/Jul/16 ] |
|
File: resources-app-resources_de.properties
resources.actions.markFileAsDeleted.notification.success=Zum Löschen markierte Ressource {0,Wahl,1\# Datei|1< Dateien} erfolgreich gelöscht.
|
| Comment by Mikaël Geljić [ 30/Nov/16 ] |
|
Message processing is not the culprit. Rather the translator got too eager to translate MessageFormat specific "choice syntax" for plurals.
- resources.actions.markFileAsDeleted.notification.success=Zum Löschen markierte Ressource {0,Wahl,1\# Datei|1< Dateien} erfolgreich gelöscht.
+ resources.actions.markFileAsDeleted.notification.success=Zum Löschen markierte Ressource {0,choice,1#Datei|1< Dateien} erfolgreich gelöscht.
Mind that the space after the 1< rule ideally should not be there; i.e. it is not mandated by the MessageFormat syntax, but by the defensive HTML-sanitation in Magnolia (as arguably as it gets). |
| Comment by Hieu Nguyen Duc [ 07/Dec/16 ] |
|
This issue is going to be fixed in |