From e5e3eda8a04625263c9c0f7e8a415d3f2db93073 Mon Sep 17 00:00:00 2001 From: Francis Lachapelle Date: Fri, 14 Sep 2007 18:11:58 +0000 Subject: [PATCH] Monotone-Parent: 9553e562ebed3759fe2052393023f3b5eb697bc0 Monotone-Revision: 6d6d161ae84abc675aca403d147c51afe68d09e1 Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2007-09-14T18:11:58 Monotone-Branch: ca.inverse.sogo --- UI/Common/UIxToolbar.m | 9 +++++++++ UI/Contacts/English.lproj/Localizable.strings | 11 +++++++++++ UI/Contacts/French.lproj/Localizable.strings | 10 ++++++++++ UI/MailerUI/English.lproj/Localizable.strings | 17 +++++++++++++++++ UI/MailerUI/French.lproj/Localizable.strings | 17 +++++++++++++++++ UI/Scheduler/English.lproj/Localizable.strings | 11 +++++++++++ UI/Scheduler/French.lproj/Localizable.strings | 11 +++++++++++ UI/Templates/UIxToolbar.wox | 8 ++++---- 8 files changed, 90 insertions(+), 4 deletions(-) diff --git a/UI/Common/UIxToolbar.m b/UI/Common/UIxToolbar.m index e7fd10097..1959aaac6 100644 --- a/UI/Common/UIxToolbar.m +++ b/UI/Common/UIxToolbar.m @@ -214,6 +214,15 @@ return image; } +- (NSString *) buttonTooltip +{ + NSString *key; + + key = [[self buttonInfo] valueForKey: @"tooltip"]; + + return [self labelForKey: key]; +} + /* enable/disable buttons */ - (BOOL)isButtonEnabled { diff --git a/UI/Contacts/English.lproj/Localizable.strings b/UI/Contacts/English.lproj/Localizable.strings index 9f8a0ac23..bb57947f9 100644 --- a/UI/Contacts/English.lproj/Localizable.strings +++ b/UI/Contacts/English.lproj/Localizable.strings @@ -32,6 +32,14 @@ "invalidemailwarn" = "invalidemailwarn"; "new" = "new"; +/* Tooltips */ + +"Create a new address book card" = "Create a new address book card"; +"Create a new list" = "Create a new list"; +"Edit the selected card" = "Edit the selected card"; +"Send a mail message" = "Send a mail message"; +"Delete selected card or address book" = "Delete selected card or address book"; + "htmlMailFormat_UNKNOWN" = "Unknown"; "htmlMailFormat_FALSE" = "Plain Text"; "htmlMailFormat_TRUE" = "HTML"; @@ -115,3 +123,6 @@ = "This person can read the cards of this addressbook."; "This person can erase cards from this addressbook." = "This person can erase cards from this addressbook."; + +"The selected contact has no email address." += "The selected contact has no email address."; \ No newline at end of file diff --git a/UI/Contacts/French.lproj/Localizable.strings b/UI/Contacts/French.lproj/Localizable.strings index f0ee23b30..a90f3cd38 100644 --- a/UI/Contacts/French.lproj/Localizable.strings +++ b/UI/Contacts/French.lproj/Localizable.strings @@ -39,6 +39,14 @@ "invalidemailwarn" = "Champ de l'email invalide, continuer quand même ?"; "new" = "Nouveau"; +/* Tooltips */ + +"Create a new address book card" = "Créer une nouvelle fiche"; +"Create a new list" = "Créer une nouvelle liste de diffusion"; +"Edit the selected card" = "Modifier la fiche sélectionnée"; +"Send a mail message" = "Rédiger un courrier à la sélection"; +"Delete selected card or address book" = "Supprimer la fiche sélectionnée"; + "htmlMailFormat_UNKNOWN" = "Inconnu"; "htmlMailFormat_FALSE" = "Texte simple (sans HTML)"; "htmlMailFormat_TRUE" = "HTML"; @@ -129,3 +137,5 @@ "This person can erase cards from this addressbook." = "Cette personne peut effacer des fiches de ce carnet d'adresses."; +"The selected contact has no email address." += "Cette personne n'a pas d'adresse courriel." \ No newline at end of file diff --git a/UI/MailerUI/English.lproj/Localizable.strings b/UI/MailerUI/English.lproj/Localizable.strings index 9e18ecd30..b058b07a1 100644 --- a/UI/MailerUI/English.lproj/Localizable.strings +++ b/UI/MailerUI/English.lproj/Localizable.strings @@ -19,6 +19,23 @@ "Attach" = "Attach"; "Save" = "Save"; +/* Tooltips */ + +"Send this message now" = "Send this message now"; +"Select a recipient from an Address Book" = "Select a recipient from an Address Book"; +"Include an attachment" = "Include an attachment"; +"Save this message" = "Save this message"; +"Get new messages" = "Get new messages"; +"Create a new message" = "Create a new message"; +"Go to address book" = "Go to address book"; +"Reply to the message" = "Reply to the message"; +"Reply to sender and all recipients" = "Reply to sender and all recipients"; +"Forward selected message" = "Forward selected message"; +"Delete selected message or folder" = "Delete selected message or folder"; +"Mark the selected messages as junk" = "Mark the selected messages as junk"; +"Print this message" = "Print this message"; +"Stop the current transfer" = "Stop the current transfer"; + /* Main Frame */ "Home" = "Home"; diff --git a/UI/MailerUI/French.lproj/Localizable.strings b/UI/MailerUI/French.lproj/Localizable.strings index 20f782224..cf34cac37 100644 --- a/UI/MailerUI/French.lproj/Localizable.strings +++ b/UI/MailerUI/French.lproj/Localizable.strings @@ -19,6 +19,23 @@ "Attach" = "Joindre"; "Save" = "Enregistrer"; +/* Tooltips */ + +"Send this message now" = "Envoyer le message maintenant"; +"Select a recipient from an Address Book" = "Sélectionner un destinataire du carnet d'adresses"; +"Include an attachment" = "Inclure une pièce jointe"; +"Save this message" = "Enregistrer ce message"; +"Get new messages" = "Relever les nouveaux messages"; +"Create a new message" = "Créer un nouveau message"; +"Go to address book" = "Ouvrir le carnet d'adresses"; +"Reply to the message" = "Répondre au message"; +"Reply to sender and all recipients" = "Répondre à l'expéditeur et à tous les destinataires"; +"Forward selected message" = "Transférer le message sélectionné"; +"Delete selected message or folder" = "Supprimer le message ou le dossier sélectionné"; +"Mark the selected messages as junk" = "Marquer les messages sélectionnés comme indésirables"; +"Print this message" = "Imprimer ce message"; +"Stop the current transfer" = "Arrêter le transfert courant"; + /* Main Frame */ "Home" = "Accueil"; diff --git a/UI/Scheduler/English.lproj/Localizable.strings b/UI/Scheduler/English.lproj/Localizable.strings index f49a55a92..cae726ee4 100644 --- a/UI/Scheduler/English.lproj/Localizable.strings +++ b/UI/Scheduler/English.lproj/Localizable.strings @@ -1,5 +1,16 @@ /* this file is in UTF-8 format! */ +/* Tooltips */ + +"Create a new event" = "Create a new event"; +"Create a new task" = "Create a new task"; +"Edit this event or task" = "Edit this event or task"; +"Delete this event or task" = "Delete this event or task"; +"Go to today" = "Go to today"; +"Switch to day view" = "Switch to day view"; +"Switch to week view" = "Switch to week view"; +"Switch to month view" = "Switch to month view"; + /* Day */ "Sunday" = "Sunday"; diff --git a/UI/Scheduler/French.lproj/Localizable.strings b/UI/Scheduler/French.lproj/Localizable.strings index 9fb1d9fcc..bf6d23187 100644 --- a/UI/Scheduler/French.lproj/Localizable.strings +++ b/UI/Scheduler/French.lproj/Localizable.strings @@ -1,5 +1,16 @@ /* this file is in UTF-8 format! */ +/* Tooltips */ + +"Create a new event" = "Créer un nouvel événement"; +"Create a new task" = "Créer une nouvelle tâche"; +"Edit this event or task" = "Modifier l'événement ou la tâche sélectionnée"; +"Delete this event or task" = "Supprimer l'événement ou la tâche sélectionnée"; +"Go to today" = "Aller à la journée d'aujourd'hui"; +"Switch to day view" = "Passer à la vue par jour"; +"Switch to week view" = "Passer à la vue par semaine"; +"Switch to month view" = "Passer à la vue par mois"; + /* Day */ "Sunday" = "Dimanche"; diff --git a/UI/Templates/UIxToolbar.wox b/UI/Templates/UIxToolbar.wox index 38ac3b24c..3fd5439dd 100644 --- a/UI/Templates/UIxToolbar.wox +++ b/UI/Templates/UIxToolbar.wox @@ -14,15 +14,15 @@ var:href="buttonInfo.link" var:target="buttonInfo.target" var:onclick="buttonInfo.onclick" - var:title="buttonInfo.tooltip" + var:title="buttonTooltip" >