fix "original size" broken while generating web-album, introduced in de3d4d21d41801e2...
authorGuillaume Cottenceau <gcottenc@gmail.com>
Fri, 13 Jun 2008 09:52:43 +0000 (11:52 +0200)
committerGuillaume Cottenceau <gcottenc@gmail.com>
Fri, 13 Jun 2008 09:52:43 +0000 (11:52 +0200)
bin/booh-backend

index 5a512c2..596b019 100755 (executable)
@@ -578,7 +578,7 @@ def substitute_html_sizes(html, sizeobj, type, suffix)
             end
         end
         if type == 'image' && $limit_sizes =~ /original/
-            sizestrings << '<a id="linkoriginal" target="newframe">' + defer_translation(sizename('original'), false) + '</a>'
+            sizestrings << '<a id="linkoriginal" target="newframe">' + defer_translation(sizename('original', false)) + '</a>'
         end
     end
     html.sub!(/~~sizes~~(.+)~~/) { sizestrings.join($1) }