forked from pool/gettext-runtime
e89495bb4e
Version 0.18.1 - June 2010 * msggrep: A '$' anchor in a regular expression now also matches the end of the string, even if it does not end in a newline. * Dependencies: The libraries and programs are now linked with libunistring if this library is already installed. * Installation options: The configure option --with-cvs is deprecated. The 'autopoint' program will now use the 'git' program by default to compress its archive. If the configure option --without-git is specified, 'autopoint' will not rely on 'git', but will instead rely on a locally installed 3 MB large archive. Version 0.18 - May 2010 * PO file format: There is a new field 'Language' in the header entry. It denotes the language code (plus optional country code) for the PO file. This field can be used by automated tools, such as spell checkers. It is expected to be more reliable than looking at the file name or at the 'Language-Team' field in the header entry. msgmerge, msgcat, msgen have a new option --lang that allows to specify this field. Additionally, msgmerge fills in this new field by looking at the 'Language-Team' field (if the --lang option is not given). * xgettext and PO file format: For messages with plural forms, programmers can inform the translators about the range of possible values of the numeric argument, like this: /* xgettext: range: 0..15 */ OBS-URL: https://build.opensuse.org/package/show/Base:System/gettext-runtime?expand=0&rev=17
26 lines
933 B
Diff
26 lines
933 B
Diff
Index: gettext-tools/misc/gettextize.in
|
|
===================================================================
|
|
--- gettext-tools/misc/gettextize.in.orig 2010-06-06 14:49:57.000000000 +0200
|
|
+++ gettext-tools/misc/gettextize.in 2010-12-20 18:47:11.932132562 +0100
|
|
@@ -1262,20 +1262,6 @@ if $doit; then
|
|
echo "It is a wrapper around <libintl.h> that implements the configure --disable-nls"
|
|
echo "option."
|
|
echo
|
|
- count=`echo "$please" | grep '^$' | wc -l`
|
|
- count=`echo "$count" | sed -e 's/[ ]//g'`
|
|
- case "$count" in
|
|
- 1) count="paragraph";;
|
|
- 2) count="two paragraphs";;
|
|
- 3) count="three paragraphs";;
|
|
- 4) count="four paragraphs";;
|
|
- 5) count="five paragraphs";;
|
|
- *) count="$count paragraphs";;
|
|
- esac
|
|
- echo "Press Return to acknowledge the previous $count."
|
|
- # Read from /dev/tty, not stdin, so that gettextize cannot be abused by
|
|
- # non-interactive tools.
|
|
- read dummy < /dev/tty
|
|
fi
|
|
|
|
exit 0
|