open-contracting / spoonbill-web

A web frontend to convert OCDS data from JSON to Excel/CSV
BSD 3-Clause "New" or "Revised" License
3 stars 2 forks source link

Transifex pluralization configuration #323

Open yolile opened 3 years ago

yolile commented 3 years ago

There are some strings in transifex that can only be in the plural, like this one: image

but they are configured as pluralizable so the translator must fill in the singular and plural translation.

jpmckinney commented 3 years ago

I see the code for these:

https://github.com/open-contracting/spoonbill-web/blob/f5959291aeb67918e3c089b99cf71a29cda33be5/frontend/src/components/CustomizeTables/CustomizeTablesTable.vue#L246-L274

I think it's fine to remove the cases 1-5 and just use numbers like in the default case instead of "one", "two", "three", etc.

@sabahfromlondon I don't know if you had a strong opinion on words vs. numbers? Words unfortunately make for very repetitive code.