~ubuntu-branches/ubuntu/trusty/util-linux/trusty-proposed

« back to all changes in this revision

Viewing changes to include/nls.h

  • Committer: Package Import Robot
  • Author(s): LaMont Jones
  • Date: 2011-11-03 15:38:23 UTC
  • mto: (4.5.5 sid) (1.6.4)
  • mto: This revision was merged to the branch mainline in revision 85.
  • Revision ID: package-import@ubuntu.com-20111103153823-10sx16jprzxlhkqf
ImportĀ upstreamĀ versionĀ 2.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
# else
23
23
#  define N_(String) (String)
24
24
# endif
 
25
# define P_(Singular, Plural, n) ngettext (Singular, Plural, n)
25
26
#else
26
27
# undef bindtextdomain
27
28
# define bindtextdomain(Domain, Directory) /* empty */
29
30
# define textdomain(Domain) /* empty */
30
31
# define _(Text) (Text)
31
32
# define N_(Text) (Text)
 
33
# define P_(Singular, Plural, n) ((n) == 1 ? (Singular) : (Plural))
32
34
#endif
33
35
 
34
36
#ifdef HAVE_LANGINFO_H