For correct Translations
-
For correct localization of ‘tfk_subfilters’ list, in file ‘taskfreak\inc\classes\tools.php’ I have made some changes.
In function ‘form_links’:
1. At line 120:
$str .= '<li class="tfk_selected_filter">'.$label.'</li>';
must be replaced to:
$str .= '<li class="tfk_selected_filter">'.__($label, 'taskfreak').'</li>';
2. At line 123:
$str .= '<li><a href="'.add_query_arg($name, $p, $url).'">'.$label.'</a></li>';
must be replaced to:
$str .= '<li><a href="'.add_query_arg($name, $p, $url).'">'.__($label, 'taskfreak').'</a></li>';
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘For correct Translations’ is closed to new replies.