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

List:       kdevelop-bugs
Subject:    [Bug 148518] missing i18n calls in buildtool for autotools
From:       Andreas Pakulat <apaku () gmx ! de>
Date:       2007-08-05 22:56:04
Message-ID: 20070805225604.20652.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=148518         
apaku gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From apaku gmx de  2007-08-06 00:56 -------
SVN commit 696811 by apaku:

make some strings translateable.
Patch from Stefan Johach.
BUG:148518


 M  +10 -10    autoprojectpart.cpp  


--- branches/KDE/3.5/kdevelop/buildtools/autotools/autoprojectpart.cpp #696810:696811
 @ -294,10 +294,10  @
         m_widget->setActiveTarget(activeTarget);
     else
     {
-        KMessageBox::information( m_widget, "No active target specified, running the \
application will\n" +        KMessageBox::information( m_widget, i18n("No active \
                target specified, running the application will\n"
                                    "not work until you make a target active in the \
                Automake Manager\n"
                                    "on the right side or use the Main Program \
                options under\n"
-                                   "Project -> Project Options -> Run Options", "No \
active target specified",  "kdevelop_open_project_no_active_target"); +               \
"Project -> Project Options -> Run Options"), i18n("No active target specified"),  \
"kdevelop_open_project_no_active_target");  }
 
     KDevProject::openProject( dirName, projectName );
 @ -402,17 +402,17  @
         TargetItem* titem = m_widget->activeTarget();
 
         if ( !titem ) {
-            KMessageBox::error( m_widget, "There's no active target!\n"
-                                "Unable to determine the main program", "No active \
target found" ); +            KMessageBox::error( m_widget, i18n("There's no active \
target!\n" +                                "Unable to determine the main program", \
"No active target found") );  kdDebug ( 9020 ) << k_funcinfo << "Error! : There's no \
active target! -> Unable to determine the main program in \
AutoProjectPart::mainProgram()" << endl;  return QString::null;
         }
 
         if ( titem->primary != "PROGRAMS" ) {
-            KMessageBox::error( m_widget, "Active target \""+titem->name+"\"isn't \
binary ( " + titem->primary + " ) !\n" +            KMessageBox::error( m_widget, \
                i18n("Active target \"%1\"isn't binary ( %2 ) !\n"
                                 "Unable to determine the main program. If you want \
                this\n"
                                 "to be the active target, set a main program \
                under\n"
-                                "Project -> Project Options -> Run Options", "Active \
target is not a library" ); +                                "Project -> Project \
Options -> Run Options").arg(titem->name).arg(titem->primary), i18n("Active target is \
not a library") );  kdDebug ( 9020 ) << k_funcinfo << "Error! : Active target isn't \
binary (" << titem->primary << ") ! -> Unable to determine the main program in \
AutoProjectPart::mainProgram()" << endl;  return QString::null;
         }
 @ -1131,15 +1131,15  @
     QString program = environString();
 
     if ( !titem ) {
-        KMessageBox::error( m_widget, "There's no active target!\n"
-                                "Unable to determine the main program", "No active \
target found" ); +        KMessageBox::error( m_widget, i18n("There's no active \
target!\n" +                                "Unable to determine the main program"), \
                i18n("No active target found") );
         kdDebug ( 9020 ) << k_funcinfo << "Error! : There's no active target! -> \
Unable to determine the main program in AutoProjectPart::mainProgram()" << endl;  \
program += titem->name;  }else if ( titem->primary != "PROGRAMS" ) {
-        KMessageBox::error( m_widget, "Active target \""+titem->name+"\"isn't binary \
( " + titem->primary + " ) !\n" +        KMessageBox::error( m_widget, i18n("Active \
                target \"%1\"isn't binary ( %2 ) !\n"
                                 "Unable to determine the main program. If you want \
                this\n"
                                 "to be the active target, set a main program \
                under\n"
-                                "Project -> Project Options -> Run Options", "Active \
target is not a library" ); +                                "Project -> Project \
Options -> Run Options").arg(titem->name).arg(titem->primary), i18n("Active target is \
not a library") );  kdDebug ( 9020 ) << k_funcinfo << "Error! : Active target isn't \
binary (" << titem->primary << ") ! -> Unable to determine the main program in \
AutoProjectPart::mainProgram()" << endl;  program += titem->name;
     }else

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs


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

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