Esempio n. 1
0
 def get_realm_label(self, realm, n_plural=1, astitle=False):
     if astitle:
         # TRANSLATOR: 'wiki page(s)' as title
         return ngettext("Wiki Page", "Wiki Pages", n_plural)
     else:
         # TRANSLATOR: 'wiki page(s)' inside a sentence
         return ngettext("wiki page", "wiki pages", n_plural)
Esempio n. 2
0
 def get_realm_label(self, realm, n_plural=1, astitle=False):
     if astitle:
         # TRANSLATOR: 'ticket(s)' as title
         return ngettext("Ticket", "Tickets", n_plural)
     else:
         # TRANSLATOR: 'ticket(s)' inside a sentence
         return ngettext("ticket", "tickets", n_plural)
Esempio n. 3
0
 def get_realm_label(self, realm, n_plural=1, astitle=False):
     if astitle:
         # TRANSLATOR: 'ticket(s)' as title
         return ngettext("Ticket", "Tickets", n_plural)
     else:
         # TRANSLATOR: 'ticket(s)' inside a sentence
         return ngettext("ticket", "tickets", n_plural)