Author: jflesch
Date: 2007-03-14 12:18:37 +0000 (Wed, 14 Mar 2007)
New Revision: 12116

Modified:
   trunk/apps/Thaw/src/thaw/i18n/thaw.properties
   trunk/apps/Thaw/src/thaw/plugins/index/IndexProgressBar.java
Log:
Add a text to the progress bar used for to show index loading progress

Modified: trunk/apps/Thaw/src/thaw/i18n/thaw.properties
===================================================================
--- trunk/apps/Thaw/src/thaw/i18n/thaw.properties       2007-03-14 12:10:42 UTC 
(rev 12115)
+++ trunk/apps/Thaw/src/thaw/i18n/thaw.properties       2007-03-14 12:18:37 UTC 
(rev 12116)
@@ -304,7 +304,9 @@

 thaw.plugin.index.loadOnTheFly=Load the index tree on the fly (means less 
memory consumption but more CPU usage)

+thaw.plugin.index.indexLoading=Index loading

+
 thaw.plugin.peerMonitor.peerMonitor=Network status
 thaw.plugin.peerMonitor.yourReference=Your reference:
 thaw.plugin.peerMonitor.copyReference=Copy your reference to the clipboard

Modified: trunk/apps/Thaw/src/thaw/plugins/index/IndexProgressBar.java
===================================================================
--- trunk/apps/Thaw/src/thaw/plugins/index/IndexProgressBar.java        
2007-03-14 12:10:42 UTC (rev 12115)
+++ trunk/apps/Thaw/src/thaw/plugins/index/IndexProgressBar.java        
2007-03-14 12:18:37 UTC (rev 12116)
@@ -2,6 +2,7 @@

 import javax.swing.JProgressBar;

+import thaw.core.I18n;
 import thaw.core.Logger;

 public class IndexProgressBar {
@@ -58,7 +59,8 @@
                } else {
                        pourcent = (current * 100) / total;
                        progressBar.setValue(pourcent);
-                       progressBar.setString(Integer.toString(pourcent) + " 
%");
+                       
progressBar.setString(I18n.getMessage("thaw.plugin.index.indexLoading")+": "
+                                             + Integer.toString(pourcent) + " 
%");
                }
        }



Reply via email to