[jboss-cvs] JBossAS SVN: r75149 - projects/docs/enterprise/4.3/Transactions/Programmers_Guide/pt-BR.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri Jun 27 01:57:58 EDT 2008


Author: ldelima at redhat.com
Date: 2008-06-27 01:57:58 -0400 (Fri, 27 Jun 2008)
New Revision: 75149

Modified:
   projects/docs/enterprise/4.3/Transactions/Programmers_Guide/pt-BR/Chapter_04.po
   projects/docs/enterprise/4.3/Transactions/Programmers_Guide/pt-BR/Chapter_05.po
Log:
translation ongoing

Modified: projects/docs/enterprise/4.3/Transactions/Programmers_Guide/pt-BR/Chapter_04.po
===================================================================
--- projects/docs/enterprise/4.3/Transactions/Programmers_Guide/pt-BR/Chapter_04.po	2008-06-27 05:47:45 UTC (rev 75148)
+++ projects/docs/enterprise/4.3/Transactions/Programmers_Guide/pt-BR/Chapter_04.po	2008-06-27 05:57:58 UTC (rev 75149)
@@ -8,7 +8,7 @@
 "Project-Id-Version: Chapter_04\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2008-06-05 22:51+0000\n"
-"PO-Revision-Date: 2008-06-27 15:26+1000\n"
+"PO-Revision-Date: 2008-06-27 15:50+1000\n"
 "Last-Translator: Leticia de Lima <ldelima at redhat.com>\n"
 "Language-Team: Brazilian Portuguese <en at li.org>\n"
 "MIME-Version: 1.0\n"
@@ -288,7 +288,7 @@
 "activated further calls are ignored. The parameter represents the root name "
 "of the object store to search for the object. A value of null means use the "
 "default store."
-msgstr "<command>Activate</command> carrega um objeto do armazenamento do objeto. O Uid do objeto deve já estar configuradi através do construtor e o objeto deve existir no armazenamento. Caso o objeto seja lido com sucesso, o <command>restore_state</command> será chamado para construir o objeto de memória. <command>Activate</command>"
+msgstr "O <command>Activate</command> carrega um objeto do armazenamento do objeto. O Uid do objeto deve já estar configurado através do construtor e o objeto deve existir no armazenamento. Caso o objeto seja lido com sucesso, o <command>restore_state</command> será chamado para construir o objeto de memória. O <command>Activate</command> é idempotente, e ,desta forma, uma vez que o objeto tenha sido ativado as próximas chamadas serão ignoradas. O parâmetro representa o nome raiz do armazenamento do objeto para buscar pelo objeto. Um valor nulo significa que você deve usar o armazenamento padrão. "
 
 #. Tag: programlisting
 #: Chapter_04.xml:59
@@ -309,7 +309,7 @@
 "Objects are only saved if they have been modified since they were activated. "
 "The parameter represents the root name of the object store into which the "
 "object should be saved. A value of null means use the default store."
-msgstr ""
+msgstr "A inversão do activate. As primeiras chamadas <command>save_state</command> para a construção da imagem compactada do objeto que é então salvo no armazenamento do objeto. Os objetos são apenas salvos caso eles tenham sido modificados uma vez que eles foram ativados. O parâmetro representa o nome raiz do armazenamento do objeto no objeto que deverá ser salvo. O valor nulo significa que você deve usar o armazenamento padrão."
 
 #. Tag: programlisting
 #: Chapter_04.xml:63
@@ -324,5 +324,5 @@
 "<emphasis>Must</emphasis> be called prior to modifying the object in memory. "
 "If it is not called the object will not be saved in the object store by "
 "deactivate."
-msgstr ""
+msgstr "<emphasis>Deve</emphasis> ser chamado antecipadamente à modificação do objeto em memória. Caso isto não seja chamado, o objeto não será salvo no armazenamento do objeto pela desativação."
 

Modified: projects/docs/enterprise/4.3/Transactions/Programmers_Guide/pt-BR/Chapter_05.po
===================================================================
--- projects/docs/enterprise/4.3/Transactions/Programmers_Guide/pt-BR/Chapter_05.po	2008-06-27 05:47:45 UTC (rev 75148)
+++ projects/docs/enterprise/4.3/Transactions/Programmers_Guide/pt-BR/Chapter_05.po	2008-06-27 05:57:58 UTC (rev 75149)
@@ -1,29 +1,32 @@
+# translation of Chapter_05.po to Brazilian Portuguese
 # Language pt-BR translations for JBoss_TS_Programmers_Guide package.
+#
 # Automatically generated, 2008.
-#
+# Leticia de Lima <ldelima at redhat.com>, 2008.
 msgid ""
 msgstr ""
-"Project-Id-Version: JBoss_TS_Programmers_Guide 1.0\n"
+"Project-Id-Version: Chapter_05\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2008-06-05 22:51+0000\n"
-"PO-Revision-Date: 2008-06-05 22:51+0000\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-06-27 15:57+1000\n"
+"Last-Translator: Leticia de Lima <ldelima at redhat.com>\n"
+"Language-Team: Brazilian Portuguese <en at li.org>\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
 
 #. Tag: title
 #: Chapter_05.xml:6
 #, no-c-format
 msgid "Tools"
-msgstr ""
+msgstr "Ferramentas"
 
 #. Tag: title
 #: Chapter_05.xml:9
 #, no-c-format
 msgid "Introduction"
-msgstr ""
+msgstr "Introdução"
 
 #. Tag: para
 #: Chapter_05.xml:11
@@ -31,13 +34,13 @@
 msgid ""
 "This chapter explains how to start and use the tools framework and what "
 "tools are available."
-msgstr ""
+msgstr "Este capítulo explica como iniciar e usar as ferramentas do framework e quais delas estão disponíveis."
 
 #. Tag: title
 #: Chapter_05.xml:16
 #, no-c-format
 msgid "Starting the Transaction Service tools"
-msgstr ""
+msgstr "Inicializando as ferramentas de Serviço de Transação"
 
 #. Tag: para
 #: Chapter_05.xml:18
@@ -45,13 +48,13 @@
 msgid ""
 "The way to start the transaction service tools differs on the operating "
 "system being used:"
-msgstr ""
+msgstr "A maneira de inicializar as ferramentas do serviço de transação difere na operação do sistema que está sendo utilizado:"
 
 #. Tag: title
 #: Chapter_05.xml:21
 #, no-c-format
 msgid "Windows"
-msgstr ""
+msgstr "Windows"
 
 #. Tag: para
 #: Chapter_05.xml:23
@@ -59,13 +62,13 @@
 msgid ""
 "Double click on the ‘Start Tools’ link in the JBoss Transaction Service "
 "program group in the start menu."
-msgstr ""
+msgstr "Clique duas vezes no link ‘Iniciar Ferramentas’ no grupo do Programa de Serviço de Transação JBoss no menu inicial."
 
 #. Tag: title
 #: Chapter_05.xml:27
 #, no-c-format
 msgid "Unix"
-msgstr ""
+msgstr "Unix"
 
 #. Tag: para
 #: Chapter_05.xml:29
@@ -80,6 +83,8 @@
 "cd &lt;JBossTS INSTALL DIRECTORY&gt;\n"
 "./run-tools.sh"
 msgstr ""
+"cd &lt;JBossTS INSTALL DIRECTORY&gt;\n"
+"./run-tools.sh"
 
 #. Tag: para
 #: Chapter_05.xml:36
@@ -203,15 +208,14 @@
 #. Tag: para
 #: Chapter_05.xml:91
 #, no-c-format
-msgid ""
-"This arranges the windows in a diagonal line to you find a specific window."
+msgid "This arranges the windows in a diagonal line to you find a specific window."
 msgstr ""
 
 #. Tag: term
 #: Chapter_05.xml:95
 #, no-c-format
 msgid "1. XXXXXXX"
-msgstr ""
+msgstr "1. XXXXXXX"
 
 #. Tag: para
 #: Chapter_05.xml:96
@@ -465,8 +469,7 @@
 #. Tag: para
 #: Chapter_05.xml:222
 #, no-c-format
-msgid ""
-"Once the method invocation has completed its return value will be displayed."
+msgid "Once the method invocation has completed its return value will be displayed."
 msgstr ""
 
 #. Tag: title
@@ -565,9 +568,8 @@
 #. Tag: code
 #: Chapter_05.xml:269
 #, no-c-format
-msgid ""
-"com.arjuna.ats.tools.objectstorebrowser.stateviewers.StateViewerInterface"
-msgstr ""
+msgid "com.arjuna.ats.tools.objectstorebrowser.stateviewers.StateViewerInterface"
+msgstr "com.arjuna.ats.tools.objectstorebrowser.stateviewers.StateViewerInterface"
 
 #. Tag: para
 #: Chapter_05.xml:271
@@ -636,6 +638,59 @@
 "        }\n"
 "}"
 msgstr ""
+"public class SimpleRecord extends AbstractRecord\n"
+"{\n"
+"        private int _value = 0;\n"
+"        \n"
+"        .....\n"
+"        \n"
+"        public void increase()\n"
+"        {\n"
+"                _value++;\n"
+"        }\n"
+"        \n"
+"        public int get()\n"
+"        {\n"
+"                return _value;\n"
+"        }\n"
+"        \n"
+"        public String type()\n"
+"        {\n"
+"                return “/StateManager/AbstractRecord/SimpleRecord”;\n"
+"        }\n"
+"        \n"
+"        public boolean restore_state(InputObjectState os, int i)\n"
+"        {\n"
+"                boolean returnValue = true;\n"
+"        \n"
+"                try\n"
+"                {\n"
+"                        _value = os.unpackInt();\n"
+"                }\n"
+"                catch (java.io.IOException e)\n"
+"                {\n"
+"                        returnValue = false;\n"
+"                }\n"
+"        \n"
+"                return returnValue;\n"
+"        }\n"
+"        \n"
+"        public boolean save_state(OutputObjectState os, int i)\n"
+"        {\n"
+"                boolean returnValue = true;\n"
+"        \n"
+"                try\n"
+"                {\n"
+"                        os.packInt(_value);\n"
+"                }\n"
+"                catch (java.io.IOException e)\n"
+"                {\n"
+"                        returnValue = false;\n"
+"                }\n"
+"        \n"
+"                return returnValue;\n"
+"        }\n"
+"}"
 
 #. Tag: para
 #: Chapter_05.xml:275
@@ -711,6 +766,65 @@
 "        }\n"
 "}"
 msgstr ""
+"public class SimpleRecordOSVPlugin implements StateViewerInterface\n"
+"{\n"
+"        /**\n"
+"        * A uid node of the type this viewer is registered against has been "
+"expanded.\n"
+"        * @param os\n"
+"        * @param type\n"
+"        * @param manipulator\n"
+"        * @param node\n"
+"        * @throws ObjectStoreException\n"
+"        */\n"
+"        public void uidNodeExpanded(ObjectStore os,\n"
+"        String type,\n"
+"        ObjectStoreBrowserTreeManipulationInterface \n"
+"        manipulator,\n"
+"        UidNode node,\n"
+"        StatePanel infoPanel)\n"
+"        throws ObjectStoreException\n"
+"        {\n"
+"                // Do nothing\n"
+"        }\n"
+"        \n"
+"        /**\n"
+"        * An entry has been selected of the type this viewer is registered "
+"against.\n"
+"        *\n"
+"        * @param os\n"
+"        * @param type\n"
+"        * @param uid\n"
+"        * @param entry\n"
+"        * @param statePanel\n"
+"        * @throws ObjectStoreException\n"
+"        */\n"
+"        public void entrySelected(ObjectStore os,\n"
+"        String type,\n"
+"        Uid uid,\n"
+"        ObjectStoreViewEntry entry,\n"
+"        StatePanel statePanel) \n"
+"        throws ObjectStoreException\n"
+"        {\n"
+"                SimpleRecord rec = new SimpleRecord();\n"
+"        \n"
+"                if ( rec.restore_state( os.read_committed(uid, type), "
+"ObjectType.ANDPERSISTENT ) )\n"
+"                {\n"
+"                        statePanel.setData( “Value”, rec.getValue() );\n"
+"                }\n"
+"        }\n"
+"        \n"
+"        /**\n"
+"        * Get the type this state viewer is intended to be registered "
+"against.\n"
+"        * @return\n"
+"        */\n"
+"        public String getType()\n"
+"        {\n"
+"                return “/StateManager/AbstractRecord/SimpleRecord”;\n"
+"        }\n"
+"}"
 
 #. Tag: para
 #: Chapter_05.xml:279
@@ -791,6 +905,15 @@
 "        &lt;/manifest&gt;\n"
 "&lt;/jar&gt;"
 msgstr ""
+"&lt;jar jarfile=\"osbv-simplerecord.jar\"&gt;\n"
+"        &lt;fileset dir=\"build\" includes=\"*.class”/&gt;\n"
+"        &lt;manifest&gt;\n"
+"                &lt;section name=\"arjuna-tools-objectstorebrowser\"&gt;\n"
+"                        &lt;attribute name=\"plugin-classname-1\" value=\" "
+"SimpleRecordOSVPlugin \"/&gt;\n"
+"                &lt;/section&gt;\n"
+"        &lt;/manifest&gt;\n"
+"&lt;/jar&gt;"
 
 #. Tag: para
 #: Chapter_05.xml:306
@@ -800,3 +923,4 @@
 "file it just needs to be placed in the <emphasis>bin/tools/plugins</"
 "emphasis> directory."
 msgstr ""
+




More information about the jboss-cvs-commits mailing list