[gnome-documents] embed: use a better empty message when in books mode
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] embed: use a better empty message when in books mode
- Date: Tue, 23 Dec 2014 14:42:30 +0000 (UTC)
commit 95f70bd4f2b881b81dcd9797000ac9ef8741b6d4
Author: Cosimo Cecchi <cosimo endlesm com>
Date: Tue Dec 23 22:41:54 2014 +0800
embed: use a better empty message when in books mode
src/embed.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/embed.js b/src/embed.js
index 441dd48..a1b37a8 100644
--- a/src/embed.js
+++ b/src/embed.js
@@ -139,7 +139,9 @@ const EmptyResultsBox = new Lang.Class({
this.widget.add(this._labelsGrid);
let titleLabel = new Gtk.Label({ label: '<b><span size="large">' +
- _("No Documents Found") +
+ (Application.application.isBooks ?
+ _("No Books Found") :
+ _("No Documents Found")) +
'</span></b>',
use_markup: true,
halign: Gtk.Align.START,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]