On Monday, December 19, 2016 at 8:51:59 AM UTC-8, Staś Małolepszy wrote: > Also, we already have a symbol which has a value and doesn't allow > interpolations: keywords. We could consider the following as an > alternative: NUMBER($num, style: [percent]).
Good point. My worry here is that it does look awkward from the first persona that I use to validate syntax choices against (someone who sees FTL for the first time and has to read it). `style: "short"` seems the natural choice unless we're ok with limiting to single words in which case `style: short` could also work. I think I like "short" here tbh, but we can also just run a small study on localizers and see how they react. Additional rationale for introducing some sort of SimpleText node that doesn't have placeholders is that it could allow for fastpaths in both parser and resolver and would avoid a PITA for GUI tool authors. Cheers, zb. _______________________________________________ tools-l10n mailing list [email protected] https://lists.mozilla.org/listinfo/tools-l10n
