Add Finish translation
Sort groups locale aware git-svn-id: https://svn.code.sf.net/p/keepassx/code/trunk@274 b624d157-de02-0410-bad0-e51aec6abb33
This commit is contained in:
parent
456bb2dc33
commit
d569b51e6c
Binary file not shown.
|
@ -122,6 +122,7 @@ set(keepassx_TRANSLATIONS
|
||||||
translations/keepassx-cs_CZ.ts
|
translations/keepassx-cs_CZ.ts
|
||||||
translations/keepassx-de_DE.ts
|
translations/keepassx-de_DE.ts
|
||||||
translations/keepassx-es_ES.ts
|
translations/keepassx-es_ES.ts
|
||||||
|
translations/keepassx-fi_FI.ts
|
||||||
translations/keepassx-fr_FR.ts
|
translations/keepassx-fr_FR.ts
|
||||||
translations/keepassx-gl_ES.ts
|
translations/keepassx-gl_ES.ts
|
||||||
translations/keepassx-it_IT.ts
|
translations/keepassx-it_IT.ts
|
||||||
|
|
|
@ -568,8 +568,8 @@ bool GroupViewItem::operator<(const QTreeWidgetItem& other) const {
|
||||||
// Backup group is always at the bottom but above search results
|
// Backup group is always at the bottom but above search results
|
||||||
if (!parent() && text(0).compare("Backup", Qt::CaseInsensitive) == 0)
|
if (!parent() && text(0).compare("Backup", Qt::CaseInsensitive) == 0)
|
||||||
return false;
|
return false;
|
||||||
if (!otherItem->parent() && otherItem->text(0).compare("Backup", Qt::CaseInsensitive) == 0)
|
if (!other.parent() && other.text(0).compare("Backup", Qt::CaseInsensitive) == 0)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
return QTreeWidgetItem::operator<(other);
|
return QString::localeAwareCompare(text(0), other.text(0)) < 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -155,7 +155,8 @@ void KeepassMainWindow::setupConnections(){
|
||||||
connect(EditGroupSortAction, SIGNAL(triggered()), GroupView, SLOT(OnSort()));
|
connect(EditGroupSortAction, SIGNAL(triggered()), GroupView, SLOT(OnSort()));
|
||||||
connect(EditNewEntryAction, SIGNAL(triggered()), EntryView, SLOT(OnNewEntry()));
|
connect(EditNewEntryAction, SIGNAL(triggered()), EntryView, SLOT(OnNewEntry()));
|
||||||
connect(EditEditEntryAction, SIGNAL(triggered()), EntryView, SLOT(OnEditEntry()));
|
connect(EditEditEntryAction, SIGNAL(triggered()), EntryView, SLOT(OnEditEntry()));
|
||||||
connect(EntryView, SIGNAL(requestCreateGroup(QString,quint32,GroupViewItem*)), GroupView, SLOT(createGroup(QString,quint32,GroupViewItem*)));
|
connect(EntryView, SIGNAL(requestCreateGroup(QString,quint32,GroupViewItem*)),
|
||||||
|
GroupView, SLOT(createGroup(QString,quint32,GroupViewItem*)));
|
||||||
connect(EditCloneEntryAction, SIGNAL(triggered()), EntryView, SLOT(OnCloneEntry()));
|
connect(EditCloneEntryAction, SIGNAL(triggered()), EntryView, SLOT(OnCloneEntry()));
|
||||||
connect(EditDeleteEntryAction, SIGNAL(triggered()), EntryView, SLOT(OnDeleteEntry()));
|
connect(EditDeleteEntryAction, SIGNAL(triggered()), EntryView, SLOT(OnDeleteEntry()));
|
||||||
connect(EditUsernameToClipboardAction, SIGNAL(triggered()), EntryView, SLOT(OnUsernameToClipboard()));
|
connect(EditUsernameToClipboardAction, SIGNAL(triggered()), EntryView, SLOT(OnUsernameToClipboard()));
|
||||||
|
|
|
@ -146,6 +146,7 @@ FORMS += forms/AboutDlg.ui \
|
||||||
TRANSLATIONS += translations/keepassx-cs_CZ.ts \
|
TRANSLATIONS += translations/keepassx-cs_CZ.ts \
|
||||||
translations/keepassx-de_DE.ts \
|
translations/keepassx-de_DE.ts \
|
||||||
translations/keepassx-es_ES.ts \
|
translations/keepassx-es_ES.ts \
|
||||||
|
translations/keepassx-fi_FI.ts \
|
||||||
translations/keepassx-fr_FR.ts \
|
translations/keepassx-fr_FR.ts \
|
||||||
translations/keepassx-gl_ES.ts \
|
translations/keepassx-gl_ES.ts \
|
||||||
translations/keepassx-it_IT.ts \
|
translations/keepassx-it_IT.ts \
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue