view modules/propername @ 40211:5f58d2ac35ea

unistr/u8-cmp: Fix undefined behaviour. Reported by Jeffrey Walton <noloader@gmail.com>. * lib/unistr/u8-cmp.c (u8_cmp): Don't invoke memcmp if n is zero.
author Bruno Haible <bruno@clisp.org>
date Fri, 08 Mar 2019 20:38:22 +0100
parents 534c5ca60c4f
children
line wrap: on
line source

Description:
Localization of proper names.

Notice:
If you are using GNU gettext version 0.16.1 or older, add the following options
to XGETTEXT_OPTIONS in your po/Makevars:
  --keyword='proper_name:1,"This is a proper name. See the gettext manual, section Names."'
  --keyword='proper_name_utf8:1,"This is a proper name. See the gettext manual, section Names."'

Files:
lib/propername.h
lib/propername.c

Depends-on:
stdbool
trim
mbsstr
mbchar
mbuiter
iconv
localcharset
c-strcase
xstriconv
xalloc
gettext-h

configure.ac:
m4_ifdef([AM_XGETTEXT_OPTION],
  [AM_][XGETTEXT_OPTION([--keyword='proper_name:1,\"This is a proper name. See the gettext manual, section Names.\"'])
   AM_][XGETTEXT_OPTION([--keyword='proper_name_utf8:1,\"This is a proper name. See the gettext manual, section Names.\"'])])

Makefile.am:
lib_SOURCES += propername.h propername.c

Include:
"propername.h"

License:
GPL

Maintainer:
all