Closed (works as designed)
Project:
Views (for Drupal 7)
Version:
6.x-2.12
Component:
exposed filters
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Feb 2011 at 14:29 UTC
Updated:
14 Feb 2011 at 15:43 UTC
On views/handlers/views_handlers_filter.inc:469 in the case "old any" the string "" isn't wrapped by the "t()" function, causing an untranslated string.
To solve this, just change this:
$any_label = variable_get('views_exposed_filter_any_label', 'old_any') == 'old_any' ? '<Any>' : t('- Any -');
to this
$any_label = variable_get('views_exposed_filter_any_label', 'old_any') == 'old_any' ? t('<Any>') : t('- Any -');
I didn't made this because i don't know how commit the changes to drupal.org (i think i can't even do that)
Comments
Comment #1
merlinofchaos commented<Any>is not translatable, which is why there's an option to change it. If you want to translate it you have to change it.