-rw-r--r-- | bin/kdepim/pwmanager/germantranslation.txt | 4 | ||||
-rw-r--r-- | pwmanager/pwmanager/pwmdoc.cpp | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/bin/kdepim/pwmanager/germantranslation.txt b/bin/kdepim/pwmanager/germantranslation.txt index ccc9d83..2650e28 100644 --- a/bin/kdepim/pwmanager/germantranslation.txt +++ b/bin/kdepim/pwmanager/germantranslation.txt | |||
@@ -329,28 +329,32 @@ | |||
329 | { "Password Length:","Passwort Länge:" }, | 329 | { "Password Length:","Passwort Länge:" }, |
330 | { "Enable Filtering to get better passwords","Enable Filtering to get better passwords" }, | 330 | { "Enable Filtering to get better passwords","Enable Filtering to get better passwords" }, |
331 | { "no password","Kein Passwort" }, | 331 | { "no password","Kein Passwort" }, |
332 | { "Sorry, you haven't set a password.","Sorry, Sie haben kein Passwort angegeben." }, | 332 | { "Sorry, you haven't set a password.","Sorry, Sie haben kein Passwort angegeben." }, |
333 | { "not saved, yet","not saved, yet" }, | 333 | { "not saved, yet","not saved, yet" }, |
334 | { "Can't deep-lock, because the document\nhasn't been saved, yet. Please save\nto a file and try again.","Kann nicht tiefsperren, weil das\nDokument noch nicht gespeichert wurde.\nBitte speichern und noch einmal versuchen." }, | 334 | { "Can't deep-lock, because the document\nhasn't been saved, yet. Please save\nto a file and try again.","Kann nicht tiefsperren, weil das\nDokument noch nicht gespeichert wurde.\nBitte speichern und noch einmal versuchen." }, |
335 | { "Find","Finde" }, | 335 | { "Find","Finde" }, |
336 | { "&Exact match","Genaue Übereinstimmung" }, | 336 | { "&Exact match","Genaue Übereinstimmung" }, |
337 | { "&Case sensitive","Großschrift abhängig" }, | 337 | { "&Case sensitive","Großschrift abhängig" }, |
338 | { "Search in Column","Suche in Spalten" }, | 338 | { "Search in Column","Suche in Spalten" }, |
339 | { "&Description","Beschreibung" }, | 339 | { "&Description","Beschreibung" }, |
340 | { "C&omment","Kommentar" }, | 340 | { "C&omment","Kommentar" }, |
341 | { "&Username","Benutzername" }, | 341 | { "&Username","Benutzername" }, |
342 | { "U&RL","URL" }, | 342 | { "U&RL","URL" }, |
343 | { "delete?","Löschen?" }, | 343 | { "delete?","Löschen?" }, |
344 | { "Do you really want to delete\nthe selected entry","Wollen Sie wirklich\nden Eintrag löschen:" }, | 344 | { "Do you really want to delete\nthe selected entry","Wollen Sie wirklich\nden Eintrag löschen:" }, |
345 | { "Save?","Speichern?" }, | 345 | { "Save?","Speichern?" }, |
346 | { ""\nhas been modified.\nDo you want to save it?",""\nwurde geändert.\nMöchten Sie speichern?" }, | 346 | { ""\nhas been modified.\nDo you want to save it?",""\nwurde geändert.\nMöchten Sie speichern?" }, |
347 | { "The list\n "","Die Liste\n "" }, | 347 | { "The list\n "","Die Liste\n "" }, |
348 | { "nothing to do","Nichts zu tun" }, | 348 | { "nothing to do","Nichts zu tun" }, |
349 | { "Sorry, there's nothing to save.\nPlease first add some passwords.","Sorry, es gibt nichts zu speichern.\nBitte erst Passwörter hinzufügen." }, | 349 | { "Sorry, there's nothing to save.\nPlease first add some passwords.","Sorry, es gibt nichts zu speichern.\nBitte erst Passwörter hinzufügen." }, |
350 | { "Add new password","Passwort hinzufügen" }, | 350 | { "Add new password","Passwort hinzufügen" }, |
351 | { "Successfully saved data.","Datei gespeichert." }, | 351 | { "Successfully saved data.","Datei gespeichert." }, |
352 | { "Category:","Kategorie:" }, | 352 | { "Category:","Kategorie:" }, |
353 | { "LOCKED","GESPERRT" }, | ||
354 | { "","" }, | ||
355 | { "","" }, | ||
356 | { "","" }, | ||
353 | { "","" }, | 357 | { "","" }, |
354 | { "","" }, | 358 | { "","" }, |
355 | { "","" }, | 359 | { "","" }, |
356 | 360 | ||
diff --git a/pwmanager/pwmanager/pwmdoc.cpp b/pwmanager/pwmanager/pwmdoc.cpp index 6fbe110..61f2616 100644 --- a/pwmanager/pwmanager/pwmdoc.cpp +++ b/pwmanager/pwmanager/pwmdoc.cpp | |||
@@ -1269,49 +1269,49 @@ PwMerror PwMDoc::getCommentByLvp_long(const QString &category, int listViewPos, | |||
1269 | PWM_ASSERT(foundComment); | 1269 | PWM_ASSERT(foundComment); |
1270 | unsigned int cat = 0; | 1270 | unsigned int cat = 0; |
1271 | 1271 | ||
1272 | if (!findCategory(category, &cat)) | 1272 | if (!findCategory(category, &cat)) |
1273 | return e_invalidArg; | 1273 | return e_invalidArg; |
1274 | 1274 | ||
1275 | unsigned int i, entries = numEntries(cat); | 1275 | unsigned int i, entries = numEntries(cat); |
1276 | for (i = 0; i < entries; ++i) { | 1276 | for (i = 0; i < entries; ++i) { |
1277 | if (dti.dta[cat].d[i].listViewPos == listViewPos) { | 1277 | if (dti.dta[cat].d[i].listViewPos == listViewPos) { |
1278 | if (dti.dta[cat].d[i].binary) | 1278 | if (dti.dta[cat].d[i].binary) |
1279 | return e_binEntry; | 1279 | return e_binEntry; |
1280 | PwMCategoryItem* catItem = getCategoryEntry(cat); | 1280 | PwMCategoryItem* catItem = getCategoryEntry(cat); |
1281 | QString retval; | 1281 | QString retval; |
1282 | QString tempval = QString (dti.dta[cat].d[i].desc.c_str()); | 1282 | QString tempval = QString (dti.dta[cat].d[i].desc.c_str()); |
1283 | if ( !tempval.isEmpty() ) { | 1283 | if ( !tempval.isEmpty() ) { |
1284 | retval += "<b>" +QString ( catItem->desc_text.c_str() )+ ":</b> "+ tempval+"<br>" ; | 1284 | retval += "<b>" +QString ( catItem->desc_text.c_str() )+ ":</b> "+ tempval+"<br>" ; |
1285 | } | 1285 | } |
1286 | tempval = QString (dti.dta[cat].d[i].name.c_str()); | 1286 | tempval = QString (dti.dta[cat].d[i].name.c_str()); |
1287 | if ( !tempval.isEmpty() ) { | 1287 | if ( !tempval.isEmpty() ) { |
1288 | retval += "<b>" +QString ( catItem->name_text.c_str() ) + ":</b> "+ tempval+"<br>" ; | 1288 | retval += "<b>" +QString ( catItem->name_text.c_str() ) + ":</b> "+ tempval+"<br>" ; |
1289 | } | 1289 | } |
1290 | tempval = QString (dti.dta[cat].d[i].pw.c_str()); | 1290 | tempval = QString (dti.dta[cat].d[i].pw.c_str()); |
1291 | if ( !tempval.isEmpty() ) { | 1291 | if ( !tempval.isEmpty() ) { |
1292 | if ( dti.dta[cat].d[i].lockStat ) | 1292 | if ( dti.dta[cat].d[i].lockStat ) |
1293 | retval += "<b>" +QString ( catItem->pw_text.c_str() )+ ":</b> " + i18n("<LOCKED>") +"<br>" ; | 1293 | retval += "<b>" +QString ( catItem->pw_text.c_str() )+ ": " + i18n("LOCKED") +"</b><br>" ; |
1294 | else | 1294 | else |
1295 | retval += "<b>" +QString ( catItem->pw_text.c_str() )+ ":</b> " + tempval+"<br>" ; | 1295 | retval += "<b>" +QString ( catItem->pw_text.c_str() )+ ":</b> " + tempval+"<br>" ; |
1296 | } | 1296 | } |
1297 | tempval = QString (dti.dta[cat].d[i].url.c_str()); | 1297 | tempval = QString (dti.dta[cat].d[i].url.c_str()); |
1298 | if ( !tempval.isEmpty() ) { | 1298 | if ( !tempval.isEmpty() ) { |
1299 | retval += "<b>" +i18n("URL:")+ "</b> " + tempval+"<br>" ; | 1299 | retval += "<b>" +i18n("URL:")+ "</b> " + tempval+"<br>" ; |
1300 | } | 1300 | } |
1301 | tempval = QString (dti.dta[cat].d[i].launcher.c_str()); | 1301 | tempval = QString (dti.dta[cat].d[i].launcher.c_str()); |
1302 | if ( !tempval.isEmpty() ) { | 1302 | if ( !tempval.isEmpty() ) { |
1303 | retval += "<b>" +i18n("Launcher:")+ "</b> " + tempval+"<br>" ; | 1303 | retval += "<b>" +i18n("Launcher:")+ "</b> " + tempval+"<br>" ; |
1304 | } | 1304 | } |
1305 | tempval = QString (dti.dta[cat].d[i].comment.c_str()); | 1305 | tempval = QString (dti.dta[cat].d[i].comment.c_str()); |
1306 | if ( !tempval.isEmpty() ) { | 1306 | if ( !tempval.isEmpty() ) { |
1307 | tempval.replace(QRegExp ( "\n" ), "<br>" ); | 1307 | tempval.replace(QRegExp ( "\n" ), "<br>" ); |
1308 | retval += "<b>" +i18n("Comment:")+ "</b><br>" + tempval+"<br>" ; | 1308 | retval += "<b>" +i18n("Comment:")+ "</b><br>" + tempval+"<br>" ; |
1309 | } | 1309 | } |
1310 | 1310 | ||
1311 | string ret ( retval.latin1() ); | 1311 | string ret ( retval.latin1() ); |
1312 | 1312 | ||
1313 | 1313 | ||
1314 | // *foundComment = dti.dta[cat].d[i].comment; | 1314 | // *foundComment = dti.dta[cat].d[i].comment; |
1315 | *foundComment = ret; | 1315 | *foundComment = ret; |
1316 | return e_normalEntry; | 1316 | return e_normalEntry; |
1317 | } | 1317 | } |