summaryrefslogtreecommitdiffstats
path: root/scilab
diff options
context:
space:
mode:
authorPierre MARECHAL <pierre.marechal@scilab.org>2010-05-17 11:47:52 +0200
committerClément DAVID <clement.david@scilab.org>2010-05-20 15:47:17 +0200
commit460a8d33ac11194d4a9f1e66cb7cee2fdec8bf60 (patch)
tree6d88bd4624390439787109b80a4c12374cf8b6af /scilab
parentd4bc94ad944ebcce892bab2a9be2c20d9d85328a (diff)
downloadscilab-460a8d33ac11194d4a9f1e66cb7cee2fdec8bf60.zip
scilab-460a8d33ac11194d4a9f1e66cb7cee2fdec8bf60.tar.gz
ATOMS GUI: Display the release date of the watched module.
Change-Id: I9d8e89216a39e7c77e52425e573023ccbad822a0
Diffstat (limited to 'scilab')
-rw-r--r--scilab/CHANGES_5.3.X2
-rw-r--r--scilab/modules/atoms/locales/en_US/atoms.pot18
-rw-r--r--scilab/modules/atoms/locales/fr_FR/atoms.po5
-rw-r--r--scilab/modules/atoms/macros/atoms_gui/cbAtomsGui.sci17
4 files changed, 35 insertions, 7 deletions
diff --git a/scilab/CHANGES_5.3.X b/scilab/CHANGES_5.3.X
index 43da53a..3a1c402 100644
--- a/scilab/CHANGES_5.3.X
+++ b/scilab/CHANGES_5.3.X
@@ -302,6 +302,8 @@ ATOMS:
302* ATOMS GUI: When a module is not up-to-date, a warning is displayed on the 302* ATOMS GUI: When a module is not up-to-date, a warning is displayed on the
303 corresponding sheet. 303 corresponding sheet.
304 304
305* ATOMS GUI: Display the release date of the watched module.
306
305* bug 6596 fixed - When the ATOMS GUI started, nothing was displayed. Now, the 307* bug 6596 fixed - When the ATOMS GUI started, nothing was displayed. Now, the
306 list of already installed modules appears on the home page. 308 list of already installed modules appears on the home page.
307 309
diff --git a/scilab/modules/atoms/locales/en_US/atoms.pot b/scilab/modules/atoms/locales/en_US/atoms.pot
index df8e3df..36f5232 100644
--- a/scilab/modules/atoms/locales/en_US/atoms.pot
+++ b/scilab/modules/atoms/locales/en_US/atoms.pot
@@ -14,7 +14,7 @@ msgstr ""
14"MIME-Version: 1.0\n" 14"MIME-Version: 1.0\n"
15"Content-Type: text/plain; charset=ISO-8859-1\n" 15"Content-Type: text/plain; charset=ISO-8859-1\n"
16"Content-Transfer-Encoding: 8bit\n" 16"Content-Transfer-Encoding: 8bit\n"
17"Revision-Date: 2010-05-18 15:24+0100\n" 17"Revision-Date: 2010-05-18 15:25+0100\n"
18 18
19# File: macros/atomsAutoloadAdd.sci, line: 168 19# File: macros/atomsAutoloadAdd.sci, line: 168
20# File: macros/atomsAutoloadAdd.sci, line: 173 20# File: macros/atomsAutoloadAdd.sci, line: 173
@@ -994,7 +994,7 @@ msgstr ""
994msgid "?" 994msgid "?"
995msgstr "" 995msgstr ""
996# 996#
997# File: macros/atoms_gui/cbAtomsGui.sci, line: 323 997# File: macros/atoms_gui/cbAtomsGui.sci, line: 340
998#, c-format 998#, c-format
999msgid "A new version (''%s'') of ''%s'' is available" 999msgid "A new version (''%s'') of ''%s'' is available"
1000msgstr "" 1000msgstr ""
@@ -1027,7 +1027,7 @@ msgstr ""
1027msgid "Automatically Installed" 1027msgid "Automatically Installed"
1028msgstr "" 1028msgstr ""
1029# 1029#
1030# File: macros/atoms_gui/cbAtomsGui.sci, line: 362 1030# File: macros/atoms_gui/cbAtomsGui.sci, line: 379
1031msgid "Bytes" 1031msgid "Bytes"
1032msgstr "" 1032msgstr ""
1033# 1033#
@@ -1044,7 +1044,7 @@ msgid "Depend"
1044msgstr "" 1044msgstr ""
1045# 1045#
1046# File: macros/atomsShow.sci, line: 99 1046# File: macros/atomsShow.sci, line: 99
1047# File: macros/atoms_gui/cbAtomsGui.sci, line: 285 1047# File: macros/atoms_gui/cbAtomsGui.sci, line: 301
1048msgid "Description" 1048msgid "Description"
1049msgstr "" 1049msgstr ""
1050# 1050#
@@ -1080,7 +1080,7 @@ msgstr ""
1080msgid "Installation failed!" 1080msgid "Installation failed!"
1081msgstr "" 1081msgstr ""
1082# 1082#
1083# File: macros/atoms_gui/cbAtomsGui.sci, line: 365 1083# File: macros/atoms_gui/cbAtomsGui.sci, line: 382
1084msgid "KB" 1084msgid "KB"
1085msgstr "" 1085msgstr ""
1086# 1086#
@@ -1093,7 +1093,7 @@ msgstr ""
1093msgid "List of installed modules" 1093msgid "List of installed modules"
1094msgstr "" 1094msgstr ""
1095# 1095#
1096# File: macros/atoms_gui/cbAtomsGui.sci, line: 368 1096# File: macros/atoms_gui/cbAtomsGui.sci, line: 385
1097msgid "MB" 1097msgid "MB"
1098msgstr "" 1098msgstr ""
1099# 1099#
@@ -1117,6 +1117,10 @@ msgstr ""
1117msgid "Package" 1117msgid "Package"
1118msgstr "" 1118msgstr ""
1119# 1119#
1120# File: macros/atoms_gui/cbAtomsGui.sci, line: 280
1121msgid "Release date"
1122msgstr ""
1123#
1120# File: macros/atoms_gui/atomsGui.sci, line: 305 1124# File: macros/atoms_gui/atomsGui.sci, line: 305
1121msgid "Remove" 1125msgid "Remove"
1122msgstr "" 1126msgstr ""
@@ -1162,7 +1166,7 @@ msgid "Update failed!"
1162msgstr "" 1166msgstr ""
1163# 1167#
1164# File: macros/atomsShow.sci, line: 82 1168# File: macros/atomsShow.sci, line: 82
1165# File: macros/atoms_gui/cbAtomsGui.sci, line: 280 1169# File: macros/atoms_gui/cbAtomsGui.sci, line: 296
1166msgid "Version" 1170msgid "Version"
1167msgstr "" 1171msgstr ""
1168# 1172#
diff --git a/scilab/modules/atoms/locales/fr_FR/atoms.po b/scilab/modules/atoms/locales/fr_FR/atoms.po
index 5899fe6..f01408d 100644
--- a/scilab/modules/atoms/locales/fr_FR/atoms.po
+++ b/scilab/modules/atoms/locales/fr_FR/atoms.po
@@ -729,6 +729,11 @@ msgstr "Aucun module externe disponible. Votre liste de depot est vide."
729msgid "Package" 729msgid "Package"
730msgstr "Package" 730msgstr "Package"
731 731
732#
733# File: macros/atoms_gui/cbAtomsGui.sci, line: 280
734msgid "Release date"
735msgstr ""
736
732msgid "Remove" 737msgid "Remove"
733msgstr "Supprimer" 738msgstr "Supprimer"
734 739
diff --git a/scilab/modules/atoms/macros/atoms_gui/cbAtomsGui.sci b/scilab/modules/atoms/macros/atoms_gui/cbAtomsGui.sci
index d6c52aa..1872e39 100644
--- a/scilab/modules/atoms/macros/atoms_gui/cbAtomsGui.sci
+++ b/scilab/modules/atoms/macros/atoms_gui/cbAtomsGui.sci
@@ -270,6 +270,22 @@ function updateDescFrame()
270 270
271 end 271 end
272 272
273 // Release date
274 // =========================================================================
275
276 if isfield(thisModuleDetails,"Date") ..
277 & ~isempty(regexp(thisModuleDetails.Date,"/^[0-9]{4}-[0-1][0-9]-[0-3][0-9]\s/")) then
278
279 dateHTML = "<div style=""font-weight:bold;margin-top:10px;margin-bottom:5px;"">" ..
280 + gettext("Release date") ..
281 + "</div>" ..
282 + "<div>" ..
283 + part(thisModuleDetails.Date,1:10) ..
284 + "</div>";
285 else
286 dateHTML = "";
287 end
288
273 // Build and Set the HTML code 289 // Build and Set the HTML code
274 // ========================================================================= 290 // =========================================================================
275 291
@@ -288,6 +304,7 @@ function updateDescFrame()
288 strcat(thisModuleDetails.Description,"<br>") + .. 304 strcat(thisModuleDetails.Description,"<br>") + ..
289 "</div>" + .. 305 "</div>" + ..
290 seeAlsoHTML + .. 306 seeAlsoHTML + ..
307 dateHTML + ..
291 sizeHTML + .. 308 sizeHTML + ..
292 "</body>" + .. 309 "</body>" + ..
293 "</html>"; 310 "</html>";