[dash] Change section titles to match 20091114 mockup
Documents is changed to Items, and add "& Devices" to Places. https://bugzilla.gnome.org/show_bug.cgi?id=605491
This commit is contained in:
parent
7c4765d053
commit
5202dd5157
@ -882,14 +882,14 @@ Dash.prototype = {
|
|||||||
|
|
||||||
/* Translators: This is in the sense of locations for documents,
|
/* Translators: This is in the sense of locations for documents,
|
||||||
network locations, etc. */
|
network locations, etc. */
|
||||||
this._placesSection = new Section(_("PLACES"), true);
|
this._placesSection = new Section(_("PLACES & DEVICES"), true);
|
||||||
let placesDisplay = new PlaceDisplay.DashPlaceDisplay();
|
let placesDisplay = new PlaceDisplay.DashPlaceDisplay();
|
||||||
this._placesSection.content.add(placesDisplay.actor, { expand: true });
|
this._placesSection.content.add(placesDisplay.actor, { expand: true });
|
||||||
this.sectionArea.add(this._placesSection.actor);
|
this.sectionArea.add(this._placesSection.actor);
|
||||||
|
|
||||||
/***** Documents *****/
|
/***** Documents *****/
|
||||||
|
|
||||||
this._docsSection = new Section(_("RECENT DOCUMENTS"));
|
this._docsSection = new Section(_("RECENT ITEMS"));
|
||||||
|
|
||||||
this._docDisplay = new DocDisplay.DashDocDisplay();
|
this._docDisplay = new DocDisplay.DashDocDisplay();
|
||||||
this._docsSection.content.add(this._docDisplay.actor, { expand: true });
|
this._docsSection.content.add(this._docDisplay.actor, { expand: true });
|
||||||
|
@ -485,7 +485,7 @@ DocSearchProvider.prototype = {
|
|||||||
__proto__: Search.SearchProvider.prototype,
|
__proto__: Search.SearchProvider.prototype,
|
||||||
|
|
||||||
_init: function(name) {
|
_init: function(name) {
|
||||||
Search.SearchProvider.prototype._init.call(this, _("DOCUMENTS"));
|
Search.SearchProvider.prototype._init.call(this, _("RECENT ITEMS"));
|
||||||
this._docManager = DocInfo.getDocManager();
|
this._docManager = DocInfo.getDocManager();
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -516,7 +516,7 @@ PlaceSearchProvider.prototype = {
|
|||||||
__proto__: Search.SearchProvider.prototype,
|
__proto__: Search.SearchProvider.prototype,
|
||||||
|
|
||||||
_init: function() {
|
_init: function() {
|
||||||
Search.SearchProvider.prototype._init.call(this, _("PLACES"));
|
Search.SearchProvider.prototype._init.call(this, _("PLACES & DEVICES"));
|
||||||
},
|
},
|
||||||
|
|
||||||
getResultMeta: function(resultId) {
|
getResultMeta: function(resultId) {
|
||||||
|
Loading…
Reference in New Issue
Block a user