fix(color): Inactivity alarm suffix proper grammar (singular/plural) (#3064)
* Add translations for "minutes" * Add missing PLURAL2 * fix grammar * Next attempt * include limits.h * minor cleanup * Addin some translations for some languages based on inputs * chore: Remove BREAKSPACE, add ignore flag And some minor cleanup / formatting * chore: Revert `TR_USE_VARIABLE_PLURAL` Use `TR_USE_SINGULAR_IN_PLURAL` properly... thanks @eshifri Co-authored-by: eshifri <eshifri@hotmail.com>
This commit is contained in:
@@ -31,6 +31,18 @@
|
||||
* \0 -ends current string
|
||||
*/
|
||||
|
||||
#define TR_MIN_PLURAL2 2
|
||||
#define TR_MAX_PLURAL2 4
|
||||
// For this number of minute in the last decimal place singular form is used in
|
||||
// plural
|
||||
#define TR_USE_SINGULAR_IN_PLURAL 0
|
||||
#define TR_USE_PLURAL2_SPECIAL_CASE 1
|
||||
// If the number of minutes is above this value PLURAL2 is used
|
||||
#define TR_USE_PLURAL2 INT_MAX
|
||||
|
||||
#define TR_MINUTE_SINGULAR "minuta"
|
||||
#define TR_MINUTE_PLURAL1 "minuty"
|
||||
#define TR_MINUTE_PLURAL2 "minut"
|
||||
|
||||
#define TR_OFFON "WYŁ","ZAŁ"
|
||||
#define TR_MMMINV "---","REV"
|
||||
|
||||
Reference in New Issue
Block a user