[webbeans-commits] Webbeans SVN: r945 - doc/trunk/reference/es-ES.

webbeans-commits at lists.jboss.org webbeans-commits at lists.jboss.org
Wed Jan 14 01:33:46 EST 2009


Author: guegl
Date: 2009-01-14 01:33:46 -0500 (Wed, 14 Jan 2009)
New Revision: 945

Modified:
   doc/trunk/reference/es-ES/ri.po
Log:
in progress

Modified: doc/trunk/reference/es-ES/ri.po
===================================================================
--- doc/trunk/reference/es-ES/ri.po	2009-01-14 05:57:47 UTC (rev 944)
+++ doc/trunk/reference/es-ES/ri.po	2009-01-14 06:33:46 UTC (rev 945)
@@ -1,23 +1,26 @@
+# translation of ri.po to Spanish
 # Language es-ES translations for master.xml package.
+#
 # Automatically generated, 2008.
-#
+# Gladys Guerrero Lozano <gguerrer at redhat.com>, 2009.
 msgid ""
 msgstr ""
-"Project-Id-Version: master.xml \n"
+"Project-Id-Version: ri\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2009-01-08 14:07+0000\n"
-"PO-Revision-Date: 2008-12-19 20:26+0000\n"
-"Last-Translator: Automatically generated\n"
-"Language-Team: none\n"
+"PO-Revision-Date: 2009-01-14 16:33+1000\n"
+"Last-Translator: Gladys Guerrero Lozano <gguerrer at redhat.com>\n"
+"Language-Team: Spanish <fedora-trans-es at redhat.com>\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
 #: ri.xml:4
 #, no-c-format
 msgid "The Web Beans Reference Implementation"
-msgstr ""
+msgstr "Implementación de referencia de Web Beans"
 
 #. Tag: para
 #: ri.xml:6
@@ -28,34 +31,39 @@
 "download the latest developer release of Web Beans from the <ulink url="
 "\"http://seamframework.org/Download\">the downloads page</ulink>."
 msgstr ""
+"La implementación de referencia de Web Beans se desarrolla en <ulink url="
+"\"http://seamframework.org/WebBeans\">the Seam project</ulink>. Se puede descargar la última versión de Web Beans desde <ulink url=\"http://seamframework.org/Download\">the downloads page</ulink>."
 
 #. Tag: para
 #: ri.xml:13
 #, no-c-format
+#, fuzzy
 msgid ""
 "The Web Beans RI comes with a two deployable example applications: "
 "<literal>webbeans-numberguess</literal>, a war example, containing only "
 "simple beans, and <literal>webbeans-translator</literal> an ear example, "
 "containing enterprise beans. To run the examples you'll need the following:"
 msgstr ""
+"La IR de Web Beans viene con dos ejemplos de aplicaciones de despliegue: "
+"<literal>webbeans-numberguess</literal>, un ejemplo de guerra, que contiene sólo beans sencillos y un oído de ejemplo de <literal>webbeans-translator</literal> que contiene beans de empresa. Para ejecutar los ejemplos necesitará lo siguiente:"
 
 #. Tag: para
 #: ri.xml:22
 #, no-c-format
 msgid "the latest release of the Web Beans RI,"
-msgstr ""
+msgstr "la última versión de la IR de Web Beans,"
 
 #. Tag: para
 #: ri.xml:25
 #, no-c-format
 msgid "JBoss AS 5.0.0.GA, and"
-msgstr ""
+msgstr "JBoss AS 5.0.0.GA, y"
 
 #. Tag: para
 #: ri.xml:28
 #, no-c-format
 msgid "Ant 1.7.0."
-msgstr ""
+msgstr "Ant 1.7.0."
 
 #. Tag: para
 #: ri.xml:32
@@ -65,6 +73,8 @@
 "need to download JBoss AS 5.0.0.GA from <ulink url=\"http://www.jboss.org/"
 "jbossas/downloads/\">jboss.org</ulink>, and unzip it. For example:"
 msgstr ""
+"Actualmente, la IR de Web Beans sólo se ejecuta en JBoss Application Server 5. Necesitará descargar JBoss AS 5.0.0.GA desde <ulink url=\"http://www.jboss.org/"
+"jbossas/downloads/\">jboss.org</ulink>, y descomprimirlo. Por ejemplo:"
 
 #. Tag: programlisting
 #: ri.xml:39
@@ -73,6 +83,8 @@
 "<![CDATA[$ cd /Applications\n"
 "$ unzip ~/jboss-5.0.0.GA.zip]]>"
 msgstr ""
+"<![CDATA[$ cd /Applications\n"
+"$ unzip ~/jboss-5.0.0.GA.zip]]>"
 
 #. Tag: para
 #: ri.xml:41
@@ -81,6 +93,8 @@
 "Next, download the Web Beans RI from <ulink url=\"http://seamframework.org/"
 "Download\">seamframework.org</ulink>, and unzip it. For example"
 msgstr ""
+"Luego, descargue el IR de Web Beans desde <ulink url=\"http://seamframework.org/"
+"Download\">seamframework.org</ulink>, y descomprímalo. Por ejemplo:"
 
 #. Tag: programlisting
 #: ri.xml:47
@@ -89,6 +103,8 @@
 "<![CDATA[$ cd ~/\n"
 "$ unzip ~/webbeans-1.0.0.ALPHA1.zip]]>"
 msgstr ""
+"<![CDATA[$ cd ~/\n"
+"$ unzip ~/webbeans-1.0.0.ALPHA1.zip]]>"
 
 #. Tag: para
 #: ri.xml:50
@@ -98,12 +114,14 @@
 "as/build.properties</literal> and set the <literal>jboss.home</literal> "
 "property. For example:"
 msgstr ""
+"Después necesitaremos decirle a Web Beans en dónde está localizado JBoss. Editar <literal>jboss-"
+"as/build.properties</literal> y establecer la propiedad <literal>jboss.home</literal>. Por ejemplo:"
 
 #. Tag: programlisting
 #: ri.xml:56
 #, no-c-format
 msgid "jboss.home=/Applications/jboss-5.0.0.GA"
-msgstr ""
+msgstr "jboss.home=/Applications/jboss-5.0.0.GA"
 
 #. Tag: para
 #: ri.xml:58
@@ -112,7 +130,7 @@
 "As Web Beans is a new piece of software, you need to update JBoss AS to run "
 "the Web Beans RI. Future versions of JBoss AS will include these updates, "
 "and this step won't be necessary."
-msgstr ""
+msgstr "Como Web Beans es una nueva parte de software, necesitamos actualizar  JBoss AS para ejecutar el IR de Web Beans. Versiones futuras de JBOSS AS incluirán dichas actualizaciones, y este paso no será necesario."
 
 #. Tag: para
 #: ri.xml:65
@@ -124,6 +142,8 @@
 "container and discover which EJBs are installed in your application. "
 "Secondly, an update to JBoss EJB3 is needed."
 msgstr ""
+"Actualmente, se necesitan dos actualizaciones. Primero, se agrega el nuevo desarrollador, <literal>webbeans.deployer</literal>. Así se agrega soporte para los archivos de Web "
+"Bean a JBoss AS, y permite al IR de Web Beans solicitar el contenedor EJB3 y descubrir cuáles EJB están instalados en su aplicación. En segundo lugar se necesita una actualización de JBoss EJB3."
 
 #. Tag: para
 #: ri.xml:74
@@ -140,6 +160,8 @@
 "$ unzip apache-ant-1.7.0.zip\n"
 "$ export ANT_HOME=~/apache-ant-1.7.0"
 msgstr ""
+"$ unzip apache-ant-1.7.0.zip\n"
+"$ export ANT_HOME=~/apache-ant-1.7.0"
 
 #. Tag: para
 #: ri.xml:81
@@ -166,8 +188,7 @@
 #. Tag: para
 #: ri.xml:93
 #, no-c-format
-msgid ""
-"The build scripts for the examples offer a number of targets, these are:"
+msgid "The build scripts for the examples offer a number of targets, these are:"
 msgstr ""
 
 #. Tag: para
@@ -187,8 +208,7 @@
 #. Tag: para
 #: ri.xml:111
 #, no-c-format
-msgid ""
-"<literal>ant deploy</literal> - deploy the example in compressed jar format"
+msgid "<literal>ant deploy</literal> - deploy the example in compressed jar format"
 msgstr ""
 
 #. Tag: para
@@ -216,6 +236,8 @@
 "$ cd examples/numberguess\n"
 "ant deploy"
 msgstr ""
+"$ cd examples/numberguess\n"
+"ant deploy"
 
 #. Tag: para
 #: ri.xml:134
@@ -242,6 +264,8 @@
 "$ cd examples/translator\n"
 "ant deploy"
 msgstr ""
+"$ cd examples/translator\n"
+"ant deploy"
 
 #. Tag: para
 #: ri.xml:148
@@ -302,6 +326,18 @@
 "\n"
 "</faces-config>]]>"
 msgstr ""
+"<![CDATA[<?xml version='1.0' encoding='UTF-8'?>\n"
+"<faces-config version=\"1.2\"\n"
+"              xmlns=\"http://java.sun.com/xml/ns/javaee\"\n"
+"              xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
+"              xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://"
+"java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd\">\n"
+"    \n"
+"    <application>\n"
+"        <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>\n"
+"    </application>\n"
+"\n"
+"</faces-config>]]>"
 
 #. Tag: para
 #: ri.xml:178
@@ -438,6 +474,122 @@
 "to an action method on the Web Bean. </para> </callout> </calloutlist> </"
 "programlistingco>"
 msgstr ""
+"<programlistingco> <areaspec> <area id=\"faces.servlet\" coords=\"12\"/> "
+"<area id=\"faces.servlet.mapping\" coords=\"18\"/> <area id=\"faces.default."
+"suffix\" coords=\"23\"/> <area id=\"session.timeout\" coords=\"28\"/> <area "
+"id=\"webbeans.listener\" coords=\"32\"/> </areaspec> <programlisting><![CDATA"
+"[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+"\n"
+"<web-app version=\"2.5\"\n"
+"    xmlns=\"http://java.sun.com/xml/ns/javaee\"\n"
+"    xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
+"    xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://java.sun."
+"com/xml/ns/javaee/web-app_2_5.xsd\">\n"
+"   \n"
+"   <display-name>Web Beans Numbergues example</display-name>\n"
+"\n"
+"   <!-- JSF -->\n"
+"\n"
+"   <servlet>\n"
+"      <servlet-name>Faces Servlet</servlet-name>\n"
+"      <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>\n"
+"      <load-on-startup>1</load-on-startup>\n"
+"   </servlet>\n"
+"\n"
+"   <servlet-mapping>\n"
+"      <servlet-name>Faces Servlet</servlet-name>\n"
+"      <url-pattern>*.jsf</url-pattern>\n"
+"   </servlet-mapping>\n"
+"   \n"
+"   <context-param>\n"
+"      <param-name>javax.faces.DEFAULT_SUFFIX</param-name>\n"
+"      <param-value>.xhtml</param-value>\n"
+"   </context-param>\n"
+"\n"
+"   <session-config>\n"
+"      <session-timeout>10</session-timeout>\n"
+"   </session-config>\n"
+"\n"
+"</web-app>]]></programlisting> <calloutlist> <callout arearefs=\"faces."
+"servlet\"> <para> Enable and load the JSF servlet </para> </callout> "
+"<callout arearefs=\"faces.servlet.mapping\"> <para> Configure requests to "
+"<literal>.jsf</literal> pages to be handled by JSF </para> </callout> "
+"<callout arearefs=\"faces.default.suffix\"> <para> Tell JSF that we will be "
+"giving our source files (facelets) an extension of <literal>.jsf</literal> </"
+"para> </callout> <callout arearefs=\"session.timeout\"> <para> Configure a "
+"session timeout of 10 minutes </para> </callout> </calloutlist> </"
+"programlistingco> <note> <para> Whilst this demo is a JSF demo, you can use "
+"the Web Beans RI with any Servlet based web framework. </para> </note> "
+"<para> Let's take a look at the Facelet view: </para> <programlistingco> "
+"<areaspec> <area id=\"template\" coords=\"8\"/> <area id=\"messages\" coords="
+"\"12\"/> <area id=\"instructions\" coords=\"19\"/> <area id=\"guess\" coords="
+"\"25\"/> <area id=\"validator\" coords=\"30\"/> <area id=\"submit\" coords="
+"\"33\"/> </areaspec> <programlisting><![CDATA[<!DOCTYPE html PUBLIC \"-//"
+"W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/"
+"xhtml1-transitional.dtd\">\n"
+"<html xmlns=\"http://www.w3.org/1999/xhtml\"\n"
+"    xmlns:ui=\"http://java.sun.com/jsf/facelets\"\n"
+"    xmlns:h=\"http://java.sun.com/jsf/html\"\n"
+"    xmlns:f=\"http://java.sun.com/jsf/core\"\n"
+"    xmlns:s=\"http://jboss.com/products/seam/taglib\">\n"
+"\n"
+"  <ui:composition template=\"template.xhtml\">\n"
+"    <ui:define name=\"content\">\n"
+"       <h1>Guess a number...</h1>\n"
+"       <h:form id=\"NumberGuessMain\">\n"
+"          <div style=\"color: red\">\n"
+"             <h:messages id=\"messages\" globalOnly=\"false\"/>\n"
+"             <h:outputText id=\"Higher\" value=\"Higher!\" rendered=\"#{game."
+"number gt game.guess and game.guess ne 0}\"/>\n"
+"             <h:outputText id=\"Lower\" value=\"Lower!\" rendered=\"#{game."
+"number lt game.guess and game.guess ne 0}\"/>\n"
+"          </div>\n"
+"   \n"
+"          <div>\n"
+"             I'm thinking of a number between #{game.smallest} and #{game."
+"biggest}.\n"
+"             You have #{game.remainingGuesses} guesses.\n"
+"          </div>\n"
+"     \n"
+"          <div>\n"
+"             Your guess: \n"
+"             <h:inputText id=\"inputGuess\" \n"
+"                          value=\"#{game.guess}\" \n"
+"                          required=\"true\" \n"
+"                          size=\"3\" \n"
+"                          disabled=\"#{game.number eq game.guess}\">\n"
+"                <f:validateLongRange maximum=\"#{game.biggest}\" \n"
+"                                     minimum=\"#{game.smallest}\"/>\n"
+"             </h:inputText>\n"
+"            <h:commandButton id=\"GuessButton\"  \n"
+"                             value=\"Guess\" \n"
+"                             action=\"#{game.check}\" \n"
+"                             disabled=\"#{game.number eq game.guess}\"/>\n"
+"          </div>\n"
+"          <div>\n"
+"            <h:commandButton id=\"RestartButton\" value=\"Reset\" action=\"#"
+"{game.reset}\" immediate=\"true\" />\n"
+"          </div>\n"
+"       </h:form>\n"
+"    </ui:define>\n"
+"  </ui:composition>\n"
+"</html>]]></programlisting> <calloutlist> <callout arearefs=\"template\"> "
+"<para> Facelets is a templating language for JSF, here we are wrapping our "
+"page in a template which defines the header. </para> </callout> <callout "
+"arearefs=\"messages\"> <para> There are a number of messages which can be "
+"sent to the user, \"Higher!\", \"Lower!\" and \"Correct!\" </para> </"
+"callout> <callout arearefs=\"instructions\"> <para> As the user guesses, the "
+"range of numbers they can guess gets smaller - this sentance changes to make "
+"sure they know what range to guess in. </para> </callout> <callout arearefs="
+"\"guess\"> <para> This input field is bound to a Web Bean, using the value "
+"expression. </para> </callout> <callout arearefs=\"validator\"> <para> A "
+"range validator is used to make sure the user doesn't accidentally input a "
+"number outside of the range in which they can guess - if the validator "
+"wasn't here, the user might use up a guess on an out of range number. </"
+"para> </callout> <callout arearefs=\"submit\"> <para> And, of course, there "
+"must be a way for the user to send their guess to the server. Here we bind "
+"to an action method on the Web Bean. </para> </callout> </calloutlist> </"
+"programlistingco>"
 
 #. Tag: para
 #: ri.xml:287
@@ -458,6 +610,11 @@
 "@BindingType\n"
 "public @interface Random {}]]>"
 msgstr ""
+"<![CDATA[@Target( { TYPE, METHOD, PARAMETER, FIELD })\n"
+"@Retention(RUNTIME)\n"
+"@Documented\n"
+"@BindingType\n"
+"public @interface Random {}]]>"
 
 #. Tag: para
 #: ri.xml:295
@@ -478,6 +635,12 @@
 "public @interface MaxNumber {}\n"
 "]]>"
 msgstr ""
+"<![CDATA[@Target( { TYPE, METHOD, PARAMETER, FIELD })\n"
+"@Retention(RUNTIME)\n"
+"@Documented\n"
+"@BindingType\n"
+"public @interface MaxNumber {}\n"
+"]]>"
 
 #. Tag: para
 #: ri.xml:302
@@ -516,6 +679,29 @@
 "\n"
 "}]]>"
 msgstr ""
+"<![CDATA[@ApplicationScoped\n"
+"public class Generator {\n"
+"   \n"
+"   private java.util.Random random = new java.util.Random( System."
+"currentTimeMillis() );\n"
+"   \n"
+"   private int maxNumber = 100;\n"
+"   \n"
+"   java.util.Random getRandom()\n"
+"   {\n"
+"      return random;\n"
+"   }\n"
+"   \n"
+"   @Produces @Random int next() { \n"
+"      return getRandom().nextInt(maxNumber); \n"
+"   }\n"
+"   \n"
+"   @Produces @MaxNumber int getMaxNumber()\n"
+"   {\n"
+"      return maxNumber;\n"
+"   }\n"
+"\n"
+"}]]>"
 
 #. Tag: para
 #: ri.xml:310
@@ -645,6 +831,102 @@
 "   \n"
 "}]]>"
 msgstr ""
+"<![CDATA[package org.jboss.webbeans.examples.numberguess;\n"
+"\n"
+"\n"
+"import javax.annotation.PostConstruct;\n"
+"import javax.faces.application.FacesMessage;\n"
+"import javax.faces.context.FacesContext;\n"
+"import javax.webbeans.AnnotationLiteral;\n"
+"import javax.webbeans.Current;\n"
+"import javax.webbeans.Initializer;\n"
+"import javax.webbeans.Named;\n"
+"import javax.webbeans.SessionScoped;\n"
+"import javax.webbeans.manager.Manager;\n"
+"\n"
+"@Named\n"
+"@SessionScoped\n"
+"public class Game\n"
+"{\n"
+"   private int number;\n"
+"   \n"
+"   private int guess;\n"
+"   private int smallest;\n"
+"   private int biggest;\n"
+"   private int remainingGuesses;\n"
+"   \n"
+"   @Current Manager manager;\n"
+"   \n"
+"   public Game()\n"
+"   {\n"
+"   }\n"
+"   \n"
+"   @Initializer\n"
+"   Game(@MaxNumber int maxNumber)\n"
+"   {      \n"
+"      this.biggest = maxNumber;\n"
+"   }\n"
+"\n"
+"   public int getNumber()\n"
+"   {\n"
+"      return number;\n"
+"   }\n"
+"   \n"
+"   public int getGuess()\n"
+"   {\n"
+"      return guess;\n"
+"   }\n"
+"   \n"
+"   public void setGuess(int guess)\n"
+"   {\n"
+"      this.guess = guess;\n"
+"   }\n"
+"   \n"
+"   public int getSmallest()\n"
+"   {\n"
+"      return smallest;\n"
+"   }\n"
+"   \n"
+"   public int getBiggest()\n"
+"   {\n"
+"      return biggest;\n"
+"   }\n"
+"   \n"
+"   public int getRemainingGuesses()\n"
+"   {\n"
+"      return remainingGuesses;\n"
+"   }\n"
+"   \n"
+"   public String check()\n"
+"   {\n"
+"      if (guess>number)\n"
+"      {\n"
+"         biggest = guess - 1;\n"
+"      }\n"
+"      if (guess<number)\n"
+"      {\n"
+"         smallest = guess + 1;\n"
+"      }\n"
+"      if (guess == number)\n"
+"      {\n"
+"         FacesContext.getCurrentInstance().addMessage(null, new FacesMessage"
+"(\"Correct!\"));\n"
+"      }\n"
+"      remainingGuesses--;\n"
+"      return null;\n"
+"   }\n"
+"   \n"
+"   @PostConstruct\n"
+"   public void reset()\n"
+"   {\n"
+"      this.smallest = 0;\n"
+"      this.guess = 0;\n"
+"      this.remainingGuesses = 10;\n"
+"      this.number = manager.getInstanceByType(Integer.class, new "
+"AnnotationLiteral<Random>(){});\n"
+"   }\n"
+"   \n"
+"}]]>"
 
 #. Tag: title
 #: ri.xml:332
@@ -704,6 +986,19 @@
 "   </configuration>\n"
 "</plugin>]]>"
 msgstr ""
+"<![CDATA[<plugin>\n"
+"   <groupId>org.apache.maven.plugins</groupId>\n"
+"   <artifactId>maven-ear-plugin</artifactId>\n"
+"   <configuration>\n"
+"      <modules>\n"
+"         <webModule>\n"
+"            <groupId>org.jboss.webbeans.examples.translator</groupId>\n"
+"            <artifactId>webbeans-translator-war</artifactId>\n"
+"            <contextRoot>/webbeans-translator</contextRoot>\n"
+"         </webModule>\n"
+"      </modules>\n"
+"   </configuration>\n"
+"</plugin>]]>"
 
 #. Tag: para
 #: ri.xml:360
@@ -747,6 +1042,26 @@
 "  </module>\n"
 "</application>]]>"
 msgstr ""
+"<![CDATA[<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+"<application xmlns=\"http://java.sun.com/xml/ns/javaee\" \n"
+"             xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
+"             xsi:schemaLocation=\"http://java.sun.com/xml/ns/javaee http://"
+"java.sun.com/xml/ns/javaee/application_5.xsd\"\n"
+"             version=\"5\">\n"
+"  <display-name>webbeans-translator-ear</display-name>\n"
+"  <description>Ear Example for the reference implementation of JSR 299: Web "
+"Beans</description>\n"
+"  \n"
+"  <module>\n"
+"    <web>\n"
+"      <web-uri>webbeans-translator.war</web-uri>\n"
+"      <context-root>/webbeans-translator</context-root>\n"
+"    </web>\n"
+"  </module>\n"
+"  <module>\n"
+"    <ejb>webbeans-translator.jar</ejb>\n"
+"  </module>\n"
+"</application>]]>"
 
 #. Tag: para
 #: ri.xml:374
@@ -798,6 +1113,33 @@
 "   \n"
 "</h:form>]]>"
 msgstr ""
+"<![CDATA[<h:form id=\"NumberGuessMain\">\n"
+"            \n"
+"   <table>\n"
+"      <tr align=\"center\" style=\"font-weight: bold\" >\n"
+"         <td>\n"
+"            Your text\n"
+"         </td>\n"
+"         <td>\n"
+"            Translation\n"
+"         </td>\n"
+"      </tr>\n"
+"      <tr>\n"
+"         <td>\n"
+"            <h:inputTextarea id=\"text\" value=\"#{translator.text}\" "
+"required=\"true\" rows=\"5\" cols=\"80\" />\n"
+"         </td>\n"
+"         <td>\n"
+"            <h:outputText value=\"#{translator.translatedText}\" />\n"
+"         </td>\n"
+"      </tr>\n"
+"   </table>\n"
+"   <div>\n"
+"      <h:commandButton id=\"button\" value=\"Translate\" action=\"#"
+"{translator.translate}\"/>\n"
+"   </div>\n"
+"   \n"
+"</h:form>]]>"
 
 #. Tag: para
 #: ri.xml:389
@@ -853,6 +1195,16 @@
 "      this.sentenceParser = sentenceParser; \n"
 "      this.sentenceTranslator = sentenceTranslator;]]>"
 msgstr ""
+"<![CDATA[public class TextTranslator { \n"
+"   private SentenceParser sentenceParser; \n"
+"   private Translator sentenceTranslator; \n"
+"   \n"
+"   @Initializer\n"
+"   TextTranslator(SentenceParser sentenceParser, Translator "
+"sentenceTranslator) \n"
+"   { \n"
+"      this.sentenceParser = sentenceParser; \n"
+"      this.sentenceTranslator = sentenceTranslator;]]>"
 
 #. Tag: para
 #: ri.xml:420
@@ -884,6 +1236,13 @@
 "   \n"
 "   @Current TextTranslator translator;]]>"
 msgstr ""
+"<![CDATA[@Stateful\n"
+"@RequestScoped\n"
+"@Named(\"translator\")\n"
+"public class TranslatorControllerBean implements TranslatorController\n"
+"{\n"
+"   \n"
+"   @Current TextTranslator translator;]]>"
 
 #. Tag: para
 #: ri.xml:434
@@ -907,6 +1266,11 @@
 "      \n"
 "   }]]>"
 msgstr ""
+"<![CDATA[   @Remove\n"
+"   public void remove()\n"
+"   {\n"
+"      \n"
+"   }]]>"
 
 #. Tag: para
 #: ri.xml:444
@@ -933,3 +1297,4 @@
 "We need help in all areas - bug fixing, writing new features, writing "
 "examples and translating this reference guide."
 msgstr ""
+




More information about the weld-commits mailing list