[gnome-documents] embed: Rename "Recent" view to "Documents" or "Books"
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] embed: Rename "Recent" view to "Documents" or "Books"
- Date: Tue, 6 Oct 2015 16:49:16 +0000 (UTC)
commit 18a983f296a24da6aaa4ac4a36a7ccda92ba3b5d
Author: Alessandro Bono <shadow openaliasbox org>
Date: Tue Oct 6 18:27:44 2015 +0200
embed: Rename "Recent" view to "Documents" or "Books"
https://bugzilla.gnome.org/show_bug.cgi?id=756123
src/embed.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/embed.js b/src/embed.js
index 5d040ad..42fbccd 100644
--- a/src/embed.js
+++ b/src/embed.js
@@ -77,7 +77,8 @@ const Embed = new Lang.Class({
// now create the actual content widgets
this._documents = new View.ViewContainer(WindowMode.WindowMode.DOCUMENTS);
- this._stack.add_titled(this._documents, 'documents', _("Recent"));
+ let label = !Application.application.isBooks ? _("Documents") : _('Books');
+ this._stack.add_titled(this._documents, 'documents', label);
this._collections = new View.ViewContainer(WindowMode.WindowMode.COLLECTIONS);
this._stack.add_titled(this._collections, 'collections', _("Collections"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]