validation-error-modal.underscore
1.21 KB
-
Better i18n extraction and translation · adc6929b
1. Extract the full sentence rather than parital of a sentence, so that languages with different word orders than English can benifit from this. 2. Using ngettext instead of gettext with 'xxx(s)', as Transifex treats `()` as special characters so that it enforces the translated string must have the same number of `()` pairs. Such enforcement makes translations difficult, as not every language can use forms like 'xxx(s)' to represent both singular & plural within a single word.
louyihua committed