[gnome-documents/gnome-3-6] all: add some requested translators comment



commit bb52de202793e1c033d69ba792a8359b69bb016b
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Nov 14 14:40:19 2012 -0500

    all: add some requested translators comment
    
    https://bugzilla.gnome.org/show_bug.cgi?id=685753

 src/properties.js |    6 ++++++
 src/searchbar.js  |    4 ++++
 2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/properties.js b/src/properties.js
index 44cfd79..68a37a4 100644
--- a/src/properties.js
+++ b/src/properties.js
@@ -71,6 +71,8 @@ const PropertiesDialog = new Lang.Class({
         contentArea.pack_start(grid, true, true, 2);
 
         // Title item
+        // Translators: "Title" is the label next to the document title
+        // in the properties dialog
         this._title = new Gtk.Label({ label: _("Title"),
                                       halign: Gtk.Align.END });
         this._title.get_style_context ().add_class('dim-label');
@@ -78,6 +80,8 @@ const PropertiesDialog = new Lang.Class({
 
         // Author item
         if (doc.author) {
+            // Translators: "Author" is the label next to the document author
+            // in the properties dialog
             this._author = new Gtk.Label({ label: _("Author"),
                                            halign: Gtk.Align.END });
             this._author.get_style_context ().add_class('dim-label');
@@ -105,6 +109,8 @@ const PropertiesDialog = new Lang.Class({
         }
 
         // Document type item
+        // Translators: "Type" is the label next to the document type
+        // (PDF, spreadsheet, ...) in the properties dialog
         this._docType = new Gtk.Label({ label: _("Type"),
                                         halign: Gtk.Align.END });
         this._docType.get_style_context ().add_class('dim-label');
diff --git a/src/searchbar.js b/src/searchbar.js
index c57b0ff..b8b757b 100644
--- a/src/searchbar.js
+++ b/src/searchbar.js
@@ -132,6 +132,8 @@ const SearchTypeManager = new Lang.Class({
     Extends: Manager.BaseManager,
 
     _init: function() {
+        // Translators: "Type" refers to a search filter on the document type
+        // (PDF, spreadsheet, ...)
         this.parent(_("Type"));
 
         this.addItem(new SearchType({ id: 'all',
@@ -222,8 +224,10 @@ const SearchMatchManager = new Lang.Class({
         this.addItem(new SearchMatch({ id: SearchMatchStock.ALL,
                                        name: _("All") }));
         this.addItem(new SearchMatch({ id: SearchMatchStock.TITLE,
+        //Translators: "Title" refers to "Match Title" when searching
                                        name: _("Title") }));
         this.addItem(new SearchMatch({ id: SearchMatchStock.AUTHOR,
+        //Translators: "Author" refers to "Match Author" when searching
                                        name: _("Author") }));
 
         this.setActiveItemById(SearchMatchStock.ALL);



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