aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/digests.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/digests.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/digests.rb')
-rw-r--r--lib/sisu/v3/digests.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3/digests.rb b/lib/sisu/v3/digests.rb
index 0e6852b2..e7b303ba 100644
--- a/lib/sisu/v3/digests.rb
+++ b/lib/sisu/v3/digests.rb
@@ -58,7 +58,7 @@
=end
module SiSU_Digest_view
require_relative 'particulars' # particulars.rb
- require_relative 'i18n' # i18n.rb
+ require_relative 'prog_text_translation' # prog_text_translation.rb
require_relative 'shared_markup_alt.rb' # shared_markup_alt.rb
pwd=Dir.pwd
class Source
@@ -102,7 +102,7 @@ module SiSU_Digest_view
@@dl ||=@env.digest.length
@dg,@dl=@@dg,@@dl
l=SiSU_Env::Standardise_language.new(@md.opt.lng).language
- @language=l[:l]
+ @language=l[:n]
@tr=SiSU_Translate::Source.new(@md,@language)
@sp=' '
end