in handlers/views_handler_filter.inc, line 469 :
$any_label = variable_get('views_exposed_filter_any_label', 'old_any') == 'old_any' ? '<Any>' : t('- Any -');
should be :
$any_label = variable_get('views_exposed_filter_any_label', 'old_any') == 'old_any' ? t('<Any>') : t('- Any -');
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | views-651244-views2.patch | 1.81 KB | dagmar |
| #5 | views-651244-views3.patch | 1.82 KB | dagmar |
Comments
Comment #1
dagmar@soju: Please read this #348130: Can't translate <Any>
Comment #2
soju commentedSorry, didn't see this before, thanks.
So, since <Any> should not be translated, there's still a bug in handlers/views_handler_filter_boolean_operator.inc, line 98 :
$any_label = variable_get('views_exposed_filter_any_label', 'old_any') == 'old_any' ? t('<Any>') : t('- Any -');
Comment #3
merlinofchaos commentedNo,
<Any>can not be translated, so it is not run through t(). '- Any -' can be, so it is.Comment #4
merlinofchaos commentedOh wait. I think I see; there's still a t() around the Any in that handler.
That should be an easy fix.
Comment #5
dagmarI found another one. In the admin.inc file.
admin.inc in views 2 still have all those windows ends of lines. So, two patches.
Comment #6
merlinofchaos commentedCommitted to all branches. Also stupid line endings in admin.inc gone.