[jboss-cvs] JBossAS SVN: r96089 - projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/pt-BR.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Fri Nov 6 01:30:35 EST 2009
Author: ldelima at redhat.com
Date: 2009-11-06 01:30:34 -0500 (Fri, 06 Nov 2009)
New Revision: 96089
Modified:
projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/pt-BR/session_api.po
Log:
translation ongoing
Modified: projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/pt-BR/session_api.po
===================================================================
--- projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/pt-BR/session_api.po 2009-11-06 06:28:25 UTC (rev 96088)
+++ projects/docs/enterprise/5.0/Hibernate/Hibernate_Core/pt-BR/session_api.po 2009-11-06 06:30:34 UTC (rev 96089)
@@ -109,7 +109,7 @@
"Project-Id-Version: session_api\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2009-09-15 07:03+0000\n"
-"PO-Revision-Date: 2009-11-06 16:28+1000\n"
+"PO-Revision-Date: 2009-11-06 16:30+1000\n"
"Last-Translator: \n"
"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
@@ -1344,22 +1344,21 @@
#. Tag: programlisting
#: session_api.xml:492
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[List cats = session.createSQLQuery(\"SELECT {cat.*} FROM CAT {cat} "
"WHERE ROWNUM<10\")\n"
" .addEntity(\"cat\", Cat.class)\n"
".list();]]>"
msgstr ""
-"List cats = session.createSQLQuery(\n"
-" \"SELECT {cat.*} FROM CAT {cat} WHERE ROWNUM<10\",\n"
-" \"cat\",\n"
-" Cat.class\n"
-").list();"
+"<![CDATA[List cats = session.createSQLQuery(\"SELECT {cat.*} FROM CAT {cat} "
+"WHERE ROWNUM<10\")\n"
+" .addEntity(\"cat\", Cat.class)\n"
+".list();]]>"
#. Tag: programlisting
#: session_api.xml:494
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[List cats = session.createSQLQuery(\n"
" \"SELECT {cat}.ID AS {cat.id}, {cat}.SEX AS {cat.sex}, \" +\n"
@@ -1369,14 +1368,13 @@
" .addEntity(\"cat\", Cat.class)\n"
".list()]]>"
msgstr ""
-"List cats = session.createSQLQuery(\n"
+"<![CDATA[List cats = session.createSQLQuery(\n"
" \"SELECT {cat}.ID AS {cat.id}, {cat}.SEX AS {cat.sex}, \" +\n"
" \"{cat}.MATE AS {cat.mate}, {cat}.SUBCLASS AS {cat.class}, ... \" "
"+\n"
-" \"FROM CAT {cat} WHERE ROWNUM<10\",\n"
-" \"cat\",\n"
-" Cat.class\n"
-").list()"
+" \"FROM CAT {cat} WHERE ROWNUM<10\")\n"
+" .addEntity(\"cat\", Cat.class)\n"
+".list()]]>"
#. Tag: para
#: session_api.xml:496
@@ -1423,16 +1421,17 @@
#. Tag: programlisting
#: session_api.xml:520
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[DomesticCat cat = (DomesticCat) sess.load( Cat.class, new Long"
"(69) );\n"
"cat.setName(\"PK\");\n"
"sess.flush(); // changes to cat are automatically detected and persisted]]>"
msgstr ""
-"DomesticCat cat = (DomesticCat) sess.load( Cat.class, new Long(69) );\n"
+"<![CDATA[DomesticCat cat = (DomesticCat) sess.load( Cat.class, new Long"
+"(69) );\n"
"cat.setName(\"PK\");\n"
-"sess.flush(); // changes to cat are automatically detected and persisted"
+"sess.flush(); // changes to cat are automatically detected and persisted]]>"
#. Tag: para
#: session_api.xml:522
@@ -1513,7 +1512,7 @@
#. Tag: programlisting
#: session_api.xml:561
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[// in the first session\n"
"Cat cat = (Cat) firstSession.load(Cat.class, catId);\n"
@@ -1527,7 +1526,7 @@
"secondSession.update(cat); // update cat\n"
"secondSession.update(mate); // update mate]]>"
msgstr ""
-"// in the first session\n"
+"<![CDATA[// in the first session\n"
"Cat cat = (Cat) firstSession.load(Cat.class, catId);\n"
"Cat potentialMate = new Cat();\n"
"firstSession.save(potentialMate);\n"
@@ -1537,7 +1536,7 @@
"\n"
"// later, in a new session\n"
"secondSession.update(cat); // update cat\n"
-"secondSession.update(mate); // update mate"
+"secondSession.update(mate); // update mate]]>"
#. Tag: para
#: session_api.xml:563
@@ -1602,7 +1601,7 @@
#. Tag: programlisting
#: session_api.xml:590
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[//just reassociate:\n"
"sess.lock(fritz, LockMode.NONE);\n"
@@ -1611,12 +1610,12 @@
"//do a version check, using SELECT ... FOR UPDATE, then reassociate:\n"
"sess.lock(pk, LockMode.UPGRADE);]]>"
msgstr ""
-"//just reassociate:\n"
+"<![CDATA[//just reassociate:\n"
"sess.lock(fritz, LockMode.NONE);\n"
"//do a version check, then reassociate:\n"
"sess.lock(izi, LockMode.READ);\n"
"//do a version check, using SELECT ... FOR UPDATE, then reassociate:\n"
-"sess.lock(pk, LockMode.UPGRADE);"
+"sess.lock(pk, LockMode.UPGRADE);]]>"
#. Tag: para
#: session_api.xml:592
@@ -1664,7 +1663,7 @@
#. Tag: programlisting
#: session_api.xml:615
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[// in the first session\n"
"Cat cat = (Cat) firstSession.load(Cat.class, catID);\n"
@@ -1679,7 +1678,7 @@
"secondSession.saveOrUpdate(mate); // save the new instance (mate has a null "
"id)]]>"
msgstr ""
-"// in the first session\n"
+"<![CDATA[// in the first session\n"
"Cat cat = (Cat) firstSession.load(Cat.class, catID);\n"
"\n"
"// in a higher tier of the application\n"
@@ -1690,7 +1689,7 @@
"secondSession.saveOrUpdate(cat); // update existing state (cat has a non-"
"null id)\n"
"secondSession.saveOrUpdate(mate); // save the new instance (mate has a null "
-"id)"
+"id)]]>"
#. Tag: para
#: session_api.xml:617
@@ -1881,9 +1880,9 @@
#. Tag: programlisting
#: session_api.xml:744
-#, fuzzy, no-c-format
+#, no-c-format
msgid "<![CDATA[sess.delete(cat);]]>"
-msgstr "sess.delete(cat);"
+msgstr "<![CDATA[sess.delete(cat);]]>"
#. Tag: para
#: session_api.xml:746
@@ -1920,7 +1919,7 @@
#. Tag: programlisting
#: session_api.xml:765
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[//retrieve a cat from one database\n"
"Session session1 = factory1.openSession();\n"
@@ -1936,7 +1935,7 @@
"tx2.commit();\n"
"session2.close();]]>"
msgstr ""
-"//retrieve a cat from one database\n"
+"<![CDATA[//retrieve a cat from one database\n"
"Session session1 = factory1.openSession();\n"
"Transaction tx1 = session1.beginTransaction();\n"
"Cat cat = session1.get(Cat.class, catId);\n"
@@ -1948,7 +1947,7 @@
"Transaction tx2 = session2.beginTransaction();\n"
"session2.replicate(cat, ReplicationMode.LATEST_VERSION);\n"
"tx2.commit();\n"
-"session2.close();"
+"session2.close();]]>"
#. Tag: para
#: session_api.xml:767
@@ -2157,7 +2156,7 @@
#. Tag: programlisting
#: session_api.xml:898
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[sess = sf.openSession();\n"
"Transaction tx = sess.beginTransaction();\n"
@@ -2174,7 +2173,7 @@
"tx.commit(); // flush occurs\n"
"sess.close();]]>"
msgstr ""
-"sess = sf.openSession();\n"
+"<![CDATA[sess = sf.openSession();\n"
"Transaction tx = sess.beginTransaction();\n"
"sess.setFlushMode(FlushMode.COMMIT); // allow queries to return stale state\n"
"\n"
@@ -2187,7 +2186,7 @@
"// change to izi is not flushed!\n"
"...\n"
"tx.commit(); // flush occurs\n"
-"sess.close();"
+"sess.close();]]>"
#. Tag: para
#: session_api.xml:900
@@ -2285,9 +2284,9 @@
#. Tag: programlisting
#: session_api.xml:946
-#, fuzzy, no-c-format
+#, no-c-format
msgid "<![CDATA[<one-to-one name=\"person\" cascade=\"persist\"/>]]>"
-msgstr "<one-to-one name=\"person\" cascade=\"persist\"/>"
+msgstr "<![CDATA[<one-to-one name=\"person\" cascade=\"persist\"/>]]>"
#. Tag: para
#: session_api.xml:948
@@ -2297,9 +2296,9 @@
#. Tag: programlisting
#: session_api.xml:952
-#, fuzzy, no-c-format
+#, no-c-format
msgid "<![CDATA[<one-to-one name=\"person\" cascade=\"persist,delete,lock\"/>]]>"
-msgstr "<one-to-one name=\"person\" cascade=\"persist,delete,lock\"/>"
+msgstr "<![CDATA[<one-to-one name=\"person\" cascade=\"persist,delete,lock\"/>]]>"
#. Tag: para
#: session_api.xml:954
@@ -2536,7 +2535,7 @@
#. Tag: programlisting
#: session_api.xml:1079
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<![CDATA[Cat fritz = ......;\n"
"ClassMetadata catMeta = sessionfactory.getClassMetadata(Cat.class);\n"
@@ -2554,7 +2553,7 @@
" }\n"
"}]]>"
msgstr ""
-"Cat fritz = ......;\n"
+"<![CDATA[Cat fritz = ......;\n"
"ClassMetadata catMeta = sessionfactory.getClassMetadata(Cat.class);\n"
"\n"
"Object[] propertyValues = catMeta.getPropertyValues(fritz);\n"
@@ -2563,10 +2562,10 @@
"\n"
"// get a Map of all properties which are not collections or associations\n"
"Map namedValues = new HashMap();\n"
-"for ( int i=0; i<propertyNames.length; i++ ) {\n"
-" if ( !propertyTypes[i].isEntityType() && !propertyTypes[i]."
+"for ( int i=0; i<propertyNames.length; i++ ) {\n"
+" if ( !propertyTypes[i].isEntityType() && !propertyTypes[i]."
"isCollectionType() ) {\n"
" namedValues.put( propertyNames[i], propertyValues[i] );\n"
" }\n"
-"}"
+"}]]>"
More information about the jboss-cvs-commits
mailing list