calendula icon indicating copy to clipboard operation
calendula copied to clipboard

Handle timing strings as plurals with variable

Open yarons opened this issue 5 years ago • 0 comments

https://github.com/citiususc/calendula/blob/eff75857bccb8040d166f73e875c2c984f7112aa/Calendula/src/main/res/values/strings_translatable.xml#L527-L539

These strings should be handled like the other plurals but also with an argument (%d day, %d days).

The reason for it is that the placement of the variable is different in Hebrew (Single day is usually not counted, 2 days is a single word, starting from 3 days there's a number before the plural form of the expression "day" in Hebrew).

In Arabic it's much more complicated but based on the same principals.

yarons avatar May 07 '19 06:05 yarons