mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-09 20:39:44 +00:00
Mantis #5 completed, needs testing
Monotone-Parent: bb2d11200e5d8cbdc9a740b2a9e019efed65432b Monotone-Revision: 00f021939a59d6bcc0871dadde8fbc81c2d0b614 Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-07-16T15:57:31 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
"Mail Options" = "Correio";
|
||||
"Identities" = "Identidade";
|
||||
"Password" = "Senha";
|
||||
"Categories" = "Categories";
|
||||
|
||||
/* ooo */
|
||||
"I'm currently in the office" = "Eu estou no escritório";
|
||||
@@ -99,3 +100,7 @@
|
||||
"New password:" = "Nova senha:";
|
||||
"Confirmation:" = "Confirmação:";
|
||||
"Change" = "Alterar";
|
||||
|
||||
"category_none" = "Nenhum";
|
||||
"category_labels" = "Aniversário,Negócios,Ligações,Concorrência,Cliente,Favoritos,Acompanhamento,Presentes,Feriados,Idéias,Problemas,Miscelânea,Pessoal,Projetos,Feriado público,Posição,Fornecedores,Viagem,Férias";
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"Mail Options" = "Možnosti e-mailu";
|
||||
"Identities" = "Identity";
|
||||
"Password" = "Heslo";
|
||||
"Categories" = "Categories";
|
||||
|
||||
/* ooo */
|
||||
"I'm currently in the office" = "Momentálně jsem v kanceláři";
|
||||
@@ -99,3 +100,7 @@
|
||||
"New password:" = "Nové heslo:";
|
||||
"Confirmation:" = "Potvrzení:";
|
||||
"Change" = "Změnit";
|
||||
|
||||
"category_none" = "Žádný";
|
||||
"category_labels" = "Výročí,Narozeniny,Obchod,Hovory,Klienti,Soutěže,Zákazník,Oblíbené,Sledování,Dárky,Volno,Nápady,Problémy,Různé,Osobní,Projekty,Veřejné prázdniny,Stav,Dodavatelé,Cesta,Dovolená";
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"Mail Options" = "E-mail";
|
||||
"Identities" = "Identiteit";
|
||||
"Password" = "Wachtwoord";
|
||||
"Categories" = "Categories";
|
||||
|
||||
/* ooo */
|
||||
"I'm currently in the office" = "Ik ben op kantoor";
|
||||
@@ -99,3 +100,7 @@
|
||||
"New password:" = "Nieuw wachtwoord:";
|
||||
"Confirmation:" = "Bevestig wachtwoord:";
|
||||
"Change" = "Veranderen";
|
||||
|
||||
"category_none" = "Geen categorie";
|
||||
"category_labels" = "Cliënten,Concurrentie,Diversen,Favorieten,Giften,Ideeën,Klant,Kwesties,Leveranciers,Nationale feestdag,Persoonlijk,Projecten,Reizen,Status,Telefoongesprekken,Trouwdag,Vakantie,Verjaardag,Vervolggesprek,Vrije dagen,Zaken";
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"Mail Options" = "Mail Options";
|
||||
"Identities" = "Identities";
|
||||
"Password" = "Password";
|
||||
"Categories" = "Categories";
|
||||
|
||||
/* ooo */
|
||||
"I'm currently in the office" = "I'm currently in the office";
|
||||
@@ -102,3 +103,7 @@
|
||||
"New password:" = "New password:";
|
||||
"Confirmation:" = "Confirmation:";
|
||||
"Change" = "Change";
|
||||
|
||||
"category_none" = "None";
|
||||
"category_labels" = "Anniversary,Birthday,Business,Calls,Clients,Competition,Customer,Favorites,Follow up,Gifts,Holidays,Ideas,Issues,Miscellaneous,Personal,Projects,Public Holiday,Status,Suppliers,Travel,Vacation";
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"Mail Options" = "Courrier";
|
||||
"Identities" = "Identités";
|
||||
"Password" = "Mot de passe";
|
||||
"Categories" = "Catégories";
|
||||
|
||||
/* ooo */
|
||||
"I'm currently in the office" = "Je suis présent";
|
||||
@@ -100,3 +101,7 @@
|
||||
"New password:" = "Nouveau mot de passe :";
|
||||
"Confirmation:" = "Confirmation :";
|
||||
"Change" = "Changer";
|
||||
|
||||
"category_none" = "Aucune";
|
||||
"category_labels" = "Anniversaire,Affaire,Appels,Clients,Compétitions,Congrès,Consommation,Préférés,Suivis,Cadeaux,Congés,Idées,Problèmes,Divers,Personnel,Projets,Jour férié,Réunion,Fournisseurs,Voyages,Professionnel";
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"Mail Options" = "E-Mail";
|
||||
"Identities" = "Identität";
|
||||
"Password" = "Passwort";
|
||||
"Categories" = "Categories";
|
||||
|
||||
/* ooo */
|
||||
"I'm currently in the office" = "Ich bin zurzeit im Hause";
|
||||
@@ -100,3 +101,7 @@
|
||||
"New password:" = "Neues Passwort:";
|
||||
"Confirmation:" = "Bestätigung:";
|
||||
"Change" = "Ändern";
|
||||
|
||||
"category_none" = "Keine";
|
||||
"category_labels" = "Jubiläum,Geburtstag,Geschäft,Anrufe,Klienten,Konkurrenz,Kunde,Favoriten,Nachgehen,Geschenke,Ferien,Ideen,Fragen,Verschiedenes,Persönlich,Projekte,Feiertag,Status,Lieferanten,Reise,Urlaub";
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"Mail Options" = "Opzioni di posta";
|
||||
"Identities" = "Identità";
|
||||
"Password" = "Password";
|
||||
"Categories" = "Categories";
|
||||
|
||||
/* ooo */
|
||||
"I'm currently in the office" = "Sono in ufficio";
|
||||
@@ -100,3 +101,6 @@
|
||||
"New password:" = "Nuova password:";
|
||||
"Confirmation:" = "Ripeti nuova password:";
|
||||
"Change" = "Cambia Password";
|
||||
|
||||
"category_none" = "Nessuna";
|
||||
"category_labels" = "Anniversari,Compleanni,Lavoro,Chiamate,Clienti,Competizioni,Compratori,Preferiti,Incontri,Regali,Vacanze,Idee,Problemi,Varie,Personale,Progetti,Giorno festivo,Stato,Fornitori,Viaggio,Chiusura";
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"Mail Options" = "Почта";
|
||||
"Identities" = "Identities";
|
||||
"Password" = "Пароль";
|
||||
"Categories" = "Categories";
|
||||
|
||||
/* ooo */
|
||||
"I'm currently in the office" = "Я на рабочем месте";
|
||||
@@ -107,3 +108,6 @@
|
||||
"New password:" = "Новый пароль:";
|
||||
"Confirmation:" = "Повтор нового пароля:";
|
||||
"Change" = "Изменить";
|
||||
|
||||
"category_none" = "None";
|
||||
"category_labels" = "Anniversary,Birthday,Business,Calls,Clients,Competition,Customer,Favorites,Follow up,Gifts,Holidays,Ideas,Issues,Miscellaneous,Personal,Projects,Public Holiday,Status,Suppliers,Travel,Vacation";
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
"Mail Options" = "Opciones de correo";
|
||||
"Identities" = "Identidades";
|
||||
"Password" = "Contraseña";
|
||||
"Categories" = "Categories";
|
||||
|
||||
/* ooo */
|
||||
"I'm currently in the office" = "Ahora estoy disponible";
|
||||
@@ -111,3 +112,6 @@
|
||||
"New password:" = "Contraseña nueva:";
|
||||
"Confirmation:" = "Confirmar contraseña nueva:"; /* ??? */
|
||||
"Change" = "Cambiar";
|
||||
|
||||
"category_none" = "Ninguna";
|
||||
"category_labels" = "Aniversario,Cumpleaños,Negocios,Llamadas,Clientes,Competición,Trabajo,Favoritos,Seguimiento,Regalos,Fiestas,Ideas,Asuntos,Varios,Personal,Proyectos,Vacaciones públicas,Estado,Proveedores,Viajes,Vacaciones";
|
||||
|
||||
@@ -24,6 +24,7 @@
|
||||
#import <Foundation/NSString.h>
|
||||
#import <Foundation/NSTimeZone.h>
|
||||
#import <Foundation/NSUserDefaults.h>
|
||||
#import <Foundation/NSPropertyList.h>
|
||||
|
||||
#import <NGObjWeb/WOContext.h>
|
||||
#import <NGObjWeb/WORequest.h>
|
||||
@@ -658,4 +659,88 @@ static BOOL defaultShowSubscribedFoldersOnly = NO;
|
||||
return shouldDisplayPasswordChange;
|
||||
}
|
||||
|
||||
- (NSString *) nameLabel
|
||||
{
|
||||
return [self labelForKey: @"Name"];
|
||||
}
|
||||
|
||||
- (NSString *) colorLabel
|
||||
{
|
||||
return [self labelForKey: @"Color"];
|
||||
}
|
||||
|
||||
- (NSArray *) categories
|
||||
{
|
||||
NSDictionary *element;
|
||||
NSArray *k, *v, *names;
|
||||
NSMutableArray *rc, *colors;
|
||||
int i, count;
|
||||
|
||||
names = [userDefaults arrayForKey: @"CalendarCategories"];
|
||||
if (names)
|
||||
colors = [NSMutableArray arrayWithArray:
|
||||
[userDefaults arrayForKey: @"CalendarCategoriesColors"]];
|
||||
else
|
||||
{
|
||||
names = [[self labelForKey: @"category_labels"]
|
||||
componentsSeparatedByString: @","];
|
||||
|
||||
count = [names count];
|
||||
colors = [NSMutableArray arrayWithCapacity: count];
|
||||
for (i = 0; i < count; i++)
|
||||
[colors addObject: @"#F0F0F0"];
|
||||
}
|
||||
|
||||
rc = [NSMutableArray array];
|
||||
k = [NSArray arrayWithObjects: @"name", @"color", nil];
|
||||
|
||||
count = [names count];
|
||||
for (i = 0; i < count; i++)
|
||||
{
|
||||
v = [NSArray arrayWithObjects: [names objectAtIndex: i],
|
||||
[colors objectAtIndex: i], nil];
|
||||
|
||||
element = [NSDictionary dictionaryWithObjects: v
|
||||
forKeys: k];
|
||||
[rc addObject: element];
|
||||
}
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
||||
- (NSString *) categoriesValue
|
||||
{
|
||||
return @"";
|
||||
}
|
||||
|
||||
- (void) setCategoriesValue: (NSString *) value
|
||||
{
|
||||
NSData *data;
|
||||
NSString *error;
|
||||
NSPropertyListFormat format;
|
||||
NSDictionary *plist;
|
||||
|
||||
data = [value dataUsingEncoding: NSUTF8StringEncoding];
|
||||
plist = [NSPropertyListSerialization propertyListFromData: data
|
||||
mutabilityOption: NSPropertyListImmutable
|
||||
format: &format
|
||||
errorDescription: &error];
|
||||
|
||||
if(!plist)
|
||||
{
|
||||
NSLog(error);
|
||||
[error release];
|
||||
}
|
||||
else
|
||||
{
|
||||
[userDefaults setObject: [plist objectAtIndex: 0]
|
||||
forKey: @"CalendarCategories"];
|
||||
[userDefaults setObject: [plist objectAtIndex: 1]
|
||||
forKey: @"CalendarCategoriesColors"];
|
||||
NSLog ([plist description]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
"Mail Options" = "Opsiynau Ebost";
|
||||
"Identities" = "hunaniaethau";
|
||||
"Password" = "Cyfrinair";
|
||||
"Categories" = "Categories";
|
||||
|
||||
/* ooo */
|
||||
"I'm currently in the office" = "Yr wyf yn y swyddfa ar hyn o bryd";
|
||||
@@ -102,3 +103,7 @@
|
||||
"New password:" = "New password:";
|
||||
"Confirmation:" = "Confirmation:";
|
||||
"Change" = "Change";
|
||||
|
||||
"category_none" = "Dim";
|
||||
"category_labels" = "Amrywiol,Anrhegion,Busnes,Canlyniadau,Clientau,Cwsmer,Cyflenwyr,Cystadleuaeth,Dilyn lan,Ffefrynnau,Galwadau,Gwyliau,Gwyliau Cyhoeddus,Penblwydd,Personol,Projectau,Statws,Syniadau,Teithio";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user