Changeset 4737

Show
Ignore:
Timestamp:
11/06/06 05:07:04 (2 years ago)
Author:
erijo
Message:

Make the conversation in the options dialog translatable.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/qt-gui/src/optionsdlg.cpp

    r4736 r4737  
    16871687  const char *names[2] = {"Marge", "Homer"}; 
    16881688  const char *msgs[8] = { 
    1689       "This is received message", 
    1690       "This is a sent message", 
    1691       "Have you gone to the Licq IRC Channel?", 
    1692       "No, where is it?", 
    1693       "#Licq on irc.freenode.net", 
    1694       "Cool, I'll see you there :)", 
    1695       "We'll be waiting!", 
    1696       "Marge has left the conversation."}; 
     1689      QT_TR_NOOP("This is received message"), 
     1690      QT_TR_NOOP("This is a sent message"), 
     1691      QT_TR_NOOP("Have you gone to the Licq IRC Channel?"), 
     1692      QT_TR_NOOP("No, where is it?"), 
     1693      QT_TR_NOOP("#Licq on irc.freenode.net"), 
     1694      QT_TR_NOOP("Cool, I'll see you there :)"), 
     1695      QT_TR_NOOP("We'll be waiting!"), 
     1696      QT_TR_NOOP("Marge has left the conversation.") 
     1697  }; 
    16971698 
    16981699  msgViewer->m_nMsgStyle = cmbStyle->currentItem(); 
     
    17161717          true, false, false, false,  
    17171718          names[i % 2], 
    1718           MLView::toRichText(msgs[i], true, true)); 
    1719   } 
    1720   msgViewer->addNotice(date, MLView::toRichText(msgs[7], true, true)); 
     1719          MLView::toRichText(tr(msgs[i]), true, true)); 
     1720  } 
     1721  msgViewer->addNotice(date, MLView::toRichText(tr(msgs[7]), true, true)); 
    17211722} 
    17221723