]> source.dussan.org Git - nextcloud-server.git/commitdiff
only double quoted string seems to be detected in js
authorRobin Appelman <icewind@owncloud.com>
Fri, 20 Jan 2012 16:47:55 +0000 (17:47 +0100)
committerRobin Appelman <icewind@owncloud.com>
Fri, 20 Jan 2012 16:47:55 +0000 (17:47 +0100)
apps/gallery/js/album_cover.js

index 4659cd302e86ecece5d857b92ffc27b01461a43f..38b5815775c8e4d03200a9e080666360aba7659d 100644 (file)
@@ -44,7 +44,7 @@ function scanForAlbums() {
 
     if (r.status == 'success') {
       totalAlbums = r.paths.length;
-      $('#notification').text(t('gallery','Creating thumbnails')+' ... ' + Math.floor((albumCounter/totalAlbums)*100) + "%");
+         $('#notification').text(t('gallery',"Creating thumbnails")+' ... ' + Math.floor((albumCounter/totalAlbums)*100) + "%");
       for(var a in r.paths) {
         $.getJSON('ajax/galleryOp.php?operation=partial_create&path='+r.paths[a], function(r) {
 
@@ -53,7 +53,7 @@ function scanForAlbums() {
           }
 
           albumCounter++;
-                 $('#notification').text(t('gallery','Creating thumbnails')+' ... ' + Math.floor((albumCounter/totalAlbums)*100) + "%");
+                 $('#notification').text(t('gallery',"Creating thumbnails")+' ... ' + Math.floor((albumCounter/totalAlbums)*100) + "%");
           if (albumCounter == totalAlbums) {
             $("#notification").fadeOut();
             $("#notification").slideUp();