[webbeans-commits] Webbeans SVN: r620 - doc/trunk/reference/it-IT/modules.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Sat Dec 20 12:05:07 EST 2008


Author: nico.ben
Date: 2008-12-20 12:05:07 -0500 (Sat, 20 Dec 2008)
New Revision: 620

Modified:
   doc/trunk/reference/it-IT/modules/example.po
   doc/trunk/reference/it-IT/modules/intro.po
   doc/trunk/reference/it-IT/modules/next.po
   doc/trunk/reference/it-IT/modules/ri.po
   doc/trunk/reference/it-IT/modules/scopescontexts.po
Log:
WBRI-69: Italian translation for Web Beans

Modified: doc/trunk/reference/it-IT/modules/example.po
===================================================================
--- doc/trunk/reference/it-IT/modules/example.po	2008-12-20 16:28:32 UTC (rev 619)
+++ doc/trunk/reference/it-IT/modules/example.po	2008-12-20 17:05:07 UTC (rev 620)
@@ -23,7 +23,7 @@
 #: example.xml:6
 #, no-c-format
 msgid "Let's illustrate these ideas with a full example. We're going to implement user login/logout for an application that uses JSF. First, we'll define a Web Bean to hold the username and password entered during login:"
-msgstr "Illustriamo queste idee con un esempio completo. Implementeremo il login/logout dell'utente per un'applicazione che utilizza JSF. Innanzitutto definiamo un Web Bean che mantenga username e password digitati durante il login:"
+msgstr "Illustriamo queste idee con un esempio completo. Implementiamo il login/logout dell'utente per un'applicazione che utilizza JSF. Innanzitutto definiamo un Web Bean che mantenga username e password digitati durante il login:"
 
 #. Tag: programlisting
 #: example.xml:11
@@ -195,7 +195,7 @@
 #: example.xml:27
 #, no-c-format
 msgid "Now, any other Web Bean can easily inject the current user:"
-msgstr "Ora qualsiasi altro Web Bean può facilemente iniettare l'utente corrente:"
+msgstr "Ora qualsiasi altro Web Bean può facilmente iniettare l'utente corrente:"
 
 #. Tag: programlisting
 #: example.xml:29

Modified: doc/trunk/reference/it-IT/modules/intro.po
===================================================================
--- doc/trunk/reference/it-IT/modules/intro.po	2008-12-20 16:28:32 UTC (rev 619)
+++ doc/trunk/reference/it-IT/modules/intro.po	2008-12-20 17:05:07 UTC (rev 620)
@@ -6,7 +6,7 @@
 "Project-Id-Version: master.xml\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2008-12-19 20:26+0000\n"
-"PO-Revision-Date: 2008-12-20 16:44+0100\n"
+"PO-Revision-Date: 2008-12-20 18:01+0100\n"
 "Last-Translator: Nicola Benaglia <nico.benaz at gmail.com>\n"
 "Language-Team: none\n"
 "MIME-Version: 1.0\n"
@@ -19,11 +19,12 @@
 msgid "Getting started with Web Beans"
 msgstr "Iniziare con Web Beans"
 
+# Rendere la frase "wondering what kinds of hoops the Web Beans specification will make you jump through!" più italiana.
 #. Tag: para
 #: intro.xml:6
 #, no-c-format
 msgid "So you're already keen to get started writing your first Web Bean? Or perhaps you're skeptical, wondering what kinds of hoops the Web Beans specification will make you jump through! The good news is that you've probably already written and used hundreds, perhaps thousands of Web Beans. You might not even remember the first Web Bean you wrote."
-msgstr ""
+msgstr "Non vedi l'ora di iniziare a scrivere il primo Web Beans? O forse sei un pò scettico e ti domandi in quali cerchi ti farà saltare dentro la specifica Web Beans! La buona notizia è che probabilmente hai già scritto e usato centinaia, forse migliaia di Web Beans. Si potrebbe addirittura non ricordare il primo Web Bean scritto."
 
 #. Tag: title
 #: intro.xml:13
@@ -35,7 +36,7 @@
 #: intro.xml:15
 #, no-c-format
 msgid "With certain, very special exceptions, every Java class with a constructor that accepts no parameters is a Web Bean. That includes every JavaBean. Furthermore, every EJB 3-style session bean is a Web Bean. Sure, the JavaBeans and EJBs you've been writing every day have not been able to take advantage of the new services defined by the Web Beans specification, but you'll be able to use every one of them as Web Beans&#151;injecting them into other Web Beans, configuring them via the Web Beans XML configuration facility, even adding interceptors and decorators to them&#151;without touching your existing code."
-msgstr ""
+msgstr "Con alcune eccezioni molto speciali, ogni classe Java con un costruttore che non accetta paramentri è un Web Bean. Questo include ogni JavaBean. Inoltre, ogni session bean di stile EJB3 è un Web Bean. Sicuramente i JavaBean e gli EJB3 che si sono sempre scritti non erano in grado di sfruttare i nuovi servizi definiti dalla specifica Web Beans, ma si sarà presto in grado di usare ciascuno di essi come Web Bean&#151;iniettandoli in altri Web Beans, configurandoli tramite strumenti di configurazione XML Web Bean, e perfino aggiungendo a loro interceptor e decoratori&#151;senza toccare il codice esistente."
 
 #. Tag: para
 #: intro.xml:25
@@ -429,7 +430,7 @@
 #: intro.xml:217
 #, no-c-format
 msgid "Deployment types"
-msgstr ""
+msgstr "Tipi di deploy"
 
 #. Tag: para
 #: intro.xml:219
@@ -483,7 +484,7 @@
 #: intro.xml:246
 #, no-c-format
 msgid "Scope"
-msgstr ""
+msgstr "Scope"
 
 #. Tag: para
 #: intro.xml:248

Modified: doc/trunk/reference/it-IT/modules/next.po
===================================================================
--- doc/trunk/reference/it-IT/modules/next.po	2008-12-20 16:28:32 UTC (rev 619)
+++ doc/trunk/reference/it-IT/modules/next.po	2008-12-20 17:05:07 UTC (rev 620)
@@ -29,7 +29,7 @@
 #: next.xml:9
 #, no-c-format
 msgid "Of course, the Web Beans specification is the best source of more information about Web Beans. The spec is about 100 pages long, only twice the length of this article, and almost as readable. But, of course, it covers many details that we've skipped over. The spec is available from <literal>http://jcp.org/en/jsr/detail?id=299</literal>."
-msgstr "Certamente la specifica Web Beans è la migliore fonte per avere informazioni su Web Beans. La specifica è lunga circa 100 pagine, solo il doppio di quest'articolo e per lo più leggibile altrettanto facilmente. Ma sicuramente copre molti dettagli che sono stati saltati nel presente documento. La specifica è disponibile da <literal>http://jcp.org/en/jsr/detail?id=299</literal>."
+msgstr "La specifica Web Beans è sicuramente la migliore fonte per avere informazioni su Web Beans. La specifica è lunga circa 100 pagine, circa quest'articolo e per lo più leggibile altrettanto facilmente. Ma sicuramente copre molti dettagli che sono stati saltati nel presente documento. La specifica è disponibile al seguente indirizzo <literal>http://jcp.org/en/jsr/detail?id=299</literal>."
 
 #. Tag: para
 #: next.xml:15

Modified: doc/trunk/reference/it-IT/modules/ri.po
===================================================================
--- doc/trunk/reference/it-IT/modules/ri.po	2008-12-20 16:28:32 UTC (rev 619)
+++ doc/trunk/reference/it-IT/modules/ri.po	2008-12-20 17:05:07 UTC (rev 620)
@@ -617,7 +617,7 @@
 #: ri.xml:319
 #, no-c-format
 msgid "The translator example will take any sentences you enter, and translate them to Latin."
-msgstr "L'esempio di traduttore prende le frasi che vengono inserite e le traduce in latino."
+msgstr "L'esempio del traduttore prende le frasi che vengono inserite e le traduce in latino."
 
 #. Tag: para
 #: ri.xml:324

Modified: doc/trunk/reference/it-IT/modules/scopescontexts.po
===================================================================
--- doc/trunk/reference/it-IT/modules/scopescontexts.po	2008-12-20 16:28:32 UTC (rev 619)
+++ doc/trunk/reference/it-IT/modules/scopescontexts.po	2008-12-20 17:05:07 UTC (rev 620)
@@ -3,11 +3,11 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: master.xml \n"
+"Project-Id-Version: master.xml\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2008-12-19 20:26+0000\n"
-"PO-Revision-Date: 2008-12-19 20:26+0000\n"
-"Last-Translator: Automatically generated\n"
+"PO-Revision-Date: 2008-12-20 18:03+0100\n"
+"Last-Translator: Nicola Benaglia <nico.benaz at gmail.com>\n"
 "Language-Team: none\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -22,12 +22,7 @@
 #. Tag: para
 #: scopescontexts.xml:6
 #, no-c-format
-msgid ""
-"So far, we've seen a few examples of <emphasis>scope type annotations</"
-"emphasis>. The scope of a Web Bean determines the lifecycle of instances of "
-"the Web Bean. The scope also determines which clients refer to which "
-"instances of the Web Bean. According to the Web Beans specification, a scope "
-"determines:"
+msgid "So far, we've seen a few examples of <emphasis>scope type annotations</emphasis>. The scope of a Web Bean determines the lifecycle of instances of the Web Bean. The scope also determines which clients refer to which instances of the Web Bean. According to the Web Beans specification, a scope determines:"
 msgstr ""
 
 #. Tag: para
@@ -45,20 +40,13 @@
 #. Tag: para
 #: scopescontexts.xml:20
 #, no-c-format
-msgid ""
-"Which injected references refer to any instance of a Web Bean with that scope"
+msgid "Which injected references refer to any instance of a Web Bean with that scope"
 msgstr ""
 
 #. Tag: para
 #: scopescontexts.xml:25
 #, no-c-format
-msgid ""
-"For example, if we have a session scoped Web Bean, <literal>CurrentUser</"
-"literal>, all Web Beans that are called in the context of the same "
-"<literal>HttpSession</literal> will see the same instance of "
-"<literal>CurrentUser</literal>. This instance will be automatically created "
-"the first time a <literal>CurrentUser</literal> is needed in that session, "
-"and automatically destroyed when the session ends."
+msgid "For example, if we have a session scoped Web Bean, <literal>CurrentUser</literal>, all Web Beans that are called in the context of the same <literal>HttpSession</literal> will see the same instance of <literal>CurrentUser</literal>. This instance will be automatically created the first time a <literal>CurrentUser</literal> is needed in that session, and automatically destroyed when the session ends."
 msgstr ""
 
 #. Tag: title
@@ -70,9 +58,7 @@
 #. Tag: para
 #: scopescontexts.xml:34
 #, no-c-format
-msgid ""
-"Web Beans features an <emphasis>extensible context model</emphasis>. It is "
-"possible to define new scopes by creating a new scope type annotation:"
+msgid "Web Beans features an <emphasis>extensible context model</emphasis>. It is possible to define new scopes by creating a new scope type annotation:"
 msgstr ""
 
 #. Tag: programlisting
@@ -84,23 +70,21 @@
 "@ScopeType\n"
 "public @interface ClusterScoped {}]]>"
 msgstr ""
+"<![CDATA[@Retention(RUNTIME)\n"
+"@Target({TYPE, METHOD})\n"
+"@ScopeType\n"
+"public @interface ClusterScoped {}]]>"
 
 #. Tag: para
 #: scopescontexts.xml:39
 #, no-c-format
-msgid ""
-"Of course, that's the easy part of the job. For this scope type to be "
-"useful, we will also need to define a <literal>Context</literal> object that "
-"implements the scope! Implementing a <literal>Context</literal> is usually a "
-"very technical task, intended for framework development only."
+msgid "Of course, that's the easy part of the job. For this scope type to be useful, we will also need to define a <literal>Context</literal> object that implements the scope! Implementing a <literal>Context</literal> is usually a very technical task, intended for framework development only."
 msgstr ""
 
 #. Tag: para
 #: scopescontexts.xml:44
 #, no-c-format
-msgid ""
-"We can apply a scope type annotation to a Web Bean implementation class to "
-"specify the scope of the Web Bean:"
+msgid "We can apply a scope type annotation to a Web Bean implementation class to specify the scope of the Web Bean:"
 msgstr ""
 
 #. Tag: programlisting
@@ -110,6 +94,8 @@
 "<![CDATA[@ClusterScoped\n"
 "public class SecondLevelCache { ... }]]>"
 msgstr ""
+"<![CDATA[@ClusterScoped\n"
+"public class SecondLevelCache { ... }]]>"
 
 #. Tag: para
 #: scopescontexts.xml:58
@@ -133,25 +119,25 @@
 #: scopescontexts.xml:69
 #, no-c-format
 msgid "@RequestScoped"
-msgstr ""
+msgstr "@RequestScoped"
 
 #. Tag: literal
 #: scopescontexts.xml:72
 #, no-c-format
 msgid "@SessionScoped"
-msgstr ""
+msgstr "@SessionScoped"
 
 #. Tag: literal
 #: scopescontexts.xml:75
 #, no-c-format
 msgid "@ApplicationScoped"
-msgstr ""
+msgstr "@ApplicationScoped"
 
 #. Tag: literal
 #: scopescontexts.xml:78
 #, no-c-format
 msgid "@ConversationScoped"
-msgstr ""
+msgstr "@ConversationScoped"
 
 #. Tag: para
 #: scopescontexts.xml:82
@@ -162,9 +148,7 @@
 #. Tag: para
 #: scopescontexts.xml:86
 #, no-c-format
-msgid ""
-"any servlet request has access to active request, session and application "
-"scopes, and, additionally"
+msgid "any servlet request has access to active request, session and application scopes, and, additionally"
 msgstr ""
 
 #. Tag: para
@@ -206,19 +190,13 @@
 #. Tag: para
 #: scopescontexts.xml:111
 #, no-c-format
-msgid ""
-"If the application tries to invoke a Web Bean with a scope that does not "
-"have an active context, a <literal>ContextNotActiveException</literal> is "
-"thrown by the Web Bean manager at runtime."
+msgid "If the application tries to invoke a Web Bean with a scope that does not have an active context, a <literal>ContextNotActiveException</literal> is thrown by the Web Bean manager at runtime."
 msgstr ""
 
 #. Tag: para
 #: scopescontexts.xml:115
 #, no-c-format
-msgid ""
-"Three of the four built-in scopes should be extremely familiar to every Java "
-"EE developer, so let's not waste time discussing them here. One of the "
-"scopes, however, is new."
+msgid "Three of the four built-in scopes should be extremely familiar to every Java EE developer, so let's not waste time discussing them here. One of the scopes, however, is new."
 msgstr ""
 
 #. Tag: title
@@ -230,11 +208,7 @@
 #. Tag: para
 #: scopescontexts.xml:124
 #, no-c-format
-msgid ""
-"The Web Beans conversation scope is a bit like the traditional session scope "
-"in that it holds state associated with a user of the system, and spans "
-"multiple requests to the server. However, unlike the session scope, the "
-"conversation scope:"
+msgid "The Web Beans conversation scope is a bit like the traditional session scope in that it holds state associated with a user of the system, and spans multiple requests to the server. However, unlike the session scope, the conversation scope:"
 msgstr ""
 
 #. Tag: para
@@ -246,29 +220,19 @@
 #. Tag: para
 #: scopescontexts.xml:133
 #, no-c-format
-msgid ""
-"holds state associated with a particular web browser tab in a JSF "
-"application."
+msgid "holds state associated with a particular web browser tab in a JSF application."
 msgstr ""
 
 #. Tag: para
 #: scopescontexts.xml:138
 #, no-c-format
-msgid ""
-"A conversation represents a task, a unit of work from the point of view of "
-"the user. The conversation context holds state associated with what the user "
-"is currently working on. If the user is doing multiple things at the same "
-"time, there are multiple conversations."
+msgid "A conversation represents a task, a unit of work from the point of view of the user. The conversation context holds state associated with what the user is currently working on. If the user is doing multiple things at the same time, there are multiple conversations."
 msgstr ""
 
 #. Tag: para
 #: scopescontexts.xml:143
 #, no-c-format
-msgid ""
-"The conversation context is active during any JSF request. However, most "
-"conversations are destroyed at the end of the request. If a conversation "
-"should hold state across multiple requests, it must be explicitly promoted "
-"to a <emphasis>long-running conversation</emphasis>."
+msgid "The conversation context is active during any JSF request. However, most conversations are destroyed at the end of the request. If a conversation should hold state across multiple requests, it must be explicitly promoted to a <emphasis>long-running conversation</emphasis>."
 msgstr ""
 
 #. Tag: title
@@ -280,35 +244,25 @@
 #. Tag: para
 #: scopescontexts.xml:151
 #, no-c-format
-msgid ""
-"Web Beans provides a built-in Web Bean for controlling the lifecyle of "
-"conversations in a JSF application. This Web Bean may be obtained by "
-"injection:"
+msgid "Web Beans provides a built-in Web Bean for controlling the lifecyle of conversations in a JSF application. This Web Bean may be obtained by injection:"
 msgstr ""
 
 #. Tag: programlisting
 #: scopescontexts.xml:154
 #, no-c-format
 msgid "@Current Conversation conversation;"
-msgstr ""
+msgstr "@Current Conversation conversation;"
 
 #. Tag: para
 #: scopescontexts.xml:156
 #, no-c-format
-msgid ""
-"To promote the conversation associated with the current request to a long-"
-"running conversation, call the <literal>begin()</literal> method from "
-"application code. To schedule the current long-running conversation context "
-"for destruction at the end of the current request, call <literal>end()</"
-"literal>."
+msgid "To promote the conversation associated with the current request to a long-running conversation, call the <literal>begin()</literal> method from application code. To schedule the current long-running conversation context for destruction at the end of the current request, call <literal>end()</literal>."
 msgstr ""
 
 #. Tag: para
 #: scopescontexts.xml:161
 #, no-c-format
-msgid ""
-"In the following example, a conversation-scoped Web Bean controls the "
-"conversation with which it is associated:"
+msgid "In the following example, a conversation-scoped Web Bean controls the conversation with which it is associated:"
 msgstr ""
 
 #. Tag: programlisting
@@ -346,14 +300,41 @@
 "    \n"
 "}"
 msgstr ""
+"@ConversationScoped @Stateful\n"
+"public class OrderBuilder {\n"
+"\n"
+"    private Order order;\n"
+"    private @Current Conversation conversation;\n"
+"    private @PersistenceContext(type=EXTENDED) EntityManager em;\n"
+"    \n"
+"    @Produces public Order getOrder() {\n"
+"        return order;\n"
+"    }\n"
+"\n"
+"    public Order createOrder() {\n"
+"        order = new Order();\n"
+"        conversation.begin();\n"
+"        return order;\n"
+"    }\n"
+"    \n"
+"    public void addLineItem(Product product, int quantity) {\n"
+"        order.add( new LineItem(product, quantity) );\n"
+"    }\n"
+"\n"
+"    public void saveOrder(Order order) {\n"
+"        em.persist(order);\n"
+"        conversation.end();\n"
+"    }\n"
+"    \n"
+"    @Remove\n"
+"    public void destroy() {}\n"
+"    \n"
+"}"
 
 #. Tag: para
 #: scopescontexts.xml:166
 #, no-c-format
-msgid ""
-"This Web Bean is able to control its own lifecycle through use of the "
-"<literal>Conversation</literal> API. But some other Web Beans have a "
-"lifecycle which depends completely upon another object."
+msgid "This Web Bean is able to control its own lifecycle through use of the <literal>Conversation</literal> API. But some other Web Beans have a lifecycle which depends completely upon another object."
 msgstr ""
 
 #. Tag: title
@@ -365,22 +346,13 @@
 #. Tag: para
 #: scopescontexts.xml:175
 #, no-c-format
-msgid ""
-"The conversation context automatically propagates with any JSF faces request "
-"(JSF form submission). It does not automatically propagate with non-faces "
-"requests, for example, navigation via a link."
+msgid "The conversation context automatically propagates with any JSF faces request (JSF form submission). It does not automatically propagate with non-faces requests, for example, navigation via a link."
 msgstr ""
 
 #. Tag: para
 #: scopescontexts.xml:179
 #, no-c-format
-msgid ""
-"We can force the conversation to propagate with a non-faces request by "
-"including the unique identifier of the conversation as a request parameter. "
-"The Web Beans specification reserves the request parameter named "
-"<literal>cid</literal> for this use. The unique identifier of the "
-"conversation may be obtained from the <literal>Conversation</literal> "
-"object, which has the Web Beans name <literal>conversation</literal>."
+msgid "We can force the conversation to propagate with a non-faces request by including the unique identifier of the conversation as a request parameter. The Web Beans specification reserves the request parameter named <literal>cid</literal> for this use. The unique identifier of the conversation may be obtained from the <literal>Conversation</literal> object, which has the Web Beans name <literal>conversation</literal>."
 msgstr ""
 
 #. Tag: para
@@ -392,20 +364,13 @@
 #. Tag: programlisting
 #: scopescontexts.xml:188
 #, no-c-format
-msgid ""
-"<![CDATA[<a href=\"/addProduct.jsp?cid=#{conversation.id}\">Add Product</a>]]"
-">"
-msgstr ""
+msgid "<![CDATA[<a href=\"/addProduct.jsp?cid=#{conversation.id}\">Add Product</a>]]>"
+msgstr "<![CDATA[<a href=\"/addProduct.jsp?cid=#{conversation.id}\">Add Product</a>]]>"
 
 #. Tag: para
 #: scopescontexts.xml:190
 #, no-c-format
-msgid ""
-"The Web Bean manager is also required to propagate conversations across any "
-"redirect, even if the conversation is not marked long-running. This makes it "
-"very easy to implement the common POST-then-redirect pattern, without resort "
-"to fragile constructs such as a \"flash\" object. In this case, the Web Bean "
-"manager automatically adds a request parameter to the redirect URL."
+msgid "The Web Bean manager is also required to propagate conversations across any redirect, even if the conversation is not marked long-running. This makes it very easy to implement the common POST-then-redirect pattern, without resort to fragile constructs such as a \"flash\" object. In this case, the Web Bean manager automatically adds a request parameter to the redirect URL."
 msgstr ""
 
 #. Tag: title
@@ -417,28 +382,20 @@
 #. Tag: para
 #: scopescontexts.xml:202
 #, no-c-format
-msgid ""
-"The Web Bean manager is permitted to destroy a conversation and all state "
-"held in its context at any time in order to preserve resources. A Web Bean "
-"manager implementation will normally do this on the basis of some kind of "
-"timeout&#151;though this is not required by the Web Beans specification. The "
-"timeout is the period of inactivity before the conversation is destroyed."
+msgid "The Web Bean manager is permitted to destroy a conversation and all state held in its context at any time in order to preserve resources. A Web Bean manager implementation will normally do this on the basis of some kind of timeout&#151;though this is not required by the Web Beans specification. The timeout is the period of inactivity before the conversation is destroyed."
 msgstr ""
 
 #. Tag: para
 #: scopescontexts.xml:208
 #, no-c-format
-msgid ""
-"The <literal>Conversation</literal> object provides a method to set the "
-"timeout. This is a hint to the Web Bean manager, which is free to ignore the "
-"setting."
+msgid "The <literal>Conversation</literal> object provides a method to set the timeout. This is a hint to the Web Bean manager, which is free to ignore the setting."
 msgstr ""
 
 #. Tag: programlisting
 #: scopescontexts.xml:212
 #, no-c-format
 msgid "conversation.setTimeout(timeoutInMillis);"
-msgstr ""
+msgstr "conversation.setTimeout(timeoutInMillis);"
 
 #. Tag: title
 #: scopescontexts.xml:219
@@ -449,51 +406,37 @@
 #. Tag: para
 #: scopescontexts.xml:221
 #, no-c-format
-msgid ""
-"In addition to the four built-in scopes, Web Beans features the so-called "
-"<emphasis>dependent pseudo-scope</emphasis>. This is the default scope for a "
-"Web Bean which does not explicitly declare a scope type."
+msgid "In addition to the four built-in scopes, Web Beans features the so-called <emphasis>dependent pseudo-scope</emphasis>. This is the default scope for a Web Bean which does not explicitly declare a scope type."
 msgstr ""
 
 #. Tag: para
 #: scopescontexts.xml:225
 #, no-c-format
-msgid ""
-"For example, this Web Bean has the scope type <literal>@Dependent</literal>:"
+msgid "For example, this Web Bean has the scope type <literal>@Dependent</literal>:"
 msgstr ""
 
 #. Tag: programlisting
 #: scopescontexts.xml:227
 #, no-c-format
 msgid "<![CDATA[public class Calculator { ... }]]>"
-msgstr ""
+msgstr "<![CDATA[public class Calculator { ... }]]>"
 
 #. Tag: para
 #: scopescontexts.xml:229
 #, no-c-format
-msgid ""
-"When an injection point of a Web Bean resolves to a dependent Web Bean, a "
-"new instance of the dependent Web Bean is created every time the first Web "
-"Bean is instantiated. Instances of dependent Web Beans are never shared "
-"between different Web Beans or different injection points. They are "
-"<emphasis>dependent objects</emphasis> of some other Web Bean instance."
+msgid "When an injection point of a Web Bean resolves to a dependent Web Bean, a new instance of the dependent Web Bean is created every time the first Web Bean is instantiated. Instances of dependent Web Beans are never shared between different Web Beans or different injection points. They are <emphasis>dependent objects</emphasis> of some other Web Bean instance."
 msgstr ""
 
 #. Tag: para
 #: scopescontexts.xml:235
 #, no-c-format
-msgid ""
-"Dependent Web Bean instances are destroyed when the instance they depend "
-"upon is destroyed."
+msgid "Dependent Web Bean instances are destroyed when the instance they depend upon is destroyed."
 msgstr ""
 
 #. Tag: para
 #: scopescontexts.xml:243
 #, no-c-format
-msgid ""
-"Web Beans makes it easy to obtain a dependent instance of a Java class or "
-"EJB bean, even if the class or EJB bean is already declared as a Web Bean "
-"with some other scope type."
+msgid "Web Beans makes it easy to obtain a dependent instance of a Java class or EJB bean, even if the class or EJB bean is already declared as a Web Bean with some other scope type."
 msgstr ""
 
 #. Tag: title
@@ -505,34 +448,25 @@
 #. Tag: para
 #: scopescontexts.xml:250
 #, no-c-format
-msgid ""
-"The built-in <literal>@New</literal> binding annotation allows "
-"<emphasis>implicit</emphasis> definition of a dependent Web Bean at an "
-"injection point. Suppose we declare the following injected field:"
+msgid "The built-in <literal>@New</literal> binding annotation allows <emphasis>implicit</emphasis> definition of a dependent Web Bean at an injection point. Suppose we declare the following injected field:"
 msgstr ""
 
 #. Tag: programlisting
 #: scopescontexts.xml:254
 #, no-c-format
 msgid "<![CDATA[@New Calculator calculator;]]>"
-msgstr ""
+msgstr "<![CDATA[@New Calculator calculator;]]>"
 
 #. Tag: para
 #: scopescontexts.xml:256
 #, no-c-format
-msgid ""
-"Then a Web Bean with scope <literal>@Dependent</literal>, binding type "
-"<literal>@New</literal>, API type <literal>Calculator</literal>, "
-"implementation class <literal>Calculator</literal> and deployment type "
-"<literal>@Standard</literal> is implicitly defined."
+msgid "Then a Web Bean with scope <literal>@Dependent</literal>, binding type <literal>@New</literal>, API type <literal>Calculator</literal>, implementation class <literal>Calculator</literal> and deployment type <literal>@Standard</literal> is implicitly defined."
 msgstr ""
 
 #. Tag: para
 #: scopescontexts.xml:261
 #, no-c-format
-msgid ""
-"This is true even if <literal>Calculator</literal> is <emphasis>already</"
-"emphasis> declared with a different scope type, for example:"
+msgid "This is true even if <literal>Calculator</literal> is <emphasis>already</emphasis> declared with a different scope type, for example:"
 msgstr ""
 
 #. Tag: programlisting
@@ -542,13 +476,13 @@
 "<![CDATA[@ConversationScoped\n"
 "public class Calculator { ... }]]>"
 msgstr ""
+"<![CDATA[@ConversationScoped\n"
+"public class Calculator { ... }]]>"
 
 #. Tag: para
 #: scopescontexts.xml:266
 #, no-c-format
-msgid ""
-"So the following injected attributes each get a different instance of "
-"<literal>Calculator</literal>:"
+msgid "So the following injected attributes each get a different instance of <literal>Calculator</literal>:"
 msgstr ""
 
 #. Tag: programlisting
@@ -562,21 +496,22 @@
 "\n"
 "}]]>"
 msgstr ""
+"<![CDATA[public class PaymentCalc {\n"
+"\n"
+"    @Current Calculator calculator;\n"
+"    @New Calculator newCalculator;\n"
+"\n"
+"}]]>"
 
 #. Tag: para
 #: scopescontexts.xml:271
 #, no-c-format
-msgid ""
-"The <literal>calculator</literal> field has a conversation-scoped instance "
-"of <literal>Calculator</literal> injected. The <literal>newCalculator</"
-"literal> field has a new instance of <literal>Calculator</literal> injected, "
-"with a lifecycle that is bound to the owning <literal>PaymentCalc</literal>."
+msgid "The <literal>calculator</literal> field has a conversation-scoped instance of <literal>Calculator</literal> injected. The <literal>newCalculator</literal> field has a new instance of <literal>Calculator</literal> injected, with a lifecycle that is bound to the owning <literal>PaymentCalc</literal>."
 msgstr ""
 
 #. Tag: para
 #: scopescontexts.xml:276
 #, no-c-format
-msgid ""
-"This feature is particularly useful with producer methods, as we'll see in "
-"the next chapter."
+msgid "This feature is particularly useful with producer methods, as we'll see in the next chapter."
 msgstr ""
+




More information about the weld-commits mailing list