svn: /web/doc-editor/trunk/js/ locale/fr.js ui/component/VCSLogGrid.js

[email protected] (Yannick Torres)
Newsgroups php.doc.web
Message-ID <[email protected]>
yannick                                  Wed, 23 Dec 2009 09:33:48 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=292516

Log:
Add an information to warn the user that the VCS log are not loaded automatically

Changed paths:
    U   web/doc-editor/trunk/js/locale/fr.js
    U   web/doc-editor/trunk/js/ui/component/VCSLogGrid.js

Modified: web/doc-editor/trunk/js/locale/fr.js
===================================================================
--- web/doc-editor/trunk/js/locale/fr.js	2009-12-23 09:32:51 UTC (rev 292515)
+++ web/doc-editor/trunk/js/locale/fr.js	2009-12-23 09:33:48 UTC (rev 292516)
@@ -13,6 +13,7 @@
 i18n["<b>Redo</b>"] = "<b>Refaire</b>";

 i18n["You must manually load this data.<br>Use the refresh button !"] = "Vous devez charger manuellement ces données.<br>Utilisez le boutton \"Rafraîchir\" !";
+i18n["(You can change this behavior by setting an option in the configuration window)"] = "(Vous pouvez modifier ce comportement en définissant une option dans la fenêtre de configuration)";
 i18n["Error when loading mails from this mailing list !"] = "Erreur lors du chargement des mails depuis cette mailing-list !";
 i18n["Error when loading open bugs from Php.net !"] = "Erreur lors du chargement des bogues ouverts depuis Php.net !";


Modified: web/doc-editor/trunk/js/ui/component/VCSLogGrid.js
===================================================================
--- web/doc-editor/trunk/js/ui/component/VCSLogGrid.js	2009-12-23 09:32:51 UTC (rev 292515)
+++ web/doc-editor/trunk/js/ui/component/VCSLogGrid.js	2009-12-23 09:33:48 UTC (rev 292516)
@@ -140,8 +140,11 @@
             sm      : sm,
             store   : store,
             columns : columns,
-            view    : new Ext.grid.GridView({ forceFit : true }),
-
+            view    : new Ext.grid.GridView({
+                forceFit      : true,
+                emptyText     : '<div style="text-align: center">' + _('You must manually load this data.<br>Use the refresh button !') + '<br><br>'+_('(You can change this behavior by setting an option in the configuration window)') + '</div>',
+                deferEmptyText: false,
+            }),
             tbar  : [{
                 scope    : this,
                 id       : this.prefix + '-PANEL-btn-log-' + this.fid,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.