You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm detected a problem while parsing MO files to use Gettext on i18n.
Apparently the CGettextMoFile::load method ignores that can exist source messages with no context in a MO file.
I'm using Yii 1.1.7.
I attach a patch that solves the problem for me.
Kind regards!
Damián
Migrated from http://code.google.com/p/yii/issues/detail?id=2288
earlier comments
qiang.xue said, at 2012-01-01T03:36:54.000Z:
set for 1.1.10 milestone
The text was updated successfully, but these errors were encountered:
Fix for the issue yiisoft#145.
Now when pass an invalid context (eg. NULL or false) to CGettextMoFile::load
the method will get the strings without context.
…etimeparser-wildcard
* 'master' of https://github.com/yiisoft/yii:
doc fixes for proper PDF creation
Sometimes CJSON::decode returns null because native json_encode has bugs and returns null. Workaround to continue decoding when result of json_decode is null. Fixesyiisoft#295
Changelog amending, renaming CLinkPager CSS properties
Modified CHANGELOG for CGettextMoFile fix (issue yiisoft#145).
CGettextMoFile now takes in account the absence of context in strings.
Returned CLinkPager::CSS_* constants, fixed documentation.
CLinkPager::CSS_* constants replaced by public properties
tried to improve naming
docs, rename: function -> method
improved docs and variable names of CDetailView
added changelog for CDetailView changes
added @ since annotation
improved extendability of CDetailView
Conflicts:
CHANGELOG
Hello, I'm detected a problem while parsing MO files to use Gettext on i18n.
Apparently the CGettextMoFile::load method ignores that can exist source messages with no context in a MO file.
I'm using Yii 1.1.7.
I attach a patch that solves the problem for me.
Kind regards!
Damián
Migrated from http://code.google.com/p/yii/issues/detail?id=2288
earlier comments
qiang.xue said, at 2012-01-01T03:36:54.000Z:
set for 1.1.10 milestone
The text was updated successfully, but these errors were encountered: