extensions: Fix ngettext convenience
It is hooked up to the extension's 'gettext' function rather than 'ngettext'. Fixes: f59d523694 ("extensions: Add static defineTranslationFunctions() method") Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2952>
This commit is contained in:
parent
405b549a05
commit
41907e9a56
@ -227,7 +227,7 @@ export class GettextWrapper {
|
||||
|
||||
#ngettext(str, strPlural, n) {
|
||||
const extension = this.#lookupExtension('ngettext');
|
||||
return extension.gettext(str, strPlural, n);
|
||||
return extension.ngettext(str, strPlural, n);
|
||||
}
|
||||
|
||||
#pgettext(context, str) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user