mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 04:15:26 +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:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user