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:
@@ -29,6 +29,18 @@
|
||||
* \0 -ends current string
|
||||
*/
|
||||
|
||||
#define TR_MIN_PLURAL2 2
|
||||
#define TR_MAX_PLURAL2 2
|
||||
// For this number of minute in the last decimal place singular form is used in
|
||||
// plural
|
||||
#define TR_USE_SINGULAR_IN_PLURAL 1
|
||||
#define TR_USE_PLURAL2_SPECIAL_CASE 0
|
||||
// If the number of minutes is above this value PLURAL2 is used
|
||||
#define TR_USE_PLURAL2 INT_MAX
|
||||
|
||||
#define TR_MINUTE_SINGULAR "分钟"
|
||||
#define TR_MINUTE_PLURAL1 "分钟"
|
||||
#define TR_MINUTE_PLURAL2 "分钟"
|
||||
|
||||
#define TR_OFFON "禁用","开启"
|
||||
#define TR_MMMINV "---","反\0"
|
||||
|
||||
@@ -31,6 +31,19 @@
|
||||
* \001 to \034 -extended spacing (value * FW/2)
|
||||
*/
|
||||
|
||||
#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 20
|
||||
|
||||
#define TR_MINUTE_SINGULAR "minuta"
|
||||
#define TR_MINUTE_PLURAL1 "minuty"
|
||||
#define TR_MINUTE_PLURAL2 "minut"
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
#define TR_OFFON "VYP","ZAP"
|
||||
#define TR_MMMINV "---","INV"
|
||||
|
||||
@@ -30,6 +30,19 @@
|
||||
* \0 -ends current string
|
||||
*/
|
||||
|
||||
#define TR_MIN_PLURAL2 2
|
||||
#define TR_MAX_PLURAL2 2
|
||||
// For this number of minute in the last decimal place singular form is used in
|
||||
// plural
|
||||
#define TR_USE_SINGULAR_IN_PLURAL 1
|
||||
#define TR_USE_PLURAL2_SPECIAL_CASE 0
|
||||
// If the number of minutes is above this value PLURAL2 is used
|
||||
#define TR_USE_PLURAL2 INT_MAX
|
||||
|
||||
#define TR_MINUTE_SINGULAR "minut"
|
||||
#define TR_MINUTE_PLURAL1 "minutter"
|
||||
#define TR_MINUTE_PLURAL2 "minutter"
|
||||
|
||||
#define TR_OFFON "FRA","TIL"
|
||||
#define TR_MMMINV "---","INV"
|
||||
#define TR_VBEEPMODE "Stille","Alarm","NoKey","Alle"
|
||||
|
||||
@@ -32,6 +32,19 @@
|
||||
* \0 -ends current string
|
||||
*/
|
||||
|
||||
#define TR_MIN_PLURAL2 2
|
||||
#define TR_MAX_PLURAL2 2
|
||||
// For this number of minute in the last decimal place singular form is used in
|
||||
// plural
|
||||
#define TR_USE_SINGULAR_IN_PLURAL 1
|
||||
#define TR_USE_PLURAL2_SPECIAL_CASE 0
|
||||
// If the number of minutes is above this value PLURAL2 is used
|
||||
#define TR_USE_PLURAL2 INT_MAX
|
||||
|
||||
#define TR_MINUTE_SINGULAR "minute"
|
||||
#define TR_MINUTE_PLURAL1 "minuten"
|
||||
#define TR_MINUTE_PLURAL2 "minuten"
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
#define TR_OFFON "AUS","EIN"
|
||||
#define TR_MMMINV "---","INV"
|
||||
|
||||
@@ -29,6 +29,17 @@
|
||||
* \0 -ends current string
|
||||
*/
|
||||
|
||||
#define TR_MIN_PLURAL2 2
|
||||
#define TR_MAX_PLURAL2 2
|
||||
// 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 0
|
||||
// If the number of minutes is above this value PLURAL2 is used
|
||||
#define TR_USE_PLURAL2 INT_MAX
|
||||
|
||||
#define TR_MINUTE_SINGULAR "minute"
|
||||
#define TR_MINUTE_PLURAL1 "minutes"
|
||||
#define TR_MINUTE_PLURAL2 "minutes"
|
||||
|
||||
#define TR_OFFON "OFF","ON"
|
||||
#define TR_MMMINV "---","INV"
|
||||
|
||||
@@ -30,7 +30,18 @@
|
||||
* \0 -ends current string
|
||||
*/
|
||||
|
||||
#define TR_MIN_PLURAL2 2
|
||||
#define TR_MAX_PLURAL2 2
|
||||
// For this number of minute in the last decimal place singular form is used in
|
||||
// plural
|
||||
#define TR_USE_SINGULAR_IN_PLURAL 1
|
||||
#define TR_USE_PLURAL2_SPECIAL_CASE 0
|
||||
// If the number of minutes is above this value PLURAL2 is used
|
||||
#define TR_USE_PLURAL2 INT_MAX
|
||||
|
||||
#define TR_MINUTE_SINGULAR "minute"
|
||||
#define TR_MINUTE_PLURAL1 "minutes"
|
||||
#define TR_MINUTE_PLURAL2 "minutes"
|
||||
|
||||
#define TR_OFFON "OFF","ON"
|
||||
#define TR_MMMINV "---","INV"
|
||||
|
||||
@@ -31,6 +31,19 @@
|
||||
* \0 -ends current string
|
||||
*/
|
||||
|
||||
#define TR_MIN_PLURAL2 2
|
||||
#define TR_MAX_PLURAL2 2
|
||||
// For this number of minute in the last decimal place singular form is used in
|
||||
// plural
|
||||
#define TR_USE_SINGULAR_IN_PLURAL 1
|
||||
#define TR_USE_PLURAL2_SPECIAL_CASE 0
|
||||
// If the number of minutes is above this value PLURAL2 is used
|
||||
#define TR_USE_PLURAL2 INT_MAX
|
||||
|
||||
#define TR_MINUTE_SINGULAR "minute"
|
||||
#define TR_MINUTE_PLURAL1 "minutes"
|
||||
#define TR_MINUTE_PLURAL2 "minutes"
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
#define TR_OFFON "POI","PÄÄ"
|
||||
#define TR_MMMINV "---","KÄÄ"
|
||||
|
||||
@@ -31,6 +31,18 @@
|
||||
* \0 -ends current string
|
||||
*/
|
||||
|
||||
#define TR_MIN_PLURAL2 2
|
||||
#define TR_MAX_PLURAL2 2
|
||||
// For this number of minute in the last decimal place singular form is used in
|
||||
// plural
|
||||
#define TR_USE_SINGULAR_IN_PLURAL 1
|
||||
#define TR_USE_PLURAL2_SPECIAL_CASE 0
|
||||
// If the number of minutes is above this value PLURAL2 is used
|
||||
#define TR_USE_PLURAL2 INT_MAX
|
||||
|
||||
#define TR_MINUTE_SINGULAR "minute"
|
||||
#define TR_MINUTE_PLURAL1 "minutes"
|
||||
#define TR_MINUTE_PLURAL2 "minutes"
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
#define TR_OFFON "OFF","ON"
|
||||
|
||||
@@ -32,6 +32,18 @@
|
||||
* \0 -ends current string
|
||||
*/
|
||||
|
||||
#define TR_MIN_PLURAL2 2
|
||||
#define TR_MAX_PLURAL2 2
|
||||
// For this number of minute in the last decimal place singular form is used in
|
||||
// plural
|
||||
#define TR_USE_SINGULAR_IN_PLURAL 1
|
||||
#define TR_USE_PLURAL2_SPECIAL_CASE 0
|
||||
// If the number of minutes is above this value PLURAL2 is used
|
||||
#define TR_USE_PLURAL2 INT_MAX
|
||||
|
||||
#define TR_MINUTE_SINGULAR "minuto"
|
||||
#define TR_MINUTE_PLURAL1 "minuti"
|
||||
#define TR_MINUTE_PLURAL2 "minuti"
|
||||
|
||||
#define TR_OFFON TR("OFF","Disattivato"),TR("ON","Attivato")
|
||||
#define TR_MMMINV "---","INV"
|
||||
|
||||
@@ -29,6 +29,18 @@
|
||||
* \0 -ends current string
|
||||
*/
|
||||
|
||||
#define TR_MIN_PLURAL2 2
|
||||
#define TR_MAX_PLURAL2 2
|
||||
// For this number of minute in the last decimal place singular form is used in
|
||||
// plural
|
||||
#define TR_USE_SINGULAR_IN_PLURAL 1
|
||||
#define TR_USE_PLURAL2_SPECIAL_CASE 0
|
||||
// If the number of minutes is above this value PLURAL2 is used
|
||||
#define TR_USE_PLURAL2 INT_MAX
|
||||
|
||||
#define TR_MINUTE_SINGULAR "minute"
|
||||
#define TR_MINUTE_PLURAL1 "minutes"
|
||||
#define TR_MINUTE_PLURAL2 "minutes"
|
||||
|
||||
#define TR_OFFON "OFF","ON"
|
||||
#define TR_MMMINV "---","リバース"
|
||||
|
||||
@@ -31,7 +31,18 @@
|
||||
* \0 -ends current string
|
||||
*/
|
||||
|
||||
#define TR_MIN_PLURAL2 2
|
||||
#define TR_MAX_PLURAL2 2
|
||||
// For this number of minute in the last decimal place singular form is used in
|
||||
// plural
|
||||
#define TR_USE_SINGULAR_IN_PLURAL 1
|
||||
#define TR_USE_PLURAL2_SPECIAL_CASE 0
|
||||
// If the number of minutes is above this value PLURAL2 is used
|
||||
#define TR_USE_PLURAL2 INT_MAX
|
||||
|
||||
#define TR_MINUTE_SINGULAR "minute"
|
||||
#define TR_MINUTE_PLURAL1 "minutes"
|
||||
#define TR_MINUTE_PLURAL2 "minutes"
|
||||
|
||||
#define TR_OFFON "UIT","AAN"
|
||||
#define TR_MMMINV "---","INV"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -31,6 +31,19 @@
|
||||
* \0 -ends current string
|
||||
*/
|
||||
|
||||
#define TR_MIN_PLURAL2 2
|
||||
#define TR_MAX_PLURAL2 2
|
||||
// For this number of minute in the last decimal place singular form is used in
|
||||
// plural
|
||||
#define TR_USE_SINGULAR_IN_PLURAL 1
|
||||
#define TR_USE_PLURAL2_SPECIAL_CASE 0
|
||||
// If the number of minutes is above this value PLURAL2 is used
|
||||
#define TR_USE_PLURAL2 INT_MAX
|
||||
|
||||
#define TR_MINUTE_SINGULAR "minute"
|
||||
#define TR_MINUTE_PLURAL1 "minutes"
|
||||
#define TR_MINUTE_PLURAL2 "minutes"
|
||||
|
||||
#define TR_OFFON "OFF","ON"
|
||||
#define TR_MMMINV "---","INV"
|
||||
#define TR_VBEEPMODE "Mudo","Alarm","NoKey","Todo"
|
||||
|
||||
@@ -32,6 +32,19 @@
|
||||
* \0 -ends current string
|
||||
*/
|
||||
|
||||
#define TR_MIN_PLURAL2 2
|
||||
#define TR_MAX_PLURAL2 2
|
||||
// For this number of minute in the last decimal place singular form is used in
|
||||
// plural
|
||||
#define TR_USE_SINGULAR_IN_PLURAL 1
|
||||
#define TR_USE_PLURAL2_SPECIAL_CASE 0
|
||||
// If the number of minutes is above this value PLURAL2 is used
|
||||
#define TR_USE_PLURAL2 INT_MAX
|
||||
|
||||
#define TR_MINUTE_SINGULAR "minut"
|
||||
#define TR_MINUTE_PLURAL1 "minuter"
|
||||
#define TR_MINUTE_PLURAL2 "minuter"
|
||||
|
||||
// NON ZERO TERMINATED STRINGS
|
||||
#define TR_OFFON "Av","På"
|
||||
#define TR_MMMINV "---","INV"
|
||||
|
||||
@@ -29,6 +29,18 @@
|
||||
* \0 -ends current string
|
||||
*/
|
||||
|
||||
#define TR_MIN_PLURAL2 2
|
||||
#define TR_MAX_PLURAL2 2
|
||||
// For this number of minute in the last decimal place singular form is used in
|
||||
// plural
|
||||
#define TR_USE_SINGULAR_IN_PLURAL 1
|
||||
#define TR_USE_PLURAL2_SPECIAL_CASE 0
|
||||
// If the number of minutes is above this value PLURAL2 is used
|
||||
#define TR_USE_PLURAL2 INT_MAX
|
||||
|
||||
#define TR_MINUTE_SINGULAR "分鐘"
|
||||
#define TR_MINUTE_PLURAL1 "分鐘"
|
||||
#define TR_MINUTE_PLURAL2 "分鐘"
|
||||
|
||||
#define TR_OFFON "禁用","開啟"
|
||||
#define TR_MMMINV "---","反"
|
||||
|
||||
Reference in New Issue
Block a user