Skip to content

Commit

Permalink
UI i18n and the Japanese text catalog.
Browse files Browse the repository at this point in the history
Wrapped the every string literals with _(...) function.
The _() function resides in "app/src/processing/app/I18n.java",
which translates the UI texts using "Resources_XX.properties" file
where XX is the locale code.

I provided the properties file for the ja (Japanese) locale.
I created this file using "xgettext" and "msgcat" commands.
"i18n_update.{py,sh}" files are the tool I used to do that.

Change in "app/build.xml" is to include the properties files
in jar file.
  • Loading branch information
Shigeru KANEMOTO authored and Shigeru KANEMOTO committed Dec 6, 2011
1 parent fa4ab4f commit 541a7b3
Show file tree
Hide file tree
Showing 27 changed files with 3,182 additions and 473 deletions.
3 changes: 3 additions & 0 deletions app/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
includeAntRuntime="false"
debug="true"
classpath="../core/core.jar; ${env.JAVA_HOME}/lib/tools.jar; lib/ant.jar; lib/ant-launcher.jar; lib/apple.jar; lib/ecj.jar; lib/jna.jar; lib/RXTXcomm.jar" />
<copy todir="bin" overwrite="true" verbose="true">
<fileset dir="src" includes="**/*.properties" />
</copy>
</target>

<target name="build" depends="compile" description="Build PDE">
Expand Down
168 changes: 90 additions & 78 deletions app/src/processing/app/Base.java

Large diffs are not rendered by default.

Loading

0 comments on commit 541a7b3

Please sign in to comment.