@@ -110,13 +111,19 @@ export default {
this.observer.disconnect()
},
methods: {
- appLabel() {
- return (app) => app.name
+ appLabel(app) {
+ return app.name
+ (app.active ? ' (' + t('core', 'Currently open') + ')' : '')
+ (app.unread > 0 ? ' (' + n('core', '{count} notification', '{count} notifications', app.unread, { count: app.unread }) + ')' : '')
},
appList() {
- return Object.values(this.apps)
+ let items = Object.values(this.apps)
+
+ items.sort((a, b) => {
+ return a.order < b.order ? -1 : 1;
+ })
+
+ return items
},
mainAppList() {
return this.appList().slice(0, this.appLimit)
diff --git a/src/l10n/fixtures/cs.yaml b/src/l10n/fixtures/cs.yaml
index 5c6c92b..8659c98 100644
--- a/src/l10n/fixtures/cs.yaml
+++ b/src/l10n/fixtures/cs.yaml
@@ -90,4 +90,4 @@
"Applications kept in the top menu": "Aplikace ponechané v horní nabídce"
"Applications kept in the top menu but also shown in side menu": "Aplikace ponechané v horní nabídce ale také zobrazené v té boční"
"These applications must be selected in the previous option.": "Tyto aplikace je třeba vybrat v předchozí volbě."
-"Hide labels on mouse over": "Hide labels on mouse over"
+"Hide labels on mouse over": "Skrýt popisky při najetím ukazatele myši"
diff --git a/src/l10n/fixtures/es.yaml b/src/l10n/fixtures/es.yaml
index 0c3b173..2a401dd 100644
--- a/src/l10n/fixtures/es.yaml
+++ b/src/l10n/fixtures/es.yaml
@@ -90,4 +90,4 @@
"Applications kept in the top menu": "Aplicaciones guardadas en el menú superior"
"Applications kept in the top menu but also shown in side menu": "Las aplicaciones se mantienen en el menú superior pero también se muestran en el menú lateral"
"These applications must be selected in the previous option.": "Estas aplicaciones deben ser seleccionadas en las opciones anteriores."
-"Hide labels on mouse over": "Hide labels on mouse over"
+"Hide labels on mouse over": "Ocultar las etiquetas al pasar el ratón"