void CellMLEditingViewPlugin::retranslateUi()
{
    // Retranslate our different actions

    retranslateAction(mEditReformatAction, tr("Reformat"),
                      tr("Reformat the contents of the editor"));

    retranslateAction(mToolsCellmlValidationAction, tr("CellML Validation"),
                      tr("Validate the CellML file"));
}
void FileOrganiserWindowPlugin::retranslateUi()
{
    // Retranslate our file organiser window action

    retranslateAction(mFileOrganiserWindowAction, tr("File Organiser"),
                      tr("Show/hide the File Organiser window"));

    // Retranslate our file organiser window

    mFileOrganiserWindowWindow->retranslateUi();
}
Example #3
0
void HelpWindowPlugin::retranslateUi()
{
    // Retranslate our help action

    retranslateAction(mHelpAction, tr("Help"),
                      tr("Show/hide the OpenCOR help"));

    // Retranslate our help window

    mHelpWindow->retranslateUi();
}
void CellMLModelRepositoryWindowPlugin::retranslateUi()
{
    // Retranslate our CellML Model Repository window action

    retranslateAction(mCellmlModelRepositoryWindowAction,
                      tr("CellML Model Repository"),
                      tr("Show/hide the CellML Model Repository window"));

    // Retranslate our CellML Model Repository window

    mCellmlModelRepositoryWindowWindow->retranslateUi();
}
void PhysiomeModelRepositoryWindowPlugin::retranslateUi()
{
    // Retranslate our PMR window action

    retranslateAction(mPhysiomeModelRepositoryWindowAction,
                      tr("Physiome Model Repository"),
                      tr("Show/hide the Physiome Model Repository window"));

    // Retranslate our PMR window

    mPhysiomeModelRepositoryWindowWindow->retranslateUi();
}
void FQTermShortcutHelper::retranslateActions() {
    retranslateAction(CONNECT, tr("&Connect"));
    retranslateAction(DISCONNECT, tr("&Disconnect"));
    retranslateAction(ADDRESSBOOK, tr("&Address book"));
    retranslateAction(QUICKLOGIN, tr("&Quick login"));
    retranslateAction(COPY, tr("&Copy"));
    retranslateAction(PASTE, tr("&Paste"));
    retranslateAction(COPYWITHCOLOR, tr("C&opy with color"));
    retranslateAction(RECTANGLESELECTION, tr("&Rectangle select"));
    retranslateAction(AUTOCOPYSELECTION, tr("Auto copy &select"));
    retranslateAction(PASTEWORDWRAP, tr("P&aste with wordwrap"));
    retranslateAction(ENGLISHFONT, tr("&English Font"));
    retranslateAction(OTHERFONT, tr("O&ther Font"));
    retranslateAction(COLORSETTING, tr("&Color Setting"));
    retranslateAction(ANSICOLOR, tr("&Use ANSI Color"));
    retranslateAction(REFRESHSCREEN, tr("&Refresh"));
    retranslateAction(UIFONT, tr("U&I font"));
    retranslateAction(FULLSCREEN, tr("Fullscree&n"));
    retranslateAction(BOSSCOLOR, tr("B&oss Color"));
    retranslateAction(SWITCHBAR, tr("S&witch Bar"));
    retranslateAction(SEARCHIT, tr("&Search It"));
    retranslateAction(WEIBOSHARE, tr("Sha&re It"));
    retranslateAction(EXTERNALEDITOR, tr("E&xternal Editor"));
    retranslateAction(FASTPOST, tr("&Fast Post"));
    retranslateAction(CURRENTSETTING, tr("&Setting for current session"));
    retranslateAction(DEFAULTSETTING, tr("&Default setting"));
    retranslateAction(PREFERENCE, tr("&Preferences..."));
    retranslateAction(SHORTCUTSETTING, tr("Short&cut Setting"));
    retranslateAction(EDITSCHEMA, tr("&Edit Schema"));
    retranslateAction(COPYARTICLE, tr("&Copy article"));
    retranslateAction(ANTIIDLE, tr("Anti &idle"));
    retranslateAction(AUTOREPLY, tr("Auto &reply"));
    retranslateAction(VIEWMESSAGE, tr("&View messages"));
    retranslateAction(IPLOOKUP, tr("I&P Lookup"));
    retranslateAction(BEEP, tr("&Beep"));
    retranslateAction(MOUSESUPPORT, tr("&Mouse support"));
    retranslateAction(IMAGEVIEWER, tr("Ima&ge viewer"));
    retranslateAction(RUNSCRIPT, tr("&Run..."));
    retranslateAction(STOPSCRIPT, tr("&Stop"));
    retranslateAction(RUNPYTHONSCRIPT, tr("Run &Python..."));
    retranslateAction(ABOUT, tr("About &FQTerm"));
    retranslateAction(HOMEPAGE, tr("FQTerm's &Homepage"));
    retranslateAction(CASCADEWINDOWS, tr("&Cascade"));
    retranslateAction(TILEWINDOWS, tr("&Tile"));
    retranslateAction(EXIT, tr("&Exit"));
    retranslateAction(COLORCTL_NO, tr("&None"));
    retranslateAction(COLORCTL_SMTH, tr("&ESC ESC ["));
    retranslateAction(COLORCTL_PTT, tr("Ctrl+&U["));
    retranslateAction(COLORCTL_CUSTOM, tr("&Custom..."));
    retranslateAction(AUTORECONNECT, tr("Reconnect When Disconnected By Host"));
    retranslateAction(NEXTWINDOW, tr("Next Window"));
    retranslateAction(PREVWINDOW, tr("Prev Window"));
    retranslateAction(LANGUAGE_ENGLISH, tr("&English"));
    retranslateAction(SCROLLBAR_HIDDEN, tr("&Hide"));
    retranslateAction(SCROLLBAR_RIGHT, tr("&Right"));
    retranslateAction(SCROLLBAR_LEFT, tr("&Left"));
    retranslateAction(SEARCH_GOOGLE, tr("&Google"));
    retranslateAction(SEARCH_BAIDU, tr("&Baidu"));
    retranslateAction(SEARCH_BING, tr("&Bing"));
    retranslateAction(SEARCH_YAHOO, tr("&Yahoo!"));
    retranslateAction(SEARCH_CUSTOM, tr("&Custom"));
    retranslateAction(SAVESETTING, tr("Save Settin&g"));
}
Example #7
0
void CoreEditingPlugin::retranslateUi()
{
    // Retranslate our different File|New action

    retranslateAction(mFileNewFileAction, tr("File"),
                      tr("Create a new file"));

    // Retranslate our Edit menu

    retranslateMenu(mEditMenu, tr("Edit"));

    // Unpopulate our Edit menu
    // Note #1: this is required on OS X otherwise we get several console
    //          messages that read
    //              void QCocoaMenu::insertNative(QCocoaMenuItem *, QCocoaMenuItem *) Menu item is already in a menu, remove it from the other menu first before inserting
    // Note #2: beforeAction is used to keep track of where our first action
    //          should really be. Indeed, on OS X, our Edit menu gets additional
    //          menu items (they are automatically added by OS X at the end of
    //          our Edit menu, should in the system locale), so we cannot just
    //          use mEditMenu->clear() to unpopulate our Edit menu since
    //          otherwise when repopulating it those extra menu items will end
    //          up before (rather than after) our menu items...

    QAction *beforeAction = mEditMenu->insertSeparator(mEditUndoAction);

    unpopulateEditMenu();

    // Retranslate our different Edit actions

    retranslateAction(mEditUndoAction, tr("Undo"),
                      tr("Undo the last action"));
    retranslateAction(mEditRedoAction, tr("Redo"),
                      tr("Redo the last action"));

    retranslateAction(mEditCutAction, tr("Cut"),
                      tr("Cut the selected text"));
    retranslateAction(mEditCopyAction, tr("Copy"),
                      tr("Copy the selected text to the clipboard"));
    retranslateAction(mEditPasteAction, tr("Paste"),
                      tr("Paste the contents of the clipboard"));
    retranslateAction(mEditDeleteAction, tr("Delete"),
                      tr("Delete the selected text"));

    retranslateAction(mEditFindReplaceAction, tr("Find/Replace..."),
                      tr("Search/replace a specific text"));
    retranslateAction(mEditFindNextAction, tr("Find Next"),
                      tr("Search forwards for the same text"));
    retranslateAction(mEditFindPreviousAction, tr("Find Previous"),
                      tr("Search backwards for the same text"));

    retranslateAction(mEditSelectAllAction, tr("Select All"),
                      tr("Select all the text"));

    // (Re)populate our Edit menu

    populateEditMenu(beforeAction);

    mEditMenu->removeAction(beforeAction);
}
Example #8
0
void CoreEditingPlugin::retranslateUi()
{
    // Retranslate our Edit menu

    retranslateMenu(mEditMenu, tr("&Edit"));

    // Retranslate our different Edit actions

    retranslateAction(mEditUndoAction, tr("&Undo"),
                      tr("Undo the last action"));
    retranslateAction(mEditRedoAction, tr("&Redo"),
                      tr("Redo the last action"));

    retranslateAction(mEditCutAction, tr("Cu&t"),
                      tr("Cut the selected object"));
    retranslateAction(mEditCopyAction, tr("&Copy"),
                      tr("Copy the selected object"));
    retranslateAction(mEditPasteAction, tr("&Paste"),
                      tr("Paste the contents of the clipboard"));
    retranslateAction(mEditDeleteAction, tr("&Delete"),
                      tr("Delete the selected object"));

    retranslateAction(mEditFindAction, tr("&Find..."),
                      tr("Search for a specific object"));
    retranslateAction(mEditFindNextAction, tr("Find &Next"),
                      tr("Search forwards for the same object"));
    retranslateAction(mEditPreviousAction, tr("Find Pre&vious"),
                      tr("Search backwards for the same object"));
    retranslateAction(mEditReplaceAction, tr("Re&place"),
                      tr("Search for a specific object and replace it with another"));

    retranslateAction(mEditSelectAllAction, tr("Select &All"),
                      tr("Select all the objects"));
}
Example #9
0
void SampleToolsPlugin::retranslateUi()
{
    // Retranslate our different Tools actions

    retranslateAction(mAddTwoNumbersAction, tr("Add Two Numbers..."), tr("Add two numbers together"));
}
Example #10
0
void CorePlugin::retranslateUi()
{
    // Retranslate our different File actions

    retranslateAction(mFileOpenAction, tr("Open..."),
                      tr("Open a file"));
    retranslateAction(mFileOpenRemoteAction, tr("Open Remote..."),
                      tr("Open a remote file"));

    retranslateAction(mFileReloadAction, tr("Reload"),
                      tr("Reload the current file"));

    retranslateAction(mFileDuplicateAction, tr("Duplicate"),
                      tr("Duplicate the current file"));

    retranslateAction(mFileLockedAction, tr("Locked"),
                      tr("Toggle the locked state of the current file"));

    retranslateAction(mFileSaveAction, tr("Save"),
                      tr("Save the current file"));
    retranslateAction(mFileSaveAsAction, tr("Save As..."),
                      tr("Save the current file under a different name"));
    retranslateAction(mFileSaveAllAction, tr("Save All"),
                      tr("Save all the files"));

    retranslateAction(mFilePreviousAction, tr("Previous"),
                      tr("Select the previous file"));
    retranslateAction(mFileNextAction, tr("Next"),
                      tr("Select the next file"));

    retranslateAction(mFileCloseAction, tr("Close"),
                      tr("Close the current file"));
    retranslateAction(mFileCloseAllAction, tr("Close All"),
                      tr("Close all the files"));

    // Retranslate our File sub-menu and its action

    retranslateMenu(mFileReopenSubMenu, tr("Reopen"));

    retranslateAction(mFileReopenMostRecentFileAction, tr("Most Recent"),
                      tr("Reopen the most recently closed file"));
    retranslateAction(mFileClearReopenSubMenuAction, tr("Clear Menu"),
                      tr("Clear the menu"));

    // Retranslate our central widget

    mCentralWidget->retranslateUi();
}