aboutsummaryrefslogtreecommitdiff
path: root/libdino/src/util.vala
diff options
context:
space:
mode:
Diffstat (limited to 'libdino/src/util.vala')
-rw-r--r--libdino/src/util.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdino/src/util.vala b/libdino/src/util.vala
index 29186aa0..03d6ee26 100644
--- a/libdino/src/util.vala
+++ b/libdino/src/util.vala
@@ -23,6 +23,9 @@ public class SearchPathGenerator {
[CCode (cname = "dino_gettext", cheader_filename = "dino_i18n.h")]
public static extern unowned string _(string s);
+[CCode (cname = "dino_ngettext", cheader_filename = "dino_i18n.h")]
+public static extern unowned string n(string msgid, string plural, ulong number);
+
[CCode (cname = "bindtextdomain", cheader_filename = "libintl.h")]
private static extern unowned string? bindtextdomain(string domainname, string? dirname);