mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-10-01 01:26:01 -04:00
Moved the "Clear history" menu item caption from MainWindow (Database > Recent Databases > Clear history) to the string resources. As a result it is no longer hardcoded and can be translated.
This commit is contained in:
parent
70bd598ead
commit
52a264cc2b
@ -1287,6 +1287,10 @@ This is a one-way migration. You won't be able to open the imported databas
|
|||||||
<source>Password Generator</source>
|
<source>Password Generator</source>
|
||||||
<translation type="unfinished"></translation>
|
<translation type="unfinished"></translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Clear history</source>
|
||||||
|
<translation type="unfinished"></translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>OptionDialog</name>
|
<name>OptionDialog</name>
|
||||||
|
@ -1291,6 +1291,10 @@ This is a one-way migration. You won't be able to open the imported databas
|
|||||||
<source>Password Generator</source>
|
<source>Password Generator</source>
|
||||||
<translation>Генератор паролей</translation>
|
<translation>Генератор паролей</translation>
|
||||||
</message>
|
</message>
|
||||||
|
<message>
|
||||||
|
<source>Clear history</source>
|
||||||
|
<translation>Очистить историю</translation>
|
||||||
|
</message>
|
||||||
</context>
|
</context>
|
||||||
<context>
|
<context>
|
||||||
<name>OptionDialog</name>
|
<name>OptionDialog</name>
|
||||||
@ -1789,4 +1793,4 @@ give it a unique name to identify and accept it.</source>
|
|||||||
<translation>имена файлов открываемого хранилища паролей (*.kdbx)</translation>
|
<translation>имена файлов открываемого хранилища паролей (*.kdbx)</translation>
|
||||||
</message>
|
</message>
|
||||||
</context>
|
</context>
|
||||||
</TS>
|
</TS>
|
||||||
|
@ -130,7 +130,7 @@ MainWindow::MainWindow()
|
|||||||
m_ui->toolBar->setVisible(showToolbar);
|
m_ui->toolBar->setVisible(showToolbar);
|
||||||
connect(m_ui->toolBar, SIGNAL(visibilityChanged(bool)), this, SLOT(saveToolbarState(bool)));
|
connect(m_ui->toolBar, SIGNAL(visibilityChanged(bool)), this, SLOT(saveToolbarState(bool)));
|
||||||
|
|
||||||
m_clearHistoryAction = new QAction("Clear history", m_ui->menuFile);
|
m_clearHistoryAction = new QAction(tr("Clear history"), m_ui->menuFile);
|
||||||
m_lastDatabasesActions = new QActionGroup(m_ui->menuRecentDatabases);
|
m_lastDatabasesActions = new QActionGroup(m_ui->menuRecentDatabases);
|
||||||
connect(m_clearHistoryAction, SIGNAL(triggered()), this, SLOT(clearLastDatabases()));
|
connect(m_clearHistoryAction, SIGNAL(triggered()), this, SLOT(clearLastDatabases()));
|
||||||
connect(m_lastDatabasesActions, SIGNAL(triggered(QAction*)), this, SLOT(openRecentDatabase(QAction*)));
|
connect(m_lastDatabasesActions, SIGNAL(triggered(QAction*)), this, SLOT(openRecentDatabase(QAction*)));
|
||||||
|
Loading…
Reference in New Issue
Block a user