[jboss-cvs] JBossAS SVN: r76551 - projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pt-BR.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Aug 1 00:46:01 EDT 2008
Author: ldelima at redhat.com
Date: 2008-08-01 00:46:00 -0400 (Fri, 01 Aug 2008)
New Revision: 76551
Modified:
projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pt-BR/Book_Info.po
projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pt-BR/Cache_Tutorial.po
Log:
translation ongoing
Modified: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pt-BR/Book_Info.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pt-BR/Book_Info.po 2008-08-01 04:30:00 UTC (rev 76550)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pt-BR/Book_Info.po 2008-08-01 04:46:00 UTC (rev 76551)
@@ -1,38 +1,42 @@
+# translation of Book_Info.po to Brazilian Portuguese
# Language pt-BR translations for Cache_Tutorial package.
+#
# Automatically generated, 2008.
-#
+# Leticia de Lima <ldelima at redhat.com>, 2008.
msgid ""
msgstr ""
-"Project-Id-Version: Cache_Tutorial 4.3\n"
+"Project-Id-Version: Book_Info\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-07-24 03:55+0000\n"
-"PO-Revision-Date: 2008-07-24 03:55+0000\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-08-01 13: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"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.11.4\n"
#. Tag: title
#: Book_Info.xml:10
#, no-c-format
msgid "JBoss Cache"
-msgstr ""
+msgstr "JBoss Cache"
#. Tag: subtitle
#: Book_Info.xml:11
#, no-c-format
msgid "TreeCache and PojoCache Tutorial"
-msgstr ""
+msgstr "TreeCache e PojoCache Tutorial"
#. Tag: para
#: Book_Info.xml:15
#, no-c-format
msgid "This book is a TreeCache and JBossCache Tutorial."
-msgstr ""
+msgstr "Este livro é um TreeCache e um JBossCache Tutorial."
#. Tag: holder
#: Book_Info.xml:36
#, no-c-format
msgid "&HOLDER;"
-msgstr ""
+msgstr "&HOLDER;"
+
Modified: projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pt-BR/Cache_Tutorial.po
===================================================================
--- projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pt-BR/Cache_Tutorial.po 2008-08-01 04:30:00 UTC (rev 76550)
+++ projects/docs/enterprise/4.3/Cache/Cache_Tutorial/pt-BR/Cache_Tutorial.po 2008-08-01 04:46:00 UTC (rev 76551)
@@ -1,29 +1,32 @@
+# translation of Cache_Tutorial.po to Brazilian Portuguese
# Language pt-BR translations for Cache_Tutorial package.
+#
# Automatically generated, 2008.
-#
+# Leticia de Lima <ldelima at redhat.com>, 2008.
msgid ""
msgstr ""
-"Project-Id-Version: Cache_Tutorial 4.3\n"
+"Project-Id-Version: Cache_Tutorial\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2008-07-24 03:55+0000\n"
-"PO-Revision-Date: 2008-07-24 03:55+0000\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2008-08-01 14:45+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
#: Cache_Tutorial.xml:10
#, no-c-format
msgid "JBossCache Tutorial"
-msgstr ""
+msgstr "JBossCache Tutorial"
#. Tag: title
#: Cache_Tutorial.xml:13
#, no-c-format
msgid "Introduction"
-msgstr ""
+msgstr "Introdução "
#. Tag: para
#: Cache_Tutorial.xml:14
@@ -37,13 +40,13 @@
"\"http://labs.jboss.org/portal/jbosscache/docs/index.html\">TreeCache</"
"ulink> and <ulink url=\"http://labs.jboss.org/portal/jbosscache/docs/index."
"html\">PojoCache</ulink>."
-msgstr ""
+msgstr "O JbossCache é uma transacional (síncrona ou asíncrona) em memória replicata"
#. Tag: title
#: Cache_Tutorial.xml:18
#, no-c-format
msgid "Scope"
-msgstr ""
+msgstr "Escopo"
#. Tag: para
#: Cache_Tutorial.xml:21
@@ -55,25 +58,25 @@
#: Cache_Tutorial.xml:26
#, no-c-format
msgid "Replication"
-msgstr ""
+msgstr "Replicação"
#. Tag: para
#: Cache_Tutorial.xml:31
#, no-c-format
msgid "<para>PojoCache</para>"
-msgstr ""
+msgstr "<para>PojoCache</para>"
#. Tag: para
#: Cache_Tutorial.xml:36
#, no-c-format
msgid "Transaction"
-msgstr ""
+msgstr "Tranasação"
#. Tag: title
#: Cache_Tutorial.xml:45
#, no-c-format
msgid "Configuration"
-msgstr ""
+msgstr "Configuração"
#. Tag: para
#: Cache_Tutorial.xml:46
@@ -132,7 +135,7 @@
#: Cache_Tutorial.xml:71
#, no-c-format
msgid "Script"
-msgstr ""
+msgstr "Script"
#. Tag: para
#: Cache_Tutorial.xml:72
@@ -230,6 +233,18 @@
" ...\n"
" }"
msgstr ""
+"public class Person {\n"
+" String name=null;\n"
+" int age=0;\n"
+" Map hobbies=null;\n"
+" Address address=null;\n"
+" Set skills;\n"
+" List languages;\n"
+"\n"
+" public String getName() { return name; }\n"
+" public void setName(String name) { this.name=name; }\n"
+" ...\n"
+" }"
#. Tag: programlisting
#: Cache_Tutorial.xml:112
@@ -245,12 +260,21 @@
" ...\n"
" }"
msgstr ""
+"public class Address {\n"
+" String street=null;\n"
+" String city=null;\n"
+" int zip=0;\n"
+"\n"
+" public String getStreet() { return street; }\n"
+" public void setStreet(String street) { this.street=street; }\n"
+" ...\n"
+" }"
#. Tag: title
#: Cache_Tutorial.xml:115
#, no-c-format
msgid "Demo"
-msgstr ""
+msgstr "Demo"
#. Tag: para
#: Cache_Tutorial.xml:116
@@ -268,8 +292,7 @@
#. Tag: para
#: Cache_Tutorial.xml:121
#, no-c-format
-msgid ""
-"For each demo example, it'd be best if you re-start the whole setup."
+msgid "For each demo example, it'd be best if you re-start the whole setup."
msgstr ""
#. Tag: para
@@ -348,6 +371,17 @@
" // create a cache entry.\n"
" // Node \"/a/b/c\" will be created if it does not yet exist."
msgstr ""
+"import org.jboss.cache.*;\n"
+" show(); // verbose mode for bean shell\n"
+" TreeCache tree = new TreeCache();\n"
+" PropertyConfigurator config = new PropertyConfigurator(); \n"
+" // configure tree cache. Needs to be in the classpath\n"
+" config.configure(tree, \"META-INF/replSync-service.xml\");\n"
+" tree.startService(); \n"
+" // kick start tree cache\n"
+" tree.put(\"/a/b/c\", \"ben\", \"me\"); \n"
+" // create a cache entry.\n"
+" // Node \"/a/b/c\" will be created if it does not yet exist."
#. Tag: para
#: Cache_Tutorial.xml:153
@@ -366,12 +400,14 @@
"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
" tree.get(\"/a/b/c/d\", \"JBoss\");"
msgstr ""
+"tree.put(\"/a/b/c/d\", \"JBoss\", \"Open Source\");\n"
+" tree.get(\"/a/b/c/d\", \"JBoss\");"
#. Tag: title
#: Cache_Tutorial.xml:159
#, no-c-format
msgid "<title>PojoCache</title>"
-msgstr ""
+msgstr "<title>PojoCache</title>"
#. Tag: para
#: Cache_Tutorial.xml:160
@@ -414,6 +450,32 @@
" // of cache contents automatically.\n"
" joe.setAge(41);"
msgstr ""
+"import org.jboss.cache.PropertyConfigurator;\n"
+" import org.jboss.cache.aop.PojoCache;\n"
+" import org.jboss.cache.aop.test.Person;\n"
+" import org.jboss.cache.aop.test.Address;\n"
+" show(); // verbose mode for bean shell\n"
+" PojoCache tree = new PojoCache();\n"
+" PropertyConfigurator config = new PropertyConfigurator(); // "
+"configure tree cache.\n"
+" config.configure(tree, \"META-INF/replSync-service.xml\");\n"
+" Person joe = new Person(); // instantiate a Person object named "
+"joe\n"
+" joe.setName(\"Joe Black\");\n"
+" joe.setAge(31);\n"
+" Address addr = new Address(); // instantiate a Address object named "
+"addr\n"
+" addr.setCity(\"Sunnyvale\");\n"
+" addr.setStreet(\"123 Albert Ave\");\n"
+" addr.setZip(94086); joe.setAddress(addr); // set the address "
+"reference\n"
+" tree.startService(); // kick start tree cache\n"
+" tree.putObject(\"/aop/joe\", joe); \n"
+" // add aop sanctioned object (and sub-objects) into cache.\n"
+" // since it is aop-sanctioned, use of plain get/set methods will "
+"take care\n"
+" // of cache contents automatically.\n"
+" joe.setAge(41);"
#. Tag: para
#: Cache_Tutorial.xml:164
@@ -457,6 +519,10 @@
" lang.add(\"Mandarin\");\n"
" joe.setLanguages(lang);"
msgstr ""
+"ArrayList lang = new ArrayList();\n"
+" lang.add(\"Ensligh\");\n"
+" lang.add(\"Mandarin\");\n"
+" joe.setLanguages(lang);"
#. Tag: title
#: Cache_Tutorial.xml:176
@@ -516,6 +582,44 @@
" joe.getAddress().setZip(95124);\n"
" tx.commit();"
msgstr ""
+"import org.jboss.cache.PropertyConfigurator;\n"
+" import org.jboss.cache.aop.PojoCache;\n"
+" import org.jboss.cache.aop.test.Person;\n"
+" import org.jboss.cache.aop.test.Address;// Tx imports\n"
+" import javax.transaction.UserTransaction; import javax.naming.*;\n"
+" import org.jboss.cache.transaction.DummyTransactionManager;\n"
+" show(); // verbose mode for bean shell\n"
+" // Set up transaction manager\n"
+" DummyTransactionManager.getInstance();\n"
+" Properties prop = new Properties();\n"
+" prop.put(Context.INITIAL_CONTEXT_FACTORY,\n"
+" \"org.jboss.cache.transaction.DummyContextFactory\");\n"
+" UserTransaction tx = (UserTransaction)new\n"
+" InitialContext(prop).lookup(\"UserTransaction\");\n"
+" PojoCache tree = new PojoCache();\n"
+" PropertyConfigurator config = new PropertyConfigurator(); \n"
+" // configure tree cache.\n"
+" config.configure(tree, \"META-INF/replSync-service.xml\");\n"
+" joe = new Person();\n"
+" joe.setName(\"Joe Black\");\n"
+" joe.setAge(31);\n"
+"\n"
+" Address addr = new Address();\n"
+" addr.setCity(\"Sunnyvale\");\n"
+" addr.setStreet(\"123 Albert Ave\");\n"
+" addr.setZip(94086);\n"
+" joe.setAddress(addr);\n"
+"\n"
+" tree.startService(); // kick start tree cache\n"
+" tree.putObject(\"/aop/joe\", joe); // add aop sanctioned object\n"
+" // since it is aop-sanctioned, use of plain get/set methods will "
+"take care\n"
+" of cache contents automatically.\n"
+" // Also it is transacted\n"
+" tx.begin();\n"
+" joe.setAge(41);\n"
+" joe.getAddress().setZip(95124);\n"
+" tx.commit();"
#. Tag: para
#: Cache_Tutorial.xml:181
@@ -531,6 +635,9 @@
" addr.setZip(95131);\n"
" tx.rollback();"
msgstr ""
+"tx.begin();\n"
+" addr.setZip(95131);\n"
+" tx.rollback();"
#. Tag: title
#: Cache_Tutorial.xml:187
@@ -579,6 +686,9 @@
" location=c:\\\\tmp\\\\oodb\n"
" </attribute>"
msgstr ""
+"<attribute name=\"CacheLoaderConfig\">\n"
+" location=c:\\\\tmp\\\\oodb\n"
+" </attribute>"
#. Tag: para
#: Cache_Tutorial.xml:200
@@ -605,12 +715,21 @@
" <null>\n"
" bsh %"
msgstr ""
+"bela at laptop /cygdrive/c/jboss-cache\n"
+" $ ./runShellDemo.sh\n"
+" BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
+" bsh % sourceRelative(\"oodb.bsh\");\n"
+" interceptor chain is:\n"
+" class org.jboss.cache.interceptors.CallInterceptor\n"
+" class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
+" class org.jboss.cache.interceptors.TransactionInterceptor\n"
+" <null>\n"
+" bsh %"
#. Tag: para
#: Cache_Tutorial.xml:204
#, no-c-format
-msgid ""
-"Next, create an instance of Person, and set its address and other fields:"
+msgid "Next, create an instance of Person, and set its address and other fields:"
msgstr ""
#. Tag: programlisting
@@ -640,6 +759,28 @@
" city=San Jose, zip=95124, skills=null, languages=null>\n"
" bsh %"
msgstr ""
+"bsh % p=new Person();\n"
+" <name=null, age=0, hobbies=, address=null, skills=null, "
+"languages=null>\n"
+" bsh % p.age=3;\n"
+" <3>\n"
+" bsh % p.name=\"Michelle\";\n"
+" <Michelle>\n"
+" bsh % addr=new Address();\n"
+" <street=null, city=null, zip=0>\n"
+" bsh % addr.city=\"San Jose\";\n"
+" <San Jose>\n"
+" bsh % addr.zip=95124;\n"
+" <95124>\n"
+" bsh % addr.street=\"1704 Almond Blossom Lane\";\n"
+" <1704 Almond Blossom Lane>\n"
+" bsh % p.setAddress(addr);\n"
+" bsh % tree.putObject(\"/person/me\", p);\n"
+" bsh % p;\n"
+" <name=Michelle, age=3, hobbies=, address=street=1704 Almond "
+"Blossom Lane, \n"
+" city=San Jose, zip=95124, skills=null, languages=null>\n"
+" bsh %"
#. Tag: para
#: Cache_Tutorial.xml:208
@@ -676,6 +817,26 @@
" >\n"
" bsh %"
msgstr ""
+"bela at laptop /cygdrive/c/jboss-cache\n"
+" $ ./runShellDemo.sh\n"
+" BeanShell 1.3.0 - by Pat Niemeyer (pat at pat.net)\n"
+" bsh % sourceRelative(\"oodb.bsh\");\n"
+" interceptor chain is:\n"
+" class org.jboss.cache.interceptors.CallInterceptor\n"
+" class org.jboss.cache.interceptors.CacheLoaderInterceptor\n"
+" class org.jboss.cache.interceptors.TransactionInterceptor\n"
+" <null>\n"
+" bsh % tree;\n"
+" </>\n"
+" bsh % p=tree.getObject(\"/person/me\");\n"
+" <name=Michelle, age=3, hobbies=, address=street=1704 Almond "
+"Blossom Lane, \n"
+" city=San Jose, zip=95124, skills=null, languages=null>\n"
+" bsh % tree;\n"
+" </p\n"
+" /address\n"
+" >\n"
+" bsh %"
#. Tag: para
#: Cache_Tutorial.xml:212
@@ -726,6 +887,22 @@
" <attribute name=\"CacheLoaderFetchPersistentState\">"
"true</attribute>"
msgstr ""
+"<!-- Whether or not to fetch state on joining a cluster -->\n"
+" <attribute name=\"FetchStateOnStartup\">false</"
+"attribute>\n"
+" <attribute name=\"CacheLoaderClass\">org.jboss.cache."
+"loader.FileCacheLoader</attribute>\n"
+" <attribute name=\"CacheLoaderConfig\">\n"
+" location=c:\\\\tmp\n"
+" </attribute>\n"
+" <attribute name=\"CacheLoaderShared\">true</"
+"attribute>\n"
+" <attribute name=\"CacheLoaderPreload\">/</"
+"attribute>\n"
+" <attribute name=\"CacheLoaderFetchTransientState\">"
+"false</attribute>\n"
+" <attribute name=\"CacheLoaderFetchPersistentState\">"
+"true</attribute>"
#. Tag: para
#: Cache_Tutorial.xml:226
@@ -809,6 +986,36 @@
" 192.168.1.184:1357]\n"
" [java] ** node modified: /"
msgstr ""
+"bela at laptop /cygdrive/c/jboss-cache\n"
+" $ ./build.sh run.demo.async.shared.cacheloader\n"
+" Buildfile: build.xml\n"
+"\n"
+" init:\n"
+"\n"
+" compile:\n"
+"\n"
+" run.demo.async.shared.cacheloader:\n"
+" [java] ** node loaded: /a\n"
+" [java] ** node loaded: /a/b\n"
+" [java] ** node loaded: /a/b/c\n"
+" [java] ** node loaded: /uno\n"
+" [java] ** node loaded: /uno/due\n"
+"\n"
+" [java] -------------------------------------------------------\n"
+" [java] GMS: address is 192.168.1.184:1357\n"
+" [java] -------------------------------------------------------\n"
+" [java] interceptor chain is:\n"
+" [java] class org.jboss.cache.interceptors.CallInterceptor\n"
+" [java] class org.jboss.cache.interceptors."
+"ReplicationInterceptor\n"
+" [java] class org.jboss.cache.interceptors."
+"CacheLoaderInterceptor\n"
+" [java] class org.jboss.cache.interceptors."
+"TransactionInterceptor\n"
+" [java] ** view change: [192.168.1.184:1355|1] "
+"[192.168.1.184:1355,\n"
+" 192.168.1.184:1357]\n"
+" [java] ** node modified: /"
#. Tag: para
#: Cache_Tutorial.xml:239
@@ -864,6 +1071,19 @@
" <attribute name=\"CacheLoaderFetchPersistentState\">"
"true</attribute>"
msgstr ""
+"<attribute name=\"CacheLoaderClass\">org.jboss.cache.loader.bdbje."
+"BdbjeCacheLoader</attribute>\n"
+" <attribute name=\"CacheLoaderConfig\">\n"
+" location=c:\\\\tmp\\\\node1\n"
+" </attribute>\n"
+" <attribute name=\"CacheLoaderShared\">false</"
+"attribute>\n"
+" <attribute name=\"CacheLoaderPreload\">/</"
+"attribute>\n"
+" <attribute name=\"CacheLoaderFetchTransientState\">"
+"false</attribute>\n"
+" <attribute name=\"CacheLoaderFetchPersistentState\">"
+"true</attribute>"
#. Tag: para
#: Cache_Tutorial.xml:252
@@ -914,6 +1134,18 @@
" [java] ** node loaded: /a/a2\n"
" ..."
msgstr ""
+"bela at laptop /cygdrive/c/jboss-cache\n"
+" $ ./build.sh run.demo.unshared.node2\n"
+" Buildfile: build.xml\n"
+"\n"
+" init:\n"
+"\n"
+" compile:\n"
+"\n"
+" run.demo.unshared.node2:\n"
+" [java] ** node loaded: /a\n"
+" [java] ** node loaded: /a/a2\n"
+" ..."
#. Tag: para
#: Cache_Tutorial.xml:262
@@ -954,9 +1186,8 @@
#. Tag: programlisting
#: Cache_Tutorial.xml:276
#, no-c-format
-msgid ""
-"[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
-msgstr ""
+msgid "[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
+msgstr "[java] ** view change: [BWANG-HOME:4381|1] [BWANG-HOME:4381, BWANG-HOME:4383]"
#. Tag: para
#: Cache_Tutorial.xml:277
@@ -969,3 +1200,4 @@
"have problem with this, please consult the <ulink url=\"http://www.jgroups."
"org/javagroupsnew/docs/index.html\">JGroups website </ulink>"
msgstr ""
+
More information about the jboss-cvs-commits
mailing list