don't capitalize "return to albums" and "return to thumbnails"
authorgc <gc>
Thu, 12 May 2005 20:31:41 +0000 (20:31 +0000)
committergc <gc>
Thu, 12 May 2005 20:31:41 +0000 (20:31 +0000)
bin/booh-backend

index 72f04254a0c0eb6d1c4340d2fc6f7f1e6491d8e3..2fc0095e094ef332f1ad7a49225642c695ed8a11 100755 (executable)
@@ -624,7 +624,7 @@ def walk_source_dir
                         i.gsub!(/~~other_sizes~~/, othersizes.join(', '))
                         i.gsub!(/~~captions~~/, captions4js)
                         i.gsub!(/~~title~~/, xmldir.attributes['thumbnails-caption'] || utf8(File.basename(dir)))
-                        i.gsub!(/~~thumbnails~~/, '<a href="thumbnails-' + sizeobj['name'] + '.html" id="thumbnails">' + utf8(_('Return to thumbnails')) + '</a>')
+                        i.gsub!(/~~thumbnails~~/, '<a href="thumbnails-' + sizeobj['name'] + '.html" id="thumbnails">' + utf8(_('return to thumbnails')) + '</a>')
                         i.gsub!(/~~theme~~/, $theme)
                         i.gsub!(/~~current_size~~/, sizeobj['name'])
                         substitute_html_sizes(i, sizeobj, 'image')
@@ -767,10 +767,10 @@ def walk_source_dir
             contents = File.open(thumbnails.chomp).readlines
             for i in contents
                 if xmldir.elements['dir']
-                    i.sub!(/~~return_to_albums~~/, '<a href="index.html">' + utf8(_('Return to albums')) + '</a>')
+                    i.sub!(/~~return_to_albums~~/, '<a href="index.html">' + utf8(_('return to albums')) + '</a>')
                 else
                     if xmldir.parent.name == 'dir'
-                        i.sub!(/~~return_to_albums~~/, '<a href="../index.html">' + utf8(_('Return to albums')) + '</a>')
+                        i.sub!(/~~return_to_albums~~/, '<a href="../index.html">' + utf8(_('return to albums')) + '</a>')
                     else
                         i.sub!(/~~return_to_albums~~/, '')
                     end