From bf4d619e2b3dff9154da49bdbc9b735ebc77bce1 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Mon, 17 Jul 2006 17:30:38 +0000 Subject: [PATCH] Monotone-Parent: 19b97126f927844e30fc782a413c4551aa3ac925 Monotone-Revision: 145acd1ad78984a6f26963cc9b6abb3e5c915bcd Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-07-17T17:30:38 Monotone-Branch: ca.inverse.sogo --- UI/SOGoUI/UIxComponent.m | 5 +++++ UI/Scheduler/French.lproj/Localizable.strings | 4 ++-- UI/Scheduler/UIxAppointmentEditor.m | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/UI/SOGoUI/UIxComponent.m b/UI/SOGoUI/UIxComponent.m index d503352c5..1755d22e2 100644 --- a/UI/SOGoUI/UIxComponent.m +++ b/UI/SOGoUI/UIxComponent.m @@ -406,8 +406,13 @@ static BOOL uixDebugEnabled = NO; /* lookup string */ + label = [rm stringForKey:lKey inTableNamed:lTable withDefaultValue:lVal languages:languages]; + + NSLog (@"string '%s' = '%s' (default: '%s')", + [lKey cString], [label cString], [lVal cString]); + return label; } diff --git a/UI/Scheduler/French.lproj/Localizable.strings b/UI/Scheduler/French.lproj/Localizable.strings index f66401805..b6bc1b643 100644 --- a/UI/Scheduler/French.lproj/Localizable.strings +++ b/UI/Scheduler/French.lproj/Localizable.strings @@ -210,9 +210,9 @@ "APPOINTMENT" = "Rendez-vous"; "NOT IN OFFICE" = "A l'exterieur"; -"MEETING" = "Réunion"; +"MEETING" = "Rêunion"; "HOLIDAY" = "Vacances"; -"PHONE CALL" = "Rendez-vous téléphonique"; +"PHONE CALL" = "Rendez-vous téléphonique"; /* validation errors */ diff --git a/UI/Scheduler/UIxAppointmentEditor.m b/UI/Scheduler/UIxAppointmentEditor.m index 33bff376f..15c3e41db 100644 --- a/UI/Scheduler/UIxAppointmentEditor.m +++ b/UI/Scheduler/UIxAppointmentEditor.m @@ -278,7 +278,7 @@ } - (NSString *)itemCategoryText { - return [self labelForKey:self->item]; + return [self labelForKey: self->item]; } - (void)setCategories:(NSArray *)_categories {