aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/dal_metadata.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sisu/v3/dal_metadata.rb')
-rw-r--r--lib/sisu/v3/dal_metadata.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3/dal_metadata.rb b/lib/sisu/v3/dal_metadata.rb
index 31a7e4b2..2e68c944 100644
--- a/lib/sisu/v3/dal_metadata.rb
+++ b/lib/sisu/v3/dal_metadata.rb
@@ -60,8 +60,8 @@ module SiSU_metadata
class Metadata
def initialize(md,metad)
@md,@metadata=md,metad
- l=SiSU_Env::Standardise_language.new.file_to_language(md.fns)
- language=l[:l]
+ l=SiSU_Env::Standardise_language.new(@md.opt.lng).language
+ language=l[:n]
@tr=SiSU_Translate::Source.new(md,language)
end
def make_para(obj,ocn)