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
-6
View File
@@ -70,9 +70,7 @@
item = nil;
#warning user should be the owner rather than the activeUser
ASSIGN (user, [context activeUser]);
ASSIGN (userDefaults, [user userDefaults]);
ASSIGN (today, [NSCalendarDate date]);
//locale = [context valueForKey: @"locale"];
language = [userDefaults language];
calendarCategories = nil;
@@ -80,8 +78,6 @@
defaultCategoryColor = nil;
category = nil;
ASSIGN (locale,
[[self resourceManager] localeForLanguageNamed: language]);
ASSIGN (daysOfWeek, [locale objectForKey: NSWeekDayNameArray]);
dd = [user domainDefaults];
@@ -119,7 +115,6 @@
[today release];
[item release];
[user release];
[userDefaults release];
[sieveFilters release];
[vacationOptions release];
[calendarCategories release];
@@ -129,7 +124,6 @@
[contactsCategories release];
[forwardOptions release];
[daysOfWeek release];
[locale release];
[super dealloc];
}