index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2010-07-27 15:50:43 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-07-27 15:50:43 -0500 |
commit | e7d5803f07c11882685e2a65b5638fd385804d22 (patch) | |
tree | 29976b95ccdd0691f9aa2a4bf81bdc041feeffd2 /src/pacman/util.h | |
parent | ddc4130c978decc5b2498b24d3b20e0c4efbc3cf (diff) |
-rw-r--r-- | src/pacman/util.h | 2 |
diff --git a/src/pacman/util.h b/src/pacman/util.h index bbf43827..d85ba7b6 100644 --- a/src/pacman/util.h +++ b/src/pacman/util.h @@ -30,8 +30,10 @@ #include <libintl.h> /* here so it doesn't need to be included elsewhere */ /* define _() as shortcut for gettext() */ #define _(str) gettext(str) +#define _n(str1, str2, ct) ngettext(str1, str2, ct) #else #define _(str) str +#define _n(str1, str2, ct) (ct == 1 ? str1 : str2) #endif /* update speed for the fill_progress based functions */ |