[gnome-documents] Fix translation strings
- From: Piotr DrÄg <piotrdrag src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] Fix translation strings
- Date: Wed, 24 Aug 2011 14:21:40 +0000 (UTC)
commit 0f3a558180b37dec17eba64062c7e3d1a4e874ec
Author: Piotr DrÄg <piotrdrag gmail com>
Date: Wed Aug 24 16:21:36 2011 +0200
Fix translation strings
src/mainWindow.js | 4 ++--
src/sidebar.js | 8 ++++----
src/spinnerBox.js | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/mainWindow.js b/src/mainWindow.js
index 7677828..4f6ef7b 100644
--- a/src/mainWindow.js
+++ b/src/mainWindow.js
@@ -61,7 +61,7 @@ MainWindow.prototype = {
this.window = new Gtk.Window({ type: Gtk.WindowType.TOPLEVEL,
window_position: Gtk.WindowPosition.CENTER,
- title: _('Documents') });
+ title: _("Documents") });
this.window.set_size_request(_WINDOW_DEFAULT_WIDTH, _WINDOW_DEFAULT_HEIGHT);
this.window.maximize();
@@ -152,7 +152,7 @@ MainWindow.prototype = {
if (remainingDocs > TrackerModel.OFFSET_STEP)
remainingDocs = TrackerModel.OFFSET_STEP;
- this._loadMore.label = _('Load %d more documents').format(remainingDocs);
+ this._loadMore.label = _("Load %d more documents").format(remainingDocs);
this._loadMore.show();
},
diff --git a/src/sidebar.js b/src/sidebar.js
index f2196d8..9c4fad9 100644
--- a/src/sidebar.js
+++ b/src/sidebar.js
@@ -52,15 +52,15 @@ SidebarModel.prototype = {
let iter = this.model.append();
Gd.sidebar_store_set(this.model, iter,
- '', _('Sources'), true);
+ '', _("Sources"), true);
iter = this.model.append();
Gd.sidebar_store_set(this.model, iter,
- 'all', _('All'), false);
+ 'all', _("All"), false);
iter = this.model.append();
Gd.sidebar_store_set(this.model, iter,
- 'local', _('Local'), false);
+ 'local', _("Local"), false);
},
_onGoaClientCreated: function(object, res) {
@@ -201,7 +201,7 @@ Sidebar.prototype = {
buttonContent.add(new Gtk.Image({ icon_size: Gtk.IconSize.MENU,
icon_name: 'go-previous-symbolic',
yalign: 0.75 }));
- this._buttonLabel = new Gtk.Label({ label: _('Sources') });
+ this._buttonLabel = new Gtk.Label({ label: _("Sources") });
buttonContent.add(this._buttonLabel);
this._sourcesButton = new Gtk.Button({ child: buttonContent });
diff --git a/src/spinnerBox.js b/src/spinnerBox.js
index 664d8f3..c1369db 100644
--- a/src/spinnerBox.js
+++ b/src/spinnerBox.js
@@ -44,7 +44,7 @@ SpinnerBox.prototype = {
this._spinner.start();
this.widget.add(this._spinner);
- this._label = new Gtk.Label({ label: '<big><b>' + _('Loading...') + '</b></big>',
+ this._label = new Gtk.Label({ label: '<big><b>' + _("Loading...") + '</b></big>',
use_markup: true,
halign: Gtk.Align.CENTER,
valign: Gtk.Align.CENTER });
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]