[polari] roomStack: Mark strings as translatable
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] roomStack: Mark strings as translatable
- Date: Wed, 16 Sep 2015 17:20:46 +0000 (UTC)
commit bdd58c59ccac4aef67c2a9e8f2492bd3b311a876
Author: Jiro Matsuzawa <jmatsuzawa gnome org>
Date: Sat Sep 12 16:47:37 2015 +0900
roomStack: Mark strings as translatable
https://bugzilla.gnome.org/show_bug.cgi?id=754916
src/roomStack.js | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/roomStack.js b/src/roomStack.js
index dae4c6d..f60d924 100644
--- a/src/roomStack.js
+++ b/src/roomStack.js
@@ -127,7 +127,7 @@ const ChatPlaceholder = new Lang.Class({
_checkAccounts: function() {
let accounts = this._accountsMonitor.dupAccounts();
if (accounts.length == 0) {
- this._description.label = "Begin chatting by adding a new connection.";
+ this._description.label = _("Begin chatting by adding a new connection.");
/* translators: This will be used in the phrase: "Open Connections in the application menu" */
let href = '<a href="connections">%s</a>'.format(_("Connections"));
this._instruction.label = _("Open %s in the application menu.").format(href);
@@ -137,7 +137,7 @@ const ChatPlaceholder = new Lang.Class({
this._instruction.label = '';
} else {
- this._description.label = "Your connections are disabled.";
+ this._description.label = _("Your connections are disabled.");
/* translators: This will be used in the phrase: "Enable them by opening Connections in the
application menu" */
let href = '<a href="connections">%s</a>'.format(_("Connections"));
this._instruction.label = _("Enable them by opening %s in the application menu.").format(href);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]