diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sisu/current/se_file_op.rb | 18 | ||||
-rw-r--r-- | lib/sisu/develop/se_file_op.rb | 18 |
2 files changed, 10 insertions, 26 deletions
diff --git a/lib/sisu/current/se_file_op.rb b/lib/sisu/current/se_file_op.rb index b64aef94..bccb7605 100644 --- a/lib/sisu/current/se_file_op.rb +++ b/lib/sisu/current/se_file_op.rb @@ -1008,19 +1008,11 @@ module SiSU_File_Op def html_seg(fh) fh=default_hash_build(fh,Sfx[:html]) fh[:lng]=lang_code?(fh[:lng]) - fnh=if output_dir_structure.by_filename? - { - fn: 'scroll', - ft: fh[:ft], - lng: fh[:lng], - } - else - { - fn: fh[:fn], - ft: fh[:ft], - lng: fh[:lng], - } - end + fnh={ + fn: fh[:fn], + ft: fh[:ft], + lng: fh[:lng], + } i18n(fnh) end def html_book_index(fh=nil) diff --git a/lib/sisu/develop/se_file_op.rb b/lib/sisu/develop/se_file_op.rb index 38b52f98..1555d119 100644 --- a/lib/sisu/develop/se_file_op.rb +++ b/lib/sisu/develop/se_file_op.rb @@ -1043,19 +1043,11 @@ module SiSU_File_Op def html_seg(fh) fh=default_hash_build(fh,Sfx[:html]) fh[:lng]=lang_code?(fh[:lng]) - fnh=if output_dir_structure.by_filename? - { - fn: 'scroll', - ft: fh[:ft], - lng: fh[:lng], - } - else - { - fn: fh[:fn], - ft: fh[:ft], - lng: fh[:lng], - } - end + fnh={ + fn: fh[:fn], + ft: fh[:ft], + lng: fh[:lng], + } i18n(fnh) end def html_book_index(fh=nil) |