fix(i18n): new localized strings for SQL-based password policies

This commit is contained in:
Le Programmeur
2022-07-26 12:22:53 -04:00
committed by GitHub
parent a667c69f3c
commit 5e6ad77d4c
9 changed files with 196 additions and 3 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef SOGO_PASSWORD_POLICY_H
#define SOGO_PASSWORD_POLICY_H
#import <Foundation/NSObject.h>
@interface SOGoPasswordPolicy : NSObject
{
}
+ (NSArray *) policies;
+ (NSArray *) regexPoliciesWithCount:(NSNumber *) count;
+ (NSArray *) createPasswordPolicyRegex: (NSArray *) userPasswordPolicy;
+ (NSArray *) createPasswordPolicyLabels: (NSArray *) userPasswordPolicy
withTranslations: (NSDictionary *) translations;
@end
#endif /* SOGO_PASSWORD_POLICY_H */