Files
MSYS2-packages/perl-Locale-Gettext/doc-update.diff
2013-11-08 12:57:38 +04:00

18 lines
784 B
Diff

Description: Fix documentation in manual page
Bug-Debian: http://bugs.debian.org/175421
Forwarded: http://rt.cpan.org/Public/Bug/Display.html?id=35680
Author: Raphaël Hertzog <hertzog@debian.org>
Last-Update: 2011-07-16
--- a/gettext.pm
+++ b/gettext.pm
@@ -235,7 +235,7 @@ sub DESTROY {
gettext(), dgettext(), and dcgettext() attempt to retrieve a string
matching their C<msgid> parameter within the context of the current
locale. dcgettext() takes the message's category and the text domain
-as parameters while dcgettext() defaults to the LC_MESSAGES category
+as parameters while dgettext() defaults to the LC_MESSAGES category
and gettext() defaults to LC_MESSAGES and uses the current text domain.
If the string is not found in the database, then C<msgid> is returned.