diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-06-17 22:38:31 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-06-17 22:53:27 -0400 |
commit | fed01af686fb007454eafff9127b16a6516b50c0 (patch) | |
tree | 9810fe775b188c35c5a7b3c5d2c428d114c8a49a /lib/sisu/v3/po4a.rb | |
parent | v3: 3.3.0 version & changelog "opened" (diff) |
v3: shared_sisupod_source, common build for sisu (markup) source representationssisu_3.3.0
* to be used by sisupod.txz, git, (and src)
* sisupod_make (--sisupod)
* share_source (--source)
NOTE not used git at present
* changed representation of shared sisu source, include related files in
directory rather than just markup file [reason for version bump]
NOTE there are no changes to sisu markup (only the sharing of source files)
Diffstat (limited to 'lib/sisu/v3/po4a.rb')
-rw-r--r-- | lib/sisu/v3/po4a.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sisu/v3/po4a.rb b/lib/sisu/v3/po4a.rb index da066daf..7ce825ee 100644 --- a/lib/sisu/v3/po4a.rb +++ b/lib/sisu/v3/po4a.rb @@ -60,6 +60,7 @@ module SiSU_Po4a require_relative 'dal' # dal.rb require_relative 'sysenv' # sysenv.rb include SiSU_Env + require_relative 'composite' # composite.rb require_relative 'shared_metadata' # shared_metadata.rb require_relative 'po4a_set' # po4a_set.rb include SiSU_Param @@ -72,8 +73,7 @@ module SiSU_Po4a #unless @opt.fns =~/(.+?\.(?:-|ssm\.)?sst)$/ # puts "#{@opt.fns} not a processed file type" #end - r=Px[:lng_lst].join('|') - r=r.gsub(/\|en\|/,'|') + r=Px[:lng_lst_rgx].gsub(/\|en\|/,'|') @lang_regx=%r{(?:#{r})} if opt.fns =~/\S+?~#{@lang_regx}\.ss[mti]/ \ and opt.f_pth[:lng]!=@opt.lng_base |