Please add pgettext support

Bug #538993 reported by Michal Čihař
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
php-gettext
Fix Released
Medium
Данило Шеган

Bug Description

Please add pgettext (and related calls) which allow to define context of the message.

The implementation is quite straightforward, patch adding just _pgettext is here:

http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin;a=commitdiff;h=179e6e90a0927f768277d019e396e8f3c1c74da6

Related branches

Revision history for this message
Данило Шеган (danilo) wrote :

Thanks, I'll look into it as soon as I find time.

Changed in php-gettext:
importance: Undecided → Medium
status: New → Triaged
assignee: nobody → Данило Шеган (danilo)
Revision history for this message
Данило Шеган (danilo) wrote :

The patch is against an older version of php-gettext so it had to be adapted. I've also added a bunch of related functions, along with completing the emulation layer. Fixed in lp:php-gettext r47.

Changed in php-gettext:
status: Triaged → In Progress
status: In Progress → Fix Committed
Revision history for this message
Данило Шеган (danilo) wrote :

Note that none of p* functions have been heavily tested (some were not tested at all). I'll roll out a 1.0.10 shortly, and would appreciate any feedback I can get.

Changed in php-gettext:
milestone: none → 1.0.10
Changed in php-gettext:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.