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
master
sniperbeamer 15 years ago
parent 456bb2dc33
commit d569b51e6c
  1. BIN
      share/keepassx/i18n/keepassx-fi_FI.qm
  2. 1
      src/CMakeLists.txt
  3. 4
      src/lib/GroupView.cpp
  4. 3
      src/mainwindow.cpp
  5. 1
      src/src.pro
  6. 3032
      src/translations/keepassx-fi_FI.ts

@ -122,6 +122,7 @@ set(keepassx_TRANSLATIONS
translations/keepassx-cs_CZ.ts
translations/keepassx-de_DE.ts
translations/keepassx-es_ES.ts
translations/keepassx-fi_FI.ts
translations/keepassx-fr_FR.ts
translations/keepassx-gl_ES.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
if (!parent() && text(0).compare("Backup", Qt::CaseInsensitive) == 0)
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 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(EditNewEntryAction, SIGNAL(triggered()), EntryView, SLOT(OnNewEntry()));
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(EditDeleteEntryAction, SIGNAL(triggered()), EntryView, SLOT(OnDeleteEntry()));
connect(EditUsernameToClipboardAction, SIGNAL(triggered()), EntryView, SLOT(OnUsernameToClipboard()));

@ -146,6 +146,7 @@ FORMS += forms/AboutDlg.ui \
TRANSLATIONS += translations/keepassx-cs_CZ.ts \
translations/keepassx-de_DE.ts \
translations/keepassx-es_ES.ts \
translations/keepassx-fi_FI.ts \
translations/keepassx-fr_FR.ts \
translations/keepassx-gl_ES.ts \
translations/keepassx-it_IT.ts \

File diff suppressed because it is too large Load Diff