1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

Merge pull request #1146 from pejakm/tabwplur2

[Translations] Plural for number of opened tabs. Closes #1143
This commit is contained in:
David Rosca 2014-01-09 13:56:08 -08:00
commit 08dea31cbe
3 changed files with 8 additions and 8 deletions

View File

@ -843,10 +843,10 @@
<item>
<widget class="QCheckBox" name="completionShowSwitchTab">
<property name="toolTip">
<string>Press &quot;Shift&quot; to not switch the tab but load the url in the current tab.</string>
<string>Press &quot;Shift&quot; to not switch the tab but load the url in the current tab</string>
</property>
<property name="text">
<string>Propose to switch tab if completed url is already loaded.</string>
<string>Propose to switch tab if completed url is already loaded</string>
</property>
</widget>
</item>

View File

@ -285,7 +285,7 @@ void TabWidget::aboutToShowTabsMenu()
m_menuTabs->addAction(action);
}
m_menuTabs->addSeparator();
m_menuTabs->addAction(tr("Currently you have %1 opened tabs").arg(count()))->setEnabled(false);
m_menuTabs->addAction(tr("Currently you have %n opened tab(s)", "", count()))->setEnabled(false);
}
void TabWidget::actionChangeIndex()
@ -495,7 +495,7 @@ void TabWidget::closeTab(int index, bool force)
if (!m_closedInsteadOpened && m_menuTabs->isVisible()) {
QAction* labelAction = m_menuTabs->actions().last();
labelAction->setText(tr("Currently you have %1 opened tabs").arg(count() - 1));
labelAction->setText(tr("Currently you have %n opened tab(s)", "", count() - 1));
}
}

View File

@ -3192,12 +3192,12 @@ Please install latest version of QupZilla.</source>
</message>
<message>
<location filename="../src/lib/preferences/preferences.ui" line="846"/>
<source>Press &quot;Shift&quot; to not switch the tab but load the url in the current tab.</source>
<source>Press &quot;Shift&quot; to not switch the tab but load the url in the current tab</source>
<translation type="unfinished"></translation>
</message>
<message>
<location filename="../src/lib/preferences/preferences.ui" line="849"/>
<source>Propose to switch tab if completed url is already loaded.</source>
<source>Propose to switch tab if completed url is already loaded</source>
<translation type="unfinished"></translation>
</message>
<message>
@ -5886,10 +5886,10 @@ After adding or removing certificate paths, it is neccessary to restart QupZilla
<source>No Named Page</source>
<translation type="unfinished"></translation>
</message>
<message>
<message numerus="yes">
<location filename="../src/lib/webview/tabwidget.cpp" line="288"/>
<location filename="../src/lib/webview/tabwidget.cpp" line="498"/>
<source>Currently you have %1 opened tabs</source>
<source>Currently you have %n opened tab(s)</source>
<translation type="unfinished"></translation>
</message>
<message>