[tomboy] Improvements for translators



commit 6d83b32b3dbed81cec8f291a5ad4a9c6130c1168
Author: Jeff Tickle <jeff jefftickle com>
Date:   Sat Jun 11 15:32:38 2011 -0700

    Improvements for translators
    
    https://bugzilla.gnome.org/show_bug.cgi?id=514179
    
    Signed-off-by: Aaron Borden <adborden live com>

 Tomboy/Addins/Backlinks/BacklinksNoteAddin.cs      |    1 +
 .../Addins/NoteOfTheDay/NoteOfTheDayPreferences.cs |    4 ++--
 .../StickyNoteImport/StickyNoteImportNoteAddin.cs  |    7 +++++--
 Tomboy/NoteWindow.cs                               |    6 ++++--
 data/tomboy.schemas.in                             |    4 ++--
 5 files changed, 14 insertions(+), 8 deletions(-)
---
diff --git a/Tomboy/Addins/Backlinks/BacklinksNoteAddin.cs b/Tomboy/Addins/Backlinks/BacklinksNoteAddin.cs
index a672840..e362b41 100644
--- a/Tomboy/Addins/Backlinks/BacklinksNoteAddin.cs
+++ b/Tomboy/Addins/Backlinks/BacklinksNoteAddin.cs
@@ -81,6 +81,7 @@ namespace Tomboy.Backlinks
 
 			// If nothing was found, add in a "dummy" item
 			if (menu.Children.Length == 0) {
+				// This is a disabled placeholder item for an empty menu
 				Gtk.MenuItem blank_item = new Gtk.MenuItem (Catalog.GetString ("(none)"));
 				blank_item.Sensitive = false;
 				blank_item.ShowAll ();
diff --git a/Tomboy/Addins/NoteOfTheDay/NoteOfTheDayPreferences.cs b/Tomboy/Addins/NoteOfTheDay/NoteOfTheDayPreferences.cs
index 6933c6f..a013f45 100644
--- a/Tomboy/Addins/NoteOfTheDay/NoteOfTheDayPreferences.cs
+++ b/Tomboy/Addins/NoteOfTheDay/NoteOfTheDayPreferences.cs
@@ -13,8 +13,8 @@ namespace Tomboy.NoteOfTheDay
 		{
 			Gtk.Label label = new Gtk.Label (
 			        Catalog.GetString (
-			                "Change the <span weight=\"bold\">Today: Template</span> " +
-			                "note to customize the text that new Today notes have."));
+						"Change the <b>Today: Template</b> note to customize " +
+						"the text that new Today notes have."));
 			label.UseMarkup = true;
 			label.Wrap = true;
 			label.Show ();
diff --git a/Tomboy/Addins/StickyNoteImport/StickyNoteImportNoteAddin.cs b/Tomboy/Addins/StickyNoteImport/StickyNoteImportNoteAddin.cs
index 705f574..c21e560 100644
--- a/Tomboy/Addins/StickyNoteImport/StickyNoteImportNoteAddin.cs
+++ b/Tomboy/Addins/StickyNoteImport/StickyNoteImportNoteAddin.cs
@@ -141,8 +141,11 @@ namespace Tomboy.StickyNoteImport
 		{
 			ShowMessageDialog (
 			        Catalog.GetString ("Sticky Notes import completed"),
-			        string.Format (Catalog.GetString ("<b>{0}</b> of <b>{1}</b> Sticky Notes " +
-			                                          "were successfully imported."),
+			        string.Format (Catalog.GetPluralString ("<b>{0}</b> of <b>{1}</b> Sticky " +
+									"Note was successfully imported.",
+									"<b>{0}</b> of <b>{1}</b> Sticky " +
+									"Notes were successfully imported.",
+									numNotesImported),
 			                       numNotesImported,
 			                       numNotesTotal),
 			        Gtk.MessageType.Info);
diff --git a/Tomboy/NoteWindow.cs b/Tomboy/NoteWindow.cs
index c058731..9efb78a 100644
--- a/Tomboy/NoteWindow.cs
+++ b/Tomboy/NoteWindow.cs
@@ -436,7 +436,8 @@ namespace Tomboy
 				Catalog.GetString ("Search"));
 			search.IsImportant = true;
 			search.Clicked += SearchActivate;
-			toolbar_tips.SetTip (search, Catalog.GetString ("Search your notes (Ctrl-Shift-F)"), null);
+			// TODO: If we ever add a way to customize internal keybindings, this will need to change
+			toolbar_tips.SetTip (search, Catalog.GetString ("Search your notes") + " (Ctrl-Shift-F)", null);
 			search.AddAccelerator ("clicked",
 			                       accel_group,
 			                       (uint) Gdk.Key.f,
@@ -452,9 +453,10 @@ namespace Tomboy
 			link_button.IsImportant = true;
 			link_button.Sensitive = (note.Buffer.Selection != null);
 			link_button.Clicked += LinkToNoteActivate;
+			// TODO: If we ever add a way to customize internal keybindings, this will need to change
 			toolbar_tips.SetTip (
 				link_button,
-				Catalog.GetString ("Link selected text to a new note (Ctrl-L)"),
+				Catalog.GetString ("Link selected text to a new note") + " (Ctrl-L)",
 				null);
 			link_button.AddAccelerator ("clicked",
 			                            accel_group,
diff --git a/data/tomboy.schemas.in b/data/tomboy.schemas.in
index bbaa4e5..9e3bced 100644
--- a/data/tomboy.schemas.in
+++ b/data/tomboy.schemas.in
@@ -38,7 +38,7 @@
       <type>bool</type>
       <default>true</default>
       <locale name="C">
-         <short>Enable Auto bulleted lists.</short>
+         <short>Enable automatic bulleted lists.</short>
          <long>
          Enable this option if you want bulleted lists to be automatic when you place - or * at the beginning of a line.
          </long>
@@ -375,7 +375,7 @@
       <type>string</type>
       <default></default>
       <locale name="C">
-         <short>HTML Export Last Directory</short>
+         <short>Last Directory used in HTML Export</short>
          <long>
 	   The last directory a note was exported to using the Export To HTML plugin.
          </long>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]