Changeset 1cb2922 in terepaima for terepaima-0.4.16/sources


Ignore:
Timestamp:
Nov 3, 2016, 4:41:34 PM (8 years ago)
Author:
Antonio Araujo <aaraujo@…>
Branches:
master, desarrollo, stretch
Children:
8663130
Parents:
56d648b
Message:

Modificación para que el esqueleto del contenido de la ayuda aparezca en español.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • terepaima-0.4.16/sources/helpdialog.cpp

    r1f4adec r1cb2922  
    4242    m_textBrowser = new QTextBrowser(this);
    4343    m_textBrowser->setTextInteractionFlags(Qt::TextBrowserInteraction | Qt::TextSelectableByKeyboard);
    44     m_textBrowser->setSearchPaths(QStringList() << QDir(QApplication::applicationDirPath()).filePath("data") << DATA_INSTALL_PATH);
     44    //m_textBrowser->setSearchPaths(QStringList() << QDir(QApplication::applicationDirPath()).filePath("data") << DATA_INSTALL_PATH);
     45    // search files in /usr/share/terepaima
     46    m_textBrowser->setSearchPaths(QStringList() << "/usr/share/terepaima");
    4547
    4648    //: Please replace by file name of localized help if available, e.g. "help_fr.html".
    47     m_textBrowser->setSource(QUrl::fromLocalFile(tr("help.html")));
     49    //m_textBrowser->setSource(QUrl::fromLocalFile(tr("help.html")));
     50    m_textBrowser->setSource(QUrl::fromLocalFile(tr("help_es.html")));
    4851
    4952    if(m_textBrowser->document()->isEmpty())
Note: See TracChangeset for help on using the changeset viewer.