Pyrogenesis trunk
Functions
tinygettext::anonymous_namespace{plural_forms.cpp} Namespace Reference

Functions

unsigned int plural1 (int)
 Plural functions are used to select a string that matches a given count. More...
 
unsigned int plural2_1 (int n)
 
unsigned int plural2_2 (int n)
 
unsigned int plural2_mk (int n)
 
unsigned int plural2_mk_2 (int n)
 
unsigned int plural3_lv (int n)
 
unsigned int plural3_ga (int n)
 
unsigned int plural3_lt (int n)
 
unsigned int plural3_1 (int n)
 
unsigned int plural3_sk (int n)
 
unsigned int plural3_pl (int n)
 
unsigned int plural3_ro (int n)
 
unsigned int plural3_sl (int n)
 
unsigned int plural4_be (int n)
 
unsigned int plural4_cs (int n)
 
unsigned int plural4_cy (int n)
 
unsigned int plural4_gd (int n)
 
unsigned int plural4_he (int n)
 
unsigned int plural4_lt (int n)
 
unsigned int plural4_pl (int n)
 
unsigned int plural4_sk (int n)
 
unsigned int plural4_uk (int n)
 
unsigned int plural5_ga (int n)
 
unsigned int plural6_ar (int n)
 

Function Documentation

◆ plural1()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural1 ( int  )

Plural functions are used to select a string that matches a given count.

n is the count and the return value is the string index used in the .po file, for example:

msgstr[0] = "You got %d error"; msgstr[1] = "You got %d errors"; ^– return value of plural function

◆ plural2_1()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural2_1 ( int  n)

◆ plural2_2()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural2_2 ( int  n)

◆ plural2_mk()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural2_mk ( int  n)

◆ plural2_mk_2()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural2_mk_2 ( int  n)

◆ plural3_1()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural3_1 ( int  n)

◆ plural3_ga()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural3_ga ( int  n)

◆ plural3_lt()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural3_lt ( int  n)

◆ plural3_lv()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural3_lv ( int  n)

◆ plural3_pl()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural3_pl ( int  n)

◆ plural3_ro()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural3_ro ( int  n)

◆ plural3_sk()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural3_sk ( int  n)

◆ plural3_sl()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural3_sl ( int  n)

◆ plural4_be()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural4_be ( int  n)

◆ plural4_cs()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural4_cs ( int  n)

◆ plural4_cy()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural4_cy ( int  n)

◆ plural4_gd()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural4_gd ( int  n)

◆ plural4_he()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural4_he ( int  n)

◆ plural4_lt()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural4_lt ( int  n)

◆ plural4_pl()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural4_pl ( int  n)

◆ plural4_sk()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural4_sk ( int  n)

◆ plural4_uk()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural4_uk ( int  n)

◆ plural5_ga()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural5_ga ( int  n)

◆ plural6_ar()

unsigned int tinygettext::anonymous_namespace{plural_forms.cpp}::plural6_ar ( int  n)