diff --git a/NEWS b/NEWS index 16c3d1a7b..d3349ca4c 100644 --- a/NEWS +++ b/NEWS @@ -20,6 +20,7 @@ Bug fixes - [web] fixed and improved IMAP folder subscriptions manager (#3865) - [web] fixed Sieve script activation when vacation start date is in the future (#3885) - [web] fixed moving a component without the proper rights (#3889) + - [web] restored Sieve folder encoding support (#3904) 3.2.1 (2016-11-02) ------------------ diff --git a/UI/PreferencesUI/English.lproj/Localizable.strings b/UI/PreferencesUI/English.lproj/Localizable.strings index 38b27f29e..6801c4653 100644 --- a/UI/PreferencesUI/English.lproj/Localizable.strings +++ b/UI/PreferencesUI/English.lproj/Localizable.strings @@ -319,11 +319,27 @@ "Header" = "Header"; "Body" = "Body"; "Flag the message with" = "Flag the message with"; + +/* Select field label of "flag message" mail filter action */ +"Flag" = "Flag"; + "Discard the message" = "Discard the message"; "File the message in" = "File the message in"; + +/* Select field label of "file message" mail filter action */ +"Mailbox" = "Mailbox"; + "Keep the message" = "Keep the message"; "Forward the message to" = "Forward the message to"; + +/* Input field label of "forward" mail filter action */ +"Email" = "Email"; + "Send a reject message" = "Send a reject message"; + +/* Input field label of "reject" mail filter action */ +"Message" = "Message"; + "Send a vacation message" = "Send a vacation message"; "Stop processing filter rules" = "Stop processing filter rules"; "is under" = "is under"; diff --git a/UI/PreferencesUI/UIxFilterEditor.m b/UI/PreferencesUI/UIxFilterEditor.m index 275111cad..39bd094ad 100644 --- a/UI/PreferencesUI/UIxFilterEditor.m +++ b/UI/PreferencesUI/UIxFilterEditor.m @@ -111,9 +111,4 @@ return [labels jsonRepresentation]; } -- (NSString *) sieveFolderEncoding -{ - return [[SOGoSystemDefaults sharedSystemDefaults] sieveFolderEncoding]; -} - @end diff --git a/UI/PreferencesUI/UIxPreferences.m b/UI/PreferencesUI/UIxPreferences.m index 28f62d645..28393873a 100644 --- a/UI/PreferencesUI/UIxPreferences.m +++ b/UI/PreferencesUI/UIxPreferences.m @@ -1622,6 +1622,14 @@ static NSArray *reminderValues = nil; userCanChangePassword]; } +// +// Used wox by template +// +- (NSString *) sieveFolderEncoding +{ + return [[SOGoSystemDefaults sharedSystemDefaults] sieveFolderEncoding]; +} + // - (NSString *) localeCode // { // // WARNING : NSLocaleCode is not defined in diff --git a/UI/Templates/PreferencesUI/UIxFilterEditor.wox b/UI/Templates/PreferencesUI/UIxFilterEditor.wox index ac9ba943b..ef9af8321 100644 --- a/UI/Templates/PreferencesUI/UIxFilterEditor.wox +++ b/UI/Templates/PreferencesUI/UIxFilterEditor.wox @@ -26,7 +26,6 @@ @@ -51,7 +50,7 @@ -
+
@@ -165,7 +164,7 @@ - {{ value[0] }} + {{ value[0] }} diff --git a/UI/Templates/PreferencesUI/UIxPreferences.wox b/UI/Templates/PreferencesUI/UIxPreferences.wox index b61b17dc1..033d8dc4b 100644 --- a/UI/Templates/PreferencesUI/UIxPreferences.wox +++ b/UI/Templates/PreferencesUI/UIxPreferences.wox @@ -21,6 +21,7 @@ var defaultEmailAddresses = ''; var forwardConstraints = ; var sieveCapabilities = ; + var sieveFolderEncoding = ;