summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/applets/cardmon/cardmon.cpp84
-rw-r--r--core/applets/cardmon/cardmon.h5
-rw-r--r--core/applets/cardmon/cardmon.pro28
-rw-r--r--i18n/de/libcardmonapplet.ts44
-rw-r--r--i18n/en/libcardmonapplet.ts44
-rw-r--r--i18n/es/libcardmonapplet.ts53
-rw-r--r--i18n/fr/libcardmonapplet.ts44
-rw-r--r--i18n/hu/libcardmonapplet.ts44
-rw-r--r--i18n/ja/libcardmonapplet.ts44
-rw-r--r--i18n/ko/libcardmonapplet.ts44
-rw-r--r--i18n/no/libcardmonapplet.ts44
-rw-r--r--i18n/pl/libcardmonapplet.ts44
-rw-r--r--i18n/pt/libcardmonapplet.ts44
-rw-r--r--i18n/pt_BR/libcardmonapplet.ts44
-rw-r--r--i18n/sl/libcardmonapplet.ts44
-rw-r--r--i18n/zh_CN/libcardmonapplet.ts44
-rw-r--r--i18n/zh_TW/libcardmonapplet.ts44
17 files changed, 672 insertions, 70 deletions
diff --git a/core/applets/cardmon/cardmon.cpp b/core/applets/cardmon/cardmon.cpp
index 9522b88..ac2aea2 100644
--- a/core/applets/cardmon/cardmon.cpp
+++ b/core/applets/cardmon/cardmon.cpp
@@ -52,6 +52,6 @@ CardMonitor::CardMonitor( QWidget *parent ) : QWidget( parent ),
52 52
53
54 setFixedSize( pm.size() ); 53 setFixedSize( pm.size() );
55 hide(); 54 getStatusPcmcia(TRUE);
56 getStatusPcmcia(); 55 getStatusSd(TRUE);
56 repaint(FALSE);
57} 57}
@@ -67,3 +67,3 @@ void CardMonitor::mousePressEvent( QMouseEvent * ) {
67 if ( cardInSd ) { 67 if ( cardInSd ) {
68 menu->insertItem( tr("Eject SD/ MMC card"), 0 ); 68 menu->insertItem( tr("Eject SD/MMC card"), 0 );
69 } 69 }
@@ -71,3 +71,3 @@ void CardMonitor::mousePressEvent( QMouseEvent * ) {
71 if ( cardInPcmcia0 ) { 71 if ( cardInPcmcia0 ) {
72 menu->insertItem( tr("Eject card (0) %1").arg(cardInPcmcia0Name), 1 ); 72 menu->insertItem( tr("Eject card 0: %1").arg(cardInPcmcia0Name), 1 );
73 } 73 }
@@ -75,8 +75,12 @@ void CardMonitor::mousePressEvent( QMouseEvent * ) {
75 if ( cardInPcmcia1 ) { 75 if ( cardInPcmcia1 ) {
76 menu->insertItem( tr("Eject card (1) %1").arg(cardInPcmcia1Name), 2 ); 76 menu->insertItem( tr("Eject card 1: %1").arg(cardInPcmcia1Name), 2 );
77 } 77 }
78 78
79 QPoint p = mapToGlobal( QPoint(1, -menu->sizeHint().height()-1) ); 79 QPoint p = mapToGlobal ( QPoint ( 0, 0 ));
80 QSize s = menu->sizeHint ( );
81 int opt = menu->exec( QPoint (
82 p. x ( ) + ( width ( ) / 2 ) - ( s. width ( ) / 2 ),
83 p. y ( ) - s. height ( ) ), 0);
80 84
81 if ( menu->exec( p, 1 ) == 1 ) { 85 if ( opt == 1 ) {
82 86
@@ -88,4 +92,4 @@ void CardMonitor::mousePressEvent( QMouseEvent * ) {
88 tr("&OK") ); 92 tr("&OK") );
89 } 93 }
90 } else if ( menu->exec( p, 1 ) == 0 ) { 94 } else if ( opt == 0 ) {
91 cmd = "/etc/sdcontrol compeject"; 95 cmd = "/etc/sdcontrol compeject";
@@ -96,4 +100,4 @@ void CardMonitor::mousePressEvent( QMouseEvent * ) {
96 tr("&OK") ); 100 tr("&OK") );
97 } 101 }
98 } else if ( menu->exec( p, 1 ) == 2 ) { 102 } else if ( opt == 2 ) {
99 cmd = "/sbin/cardctl eject 1"; 103 cmd = "/sbin/cardctl eject 1";
@@ -104,3 +108,3 @@ void CardMonitor::mousePressEvent( QMouseEvent * ) {
104 tr("&OK") ); 108 tr("&OK") );
105 } 109 }
106 } 110 }
@@ -113,2 +117,3 @@ void CardMonitor::cardMessage( const QCString &msg, const QByteArray & ) {
113 if ( msg == "stabChanged()" ) { 117 if ( msg == "stabChanged()" ) {
118 // qDebug("Pcmcia: stabchanged");
114 if ( getStatusPcmcia() ) { 119 if ( getStatusPcmcia() ) {
@@ -117,2 +122,3 @@ void CardMonitor::cardMessage( const QCString &msg, const QByteArray & ) {
117 } else if ( msg == "mtabChanged()" ) { 122 } else if ( msg == "mtabChanged()" ) {
123 // qDebug("Pcmcia: mtabchanged");
118 if ( getStatusSd() ) { 124 if ( getStatusSd() ) {
@@ -123,3 +129,3 @@ void CardMonitor::cardMessage( const QCString &msg, const QByteArray & ) {
123 129
124bool CardMonitor::getStatusPcmcia( void ) { 130bool CardMonitor::getStatusPcmcia( int showPopUp = FALSE ) {
125 131
@@ -149,8 +155,7 @@ bool CardMonitor::getStatusPcmcia( void ) {
149 if( (*line).startsWith("Socket 0:") ){ 155 if( (*line).startsWith("Socket 0:") ){
150 // extendable, maybe read out card name
151 if( (*line).startsWith("Socket 0: empty") && cardInPcmcia0 ){ 156 if( (*line).startsWith("Socket 0: empty") && cardInPcmcia0 ){
152 cardInPcmcia0 = FALSE; 157 cardInPcmcia0 = FALSE;
153 hide();
154 } else if ( !(*line).startsWith("Socket 0: empty") && !cardInPcmcia0 ){ 158 } else if ( !(*line).startsWith("Socket 0: empty") && !cardInPcmcia0 ){
155 cardInPcmcia0Name = (*line).mid(((*line).find(':')+1), (*line).length()-9 ); 159 cardInPcmcia0Name = (*line).mid(((*line).find(':')+1), (*line).length()-9 );
160 cardInPcmcia0Name.stripWhiteSpace();
156 cardInPcmcia0 = TRUE; 161 cardInPcmcia0 = TRUE;
@@ -162,5 +167,5 @@ bool CardMonitor::getStatusPcmcia( void ) {
162 cardInPcmcia1 = FALSE; 167 cardInPcmcia1 = FALSE;
163 hide();
164 } else if ( !(*line).startsWith("Socket 1: empty") && !cardInPcmcia1 ){ 168 } else if ( !(*line).startsWith("Socket 1: empty") && !cardInPcmcia1 ){
165 cardInPcmcia1Name = (*line).mid(((*line).find(':')+1), (*line).length()-9 ); 169 cardInPcmcia1Name = (*line).mid(((*line).find(':')+1), (*line).length()-9 );
170 cardInPcmcia1Name.stripWhiteSpace();
166 cardInPcmcia1 = TRUE; 171 cardInPcmcia1 = TRUE;
@@ -175,3 +180,2 @@ bool CardMonitor::getStatusPcmcia( void ) {
175 cardInPcmcia1 = FALSE; 180 cardInPcmcia1 = FALSE;
176 hide();
177 return FALSE; 181 return FALSE;
@@ -180,2 +184,25 @@ bool CardMonitor::getStatusPcmcia( void ) {
180 184
185 if(!cardInPcmcia0 && !cardInPcmcia1) {
186 qDebug("Pcmcia: no cards");
187 }
188
189 if( !showPopUp && (cardWas0 != cardInPcmcia0 || cardWas1 != cardInPcmcia1)) {
190 QString text = "";
191 if(cardWas0 != cardInPcmcia0) {
192 if(cardInPcmcia0) { text += tr("New card: "); }
193 else { text += tr("Ejected: "); }
194 text += cardInPcmcia0Name;
195 }
196 if(cardWas0 != cardInPcmcia0 && cardWas1 != cardInPcmcia1) {
197 text += "\n";
198 }
199 if(cardWas1 != cardInPcmcia1) {
200 if(cardInPcmcia1) { text += tr("New card: "); }
201 else { text += tr("Ejected: "); }
202 text += cardInPcmcia1Name;
203 }
204 QMessageBox::warning( this, tr("CardMonitor"), text,
205 tr("&OK") );
206 }
207
181 f.close(); 208 f.close();
@@ -186,3 +213,3 @@ bool CardMonitor::getStatusPcmcia( void ) {
186 213
187bool CardMonitor::getStatusSd( void ) { 214bool CardMonitor::getStatusSd( int showPopUp = FALSE ) {
188 215
@@ -203,12 +230,11 @@ bool CardMonitor::getStatusSd( void ) {
203 endmntent( mntfp ); 230 endmntent( mntfp );
204 if (cardInSd!=cardWas) {
205 if (cardInSd) {
206 show();
207 } else {
208 hide();
209 }
210 }
211 } else {
212 hide();
213 } 231 }
232 if(!showPopUp && cardWas != cardInSd) {
233 QString text = "";
234 if(cardInSd) { text += "SD Inserted"; }
235 else { text += "SD Removed"; }
236 QMessageBox::warning( this, tr("CardMonitor"), text,
237 tr("&OK") );
238 }
239
214#else 240#else
@@ -224,4 +250,6 @@ void CardMonitor::paintEvent( QPaintEvent * ) {
224 p.drawPixmap( 0, 0, pm ); 250 p.drawPixmap( 0, 0, pm );
251 show();
225 } else { 252 } else {
226 p.eraseRect( rect() ); 253 p.eraseRect( rect() );
254 hide();
227 } 255 }
diff --git a/core/applets/cardmon/cardmon.h b/core/applets/cardmon/cardmon.h
index 2a90c90..f9e3819 100644
--- a/core/applets/cardmon/cardmon.h
+++ b/core/applets/cardmon/cardmon.h
@@ -29,4 +29,4 @@ public:
29 ~CardMonitor(); 29 ~CardMonitor();
30 bool getStatusPcmcia( void ); 30 bool getStatusPcmcia( int showPopUp = FALSE );
31 bool getStatusSd( void ); 31 bool getStatusSd( int showPopUp = FALSE );
32 32
@@ -47,2 +47,3 @@ private:
47 bool cardInSd; 47 bool cardInSd;
48 void iconShow();
48 49
diff --git a/core/applets/cardmon/cardmon.pro b/core/applets/cardmon/cardmon.pro
index ff3463c..e79e91a 100644
--- a/core/applets/cardmon/cardmon.pro
+++ b/core/applets/cardmon/cardmon.pro
@@ -11,15 +11,15 @@ VERSION = 1.0.0
11 11
12TRANSLATIONS = ../i18n/de/libcardmonapplet.ts 12TRANSLATIONS = ../../i18n/de/libcardmonapplet.ts
13TRANSLATIONS += ../i18n/es/libcardmonapplet.ts 13TRANSLATIONS += ../../i18n/es/libcardmonapplet.ts
14TRANSLATIONS += ../i18n/pt/libcardmonapplet.ts 14TRANSLATIONS += ../../i18n/pt/libcardmonapplet.ts
15TRANSLATIONS += ../i18n/pt_BR/libcardmonapplet.ts 15TRANSLATIONS += ../../i18n/pt_BR/libcardmonapplet.ts
16TRANSLATIONS += ../i18n/en/libcardmonapplet.ts 16TRANSLATIONS += ../../i18n/en/libcardmonapplet.ts
17TRANSLATIONS += ../i18n/hu/libcardmonapplet.ts 17TRANSLATIONS += ../../i18n/hu/libcardmonapplet.ts
18TRANSLATIONS += ../i18n/sl/libcardmonapplet.ts 18TRANSLATIONS += ../../i18n/sl/libcardmonapplet.ts
19TRANSLATIONS += ../i18n/pl/libcardmonapplet.ts 19TRANSLATIONS += ../../i18n/pl/libcardmonapplet.ts
20TRANSLATIONS += ../i18n/ja/libcardmonapplet.ts 20TRANSLATIONS += ../../i18n/ja/libcardmonapplet.ts
21TRANSLATIONS += ../i18n/fr/libcardmonapplet.ts 21TRANSLATIONS += ../../i18n/fr/libcardmonapplet.ts
22TRANSLATIONS += ../i18n/ko/libcardmonapplet.ts 22TRANSLATIONS += ../../i18n/ko/libcardmonapplet.ts
23TRANSLATIONS += ../i18n/no/libcardmonapplet.ts 23TRANSLATIONS += ../../i18n/no/libcardmonapplet.ts
24TRANSLATIONS += ../i18n/zh_CN/libcardmonapplet.ts 24TRANSLATIONS += ../../i18n/zh_CN/libcardmonapplet.ts
25TRANSLATIONS += ../i18n/zh_TW/libcardmonapplet.ts 25TRANSLATIONS += ../../i18n/zh_TW/libcardmonapplet.ts
diff --git a/i18n/de/libcardmonapplet.ts b/i18n/de/libcardmonapplet.ts
index 67c09b9..687958e 100644
--- a/i18n/de/libcardmonapplet.ts
+++ b/i18n/de/libcardmonapplet.ts
@@ -5,3 +5,3 @@
5 <source>Eject card</source> 5 <source>Eject card</source>
6 <translation type="unfinished"></translation> 6 <translation type="obsolete"></translation>
7 </message> 7 </message>
@@ -13,3 +13,3 @@
13 <source>Card eject failed!</source> 13 <source>Card eject failed!</source>
14 <translation type="unfinished"></translation> 14 <translation type="obsolete"></translation>
15 </message> 15 </message>
@@ -19,2 +19,42 @@
19 </message> 19 </message>
20 <message>
21 <source>Eject SD/ MMC card</source>
22 <translation type="obsolete"></translation>
23 </message>
24 <message>
25 <source>Eject %1 (0)</source>
26 <translation type="obsolete"></translation>
27 </message>
28 <message>
29 <source>Eject %1 (1)</source>
30 <translation type="obsolete"></translation>
31 </message>
32 <message>
33 <source>CF/PCMCIA card eject failed!</source>
34 <translation type="unfinished"></translation>
35 </message>
36 <message>
37 <source>SD/MMC card eject failed!</source>
38 <translation type="unfinished"></translation>
39 </message>
40 <message>
41 <source>New card: </source>
42 <translation type="unfinished"></translation>
43 </message>
44 <message>
45 <source>Ejected: </source>
46 <translation type="unfinished"></translation>
47 </message>
48 <message>
49 <source>Eject SD/MMC card</source>
50 <translation type="unfinished"></translation>
51 </message>
52 <message>
53 <source>Eject card 0: %1</source>
54 <translation type="unfinished"></translation>
55 </message>
56 <message>
57 <source>Eject card 1: %1</source>
58 <translation type="unfinished"></translation>
59 </message>
20</context> 60</context>
diff --git a/i18n/en/libcardmonapplet.ts b/i18n/en/libcardmonapplet.ts
index 67c09b9..687958e 100644
--- a/i18n/en/libcardmonapplet.ts
+++ b/i18n/en/libcardmonapplet.ts
@@ -5,3 +5,3 @@
5 <source>Eject card</source> 5 <source>Eject card</source>
6 <translation type="unfinished"></translation> 6 <translation type="obsolete"></translation>
7 </message> 7 </message>
@@ -13,3 +13,3 @@
13 <source>Card eject failed!</source> 13 <source>Card eject failed!</source>
14 <translation type="unfinished"></translation> 14 <translation type="obsolete"></translation>
15 </message> 15 </message>
@@ -19,2 +19,42 @@
19 </message> 19 </message>
20 <message>
21 <source>Eject SD/ MMC card</source>
22 <translation type="obsolete"></translation>
23 </message>
24 <message>
25 <source>Eject %1 (0)</source>
26 <translation type="obsolete"></translation>
27 </message>
28 <message>
29 <source>Eject %1 (1)</source>
30 <translation type="obsolete"></translation>
31 </message>
32 <message>
33 <source>CF/PCMCIA card eject failed!</source>
34 <translation type="unfinished"></translation>
35 </message>
36 <message>
37 <source>SD/MMC card eject failed!</source>
38 <translation type="unfinished"></translation>
39 </message>
40 <message>
41 <source>New card: </source>
42 <translation type="unfinished"></translation>
43 </message>
44 <message>
45 <source>Ejected: </source>
46 <translation type="unfinished"></translation>
47 </message>
48 <message>
49 <source>Eject SD/MMC card</source>
50 <translation type="unfinished"></translation>
51 </message>
52 <message>
53 <source>Eject card 0: %1</source>
54 <translation type="unfinished"></translation>
55 </message>
56 <message>
57 <source>Eject card 1: %1</source>
58 <translation type="unfinished"></translation>
59 </message>
20</context> 60</context>
diff --git a/i18n/es/libcardmonapplet.ts b/i18n/es/libcardmonapplet.ts
new file mode 100644
index 0000000..4882e21
--- a/dev/null
+++ b/i18n/es/libcardmonapplet.ts
@@ -0,0 +1,53 @@
1<!DOCTYPE TS><TS>
2<context>
3 <name>CardMonitor</name>
4 <message>
5 <source>Eject SD/ MMC card</source>
6 <translation type="obsolete"></translation>
7 </message>
8 <message>
9 <source>Eject %1 (0)</source>
10 <translation type="obsolete"></translation>
11 </message>
12 <message>
13 <source>Eject %1 (1)</source>
14 <translation type="obsolete"></translation>
15 </message>
16 <message>
17 <source>CardMonitor</source>
18 <translation type="unfinished"></translation>
19 </message>
20 <message>
21 <source>CF/PCMCIA card eject failed!</source>
22 <translation type="unfinished"></translation>
23 </message>
24 <message>
25 <source>&amp;OK</source>
26 <translation type="unfinished"></translation>
27 </message>
28 <message>
29 <source>SD/MMC card eject failed!</source>
30 <translation type="unfinished"></translation>
31 </message>
32 <message>
33 <source>New card: </source>
34 <translation type="unfinished"></translation>
35 </message>
36 <message>
37 <source>Ejected: </source>
38 <translation type="unfinished"></translation>
39 </message>
40 <message>
41 <source>Eject SD/MMC card</source>
42 <translation type="unfinished"></translation>
43 </message>
44 <message>
45 <source>Eject card 0: %1</source>
46 <translation type="unfinished"></translation>
47 </message>
48 <message>
49 <source>Eject card 1: %1</source>
50 <translation type="unfinished"></translation>
51 </message>
52</context>
53</TS>
diff --git a/i18n/fr/libcardmonapplet.ts b/i18n/fr/libcardmonapplet.ts
index 67c09b9..687958e 100644
--- a/i18n/fr/libcardmonapplet.ts
+++ b/i18n/fr/libcardmonapplet.ts
@@ -5,3 +5,3 @@
5 <source>Eject card</source> 5 <source>Eject card</source>
6 <translation type="unfinished"></translation> 6 <translation type="obsolete"></translation>
7 </message> 7 </message>
@@ -13,3 +13,3 @@
13 <source>Card eject failed!</source> 13 <source>Card eject failed!</source>
14 <translation type="unfinished"></translation> 14 <translation type="obsolete"></translation>
15 </message> 15 </message>
@@ -19,2 +19,42 @@
19 </message> 19 </message>
20 <message>
21 <source>Eject SD/ MMC card</source>
22 <translation type="obsolete"></translation>
23 </message>
24 <message>
25 <source>Eject %1 (0)</source>
26 <translation type="obsolete"></translation>
27 </message>
28 <message>
29 <source>Eject %1 (1)</source>
30 <translation type="obsolete"></translation>
31 </message>
32 <message>
33 <source>CF/PCMCIA card eject failed!</source>
34 <translation type="unfinished"></translation>
35 </message>
36 <message>
37 <source>SD/MMC card eject failed!</source>
38 <translation type="unfinished"></translation>
39 </message>
40 <message>
41 <source>New card: </source>
42 <translation type="unfinished"></translation>
43 </message>
44 <message>
45 <source>Ejected: </source>
46 <translation type="unfinished"></translation>
47 </message>
48 <message>
49 <source>Eject SD/MMC card</source>
50 <translation type="unfinished"></translation>
51 </message>
52 <message>
53 <source>Eject card 0: %1</source>
54 <translation type="unfinished"></translation>
55 </message>
56 <message>
57 <source>Eject card 1: %1</source>
58 <translation type="unfinished"></translation>
59 </message>
20</context> 60</context>
diff --git a/i18n/hu/libcardmonapplet.ts b/i18n/hu/libcardmonapplet.ts
index 67c09b9..687958e 100644
--- a/i18n/hu/libcardmonapplet.ts
+++ b/i18n/hu/libcardmonapplet.ts
@@ -5,3 +5,3 @@
5 <source>Eject card</source> 5 <source>Eject card</source>
6 <translation type="unfinished"></translation> 6 <translation type="obsolete"></translation>
7 </message> 7 </message>
@@ -13,3 +13,3 @@
13 <source>Card eject failed!</source> 13 <source>Card eject failed!</source>
14 <translation type="unfinished"></translation> 14 <translation type="obsolete"></translation>
15 </message> 15 </message>
@@ -19,2 +19,42 @@
19 </message> 19 </message>
20 <message>
21 <source>Eject SD/ MMC card</source>
22 <translation type="obsolete"></translation>
23 </message>
24 <message>
25 <source>Eject %1 (0)</source>
26 <translation type="obsolete"></translation>
27 </message>
28 <message>
29 <source>Eject %1 (1)</source>
30 <translation type="obsolete"></translation>
31 </message>
32 <message>
33 <source>CF/PCMCIA card eject failed!</source>
34 <translation type="unfinished"></translation>
35 </message>
36 <message>
37 <source>SD/MMC card eject failed!</source>
38 <translation type="unfinished"></translation>
39 </message>
40 <message>
41 <source>New card: </source>
42 <translation type="unfinished"></translation>
43 </message>
44 <message>
45 <source>Ejected: </source>
46 <translation type="unfinished"></translation>
47 </message>
48 <message>
49 <source>Eject SD/MMC card</source>
50 <translation type="unfinished"></translation>
51 </message>
52 <message>
53 <source>Eject card 0: %1</source>
54 <translation type="unfinished"></translation>
55 </message>
56 <message>
57 <source>Eject card 1: %1</source>
58 <translation type="unfinished"></translation>
59 </message>
20</context> 60</context>
diff --git a/i18n/ja/libcardmonapplet.ts b/i18n/ja/libcardmonapplet.ts
index 67c09b9..687958e 100644
--- a/i18n/ja/libcardmonapplet.ts
+++ b/i18n/ja/libcardmonapplet.ts
@@ -5,3 +5,3 @@
5 <source>Eject card</source> 5 <source>Eject card</source>
6 <translation type="unfinished"></translation> 6 <translation type="obsolete"></translation>
7 </message> 7 </message>
@@ -13,3 +13,3 @@
13 <source>Card eject failed!</source> 13 <source>Card eject failed!</source>
14 <translation type="unfinished"></translation> 14 <translation type="obsolete"></translation>
15 </message> 15 </message>
@@ -19,2 +19,42 @@
19 </message> 19 </message>
20 <message>
21 <source>Eject SD/ MMC card</source>
22 <translation type="obsolete"></translation>
23 </message>
24 <message>
25 <source>Eject %1 (0)</source>
26 <translation type="obsolete"></translation>
27 </message>
28 <message>
29 <source>Eject %1 (1)</source>
30 <translation type="obsolete"></translation>
31 </message>
32 <message>
33 <source>CF/PCMCIA card eject failed!</source>
34 <translation type="unfinished"></translation>
35 </message>
36 <message>
37 <source>SD/MMC card eject failed!</source>
38 <translation type="unfinished"></translation>
39 </message>
40 <message>
41 <source>New card: </source>
42 <translation type="unfinished"></translation>
43 </message>
44 <message>
45 <source>Ejected: </source>
46 <translation type="unfinished"></translation>
47 </message>
48 <message>
49 <source>Eject SD/MMC card</source>
50 <translation type="unfinished"></translation>
51 </message>
52 <message>
53 <source>Eject card 0: %1</source>
54 <translation type="unfinished"></translation>
55 </message>
56 <message>
57 <source>Eject card 1: %1</source>
58 <translation type="unfinished"></translation>
59 </message>
20</context> 60</context>
diff --git a/i18n/ko/libcardmonapplet.ts b/i18n/ko/libcardmonapplet.ts
index 67c09b9..687958e 100644
--- a/i18n/ko/libcardmonapplet.ts
+++ b/i18n/ko/libcardmonapplet.ts
@@ -5,3 +5,3 @@
5 <source>Eject card</source> 5 <source>Eject card</source>
6 <translation type="unfinished"></translation> 6 <translation type="obsolete"></translation>
7 </message> 7 </message>
@@ -13,3 +13,3 @@
13 <source>Card eject failed!</source> 13 <source>Card eject failed!</source>
14 <translation type="unfinished"></translation> 14 <translation type="obsolete"></translation>
15 </message> 15 </message>
@@ -19,2 +19,42 @@
19 </message> 19 </message>
20 <message>
21 <source>Eject SD/ MMC card</source>
22 <translation type="obsolete"></translation>
23 </message>
24 <message>
25 <source>Eject %1 (0)</source>
26 <translation type="obsolete"></translation>
27 </message>
28 <message>
29 <source>Eject %1 (1)</source>
30 <translation type="obsolete"></translation>
31 </message>
32 <message>
33 <source>CF/PCMCIA card eject failed!</source>
34 <translation type="unfinished"></translation>
35 </message>
36 <message>
37 <source>SD/MMC card eject failed!</source>
38 <translation type="unfinished"></translation>
39 </message>
40 <message>
41 <source>New card: </source>
42 <translation type="unfinished"></translation>
43 </message>
44 <message>
45 <source>Ejected: </source>
46 <translation type="unfinished"></translation>
47 </message>
48 <message>
49 <source>Eject SD/MMC card</source>
50 <translation type="unfinished"></translation>
51 </message>
52 <message>
53 <source>Eject card 0: %1</source>
54 <translation type="unfinished"></translation>
55 </message>
56 <message>
57 <source>Eject card 1: %1</source>
58 <translation type="unfinished"></translation>
59 </message>
20</context> 60</context>
diff --git a/i18n/no/libcardmonapplet.ts b/i18n/no/libcardmonapplet.ts
index 67c09b9..687958e 100644
--- a/i18n/no/libcardmonapplet.ts
+++ b/i18n/no/libcardmonapplet.ts
@@ -5,3 +5,3 @@
5 <source>Eject card</source> 5 <source>Eject card</source>
6 <translation type="unfinished"></translation> 6 <translation type="obsolete"></translation>
7 </message> 7 </message>
@@ -13,3 +13,3 @@
13 <source>Card eject failed!</source> 13 <source>Card eject failed!</source>
14 <translation type="unfinished"></translation> 14 <translation type="obsolete"></translation>
15 </message> 15 </message>
@@ -19,2 +19,42 @@
19 </message> 19 </message>
20 <message>
21 <source>Eject SD/ MMC card</source>
22 <translation type="obsolete"></translation>
23 </message>
24 <message>
25 <source>Eject %1 (0)</source>
26 <translation type="obsolete"></translation>
27 </message>
28 <message>
29 <source>Eject %1 (1)</source>
30 <translation type="obsolete"></translation>
31 </message>
32 <message>
33 <source>CF/PCMCIA card eject failed!</source>
34 <translation type="unfinished"></translation>
35 </message>
36 <message>
37 <source>SD/MMC card eject failed!</source>
38 <translation type="unfinished"></translation>
39 </message>
40 <message>
41 <source>New card: </source>
42 <translation type="unfinished"></translation>
43 </message>
44 <message>
45 <source>Ejected: </source>
46 <translation type="unfinished"></translation>
47 </message>
48 <message>
49 <source>Eject SD/MMC card</source>
50 <translation type="unfinished"></translation>
51 </message>
52 <message>
53 <source>Eject card 0: %1</source>
54 <translation type="unfinished"></translation>
55 </message>
56 <message>
57 <source>Eject card 1: %1</source>
58 <translation type="unfinished"></translation>
59 </message>
20</context> 60</context>
diff --git a/i18n/pl/libcardmonapplet.ts b/i18n/pl/libcardmonapplet.ts
index 89d8876..d3732e0 100644
--- a/i18n/pl/libcardmonapplet.ts
+++ b/i18n/pl/libcardmonapplet.ts
@@ -5,3 +5,3 @@
5 <source>Eject card</source> 5 <source>Eject card</source>
6 <translation>Wyjmij karte</translation> 6 <translation type="obsolete">Wyjmij karte</translation>
7 </message> 7 </message>
@@ -13,3 +13,3 @@
13 <source>Card eject failed!</source> 13 <source>Card eject failed!</source>
14 <translation>Wyjmowanie karty nie powiodlo sie!</translation> 14 <translation type="obsolete">Wyjmowanie karty nie powiodlo sie!</translation>
15 </message> 15 </message>
@@ -19,2 +19,42 @@
19 </message> 19 </message>
20 <message>
21 <source>Eject SD/ MMC card</source>
22 <translation type="obsolete"></translation>
23 </message>
24 <message>
25 <source>Eject %1 (0)</source>
26 <translation type="obsolete"></translation>
27 </message>
28 <message>
29 <source>Eject %1 (1)</source>
30 <translation type="obsolete"></translation>
31 </message>
32 <message>
33 <source>CF/PCMCIA card eject failed!</source>
34 <translation type="unfinished"></translation>
35 </message>
36 <message>
37 <source>SD/MMC card eject failed!</source>
38 <translation type="unfinished"></translation>
39 </message>
40 <message>
41 <source>New card: </source>
42 <translation type="unfinished"></translation>
43 </message>
44 <message>
45 <source>Ejected: </source>
46 <translation type="unfinished"></translation>
47 </message>
48 <message>
49 <source>Eject SD/MMC card</source>
50 <translation type="unfinished"></translation>
51 </message>
52 <message>
53 <source>Eject card 0: %1</source>
54 <translation type="unfinished"></translation>
55 </message>
56 <message>
57 <source>Eject card 1: %1</source>
58 <translation type="unfinished"></translation>
59 </message>
20</context> 60</context>
diff --git a/i18n/pt/libcardmonapplet.ts b/i18n/pt/libcardmonapplet.ts
index edc52e8..4ec1872 100644
--- a/i18n/pt/libcardmonapplet.ts
+++ b/i18n/pt/libcardmonapplet.ts
@@ -5,3 +5,3 @@
5 <source>Eject card</source> 5 <source>Eject card</source>
6 <translation>Ejectar cartão</translation> 6 <translation type="obsolete">Ejectar cartão</translation>
7 </message> 7 </message>
@@ -13,3 +13,3 @@
13 <source>Card eject failed!</source> 13 <source>Card eject failed!</source>
14 <translation>Falhou a ejeção do cartão!</translation> 14 <translation type="obsolete">Falhou a ejeção do cartão!</translation>
15 </message> 15 </message>
@@ -19,2 +19,42 @@
19 </message> 19 </message>
20 <message>
21 <source>Eject SD/ MMC card</source>
22 <translation type="obsolete">Ejectar SD/MMC</translation>
23 </message>
24 <message>
25 <source>Eject %1 (0)</source>
26 <translation type="obsolete">Ejectar %1 (0)</translation>
27 </message>
28 <message>
29 <source>Eject %1 (1)</source>
30 <translation type="obsolete">Ejectar %1 (1)</translation>
31 </message>
32 <message>
33 <source>CF/PCMCIA card eject failed!</source>
34 <translation>Ejecção do cartão CF/PCMCIA falhou!</translation>
35 </message>
36 <message>
37 <source>SD/MMC card eject failed!</source>
38 <translation>Ejecção do cartão SD/MMC falhou!</translation>
39 </message>
40 <message>
41 <source>New card: </source>
42 <translation>Novo cartão:</translation>
43 </message>
44 <message>
45 <source>Ejected: </source>
46 <translation>Removido:</translation>
47 </message>
48 <message>
49 <source>Eject SD/MMC card</source>
50 <translation>Ejectar SD/MMC</translation>
51 </message>
52 <message>
53 <source>Eject card 0: %1</source>
54 <translation>Ejectar cartão 0: %1</translation>
55 </message>
56 <message>
57 <source>Eject card 1: %1</source>
58 <translation>Ejectar cartão 1: %1</translation>
59 </message>
20</context> 60</context>
diff --git a/i18n/pt_BR/libcardmonapplet.ts b/i18n/pt_BR/libcardmonapplet.ts
index f2aee65..38dd9b8 100644
--- a/i18n/pt_BR/libcardmonapplet.ts
+++ b/i18n/pt_BR/libcardmonapplet.ts
@@ -14,3 +14,3 @@
14 <source>Eject card</source> 14 <source>Eject card</source>
15 <translation>Desativar cartão</translation> 15 <translation type="obsolete">Desativar cartão</translation>
16 </message> 16 </message>
@@ -18,3 +18,43 @@
18 <source>Card eject failed!</source> 18 <source>Card eject failed!</source>
19 <translation>Falhou ao desativar o cartão!</translation> 19 <translation type="obsolete">Falhou ao desativar o cartão!</translation>
20 </message>
21 <message>
22 <source>Eject SD/ MMC card</source>
23 <translation type="obsolete"></translation>
24 </message>
25 <message>
26 <source>Eject %1 (0)</source>
27 <translation type="obsolete"></translation>
28 </message>
29 <message>
30 <source>Eject %1 (1)</source>
31 <translation type="obsolete"></translation>
32 </message>
33 <message>
34 <source>CF/PCMCIA card eject failed!</source>
35 <translation type="unfinished"></translation>
36 </message>
37 <message>
38 <source>SD/MMC card eject failed!</source>
39 <translation type="unfinished"></translation>
40 </message>
41 <message>
42 <source>New card: </source>
43 <translation type="unfinished"></translation>
44 </message>
45 <message>
46 <source>Ejected: </source>
47 <translation type="unfinished"></translation>
48 </message>
49 <message>
50 <source>Eject SD/MMC card</source>
51 <translation type="unfinished"></translation>
52 </message>
53 <message>
54 <source>Eject card 0: %1</source>
55 <translation type="unfinished"></translation>
56 </message>
57 <message>
58 <source>Eject card 1: %1</source>
59 <translation type="unfinished"></translation>
20 </message> 60 </message>
diff --git a/i18n/sl/libcardmonapplet.ts b/i18n/sl/libcardmonapplet.ts
index 1dd8995..5dd8592 100644
--- a/i18n/sl/libcardmonapplet.ts
+++ b/i18n/sl/libcardmonapplet.ts
@@ -5,3 +5,3 @@
5 <source>Eject card</source> 5 <source>Eject card</source>
6 <translation>Vstavite kartico</translation> 6 <translation type="obsolete">Vstavite kartico</translation>
7 </message> 7 </message>
@@ -13,3 +13,3 @@
13 <source>Card eject failed!</source> 13 <source>Card eject failed!</source>
14 <translation>Vstavitev kartice je spodletela!</translation> 14 <translation type="obsolete">Vstavitev kartice je spodletela!</translation>
15 </message> 15 </message>
@@ -19,2 +19,42 @@
19 </message> 19 </message>
20 <message>
21 <source>Eject SD/ MMC card</source>
22 <translation type="obsolete"></translation>
23 </message>
24 <message>
25 <source>Eject %1 (0)</source>
26 <translation type="obsolete"></translation>
27 </message>
28 <message>
29 <source>Eject %1 (1)</source>
30 <translation type="obsolete"></translation>
31 </message>
32 <message>
33 <source>CF/PCMCIA card eject failed!</source>
34 <translation type="unfinished"></translation>
35 </message>
36 <message>
37 <source>SD/MMC card eject failed!</source>
38 <translation type="unfinished"></translation>
39 </message>
40 <message>
41 <source>New card: </source>
42 <translation type="unfinished"></translation>
43 </message>
44 <message>
45 <source>Ejected: </source>
46 <translation type="unfinished"></translation>
47 </message>
48 <message>
49 <source>Eject SD/MMC card</source>
50 <translation type="unfinished"></translation>
51 </message>
52 <message>
53 <source>Eject card 0: %1</source>
54 <translation type="unfinished"></translation>
55 </message>
56 <message>
57 <source>Eject card 1: %1</source>
58 <translation type="unfinished"></translation>
59 </message>
20</context> 60</context>
diff --git a/i18n/zh_CN/libcardmonapplet.ts b/i18n/zh_CN/libcardmonapplet.ts
index 67c09b9..687958e 100644
--- a/i18n/zh_CN/libcardmonapplet.ts
+++ b/i18n/zh_CN/libcardmonapplet.ts
@@ -5,3 +5,3 @@
5 <source>Eject card</source> 5 <source>Eject card</source>
6 <translation type="unfinished"></translation> 6 <translation type="obsolete"></translation>
7 </message> 7 </message>
@@ -13,3 +13,3 @@
13 <source>Card eject failed!</source> 13 <source>Card eject failed!</source>
14 <translation type="unfinished"></translation> 14 <translation type="obsolete"></translation>
15 </message> 15 </message>
@@ -19,2 +19,42 @@
19 </message> 19 </message>
20 <message>
21 <source>Eject SD/ MMC card</source>
22 <translation type="obsolete"></translation>
23 </message>
24 <message>
25 <source>Eject %1 (0)</source>
26 <translation type="obsolete"></translation>
27 </message>
28 <message>
29 <source>Eject %1 (1)</source>
30 <translation type="obsolete"></translation>
31 </message>
32 <message>
33 <source>CF/PCMCIA card eject failed!</source>
34 <translation type="unfinished"></translation>
35 </message>
36 <message>
37 <source>SD/MMC card eject failed!</source>
38 <translation type="unfinished"></translation>
39 </message>
40 <message>
41 <source>New card: </source>
42 <translation type="unfinished"></translation>
43 </message>
44 <message>
45 <source>Ejected: </source>
46 <translation type="unfinished"></translation>
47 </message>
48 <message>
49 <source>Eject SD/MMC card</source>
50 <translation type="unfinished"></translation>
51 </message>
52 <message>
53 <source>Eject card 0: %1</source>
54 <translation type="unfinished"></translation>
55 </message>
56 <message>
57 <source>Eject card 1: %1</source>
58 <translation type="unfinished"></translation>
59 </message>
20</context> 60</context>
diff --git a/i18n/zh_TW/libcardmonapplet.ts b/i18n/zh_TW/libcardmonapplet.ts
index 67c09b9..687958e 100644
--- a/i18n/zh_TW/libcardmonapplet.ts
+++ b/i18n/zh_TW/libcardmonapplet.ts
@@ -5,3 +5,3 @@
5 <source>Eject card</source> 5 <source>Eject card</source>
6 <translation type="unfinished"></translation> 6 <translation type="obsolete"></translation>
7 </message> 7 </message>
@@ -13,3 +13,3 @@
13 <source>Card eject failed!</source> 13 <source>Card eject failed!</source>
14 <translation type="unfinished"></translation> 14 <translation type="obsolete"></translation>
15 </message> 15 </message>
@@ -19,2 +19,42 @@
19 </message> 19 </message>
20 <message>
21 <source>Eject SD/ MMC card</source>
22 <translation type="obsolete"></translation>
23 </message>
24 <message>
25 <source>Eject %1 (0)</source>
26 <translation type="obsolete"></translation>
27 </message>
28 <message>
29 <source>Eject %1 (1)</source>
30 <translation type="obsolete"></translation>
31 </message>
32 <message>
33 <source>CF/PCMCIA card eject failed!</source>
34 <translation type="unfinished"></translation>
35 </message>
36 <message>
37 <source>SD/MMC card eject failed!</source>
38 <translation type="unfinished"></translation>
39 </message>
40 <message>
41 <source>New card: </source>
42 <translation type="unfinished"></translation>
43 </message>
44 <message>
45 <source>Ejected: </source>
46 <translation type="unfinished"></translation>
47 </message>
48 <message>
49 <source>Eject SD/MMC card</source>
50 <translation type="unfinished"></translation>
51 </message>
52 <message>
53 <source>Eject card 0: %1</source>
54 <translation type="unfinished"></translation>
55 </message>
56 <message>
57 <source>Eject card 1: %1</source>
58 <translation type="unfinished"></translation>
59 </message>
20</context> 60</context>