[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/office/kmymoney/kmymoney
From:       Pino Toscano <pino () kde ! org>
Date:       2011-06-14 11:55:47
Message-ID: 20110614115547.4ADF9AC7E2 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1236688 by pino:

i18n: use a proper string instead of string puzzles


 M  +1 -1      converter/mymoneyqifreader.cpp  
 M  +1 -1      converter/mymoneystatementreader.cpp  
 M  +3 -3      kmymoney.cpp  
 M  +3 -3      views/kbudgetview.cpp  
 M  +2 -2      views/kpayeesview.cpp  


--- trunk/extragear/office/kmymoney/kmymoney/converter/mymoneyqifreader.cpp \
#1236687:1236688 @@ -538,7 +538,7 @@
       ft.commit();
   } catch (MyMoneyException *e) {
     KMessageBox::detailedSorry(0, i18n("Unable to add transactions"),
-                               (e->what() + " " + i18n("thrown in") + " " + \
e->file() + ":%1").arg(e->line())); +                               i18n("%1 thrown \
in %2:%3", e->what(), e->file(), e->line()));  delete e;
     rc = false;
   }
--- trunk/extragear/office/kmymoney/kmymoney/converter/mymoneystatementreader.cpp \
#1236687:1236688 @@ -930,7 +930,7 @@
 
         } catch (MyMoneyException *e) {
           KMessageBox::detailedSorry(0, i18n("Unable to add payee/receiver"),
-                                     QString(e->what() + ' ' + i18n("thrown in") + ' \
' + e->file() + ":%1").arg(e->line())); +                                     \
i18n("%1 thrown in %2:%3", e->what(), e->file(), e->line()));  delete e;
 
         }
--- trunk/extragear/office/kmymoney/kmymoney/kmymoney.cpp #1236687:1236688
@@ -4518,7 +4518,7 @@
       ft.commit();
     } catch (MyMoneyException *e) {
       KMessageBox::detailedSorry(this, i18n("Unable to add payee"),
-                                 QString("%1 thrown in \
%2:%3").arg(e->what()).arg(e->file()).arg(e->line())); +                              \
i18n("%1 thrown in %2:%3", e->what(), e->file(), e->line()));  delete e;
     }
   }
@@ -4668,7 +4668,7 @@
         } // for - Schedules
       } catch (MyMoneyException *e) {
         KMessageBox::detailedSorry(0, i18n("Unable to reassign payee of \
                transaction/split"),
-                                   QString(e->what() + ' ' + i18n("thrown in") + ' ' \
+ e->file() + ":%1").arg(e->line())); +                                   i18n("%1 \
thrown in %2:%3", e->what(), e->file(), e->line()));  delete e;
       }
     } // if !translist.isEmpty()
@@ -4725,7 +4725,7 @@
 
   } catch (MyMoneyException *e) {
     KMessageBox::detailedSorry(0, i18n("Unable to remove payee(s)"),
-                               QString(e->what() + ' ' + i18n("thrown in") + ' ' + \
e->file() + ":%1").arg(e->line())); +                               i18n("%1 thrown \
in %2:%3", e->what(), e->file(), e->line()));  delete e;
   }
 }
--- trunk/extragear/office/kmymoney/kmymoney/views/kbudgetview.cpp #1236687:1236688
@@ -701,7 +701,7 @@
 
     } catch (MyMoneyException *e) {
       KMessageBox::detailedSorry(0, i18n("Unable to modify budget"),
-                                 QString(e->what() + ' ' + i18n("thrown in") + ' ' + \
e->file() + ":%1").arg(e->line())); +                                 i18n("%1 thrown \
in %2:%3", e->what(), e->file(), e->line()));  delete e;
     }
   } else {
@@ -858,7 +858,7 @@
     loadAccounts();
   } catch (MyMoneyException *e) {
     KMessageBox::detailedSorry(0, i18n("Unable to reset budget"),
-                               QString(e->what() + ' ' + i18n("thrown in") + ' ' + \
e->file() + ":%1").arg(e->line())); +                               i18n("%1 thrown \
in %2:%3", e->what(), e->file(), e->line()));  delete e;
   }
 }
@@ -872,7 +872,7 @@
     slotRefreshHideUnusedButton();
   } catch (MyMoneyException *e) {
     KMessageBox::detailedSorry(0, i18n("Unable to modify budget"),
-                               QString(e->what() + ' ' + i18n("thrown in") + ' ' + \
e->file() + ":%1").arg(e->line())); +                               i18n("%1 thrown \
in %2:%3", e->what(), e->file(), e->line()));  delete e;
   }
 }
--- trunk/extragear/office/kmymoney/kmymoney/views/kpayeesview.cpp #1236687:1236688
@@ -331,7 +331,7 @@
 
     } catch (MyMoneyException *e) {
       KMessageBox::detailedSorry(0, i18n("Unable to modify payee"),
-                                 QString(e->what() + ' ' + i18n("thrown in") + ' ' + \
e->file() + ":%1").arg(e->line())); +                                 i18n("%1 thrown \
in %2:%3", e->what(), e->file(), e->line()));  delete e;
     }
   } else {
@@ -621,7 +621,7 @@
 
     } catch (MyMoneyException *e) {
       KMessageBox::detailedSorry(0, i18n("Unable to modify payee"),
-                                 QString(e->what() + ' ' + i18n("thrown in") + ' ' + \
e->file() + ":%1").arg(e->line())); +                                 i18n("%1 thrown \
in %2:%3", e->what(), e->file(), e->line()));  delete e;
     }
   }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic