Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

osw-web 0.7 add Chiness localization #8

Open
wants to merge 29 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
84bd0bf
changes for commenting
lfaggioli Aug 24, 2010
f19a738
fix for displaying comments in the web console
lfaggioli Aug 30, 2010
95d6399
fix for displaying comments in the web console
lfaggioli Aug 30, 2010
934287a
limited the length of comment otherwise the gui hangs
lfaggioli Aug 31, 2010
7121952
increased comment length to 256 chars
lfaggioli Aug 31, 2010
a019d27
default OSW theme
lfaggioli Aug 31, 2010
bdcf20d
Merge remote branch 'lfaggioli/0.7' into 0.7
Sep 3, 2010
26e5b90
changes according the new AtomDomWriter
lfaggioli Sep 5, 2010
2c8ceea
small adjustments after merging with luca's repo
Sep 6, 2010
bac6235
more small adjustments
Sep 6, 2010
28d9f23
added a task to monitor status when posting a comment
Sep 8, 2010
f2c396c
handling of comments notifications improved. Seems to work across dif…
Sep 17, 2010
e0c774a
changed task bar messages for comments
Sep 20, 2010
bcfe36c
changes to use the in-memory model of the replies to update the UI up…
Sep 22, 2010
bd61f16
changes to refactor commenting
Oct 20, 2010
95568a1
initial pom
duck1123 Nov 4, 2010
234b25f
ignore target, semantic.cache, and WEB-INF/lib
duck1123 Sep 6, 2010
683ae08
move files into default locations for maven
duck1123 Nov 4, 2010
14c0609
remove osw-lib-java from list of dependencies
duck1123 Nov 9, 2010
5dc0dc6
update to the pom to reference the artifactory hosted at vodafonernd
Nov 15, 2010
72c1fcf
changes to support in-band registration
Nov 16, 2010
b0378b4
modified gitignore
Nov 16, 2010
a389c15
Merge branch 'commentingrefactor' into 0.7
Nov 16, 2010
6aacf54
adding French Local provided by Nicolas Derive
Nov 16, 2010
30e3b11
added corrections to the French Localization for single quotes which …
Nov 16, 2010
957e9e1
added Italian Localization provided by Luca Faggioli
Nov 16, 2010
f0b99bd
Added missing elements for Localization related to new features.
Nov 16, 2010
679ba67
add Chiness localization support
sevenearly Nov 21, 2010
ca260b5
add Chiness localization support
sevenearly Nov 21, 2010
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
war/OswClient
war/OswClient.html
war/WEB-INF/classes
war/WEB-INF/lib
war/WEB-INF/web.xml
war/org.appfuse.client.Appfuse/
/target/
.DS_Store
*.orig
target
semantic.cache
236 changes: 236 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,236 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.onesocialweb</groupId>
<artifactId>osw-web</artifactId>
<version>0.7-SNAPSHOT</version>
<name>osw-web</name>
<packaging>war</packaging>

<description>Common data model, XML parsers/writers and other interfaces</description>
<url>http://onesocialweb.org/</url>

<mailingLists>
<mailingList>
<name>One Social Web mailing list</name>
<post>onesocialweb@googlegroups.com</post>
<archive>http://groups.google.com/group/onesocialweb</archive>
</mailingList>
</mailingLists>

<properties>
<gwt.version>2.0.4</gwt.version>
<gwt.maven>1.3-SNAPSHOT</gwt.maven>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<reporting>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.4</version>
<configuration>
<formats>
<format>html</format>
<format>xml</format>
</formats>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.2</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>2.5</version>
<configuration>
<targetJdk>1.6</targetJdk>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.7</version>
</plugin>
</plugins>
</reporting>

<build>
<outputDirectory>war/WEB-INF/classes</outputDirectory>

<resources>
<resource>
<directory>src/main/java</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>${gwt.maven}</version>
<configuration>
<inplace>true</inplace>
<logLevel>TRACE</logLevel>
<runTarget>OswClient.html</runTarget>
<warSourceDirectory>war</warSourceDirectory>
<extraJvmArgs>-Xmx320m -DDEBUG</extraJvmArgs>
<servicePattern>**/gwt/**/*Service.java</servicePattern>
<soyc>false</soyc>
<style>OBF</style>
</configuration>
<executions>
<execution>
<goals>
<goal>clean</goal>
<goal>resources</goal>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<artifactId>maven-war-plugin</artifactId>
<version>2.1-beta-1</version>
<configuration>
<warSourceDirectory>war</warSourceDirectory>
<webappDirectory>war</webappDirectory>
</configuration>
</plugin>
<plugin>
<artifactId>maven-clean-plugin</artifactId>
<version>2.2</version>
<configuration>
<skip>true</skip>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.2</version>
<executions>
<execution>
<id>clean.war</id>
<phase>clean</phase>
<configuration>
<tasks>
<!-- The gwt-maven-plugin use the war source folder
as it's build directory. We need to cleanup after we'd run the plugin and
remove all GWT related artifacts that are required to run the hosted mode. -->
<delete dir="war/WEB-INF/classes" />
<delete dir="war/WEB-INF/lib" />
<delete dir="war/META-INF" />
<delete dir="war/OswClient" />
<delete dir="war/org.appfuse.client.Appfuse"/>
<delete dir="target" />
</tasks>
</configuration>
<goals>
<goal>run</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

<dependencies>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-servlet</artifactId>
<version>${gwt.version}</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-user</artifactId>
<version>${gwt.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.onesocialweb</groupId>
<artifactId>osw-model</artifactId>
<version>0.7.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.onesocialweb</groupId>
<artifactId>osw-lib-gwt</artifactId>
<version>0.7.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.calclab</groupId>
<artifactId>suco</artifactId>
<version>0.6.0</version>
</dependency>
<dependency>
<groupId>com.google.code.gwt-mobile-webkit</groupId>
<artifactId>gwt-html5-storage</artifactId>
<version>1.0.1</version>
</dependency>
<dependency>
<groupId>com.reveregroup.gwt</groupId>
<artifactId>gwt-image-loader</artifactId>
<version>1.1.1</version>
</dependency>
<dependency>
<groupId>eu.maydu.gwt</groupId>
<artifactId>gwt-vl</artifactId>
<version>0.9a</version>
</dependency>
</dependencies>

<repositories>
<repository>
<id>maven2-repository.dev.java.net</id>
<name>Java.net Repository for Maven</name>
<url>http://download.java.net/maven/2/</url>
<layout>default</layout>
</repository>
<repository>
<id>gwt-mobile-webkit</id>
<url>http://gwt-mobile-webkit.googlecode.com/svn/repo</url>
</repository>
<repository>
<id>gwt-maven</id>
<url>http://gwt-vl.sourceforge.net/maven</url>
</repository>
<repository>
<id>lib-repo</id>
<url>http://svn.apache.org/repos/asf/james/hupa/lib</url>
</repository>

<repository>
<id>vodafonernd.com</id>
<name>vodafonernd.com-releases</name>
<url>http://vodafonernd.com/artifactory/libs-releases-local</url>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>codehaus</id>
<url>http://nexus.codehaus.org/snapshots</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>

</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
#
# Copyright 2010 Nicolas Derive
#
# Licensed 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.
#
# Author: Nicolas Derive kalon33(at)ubuntu(dot)com
#
#
notNull = Doit �tre fourni
isNull = Ne devrait pas �tre fourni
equal = Devrait �tre �gal
notEqual = Ne devrait pas �tre �gal
notEmpty = Ne devrait pas �tre vide
min = La valeur minimum pour ce champ est ''{0}''. Vous avez entr� ''{1}''
max = La valeur maximum pour ce champ est ''{0}''. Vous avez entr� ''{1}''
notInRange = La valeur ''{2}'' est entre les bornes [{0},{1}]
notAnInteger = Le nombre n'est pas un entier
notExactly = Ne doit pas �tre ''{0}''
exactly = La valeur doit �tre ''{0}''
notAnInteger = Pas un nombre entier
notALong = Pas un nombre entier
notAFloat = Pas un nombre � virgule flottante
notADouble = Pas un nombre � virgule flottante
length = N�cessite une longeur entre ''{0}'' et ''{1}''. �tait ''{2}''
stringsNotEqual = Les cha�nes doivent �tre �gales
mustSelectValue = Merci de s�lectionner une valeur
validator_assertFalse=L''assertion a �chou�
validator_assertTrue=L''assertion a �chou�
validator_future=Doit �tre une date dans le futur
validator_length=Longueur incorrecte
validator_max=Trop gros
validator_min=Trop petit
validator_notNull=Doit �tre fourni
validator_past=Doit �tre une date dans le pass�
validator_pattern=Empreinte incorrecte
validator_range=Hors limites
validator_size=Nombre incorrect d''�l�ments
validator_email=Adresse de courriel mal form�e
validator_notEmpty=Ne devrait pas �tre nul ou vide
validator_digits=Valeur num�rique hors bornes
validator_creditCard=Num�ro de carte de cr�dit invalide
validator_ean=EAN Invalide
noDateGiven = Aucune datee saisie
unparsableDate = Format de date invalide
notARegEx = Expression r�guli�re fournie invalide
regexNotFulfilled = Le texte ne correspond pas � l''expression r�guli�re fournie
notAValidCharacter = Caract�re ''{0}'' invalide
notAValidEmail = ''{0}'' n''est pas une adresse de courriel valide
notAValidTimeWithoutSeconds = ''{0}'' n''est pas une heure valide (les secondes ne doivent pas �tre indiqu�es)
notAValidTimeWithSecondsOptionally = ''{0}'' n''est pas une heure valide (les secondes devraient �tre indiqu�es)
notAValidTimeWithSecondsRequired = ''{0}'' n''est pas une heure valide (les secondes doivent �tre indiqu�es)
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
notNull = \u4e0d\u4e3a\u7a7a
isNull = \u4e3a\u7a7a
equal = \u76f8\u7b49
notEqual = \u4e0d\u76f8\u7b49
notEmpty = \u4e0d\u4e3a\u7a7a
min = \u6b64\u5904\u5141\u8bb8\u7684\u6700\u5c0f\u503c\u4e3a ''{0}''. \u60a8\u8f93\u5165\u4e86 ''{1}''
max = \u6b64\u5904\u5141\u8bb8\u7684\u6700\u5927\u503c\u4e3a ''{0}''. \u60a8\u8f93\u5165\u4e86 ''{1}''
notInRange = \u503c ''{2}'' \u8d85\u51fa\u4e86\u4ee5\u4e0b\u8303\u56f4 [{0},{1}]
notAnInteger = \u4e0d\u4e3a\u6574\u6570
notExactly = \u4e0d\u80fd\u4e3a ''{0}''
exactly = \u503c\u5fc5\u987b\u4e3a ''{0}''
notAnInteger = \u4e0d\u662f\u4e00\u4e2a\u5b8c\u6574\u6570\u5b57
notALong = \u4e0d\u662f\u4e00\u4e2a\u5b8c\u6574\u6570\u5b57
notAFloat = \u4e0d\u662f\u4e00\u4e2a\u6d6e\u70b9\u6570
notADouble = \u4e0d\u662f\u4e00\u4e2a\u6d6e\u70b9\u6570
length = \u9700\u8981\u5728 ''{0}'' \u548c ''{1}''\u4e4b\u95f4. \u662f ''{2}''
stringsNotEqual = \u5b57\u7b26\u4e32\u5fc5\u987b\u76f8\u7b49
mustSelectValue = \u8bf7\u9009\u62e9\u4e00\u4e2a\u503c
validator_assertFalse=\u65ad\u8a00\u5931\u8d25
validator_assertTrue=\u65ad\u8a00\u9519\u8bef
validator_future=\u5fc5\u987b\u4e3a\u4ee5\u540e\u7684\u4e00\u4e2a\u65e5\u671f
validator_length=\u9519\u8bef\u7684\u957f\u5ea6
validator_max=\u592a\u5927\u4e86
validator_min=\u592a\u5c0f\u4e86
validator_notNull=\u5fc5\u987b\u7ed9\u51fa
validator_past=\u5fc5\u987b\u4e3a\u8fc7\u53bb\u7684\u65f6\u95f4
validator_pattern=\u9519\u8bef\u7684\u6a21\u5f0f
validator_range=\u4e0d\u5728\u8303\u56f4\u5185
validator_size=\u4e0d\u6b63\u786e\u7684\u4e2a\u6570
validator_email=\u4e0d\u662f\u4e00\u4e2a\u6709\u6548\u7684\u90ae\u7bb1\u5730\u5740
validator_notEmpty=\u4e0d\u80fd\u4e3a\u7a7a
validator_digits=\u6570\u5b57\u8d85\u51fa\u4e86\u8303\u56f4
validator_creditCard=\u65e0\u6548\u7684\u5361\u53f7
validator_ean=\u65e0\u6548\u7684EAN
noDateGiven = \u6ca1\u6709\u8f93\u5165\u65e5\u671f
unparsableDate = \u9519\u8bef\u7684\u65e5\u5fd7\u683c\u5f0f
notARegEx = \u65e0\u6548\u7684\u6b63\u5219\u8868\u8fbe\u5f0f
regexNotFulfilled = \u6587\u672c\u65e0\u6cd5\u5339\u914d\u7ed9\u5b9a\u7684\u6b63\u5219\u8868\u8fbe\u5f0f
notAValidCharacter = \u65e0\u6548\u7684\u5b57\u7b26: ''{0}''
notAValidEmail = ''{0}'' \u4e0d\u662f\u4e2a\u6709\u6548\u7684\u90ae\u7bb1\u5730\u5740
notAValidTimeWithoutSeconds = ''{0}'' \u662f\u65e0\u6548\u7684\u65f6\u95f4 (\u4e0d\u80fd\u5305\u542b\u79d2)
notAValidTimeWithSecondsOptionally = ''{0}'' \u662f\u65e0\u6548\u7684\u65f6\u95f4 (\u53ef\u80fd\u9700\u8981\u5305\u542b\u79d2)
notAValidTimeWithSecondsRequired = ''{0}'' \u662f\u65e0\u6548\u7684\u65f6\u95f4 (\u5fc5\u987b\u5305\u542b\u79d2)
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

<!-- <extend-property name="locale" values="en"/> -->
<extend-property name="locale" values="nl"/>
<extend-property name="locale" values="fr"/>
<extend-property name="locale" values="it" />

<inherits name="com.allen_sauer.gwt.log.gwt-log" />

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,8 @@ private void killApplications() {
private void initLocales() {
OSWLocales.put("default", "English");
OSWLocales.put("nl", "Nederlands");
OSWLocales.put("fr", "Français");
OSWLocales.put("it", "Italiano");
}

private void initMenu() {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
length = \u957f\u5ea6\u9700\u8981\u5728 ''{0}'' \u548c ''{1}'' \u4e4b\u95f4.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# Copyright 2010 Nicolas Derive
#
# Licensed 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.
#
# Author: Nicolas Derive kalon33(at)ubuntu(dot)com
#
#
length = Nécessite une longueur entre ''{0}'' et ''{1}''.
Loading