You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by gm...@apache.org on 2014/07/05 16:37:15 UTC

svn commit: r1608022 [1/3] - in /roller/trunk: app/src/main/java/org/apache/roller/weblogger/ui/rendering/util/ app/src/main/resources/ app/src/main/resources/org/apache/roller/weblogger/ui/struts2/admin/ app/src/main/webapp/roller-ui/ app/src/main/web...

Author: gmazza
Date: Sat Jul  5 14:37:13 2014
New Revision: 1608022

URL: http://svn.apache.org/r1608022
Log:
ROL-1977 cleaned up Chinese-simplified and Korean resource files, added Anil's scripts to a new docs/examples/i18n folder.

Added:
    roller/trunk/docs/examples/i18n/
    roller/trunk/docs/examples/i18n/check-default-resource-file.py
    roller/trunk/docs/examples/i18n/compare-vs-default-file.py
Removed:
    roller/trunk/app/src/main/resources/ehcache.xml
Modified:
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest.java
    roller/trunk/app/src/main/resources/ApplicationResources.properties
    roller/trunk/app/src/main/resources/ApplicationResources_de.properties
    roller/trunk/app/src/main/resources/ApplicationResources_es.properties
    roller/trunk/app/src/main/resources/ApplicationResources_fr.properties
    roller/trunk/app/src/main/resources/ApplicationResources_ja_JP.properties
    roller/trunk/app/src/main/resources/ApplicationResources_ko.properties
    roller/trunk/app/src/main/resources/ApplicationResources_ru.properties
    roller/trunk/app/src/main/resources/ApplicationResources_zh_CN.properties
    roller/trunk/app/src/main/resources/ApplicationResources_zh_TW.properties
    roller/trunk/app/src/main/resources/org/apache/roller/weblogger/ui/struts2/admin/admin-menu.xml
    roller/trunk/app/src/main/webapp/roller-ui/errors/403.jsp
    roller/trunk/app/src/main/webapp/roller-ui/logout-redirect.jsp

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest.java?rev=1608022&r1=1608021&r2=1608022&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/util/WeblogPreviewRequest.java Sat Jul  5 14:37:13 2014
@@ -60,7 +60,7 @@ public class WeblogPreviewRequest extend
             this.themeName = request.getParameter("theme");
         }
 
-        //we may need to know the type of page we are going to previiew
+        //we may need to know the type of page we are going to preview
          if(request.getParameter("type") != null) {
              this.setType(request.getParameter("type"));
          }

Modified: roller/trunk/app/src/main/resources/ApplicationResources.properties
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/resources/ApplicationResources.properties?rev=1608022&r1=1608021&r2=1608022&view=diff
==============================================================================
--- roller/trunk/app/src/main/resources/ApplicationResources.properties (original)
+++ roller/trunk/app/src/main/resources/ApplicationResources.properties Sat Jul  5 14:37:13 2014
@@ -13,7 +13,10 @@
 # limitations under the License.  For additional information regarding
 # copyright in this work, please see the NOTICE file in the top level
 # directory of this distribution.
-
+#
+# To find unused strings, see <roller-trunk>/docs/examples/i18n/check-default-resource-file.py
+# (Usage instructions given at the top of that script)
+#
 # -- Common terms used to reduce the number of strings that need translation.
 generic.all=All
 generic.none=None

Modified: roller/trunk/app/src/main/resources/ApplicationResources_de.properties
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/resources/ApplicationResources_de.properties?rev=1608022&r1=1608021&r2=1608022&view=diff
==============================================================================
--- roller/trunk/app/src/main/resources/ApplicationResources_de.properties (original)
+++ roller/trunk/app/src/main/resources/ApplicationResources_de.properties Sat Jul  5 14:37:13 2014
@@ -1,3 +1,22 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  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.  For additional information regarding
+# copyright in this work, please see the NOTICE file in the top level
+# directory of this distribution.
+#
+# To find unused strings, see <roller-trunk>/docs/examples/i18n/compare-vs-default-file.py
+# (Usage instructions given at the top of that script)
+#
 # Java Resource Bundle
 # Modified by Zaval JRC Editor (C) Zaval CE Group
 # http://www.zaval.org/products/jrc-editor/
@@ -13,6 +32,7 @@ generic.description=Beschreibung
 generic.save=Speichern
 generic.edit=Bearbeiten
 generic.delete=L\u00F6schen
+generic.name=Name
 
 #
 Bookmark.error.descriptionSize=Die Beschreibung darf nicht l\u00E4nger als 255 Zeichen sein

Modified: roller/trunk/app/src/main/resources/ApplicationResources_es.properties
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/resources/ApplicationResources_es.properties?rev=1608022&r1=1608021&r2=1608022&view=diff
==============================================================================
--- roller/trunk/app/src/main/resources/ApplicationResources_es.properties (original)
+++ roller/trunk/app/src/main/resources/ApplicationResources_es.properties Sat Jul  5 14:37:13 2014
@@ -1,5 +1,24 @@
-# Translation (c) 2005 by Patricio Mart�nez Ros <si...@wanadoo.es>
-
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  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.  For additional information regarding
+# copyright in this work, please see the NOTICE file in the top level
+# directory of this distribution.
+#
+# To find unused strings, see <roller-trunk>/docs/examples/i18n/compare-vs-default-file.py
+# (Usage instructions given at the top of that script)
+#
+# Original translation (c) 2005 by Patricio Mart�nez Ros <si...@wanadoo.es>
+#
 generic.none=Ninguno
 generic.all=Todos
 generic.cancel=Cancelar

Modified: roller/trunk/app/src/main/resources/ApplicationResources_fr.properties
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/resources/ApplicationResources_fr.properties?rev=1608022&r1=1608021&r2=1608022&view=diff
==============================================================================
--- roller/trunk/app/src/main/resources/ApplicationResources_fr.properties (original)
+++ roller/trunk/app/src/main/resources/ApplicationResources_fr.properties Sat Jul  5 14:37:13 2014
@@ -1,5 +1,5 @@
 # Licensed to the Apache Software Foundation (ASF) under one or more
-#  contributor license agreements.  The ASF licenses this file to You
+# contributor license agreements.  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
@@ -13,6 +13,10 @@
 # limitations under the License.  For additional information regarding
 # copyright in this work, please see the NOTICE file in the top level
 # directory of this distribution.
+#
+# To find unused strings, see <roller-trunk>/docs/examples/i18n/compare-vs-default-file.py
+# (Usage instructions given at the top of that script)
+#
 
 generic.all=Tous
 generic.none=Aucune

Modified: roller/trunk/app/src/main/resources/ApplicationResources_ja_JP.properties
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/resources/ApplicationResources_ja_JP.properties?rev=1608022&r1=1608021&r2=1608022&view=diff
==============================================================================
--- roller/trunk/app/src/main/resources/ApplicationResources_ja_JP.properties (original)
+++ roller/trunk/app/src/main/resources/ApplicationResources_ja_JP.properties Sat Jul  5 14:37:13 2014
@@ -13,6 +13,10 @@
 # limitations under the License.  For additional information regarding
 # copyright in this work, please see the NOTICE file in the top level
 # directory of this distribution.
+#
+# To find unused strings, see <roller-trunk>/docs/examples/i18n/compare-vs-default-file.py
+# (Usage instructions given at the top of that script)
+#
 
 generic.all=\u3059\u3079\u3066
 generic.none=\u306A\u3057