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:
Francis Lachapelle
2012-09-21 21:48:39 -04:00
parent fa0db25b16
commit 0181ec606d
46 changed files with 267 additions and 1073 deletions

View File

@@ -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;