summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Martin <notmart@gmail.com>2016-01-27 09:47:40 (GMT)
committerMarco Martin <notmart@gmail.com>2016-01-27 09:47:40 (GMT)
commit5b5f0a0c8a4ee08372fd9e54286c55fb8782fcd4 (patch)
tree027d4205c9fe701ccc0d5058d3a10837c29fe2d6
parent449d727707be4b2d8e06cf41bedf489327889414 (diff)
a message if no docs present
-rw-r--r--mobile/app/package/contents/ui/Documents.qml13
-rw-r--r--mobile/app/package/contents/ui/bookmark.pngbin3887 -> 0 bytes
-rw-r--r--mobile/app/package/contents/ui/bookmark.svgzbin2551 -> 0 bytes
-rw-r--r--mobile/app/package/metadata.desktop95
4 files changed, 61 insertions, 47 deletions
diff --git a/mobile/app/package/contents/ui/Documents.qml b/mobile/app/package/contents/ui/Documents.qml
index a3cfc65..d6002e8 100644
--- a/mobile/app/package/contents/ui/Documents.qml
+++ b/mobile/app/package/contents/ui/Documents.qml
@@ -51,6 +51,19 @@ MobileComponents.Page {
}
}
+ MobileComponents.Label {
+ z: 2
+ visible: filesView.count == 0
+ anchors {
+ fill: parent
+ margins: MobileComponents.Units.gridUnit
+ }
+ text: i18n("No Documents found. To start to read, put some files in the Documents folder of your device.")
+ wrapMode: Text.WordWrap
+ horizontalAlignment: Text.AlignHCenter
+ verticalAlignment: Text.AlignVCenter
+ }
+
PlasmaExtras.ScrollArea {
anchors.fill: parent
ListView {
diff --git a/mobile/app/package/contents/ui/bookmark.png b/mobile/app/package/contents/ui/bookmark.png
deleted file mode 100644
index 5e8892b..0000000
--- a/mobile/app/package/contents/ui/bookmark.png
+++ /dev/null
Binary files differ
diff --git a/mobile/app/package/contents/ui/bookmark.svgz b/mobile/app/package/contents/ui/bookmark.svgz
deleted file mode 100644
index 06f417d..0000000
--- a/mobile/app/package/contents/ui/bookmark.svgz
+++ /dev/null
Binary files differ
diff --git a/mobile/app/package/metadata.desktop b/mobile/app/package/metadata.desktop
index 60f18ef..de2d7fa 100644
--- a/mobile/app/package/metadata.desktop
+++ b/mobile/app/package/metadata.desktop
@@ -1,51 +1,52 @@
[Desktop Entry]
-Name=Document viewer
-Name[ar]=عارض المستندات
-Name[bg]=Преглед на документи
-Name[bs]=Prikazivač dokumenata
-Name[ca]=Visualitzador de documents
-Name[ca@valencia]=Visualitzador de documents
-Name[cs]=Prohlížeč dokumentů
-Name[da]=Dokumentfremviser
-Name[de]=Dokumentenbetrachter
-Name[el]=Προβολέας εγγράφων
-Name[en_GB]=Document viewer
-Name[es]=Visor de documentos
-Name[et]=Dokumendinäitaja
-Name[fi]=Asiakirjakatselin
-Name[fr]=Afficheur de documents
-Name[ga]=Amharcán cáipéisí
-Name[gl]=Visor de documentos
-Name[hu]=Dokumentummegjelenítő
-Name[ia]=Visor de documento
-Name[is]=Skjalaskoðari
-Name[it]=Visore di documenti
-Name[ja]=文書ビューア
-Name[kk]=Құжатты қарау құралы
-Name[ko]=문서 뷰어
-Name[lt]=Dokumentų žiūryklė
-Name[mr]=दस्तऐवज प्रदर्शक
-Name[nb]=Dokumentviser
-Name[nds]=Dokmentkieker
-Name[nl]=Documentenviewer
-Name[pa]=ਡੌਕੂਮੈਂਟ ਦਰਸ਼ਕ
-Name[pl]=Przeglądarka dokumentów
-Name[pt]=Visualizador de documentos
-Name[pt_BR]=Visualizador de documentos
-Name[ro]=Vizualizor de documente
-Name[ru]=Просмотр документов
-Name[sk]=Prehliadač dokumentov
-Name[sl]=Pregledovalnik dokumentov
-Name[sr]=Приказивач докумената
-Name[sr@ijekavian]=Приказивач докумената
-Name[sr@ijekavianlatin]=Prikazivač dokumenata
-Name[sr@latin]=Prikazivač dokumenata
-Name[sv]=Dokumentvisare
-Name[tr]=Belge görüntüleyici
-Name[uk]=Переглядач документів
-Name[x-test]=xxDocument viewerxx
-Name[zh_CN]=文档查看器
-Name[zh_TW]=文件檢視器
+Name=Okular
+GenericName=Document viewer
+GenericName[ar]=عارض المستندات
+GenericName[bg]=Преглед на документи
+GenericName[bs]=Prikazivač dokumenata
+GenericName[ca]=Visualitzador de documents
+GenericName[ca@valencia]=Visualitzador de documents
+GenericName[cs]=Prohlížeč dokumentů
+GenericName[da]=Dokumentfremviser
+GenericName[de]=Dokumentenbetrachter
+GenericName[el]=Προβολέας εγγράφων
+GenericName[en_GB]=Document viewer
+GenericName[es]=Visor de documentos
+GenericName[et]=Dokumendinäitaja
+GenericName[fi]=Asiakirjakatselin
+GenericName[fr]=Afficheur de documents
+GenericName[ga]=Amharcán cáipéisí
+GenericName[gl]=Visor de documentos
+GenericName[hu]=Dokumentummegjelenítő
+GenericName[ia]=Visor de documento
+GenericName[is]=Skjalaskoðari
+GenericName[it]=Visore di documenti
+GenericName[ja]=文書ビューア
+GenericName[kk]=Құжатты қарау құралы
+GenericName[ko]=문서 뷰어
+GenericName[lt]=Dokumentų žiūryklė
+GenericName[mr]=दस्तऐवज प्रदर्शक
+GenericName[nb]=Dokumentviser
+GenericName[nds]=Dokmentkieker
+GenericName[nl]=Documentenviewer
+GenericName[pa]=ਡੌਕੂਮੈਂਟ ਦਰਸ਼ਕ
+GenericName[pl]=Przeglądarka dokumentów
+GenericName[pt]=Visualizador de documentos
+GenericName[pt_BR]=Visualizador de documentos
+GenericName[ro]=Vizualizor de documente
+GenericName[ru]=Просмотр документов
+GenericName[sk]=Prehliadač dokumentov
+GenericName[sl]=Pregledovalnik dokumentov
+GenericName[sr]=Приказивач докумената
+GenericName[sr@ijekavian]=Приказивач докумената
+GenericName[sr@ijekavianlatin]=Prikazivač dokumenata
+GenericName[sr@latin]=Prikazivač dokumenata
+GenericName[sv]=Dokumentvisare
+GenericName[tr]=Belge görüntüleyici
+GenericName[uk]=Переглядач документів
+GenericName[x-test]=xxDocument viewerxx
+GenericName[zh_CN]=文档查看器
+GenericName[zh_TW]=文件檢視器
Encoding=UTF-8
Type=Application
Exec=kpackagelauncherqml -a org.kde.mobile.okular %u