Skip Menu |

This queue is for tickets about the Gettext CPAN distribution.

Report information
The Basics
Id: 104668
Status: open
Priority: 0/
Queue: Gettext

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 1.05
Fixed in: (no value)



Subject: ensure availability of locale API, correct typo in documentation
Import :locale_h and correct a typo in the doxumentation.
Subject: perl-gettext.src2.patch
--- origsrc/gettext-1.05/gettext.pm 2005-06-01 05:11:16.000000000 +0200 +++ src/gettext-1.05/gettext.pm 2015-05-23 23:12:06.813185300 +0200 @@ -32,6 +32,7 @@ to internationalize software. =cut use Carp; +use POSIX qw(:locale_h); require Exporter; require DynaLoader; @@ -235,7 +236,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.
I apologize for the extremely long delay in responding. Actually I don't use Perl anymore and have not looked at this module in years. Moreover, the ticket queue in which this landed appears to be owned by someone else, so I did not get any notification when you submitted this issue. I believe the bug you reported is resolved in the latest version which I have just uploaded, 1.06. Please see: https://github.com/vandry/Perl-Locale-gettext http://www.cpan.org/authors/id/P/PV/PVANDRY/gettext-1.06.tar.gz I do not own this ticket so I cannot close it.