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

List:       kde-i18n-doc
Subject:    "Change Properties" in kdesdk/umbrello
From:       "Yuri Chornoivan" <yurchor () ukr ! net>
Date:       2010-08-03 18:39:51
Message-ID: op.vgvkspnvl2zvei () localhost ! localdomain
[Download RAW message or body]

Hi!

After changing class properties on diagram in Umbrello, "Command history"  
shows unlocalized string ("Change Properties").

The only place in code with this string is  
(umbrello/widgets/umlwidget.cpp:285) as follows

     case ListPopupMenu::mt_Properties:
         if (wt == wt_Actor || wt == wt_UseCase ||
                 wt == wt_Package || wt == wt_Interface || wt ==  
wt_Datatype ||
                 wt == wt_Component || wt == wt_Artifact ||
                 wt == wt_Node || wt == wt_Enum || wt == wt_Entity ||
                 (wt == wt_Class && m_pView->getType() == dt_Class)) {
             UMLApp::app()->beginMacro("Change Properties");
             showProperties();
             UMLApp::app()->endMacro();
         } else if (wt == wt_Object) {
             UMLApp::app()->beginMacro("Change Properties");
             m_pObject->showProperties();
             UMLApp::app()->endMacro();
         } else {
             uWarning() << "making properties dialog for unknown widget  
type";
         }
         // adjustAssocs( getX(), getY() );//adjust assoc lines
         break;

What is the best way to make the string translatable?

Thanks in advance.
[prev in list] [next in list] [prev in thread] [next in thread] 

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