You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by Halley Pacheco de Oliveira <ha...@yahoo.com.br> on 2004/09/10 14:37:12 UTC

Derby messages localization pt_BR

Besides the translation of the tools messages files,
toolsmessages.properties and
sysinfoMessages.properties, I'm going to translate the
engine messages file messages_en.properties. To do
this I had to modify the 3 files shown bellow. When
finished, I'm going to contribute this material.

File: ${derby.source}/build.xml

*** 564,572 ****
--- 564,576 ----
 compress="true">
 <fileset dir="${out.dir}"
 includes="org/apache/derby/loc/m?_en.properties,
+org/apache/derby/loc/m?_pt_BR.properties,
 org/apache/derby/loc/m??_en.properties,
+org/apache/derby/loc/m??_pt_BR.properties,
 org/apache/derby/loc/sysinfoMessages.properties,
+org/apache/derby/loc/sysinfoMessages_pt_BR.properties,
 org/apache/derby/loc/toolsmessages.properties,
+org/apache/derby/loc/toolsmessages_pt_BR.properties,
 org/apache/derby/impl/jdbc/metadata.properties,

org/apache/derby/impl/sql/catalog/metadata_net.properties,
 org/apache/derby/info/DBMS.properties"/>
***************
*** 660,666 ****
--- 664,672 ----
 update="true">
 <fileset dir="${out.dir}"

includes="org/apache/derby/loc/sysinfoMessages.properties,
+org/apache/derby/loc/sysinfoMessages_pt_BR.properties,
 org/apache/derby/loc/toolsmessages.properties,
+org/apache/derby/loc/toolsmessages_pt_BR.properties,
 org/apache/derby/info/tools.properties"/>
 </jar>

File:
${derby.source}/java/tools/org/apache/derby/loc/build.xml

***************
*** 19,25 ****
--- 19,27 ----
 <copy todir="${loc.dir}" flatten="true">
 <fileset dir="${derby.tools.locales.dir}">
 <include name="sysinfoMessages.properties"/>
+<include name="sysinfoMessages_pt_BR.properties"/>
 <include name="toolsmessages.properties"/>
+<include name="toolsmessages_pt_BR.properties"/>
 </fileset>
 </copy>
 </target>

File:
${derby.source}/java/engine/org/apache/derby/loc/build.xml

***************
*** 20,25 ****
--- 20,29 ----
 <param name="msgdir" value="${derby.locales.dir}"/>
 <param name="msgfile" value="messages_en"/>
 </antcall>
+<antcall target="doSplit">
+<param name="msgdir" value="${derby.locales.dir}"/>
+<param name="msgfile" value="messages_pt_BR"/>
+</antcall>
 </target>
 <target name="doSplit"
depends="splitprops,verifysplit,noSplit,chksplit"
unless="split.done">

Halley


	
	
		
_______________________________________________________
Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! 
http://br.acesso.yahoo.com/