[gnome-documents] all: add some requested translators comment
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] all: add some requested translators comment
- Date: Wed, 14 Nov 2012 19:41:23 +0000 (UTC)
commit 8f99cd34c7025dacd2fcc72e0766203986a05b27
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 5bd47b8..31590e6 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 0759ec7..2b654d7 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]