Avoid problem with localization tools 86/8786/2
Vincent COUVERT [Thu, 23 Aug 2012 14:13:03 +0000 (16:13 +0200)]
Change-Id: Ic03243ff4f39f0f78bd32869f4c9b74222e1ae65

13 files changed:
scilab/modules/optimization/demos/neldermead/fminsearch_display.sce
scilab/modules/optimization/demos/neldermead/fminsearch_outputfunction.sce
scilab/modules/optimization/demos/neldermead/fminsearch_rosenbrock.sce
scilab/modules/optimization/demos/neldermead/fminsearch_tolx.sce
scilab/modules/optimization/demos/neldermead/neldermead_boxpost.sce
scilab/modules/optimization/demos/neldermead/neldermead_boxproblemA.sce
scilab/modules/optimization/demos/neldermead/neldermead_boxproblemB.sce
scilab/modules/optimization/demos/neldermead/neldermead_dimension.sce
scilab/modules/optimization/demos/neldermead/neldermead_outputcmd.sce
scilab/modules/optimization/demos/neldermead/neldermead_rosenbrock.sce
scilab/modules/optimization/demos/optim/optim_output.sce
scilab/modules/optimization/demos/optim/optim_rosenbrock.sce
scilab/modules/optimization/demos/optim/optim_withderivative.sce

index 635ddf5..c1492d0 100644 (file)
@@ -29,7 +29,7 @@ function demo_fmin_display()
     //\r
     // Load this script into the editor\r
     //\r
-    m = messagebox(_("View Code?"), "Question", "question", _(["Yes" "No"]), "modal")\r
+    m = messagebox(_("View Code?"), "Question", "question", [_("Yes") _("No")], "modal")\r
     if(m == 1)\r
         filename = 'fminsearch_display.sce';\r
         dname = get_absolute_file_path(filename);\r
index 6ffc80f..b87dde5 100644 (file)
@@ -49,7 +49,7 @@ function demo_outputfunction()
     //\r
     // Load this script into the editor\r
     //\r
-    m = messagebox(_("View Code?"), "Question", "question", _(["Yes" "No"]), "modal")\r
+    m = messagebox(_("View Code?"), "Question", "question", [_("Yes") _("No")], "modal")\r
     if(m == 1)\r
         filename = 'fminsearch_outputfunction.sce';\r
         dname = get_absolute_file_path(filename);\r
index c7f8a20..39e1c60 100644 (file)
@@ -39,7 +39,7 @@ function demo_fmin_rosenbrock()
     //\r
     // Load this script into the editor\r
     //\r
-    m = messagebox(_("View Code?"), "Question", "question", _(["Yes" "No"]), "modal")\r
+    m = messagebox(_("View Code?"), "Question", "question", [_("Yes") _("No")], "modal")\r
     if(m == 1)\r
         filename = 'fminsearch_rosenbrock.sce';\r
         dname = get_absolute_file_path(filename);\r
index ef074da..3d402a3 100644 (file)
@@ -42,7 +42,7 @@ function demo_fmin_tolx()
     //\r
     // Load this script into the editor\r
     //\r
-    m = messagebox(_("View Code?"), "Question", "question", _(["Yes" "No"]), "modal")\r
+    m = messagebox(_("View Code?"), "Question", "question", [_("Yes") _("No")], "modal")\r
     if(m == 1)\r
         filename = 'fminsearch_tolx.sce';\r
         dname = get_absolute_file_path(filename);\r
index c39cfcb..b297c1f 100644 (file)
@@ -145,7 +145,7 @@ function demo_boxpost()
     //\r
     // Load this script into the editor\r
     //\r
-    m = messagebox(_("View Code?"), "Question", "question", _(["Yes" "No"]), "modal")\r
+    m = messagebox(_("View Code?"), "Question", "question", [_("Yes") _("No")], "modal")\r
     if(m == 1)\r
         editor ( dname + filename, "readonly" );\r
     end \r
index 8163947..f9769bd 100644 (file)
@@ -200,7 +200,7 @@ function demo_boxproblemA()
     //\r
     // Load this script into the editor\r
     //\r
-    m = messagebox(_("View Code?"), "Question", "question", _(["Yes" "No"]), "modal")\r
+    m = messagebox(_("View Code?"), "Question", "question", [_("Yes") _("No")], "modal")\r
     if(m == 1)\r
         editor ( dname + filename, "readonly" );\r
     end\r
index cff46ed..eb6087c 100644 (file)
@@ -155,7 +155,7 @@ function demo_boxproblemB()
     //\r
     // Load this script into the editor\r
     //\r
-    m = messagebox(_("View Code?"), "Question", "question", _(["Yes" "No"]), "modal")\r
+    m = messagebox(_("View Code?"), "Question", "question", [_("Yes") _("No")], "modal")\r
     if(m == 1)\r
         editor ( dname + filename, "readonly" );\r
     end\r
index 613f3ed..0a2bd88 100644 (file)
@@ -93,7 +93,7 @@ function demo_dimension()
     //Load this script into the editor\r
     //\r
 \r
-    m = messagebox(_("View Code?"), "Question", "question", _(["Yes" "No"]), "modal")\r
+    m = messagebox(_("View Code?"), "Question", "question", [_("Yes") _("No")], "modal")\r
     if(m == 1)\r
         filename = 'neldermead_dimension.sce';\r
         dname = get_absolute_file_path(filename);\r
index 23333bb..6ed20bb 100644 (file)
@@ -71,7 +71,7 @@ function demo_outputcmd()
     //\r
     // Load this script into the editor\r
     //\r
-    m = messagebox(_("View Code?"), "Question", "question", _(["Yes" "No"]), "modal")\r
+    m = messagebox(_("View Code?"), "Question", "question", [_("Yes") _("No")], "modal")\r
     if(m == 1)\r
         filename = 'neldermead_outputcmd.sce';\r
         dname = get_absolute_file_path(filename);\r
index fcd2657..3e36a5b 100644 (file)
@@ -38,7 +38,7 @@ function demo_nelder_rosen()
     //\r
     // Load this script into the editor\r
     //\r
-    m = messagebox(_("View Code?"), "Question", "question", _(["Yes" "No"]), "modal")\r
+    m = messagebox(_("View Code?"), "Question", "question", [_("Yes") _("No")], "modal")\r
     if(m == 1)\r
         filename = 'neldermead_rosenbrock.sce';\r
         dname = get_absolute_file_path(filename);\r
index 26bb851..d2f3fd0 100644 (file)
@@ -39,7 +39,7 @@ function demo_optim_output()
     //\r
     // Load this script into the editor\r
     //\r
-    m = messagebox(_("View Code?"), "Question", "question", _(["Yes" "No"]), "modal")\r
+    m = messagebox(_("View Code?"), "Question", "question", [_("Yes") _("No")], "modal")\r
     if(m == 1)\r
         filename = 'optim_output.sce';\r
         dname = get_absolute_file_path(filename);\r
index e89d6d1..a046c4b 100644 (file)
@@ -31,7 +31,7 @@ function demo_rosenbrock()
     //\r
     // Load this script into the editor\r
     //\r
-    m = messagebox(_("View Code?"), "Question", "question", _(["Yes" "No"]), "modal")\r
+    m = messagebox(_("View Code?"), "Question", "question", [_("Yes") _("No")], "modal")\r
     if(m == 1)\r
         filename = 'optim_rosenbrock.sce';\r
         dname = get_absolute_file_path(filename);\r
index 2a58958..4912125 100644 (file)
@@ -41,7 +41,7 @@ function demo_derivative()
     //\r
     // Load this script into the editor\r
     //\r
-    m = messagebox(_("View Code?"), "Question", "question", _(["Yes" "No"]), "modal")\r
+    m = messagebox(_("View Code?"), "Question", "question", [_("Yes") _("No")], "modal")\r
     if(m == 1)\r
         filename = 'optim_withderivative.sce';\r
         dname = get_absolute_file_path(filename);\r