aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/qrcode.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-09-13 19:20:25 -0400
committerRalph Amissah <ralph@amissah.com>2011-09-13 19:20:25 -0400
commitc2163c564756a6998fa9d82ae33c92724ab7f8fc (patch)
tree99c7f51a11db67b559e955a0a21144f3915ecd70 /lib/sisu/v3/qrcode.rb
parentv3: dal_images, disabled imagemagick configuration permission check (diff)
v3: image (relative) paths for different sisu output structures
* (re: by_language, by_filetype, by_filename) * sysenv, set path * html seg, scroll, manifest (qrcodes), xmls
Diffstat (limited to 'lib/sisu/v3/qrcode.rb')
-rw-r--r--lib/sisu/v3/qrcode.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3/qrcode.rb b/lib/sisu/v3/qrcode.rb
index fe9ca432..e244231e 100644
--- a/lib/sisu/v3/qrcode.rb
+++ b/lib/sisu/v3/qrcode.rb
@@ -709,9 +709,9 @@ WOK
@en_manifest=if @env.output_dir_structure.by_language_code?
"#{url}/en/manifest/#{@md.fnb}.html"
elsif @env.output_dir_structure.by_filetype?
- "#{url}/manifest/#{@md.fnb}.#{lc}.html"
+ "#{url}/manifest/#{@md.fnb}.#{@md.opt.lng}.html"
else
- "#{url}/sisu_manifest.#{lc}.html"
+ "#{url}/sisu_manifest.#{@md.opt.lng}.html"
end
@manifest[:txt] <<<<WOK
#{@translate.manifest_description_metadata}