View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004789 | Taler | wallet (WebExtension) | public | 2016-11-15 13:59 | 2016-11-20 03:26 |
Reporter | Florian Dold | Assigned To | Florian Dold | ||
Priority | normal | Severity | text | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Product Version | git (master) | ||||
Target Version | 0.2 | Fixed in Version | 0.2 | ||
Summary | 0004789: i18n missing for JSX literals | ||||
Description | JSX literals like this <i18n.Translate> Hello <span>{userName}</span>! </i18n.Translate> <i18n.TranslateSwitch target={number}> <i18n.TranslateSingular>You have <span>number</span> apple!</i18n.TranslateSingular> <i18n.TranslatePlural>You have <span>{number}</span> apples!</i18n.TranslatePlural> </i18n.TranslateSwitch> should be picked up by pogen. | ||||
Tags | No tags attached. | ||||
|
The extraction is now implemented. The only thing that's missing is the integration with the Jed JS library to to the actual translation. This is kind of tricky, since with the JSX format, we get *either* the plural or the singular form, but by default Jed/gettext requires both for the lookup. |
|
Fixed in 4d7d1a1. The final syntax is updated in the description above. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-11-15 13:59 | Florian Dold | New Issue | |
2016-11-15 13:59 | Florian Dold | Status | new => assigned |
2016-11-15 13:59 | Florian Dold | Assigned To | => Florian Dold |
2016-11-15 15:38 | root | Severity | minor => text |
2016-11-15 15:38 | root | Product Version | => git (master) |
2016-11-15 15:38 | root | Target Version | => 0.2 |
2016-11-17 02:08 | Florian Dold | Description Updated | |
2016-11-17 02:10 | Florian Dold | Note Added: 0011506 | |
2016-11-17 03:01 | Florian Dold | Note Added: 0011507 | |
2016-11-17 03:01 | Florian Dold | Status | assigned => resolved |
2016-11-17 03:01 | Florian Dold | Resolution | open => fixed |
2016-11-19 01:45 | Christian Grothoff | Fixed in Version | => 0.2 |
2016-11-20 03:26 | Christian Grothoff | Status | resolved => closed |
2023-04-13 20:37 | Florian Dold | Category | wallet (WebExtensions) => wallet (WebExtension) |