aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/dal_doc_str.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-05-04 23:02:26 -0400
committerRalph Amissah <ralph@amissah.com>2011-05-04 23:08:55 -0400
commit8ece506490b3f52aa3cf241a3b3009abc8027eae (patch)
tree1276a1f60200302e4d78445b8599ec63cd931115 /lib/sisu/v3/dal_doc_str.rb
parentv3: options, language setting, based on directory structure or filename (diff)
v3: i18n, sysenv, options, language setting changes
* must be able to set language at options stage from filename or directory * affects many files * old i18n more appropriately renamed prog_text_translation
Diffstat (limited to 'lib/sisu/v3/dal_doc_str.rb')
-rw-r--r--lib/sisu/v3/dal_doc_str.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sisu/v3/dal_doc_str.rb b/lib/sisu/v3/dal_doc_str.rb
index 063ddd82..ed289015 100644
--- a/lib/sisu/v3/dal_doc_str.rb
+++ b/lib/sisu/v3/dal_doc_str.rb
@@ -483,7 +483,7 @@ module SiSU_document_structure_extract
dir=SiSU_Env::Info_env.new(@md.fns)
base_html="#{dir.url.root}/#{@md.fnb}"
l=SiSU_Env::Standardise_language.new(@md.opt.lng).language
- language=l[:l]
+ language=l[:n]
tr=SiSU_Translate::Source.new(@md,language)
meta << @pb
h={ ln: 2, obj: 'Metadata', ocn_: false }