Author: jflesch
Date: 2007-03-13 10:39:02 +0000 (Tue, 13 Mar 2007)
New Revision: 12110

Modified:
   trunk/apps/Thaw/src/thaw/i18n/thaw.properties
   trunk/apps/Thaw/src/thaw/i18n/thaw_fr.properties
   trunk/apps/Thaw/src/thaw/plugins/peerMonitor/PeerMonitorPanel.java
Log:
Show when the text is truncated

Modified: trunk/apps/Thaw/src/thaw/i18n/thaw.properties
===================================================================
--- trunk/apps/Thaw/src/thaw/i18n/thaw.properties       2007-03-13 10:08:13 UTC 
(rev 12109)
+++ trunk/apps/Thaw/src/thaw/i18n/thaw.properties       2007-03-13 10:39:02 UTC 
(rev 12110)
@@ -7,7 +7,7 @@
 thaw.common.plugins=Plugins
 thaw.common.add=Add
 thaw.common.remove=Remove
-thaw.common.status=Status
+thaw.common.status=Transfers
 thaw.common.identifier=Identifier

 thaw.common.insertion=Insertion

Modified: trunk/apps/Thaw/src/thaw/i18n/thaw_fr.properties
===================================================================
--- trunk/apps/Thaw/src/thaw/i18n/thaw_fr.properties    2007-03-13 10:08:13 UTC 
(rev 12109)
+++ trunk/apps/Thaw/src/thaw/i18n/thaw_fr.properties    2007-03-13 10:39:02 UTC 
(rev 12110)
@@ -7,7 +7,7 @@
 thaw.common.plugins=Plugins
 thaw.common.add=Ajouter
 thaw.common.remove=Enlever
-thaw.common.status=Etat
+thaw.common.status=Transferts
 thaw.common.identifier=Identifiant

 thaw.common.insertion=Insertion

Modified: trunk/apps/Thaw/src/thaw/plugins/peerMonitor/PeerMonitorPanel.java
===================================================================
--- trunk/apps/Thaw/src/thaw/plugins/peerMonitor/PeerMonitorPanel.java  
2007-03-13 10:08:13 UTC (rev 12109)
+++ trunk/apps/Thaw/src/thaw/plugins/peerMonitor/PeerMonitorPanel.java  
2007-03-13 10:39:02 UTC (rev 12110)
@@ -53,7 +53,7 @@
        public final static Color JLIST_NODE_STAT_BACKGROUND = Color.WHITE;
        public final static Color JLIST_PEER_BACKGROUND = new 
Color(240,240,240);

-       public final static int STR_INFO_MAX_LNG = 40;
+       public final static int STR_INFO_MAX_LNG = 50;
        public final static int STR_NODENAME_MAX_LNG = 15;


@@ -270,7 +270,7 @@

        private static JLabel makeInfoLabel(String txt) {
                if (txt.length() > STR_INFO_MAX_LNG)
-                       txt = txt.substring(0, STR_INFO_MAX_LNG);
+                       txt = txt.substring(0, STR_INFO_MAX_LNG) + "(...)";

                JLabel lb = new JLabel(txt);
                return lb;


Reply via email to