UNPKG

406 BJavaScriptView Raw
1export function gettext(msgid) {
2 return msgid;
3}
4
5export function ngettext(singolar, plural, count) {
6 return count === 1 ? singolar : plural;
7}
8
9export function gettext_noop(msgid) { //eslint-disable-line camelcase
10 return msgid;
11}
12
13export function pgettext(context, msgid) {
14 return msgid;
15}
16
17export function npgettext(context, singolar, plural, count) {
18 return count === 1 ? singolar : plural;
19}