You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shale.apache.org by he...@apache.org on 2007/03/13 14:33:07 UTC

svn commit: r517696 - in /shale/tools/trunk/tld2claycfg: ./ src/main/java/org/apache/shale/clay/util/beans/Validator.java src/main/resources/messages.properties src/main/resources/messages_no.properties

Author: hermod
Date: Tue Mar 13 06:33:07 2007
New Revision: 517696

URL: http://svn.apache.org/viewvc?view=rev&rev=517696
Log:
Added Norwegian translation of the resource bundles, and fixed minor typo's in some of the current. Added new bean Validator

Added:
    shale/tools/trunk/tld2claycfg/src/main/java/org/apache/shale/clay/util/beans/Validator.java
    shale/tools/trunk/tld2claycfg/src/main/resources/messages_no.properties
Modified:
    shale/tools/trunk/tld2claycfg/   (props changed)
    shale/tools/trunk/tld2claycfg/src/main/resources/messages.properties

Propchange: shale/tools/trunk/tld2claycfg/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Mar 13 06:33:07 2007
@@ -0,0 +1,3 @@
+.project
+target
+.classpath

Added: shale/tools/trunk/tld2claycfg/src/main/java/org/apache/shale/clay/util/beans/Validator.java
URL: http://svn.apache.org/viewvc/shale/tools/trunk/tld2claycfg/src/main/java/org/apache/shale/clay/util/beans/Validator.java?view=auto&rev=517696
==============================================================================
--- shale/tools/trunk/tld2claycfg/src/main/java/org/apache/shale/clay/util/beans/Validator.java (added)
+++ shale/tools/trunk/tld2claycfg/src/main/java/org/apache/shale/clay/util/beans/Validator.java Tue Mar 13 06:33:07 2007
@@ -0,0 +1,36 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to you under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.shale.clay.util.beans;
+
+public class Validator {
+    
+    public String validatorClass;
+    
+    public Validator()
+    {
+        
+    }
+
+    public String getValidatorClass() {
+        return validatorClass;
+    }
+
+    public void setValidatorClass(String validatorClass) {
+        this.validatorClass = validatorClass;
+    }
+
+}

Modified: shale/tools/trunk/tld2claycfg/src/main/resources/messages.properties
URL: http://svn.apache.org/viewvc/shale/tools/trunk/tld2claycfg/src/main/resources/messages.properties?view=diff&rev=517696&r1=517695&r2=517696
==============================================================================
--- shale/tools/trunk/tld2claycfg/src/main/resources/messages.properties (original)
+++ shale/tools/trunk/tld2claycfg/src/main/resources/messages.properties Tue Mar 13 06:33:07 2007
@@ -1,4 +1,4 @@
-#
+#
 # Licensed to the Apache Software Foundation (ASF) under one or more
 # contributor license agreements.  See the NOTICE file distributed with
 # this work for additional information regarding copyright ownership.
@@ -14,25 +14,12 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 #
-TldToClayconfig.info=Usage: java TldToClayconfig filename version destPath methodbinding-filter
-TldToClayconfig.exception=Exception occurred while converting : 
-TldToClayconfig.exception.io=IOException while converting : 
-TldToClayconfig.exception.fnfe=Tld file not found : 
-TldToClayconfig.directory.creation.error=Could not create destination directory : 
-TldToClayconfig.doc.license=Licensed to the Apache Software Foundation (ASF) under one or more\n\
- contributor license agreements.  See the NOTICE file distributed with\n\
- this work for additional information regarding copyright ownership.\n\
- The ASF licenses this file to you under the Apache License, Version 2.0\n\
- (the "License"); you may not use this file except in compliance with\n\
- the License.  You may obtain a copy of the License at\n\
-\n\
-     http://www.apache.org/licenses/LICENSE-2.0\n\
-\n\
- Unless required by applicable law or agreed to in writing, software\n\
- distributed under the License is distributed on an "AS IS" BASIS,\n\
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n\
- See the License for the specific language governing permissions and\n\
- limitations under the License.\n
-TldToClayconfig.doc.dtd=<!DOCTYPE view PUBLIC\n\
-      "-//Apache Software Foundation//DTD Shale Clay View Configuration 1.0//EN"\n\
-      "http://struts.apache.org/dtds/shale-clay-config_1_0.dtd">
+# $Id$
+
+TldToClayconfig.directory.creation.error = Could not create destination directory :
+TldToClayconfig.doc.dtd                  = <!DOCTYPE view PUBLIC\n"-//Apache Software Foundation//DTD Shale Clay View Configuration 1.0//EN"\n"http://struts.apache.org/dtds/shale-clay-config_1_0.dtd">
+TldToClayconfig.doc.license              = Licensed to the Apache Software Foundation (ASF) under one or more\ncontributor license agreements.  See the NOTICE file distributed with\nthis work for additional information regarding copyright ownership.\nThe ASF licenses this file to you under the Apache License, Version 2.0\n(the "License"); you may not use this file except in compliance with\nthe License.  You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an "AS IS" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n
+TldToClayconfig.exception                = Exception occurred while converting :
+TldToClayconfig.exception.fnfe           = Tld file not found :
+TldToClayconfig.exception.io             = IOException while converting :
+TldToClayconfig.info                     = Usage: java TldToClayconfig filename version destPath methodbinding-filter

Added: shale/tools/trunk/tld2claycfg/src/main/resources/messages_no.properties
URL: http://svn.apache.org/viewvc/shale/tools/trunk/tld2claycfg/src/main/resources/messages_no.properties?view=auto&rev=517696
==============================================================================
--- shale/tools/trunk/tld2claycfg/src/main/resources/messages_no.properties (added)
+++ shale/tools/trunk/tld2claycfg/src/main/resources/messages_no.properties Tue Mar 13 06:33:07 2007
@@ -0,0 +1,23 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to you under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# $Id: $
+
+TldToClayconfig.directory.creation.error = Kunne ikke lage distinasjons folderen :
+TldToClayconfig.exception                = Unntak oppstod under konvertering :
+TldToClayconfig.exception.fnfe           = TLD fil ikke funnet :
+TldToClayconfig.exception.io             = I/U untakk under konvertering :
+TldToClayconfig.info                     = Bruk: java TldToClayconfig fileavn versjon destSti metodebinding-filter