diff options
Diffstat (limited to 'plugins/managesieve')
-rw-r--r-- | plugins/managesieve/localization/en_US.inc | 6 | ||||
-rw-r--r-- | plugins/managesieve/localization/pl_PL.inc | 6 | ||||
-rw-r--r-- | plugins/managesieve/managesieve.php | 4 |
3 files changed, 15 insertions, 1 deletions
diff --git a/plugins/managesieve/localization/en_US.inc b/plugins/managesieve/localization/en_US.inc index 80d04e6ea..191291338 100644 --- a/plugins/managesieve/localization/en_US.inc +++ b/plugins/managesieve/localization/en_US.inc @@ -82,6 +82,12 @@ $labels['setvariable'] = 'Set variable'; $labels['setvarname'] = 'Variable name:'; $labels['setvarvalue'] = 'Variable value:'; $labels['setvarmodifiers'] = 'Modifiers:'; +$labels['varlower'] = 'lower-case'; +$labels['varupper'] = 'upper-case'; +$labels['varlowerfirst'] = 'first character lower-case'; +$labels['varupperfirst'] = 'first character upper-case'; +$labels['varquotewildcard'] = 'quote special characters'; +$labels['varlength'] = 'length'; $labels['filtercreate'] = 'Create filter'; $labels['usedata'] = 'Use following data in the filter:'; $labels['nextstep'] = 'Next Step'; diff --git a/plugins/managesieve/localization/pl_PL.inc b/plugins/managesieve/localization/pl_PL.inc index 06d4d119b..0b4cb6073 100644 --- a/plugins/managesieve/localization/pl_PL.inc +++ b/plugins/managesieve/localization/pl_PL.inc @@ -97,6 +97,12 @@ $labels['setvariable'] = 'Ustaw zmienną'; $labels['setvarname'] = 'Nazwa zmiennej:'; $labels['setvarvalue'] = 'Wartość zmiennej:'; $labels['setvarmodifiers'] = 'Modyfikatory:'; +$labels['varlower'] = 'małe litery (:lower)'; +$labels['varupper'] = 'duże litery (:upper)'; +$labels['varlowerfirst'] = 'pierwsza litera mała (:lowerfirst)'; +$labels['varupperfirst'] = 'pierwsza litera duża (:upperfirst)'; +$labels['varquotewildcard'] = 'anulowane znaki specjalne (:quotewildcard)'; +$labels['varlength'] = 'długość (:length)'; $labels['filtercreate'] = 'Utwórz filtr'; $labels['usedata'] = 'Użyj następujących danych do utworzenia filtra:'; $labels['nextstep'] = 'Następny krok'; diff --git a/plugins/managesieve/managesieve.php b/plugins/managesieve/managesieve.php index 7f591f5a8..b3be9c72c 100644 --- a/plugins/managesieve/managesieve.php +++ b/plugins/managesieve/managesieve.php @@ -1553,7 +1553,9 @@ class managesieve extends rcube_plugin foreach ($set_modifiers as $j => $s_m) { $s_m_id = 'action_varmods' . $id . $s_m; $out .= sprintf('<input type="checkbox" name="_action_varmods[%s][]" value="%s" id="%s"%s />%s<br>', - $id, $s_m, $s_m_id, (array_key_exists($s_m, (array)$action) && $action[$s_m] ? ' checked="checked"' : ''), $s_m); + $id, $s_m, $s_m_id, + (array_key_exists($s_m, (array)$action) && $action[$s_m] ? ' checked="checked"' : ''), + Q($this->gettext('var' . $s_m))); } $out .= '</div>'; |