Bug 11604 fixed: strings to localize were forgotten 76/8476/2
Calixte DENIZET [Wed, 1 Aug 2012 16:55:06 +0000 (18:55 +0200)]
Change-Id: I1969e18434491ff0dc5a4390ae594a8e22453eb8

scilab/CHANGES_5.4.X
scilab/modules/console/etc/XConfiguration-console.xsl
scilab/modules/gui/etc/XConfiguration-web.xml
scilab/modules/gui/etc/XConfiguration-web.xsl
scilab/modules/preferences/etc/XConfiguration.xml
scilab/modules/scinotes/etc/XConfiguration-scinotes.xsl
scilab/modules/xcos/etc/XConfiguration-xcos.xml

index 53864f6..1b469f1 100644 (file)
@@ -1,6 +1,11 @@
             Changes between version 5.4.0-beta-2 and 5.4.0-beta-3 of Scilab
             ===============================================================
 
+Bug Fixes
+=========
+
+* Bug #11604 fixed - Some items were not localized in "Scilab Preferences" window.
+
 
 
             Changes between version 5.4.0-beta-1 and 5.4.0-beta-2 of Scilab
index 2c89a51..94f6d14 100644 (file)
@@ -21,7 +21,7 @@
        </xsl:choose>\r
       </xsl:variable>\r
       <Grid>\r
-       <Checkbox checked="{@adapt-to-display}" selected-value="true" unselected-value="false" listener="ActionListener" text="Automatically adapt the display to the console" gridx="1" gridy="2" fill="none" weightx="0" anchor="west">\r
+       <Checkbox checked="{@adapt-to-display}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Automatically adapt the display to the console)" gridx="1" gridy="2" fill="none" weightx="0" anchor="west">\r
           <actionPerformed choose="adapt-to-display">\r
             <xsl:call-template name="context"/>\r
           </actionPerformed>\r
index 8836463..23d2b1c 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<web title="Web">
+<web title="_(Web)">
   <body>
     <web default-browser="true" default-mailer="true" command-browser="" command-mailer=""/>
   </body>
index 9f5a8f3..ffdb5d5 100644 (file)
@@ -9,15 +9,15 @@
   -->
 
   <xsl:template match="web">
-    <Title text="Web browser and mailer">
+    <Title text="_(Web browser and mailer)">
       <Grid>
-        <Checkbox checked="{@default-browser}" selected-value="true" unselected-value="false" listener="ActionListener" text="Use default web browser" gridx="1" gridy="1" fill="none" weightx="0" anchor="west">
+        <Checkbox checked="{@default-browser}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Use default web browser)" gridx="1" gridy="1" fill="none" weightx="0" anchor="west">
           <actionPerformed choose="default-browser">
             <xsl:call-template name="context"/>
           </actionPerformed>
         </Checkbox>
         <Panel gridx="2" gridy="1" weightx="1"/>
-        <Label gridx="1" gridy="2" weightx="0" text="Command for web browser: "/>
+        <Label gridx="1" gridy="2" weightx="0" text="_(Command for web browser: )"/>
         <FileSelector gridx="2" gridy="2" weightx="1" anchor="above_baseline"
                       listener="EntryListener"
                       href="{@command-browser}"
@@ -32,7 +32,7 @@
             <xsl:call-template name="context"/>
           </entryChanged>
         </FileSelector>
-        <Label gridx="2" gridy="3" text="(Don't forget to quote path containing white spaces)">
+        <Label gridx="2" gridy="3" text="_((Don't forget to quote path containing white spaces))">
           <xsl:attribute name="enable">
             <xsl:if test="@default-browser='false'">
               <xsl:text>true</xsl:text>
         <Panel height="5" gridx="1" gridy="4">
           <VSpace height="5"/>
         </Panel>
-        <Checkbox checked="{@default-mailer}" selected-value="true" unselected-value="false" listener="ActionListener" text="Use default mailer" gridx="1" gridy="5" fill="none" weightx="0" anchor="west">
+        <Checkbox checked="{@default-mailer}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Use default mailer)" gridx="1" gridy="5" fill="none" weightx="0" anchor="west">
           <actionPerformed choose="default-mailer">
             <xsl:call-template name="context"/>
           </actionPerformed>
         </Checkbox>
         <Panel gridx="2" gridy="5" weightx="1"/>
-        <Label gridx="1" gridy="6" weightx="0" text="Command for mailer: "/>
+        <Label gridx="1" gridy="6" weightx="0" text="_(Command for mailer: )"/>
         <FileSelector gridx="2" gridy="6" weightx="1" anchor="above_baseline"
                       listener="EntryListener"
                       href="{@command-mailer}"
@@ -63,7 +63,7 @@
             <xsl:call-template name="context"/>
           </entryChanged>
         </FileSelector>
-        <Label gridx="2" gridy="7" text="(Don't forget to quote path containing white spaces)">
+        <Label gridx="2" gridy="7" text="_((Don't forget to quote path containing white spaces))">
           <xsl:attribute name="enable">
             <xsl:if test="@default-mailer='false'">
               <xsl:text>true</xsl:text>
index cdb39e9..b8279b7 100644 (file)
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="utf-8"?>
-<interface version="0.05" path="1/" width="800" height="550">
+<interface version="0.06" path="1/" width="800" height="550">
   <general/>
   <web/>
   <preference/>
index 16e4c8c..85d51d9 100644 (file)
@@ -6,10 +6,11 @@
     <Title text="_(Editor)">\r
       <VBox>\r
         <HBox>\r
-          <xsl:call-template name="BooleanCheckBox">\r
-            <xsl:with-param name="text" select="'_(Use SciNotes)'"/>\r
-            <xsl:with-param name="attr-name" select="'scinotes'"/>\r
-          </xsl:call-template>\r
+         <Checkbox checked="{@scinotes}" selected-value="true" unselected-value="false" listener="ActionListener" text="_(Use SciNotes)">\r
+           <actionPerformed choose="scinotes">\r
+             <xsl:call-template name="context"/>\r
+          </actionPerformed>\r
+         </Checkbox>\r
           <Glue/>\r
         </HBox>\r
         <xsl:variable name="enable">\r
index a93ba30..3762638 100644 (file)
@@ -13,7 +13,7 @@
     </body>
   </edition>
 -->
-  <simulation title="Simulation">
+  <simulation title="_(Simulation)">
     <body>
       <xcos-simulation final-integration-time="1.0E05" real-time-scaling="0.0E00" integrator-absolute-tolerance="1.0E-06" integrator-relative-tolerance="1.0E-06" tolerance-on-time="1.0E-10" max-integration-interval="1.0E05" solver="2" max-step-size="0.0" trace="0">
         <!-- Available solver values list from scicos -->