Commit c5f3cb06 authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

fix i18n calls

parent d51fd822
......@@ -78,13 +78,13 @@ QVariant GitStatusModel::data(const QModelIndex &index, int role) const
if (index.internalId() == Root) {
if (role == Qt::DisplayRole) {
if (row == Staged) {
return i18n("Staged (%1)").arg(m_nodes[Staged].count());
return i18n("Staged (%1)", m_nodes[Staged].count());
} else if (row == Untrack) {
return i18n("Untracked (%1)").arg(m_nodes[Untrack].count());
return i18n("Untracked (%1)", m_nodes[Untrack].count());
} else if (row == Conflict) {
return i18n("Conflict (%1)").arg(m_nodes[Conflict].count());
return i18n("Conflict (%1)", m_nodes[Conflict].count());
} else if (row == Changed) {
return i18n("Modified (%1)").arg(m_nodes[Changed].count());
return i18n("Modified (%1)", m_nodes[Changed].count());
} else {
Q_UNREACHABLE();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment