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:
@@ -22,6 +22,7 @@
|
||||
#ifndef _TRANSLATIONS_H_
|
||||
#define _TRANSLATIONS_H_
|
||||
|
||||
#include <limits.h>
|
||||
#include "opentx_types.h"
|
||||
#include "translations/untranslated.h"
|
||||
|
||||
@@ -112,6 +113,16 @@
|
||||
#define LCDW_128_480_LINEBREAK "\036"
|
||||
#endif
|
||||
|
||||
constexpr int g_max_plural2 = TR_MAX_PLURAL2;
|
||||
constexpr int g_min_plural2 = TR_MIN_PLURAL2;
|
||||
constexpr int g_use_singular_in_plural = TR_USE_SINGULAR_IN_PLURAL;
|
||||
constexpr int g_use_plural2_special_case = TR_USE_PLURAL2_SPECIAL_CASE;
|
||||
constexpr int g_use_plural2 = TR_USE_PLURAL2;
|
||||
|
||||
extern const char STR_MINUTE_SINGULAR[];
|
||||
extern const char STR_MINUTE_PLURAL1[];
|
||||
extern const char STR_MINUTE_PLURAL2[];
|
||||
|
||||
extern const char* const STR_OFFON[];
|
||||
extern const char* const STR_MMMINV[];
|
||||
extern const char* const STR_VBEEPMODE[];
|
||||
|
||||
Reference in New Issue
Block a user