mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
[Translations] Plural for number of opened tabs. Closes #1143
This commit is contained in:
parent
2d2f198846
commit
47fee7b3b2
@ -843,10 +843,10 @@
|
|||||||
<item>
|
<item>
|
||||||
<widget class="QCheckBox" name="completionShowSwitchTab">
|
<widget class="QCheckBox" name="completionShowSwitchTab">
|
||||||
<property name="toolTip">
|
<property name="toolTip">
|
||||||
<string>Press "Shift" to not switch the tab but load the url in the current tab.</string>
|
<string>Press "Shift" to not switch the tab but load the url in the current tab</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<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>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
|
@ -285,7 +285,7 @@ void TabWidget::aboutToShowTabsMenu()
|
|||||||
m_menuTabs->addAction(action);
|
m_menuTabs->addAction(action);
|
||||||
}
|
}
|
||||||
m_menuTabs->addSeparator();
|
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()
|
void TabWidget::actionChangeIndex()
|
||||||
@ -495,7 +495,7 @@ void TabWidget::closeTab(int index, bool force)
|
|||||||
|
|
||||||
if (!m_closedInsteadOpened && m_menuTabs->isVisible()) {
|
if (!m_closedInsteadOpened && m_menuTabs->isVisible()) {
|
||||||
QAction* labelAction = m_menuTabs->actions().last();
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3192,12 +3192,12 @@ Please install latest version of QupZilla.</source>
|
|||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/lib/preferences/preferences.ui" line="846"/>
|
<location filename="../src/lib/preferences/preferences.ui" line="846"/>
|
||||||
<source>Press "Shift" to not switch the tab but load the url in the current tab.</source>
|
<source>Press "Shift" to not switch the tab but load the url in the current tab</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
<location filename="../src/lib/preferences/preferences.ui" line="849"/>
|
<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>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
@ -5886,10 +5886,10 @@ After adding or removing certificate paths, it is neccessary to restart QupZilla
|
|||||||
<source>No Named Page</source>
|
<source>No Named Page</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message numerus="yes">
|
||||||
<location filename="../src/lib/webview/tabwidget.cpp" line="288"/>
|
<location filename="../src/lib/webview/tabwidget.cpp" line="288"/>
|
||||||
<location filename="../src/lib/webview/tabwidget.cpp" line="498"/>
|
<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>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
<message>
|
<message>
|
||||||
|
Loading…
Reference in New Issue
Block a user