mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-16 02:38:51 +00:00
Cleanup months and weeks translations
Removed the translations of months and weeks from the Scheduler bundle since they were already translated in Locale files. - The a3_<month> strings were removed (replaced by NSShortMonthNameArray) - The months strings were removed (replaced by NSMonthNameArray) - The weeks strings were removed (replaced by NSWeekDayNameArray) Moved the a2_<weekday> strings to the Common bundle and added a new method [UIxComponent commonLabelForKey:].
This commit is contained in:
@@ -35,14 +35,19 @@
|
||||
TODO: document facilities.
|
||||
*/
|
||||
|
||||
@class NSCalendarDate, NSTimeZone, NSMutableDictionary, SoUser;
|
||||
@class NSCalendarDate, NSTimeZone, NSMutableDictionary, SoUser, SOGoUserDefaults;
|
||||
|
||||
@interface UIxComponent : SoComponent
|
||||
{
|
||||
NSMutableDictionary *queryParameters;
|
||||
NSCalendarDate *_selectedDate;
|
||||
NSDictionary *locale;
|
||||
SOGoUserDefaults *userDefaults;
|
||||
}
|
||||
|
||||
+ (NSArray *) monthLabelKeys;
|
||||
+ (NSArray *) abbrMonthLabelKeys;
|
||||
|
||||
- (NSString *)queryParameterForKey:(NSString *)_key;
|
||||
- (NSDictionary *)queryParameters;
|
||||
|
||||
@@ -80,6 +85,9 @@
|
||||
|
||||
/* labels */
|
||||
- (NSString *) labelForKey:(NSString *)_key;
|
||||
- (NSString *) commonLabelForKey:(NSString *)_key;
|
||||
- (NSString *) labelForKey: (NSString *) _str
|
||||
withResourceManager: (WOResourceManager *) _rm;
|
||||
|
||||
- (NSString *) localizedNameForDayOfWeek:(unsigned)_dayOfWeek;
|
||||
- (NSString *) localizedAbbreviatedNameForDayOfWeek:(unsigned)_dayOfWeek;
|
||||
|
||||
Reference in New Issue
Block a user