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 -');

Comments

dagmar’s picture

Status: Active » Fixed

@soju: Please read this #348130: Can't translate <Any>

soju’s picture

Sorry, 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 -');

merlinofchaos’s picture

Status: Fixed » Closed (works as designed)

No, <Any> can not be translated, so it is not run through t(). '- Any -' can be, so it is.

merlinofchaos’s picture

Status: Closed (works as designed) » Active

Oh wait. I think I see; there's still a t() around the Any in that handler.

That should be an easy fix.

dagmar’s picture

Status: Active » Needs review
StatusFileSize
new1.82 KB
new1.81 KB

I found another one. In the admin.inc file.

admin.inc in views 2 still have all those windows ends of lines. So, two patches.

merlinofchaos’s picture

Status: Needs review » Fixed

Committed to all branches. Also stupid line endings in admin.inc gone.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.