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

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jun 30 02:18:56 EDT 2008


Author: ldelima at redhat.com
Date: 2008-06-30 02:18:55 -0400 (Mon, 30 Jun 2008)
New Revision: 75199

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_06.po
Log:
translation ongoing

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-30 06:04:51 UTC (rev 75198)
+++ projects/docs/enterprise/4.3/Transactions/Programmers_Guide/pt-BR/Chapter_05.po	2008-06-30 06:18:55 UTC (rev 75199)
@@ -8,7 +8,7 @@
 "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-30 16:03+1000\n"
+"PO-Revision-Date: 2008-06-30 16:12+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"

Modified: projects/docs/enterprise/4.3/Transactions/Programmers_Guide/pt-BR/Chapter_06.po
===================================================================
--- projects/docs/enterprise/4.3/Transactions/Programmers_Guide/pt-BR/Chapter_06.po	2008-06-30 06:04:51 UTC (rev 75198)
+++ projects/docs/enterprise/4.3/Transactions/Programmers_Guide/pt-BR/Chapter_06.po	2008-06-30 06:18:55 UTC (rev 75199)
@@ -1,36 +1,38 @@
+# translation of Chapter_06.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_06\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-30 16:18+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_06.xml:6
 #, no-c-format
 msgid "Constructing a Transactional objects for Java application"
-msgstr ""
+msgstr "Construção de objetos Transacionais para aplicativos Java"
 
 #. Tag: title
 #: Chapter_06.xml:9
 #, no-c-format
 msgid "Application construction"
-msgstr ""
+msgstr "Construção de Aplicativo"
 
 #. Tag: para
 #: Chapter_06.xml:10
 #, no-c-format
-msgid ""
-"There are two distinct phases to the development of a TxCore application:"
-msgstr ""
+msgid "There are two distinct phases to the development of a TxCore application:"
+msgstr "Existem duas fases distintas para o desenvolvimento de um aplicativo TXCore:"
 
 #. Tag: para
 #: Chapter_06.xml:15
@@ -38,14 +40,13 @@
 msgid ""
 "Developing new classes with certain characteristics (for example, "
 "Persistent, Recoverable, Concurrency Controlled)."
-msgstr ""
+msgstr "Desenvolvimento de novas classes com certas características (por exemplo: Persistência, Recuperação, Concorrência Controlada)."
 
 #. Tag: para
 #: Chapter_06.xml:20
 #, no-c-format
-msgid ""
-"Developing the application(s) that make use of the new classes of objects."
-msgstr ""
+msgid "Developing the application(s) that make use of the new classes of objects."
+msgstr "Desenvolvimento de aplicativo(s) que fazem uso de novas classes dos objetos."
 
 #. Tag: para
 #: Chapter_06.xml:25
@@ -107,8 +108,7 @@
 #. Tag: para
 #: Chapter_06.xml:40
 #, no-c-format
-msgid ""
-"The Java interface definition of this simple queue class is given below:"
+msgid "The Java interface definition of this simple queue class is given below:"
 msgstr ""
 
 #. Tag: screen
@@ -143,6 +143,33 @@
 "        private int numberOfElements;\n"
 "};"
 msgstr ""
+"public class TransactionalQueue extends LockManager\n"
+"{\n"
+"        public TransactionalQueue (Uid uid);\n"
+"        public TransactionalQueue ();\n"
+"        public void finalize ();\n"
+"        \n"
+"        public void enqueue (int v) throws OverFlow, UnderFlow,\n"
+"        QueueError, Conflict;\n"
+"        public int dequeue  () throws OverFlow, UnderFlow,\n"
+"        QueueError, Conflict;\n"
+"        \n"
+"        public int queueSize ();\n"
+"        public int inspectValue (int i) throws OverFlow,\n"
+"        UnderFlow, QueueError, Conflict;\n"
+"        public void setValue (int i, int v) throws OverFlow,\n"
+"        UnderFlow, QueueError, Conflict;\n"
+"        \n"
+"        public boolean save_state (OutputObjectState os, int ObjectType);\n"
+"        public boolean restore_state (InputObjectState os, int ObjectType);\n"
+"        public String type ();\n"
+"        \n"
+"        public static final int QUEUE_SIZE = 40; // maximum size of the "
+"queue\n"
+"        \n"
+"        private int[QUEUE_SIZE] elements;\n"
+"        private int numberOfElements;\n"
+"};"
 
 #. Tag: title
 #: Chapter_06.xml:45
@@ -171,6 +198,12 @@
 "        numberOfElements = 0;\n"
 "}"
 msgstr ""
+"public TransactionalQueue (Uid u)\n"
+"{\n"
+"        super(u);\n"
+"        \n"
+"        numberOfElements = 0;\n"
+"}"
 
 #. Tag: para
 #: Chapter_06.xml:51
@@ -212,6 +245,35 @@
 "        }\n"
 "}"
 msgstr ""
+"public TransactionalQueue ()\n"
+"{\n"
+"        super(ObjectType.ANDPERSISTENT);\n"
+"        \n"
+"        numberOfElements = 0;\n"
+"        \n"
+"        try\n"
+"        {\n"
+"                AtomicAction A = new AtomicAction();\n"
+"        \n"
+"                A.begin(0);        // Try to start atomic action\n"
+"        \n"
+"                // Try to set lock\n"
+"        \n"
+"                        if (setlock(new Lock(LockMode.WRITE), 0) == "
+"LockResult.GRANTED)\n"
+"                        {\n"
+"                                A.commit(true);        // Commit\n"
+"                        }\n"
+"                        else         // Lock refused so abort the atomic "
+"action\n"
+"                                A.rollback();\n"
+"                        }\n"
+"        catch (Exception e)\n"
+"        {\n"
+"                System.err.println(“Object construction error: “+e);\n"
+"                System.exit(1);\n"
+"        }\n"
+"}"
 
 #. Tag: para
 #: Chapter_06.xml:55
@@ -399,8 +461,7 @@
 #. Tag: para
 #: Chapter_06.xml:82
 #, no-c-format
-msgid ""
-"The implementation of <methodname>queueSize</methodname> is shown below:"
+msgid "The implementation of <methodname>queueSize</methodname> is shown below:"
 msgstr ""
 
 #. Tag: screen
@@ -601,3 +662,4 @@
 "different elements in the queue. In the next section we address some of "
 "these issues."
 msgstr ""
+




More information about the jboss-cvs-commits mailing list