[gnome-documents/wip/skydrive: 20/24] documents: we now have meaningful rdf:types for SkydriveDocument



commit cef125103369b6f804ff88f9a403e0138abf8c1a
Author: Debarshi Ray <debarshir gnome org>
Date:   Wed May 30 23:02:59 2012 +0200

    documents: we now have meaningful rdf:types for SkydriveDocument
    
    Fixes: https://bugzilla.gnome.org/666535

 src/documents.js |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/documents.js b/src/documents.js
index 9e06c0a..deb926f 100644
--- a/src/documents.js
+++ b/src/documents.js
@@ -893,7 +893,11 @@ SkydriveDocument.prototype = {
     updateTypeDescription: function() {
         let description;
 
-        if (this.rdfType.indexOf('nfo#DataContainer') != -1)
+        if (this.rdfType.indexOf('nfo#Spreadsheet') != -1)
+            description = _("Spreadsheet");
+        else if (this.rdfType.indexOf('nfo#Presentation') != -1)
+            description = _("Presentation");
+        else if (this.rdfType.indexOf('nfo#DataContainer') != -1)
             description = _("Collection");
         else
             description = _("Document");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]