Closed (fixed)
Project:
Flatcomments
Version:
6.x-2.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jun 2009 at 23:31 UTC
Updated:
19 Jun 2009 at 23:40 UTC
The new feature to hide reply links on comments doesn't work on localized sites. Because the link title in $vars['links'] is already localized, the regex finds nothing, and the link is not hidden. (What a pity we don't have a better option than theme layer for this...)
Wrapping the 'reply' string into t() fixes this. (Patch tested on my Czech site, works fine with localized 'odpovědět' [has multibyte chars even]).
| Comment | File | Size | Author |
|---|---|---|---|
| hide-link-locale.patch | 713 bytes | JirkaRybka |
Comments
Comment #1
dragonwize commenteddoh... I totally spaced on that one. Thanks JirkaRybka.