From 195805da6e2d17a0187d35fb5989b102fa58f35e Mon Sep 17 00:00:00 2001 From: br1 Date: Tue, 26 Mar 2002 17:43:02 +0000 Subject: [PATCH] language bundles are now in a directory bundles/ in WEB-INF classes in order to keep things clear even when we have lots of translations. also added copying of bundles to the compile target of the build.xml and commented out the call of perms.sh since thats really annoying and not necessary in a development environment --- build.xml | 14 +++++++++----- source/mir/misc/HTMLTemplateProcessor.java | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/build.xml b/build.xml index f72143bf..7daa9ecb 100755 --- a/build.xml +++ b/build.xml @@ -2,7 +2,7 @@ diff --git a/source/mir/misc/HTMLTemplateProcessor.java b/source/mir/misc/HTMLTemplateProcessor.java index af419eac..cf5e0ae7 100755 --- a/source/mir/misc/HTMLTemplateProcessor.java +++ b/source/mir/misc/HTMLTemplateProcessor.java @@ -255,7 +255,7 @@ public final class HTMLTemplateProcessor { outPutHash.put("data",tmr); outPutHash.put("config", configHash); - MessageResources messages = MessageResources.getMessageResources("admin"); + MessageResources messages = MessageResources.getMessageResources("bundles.admin"); outPutHash.put("lang", new MessageMethodModel(locale, messages) ); tmpl.process(outPutHash,out); -- 2.11.0