diff options
| author | Orgad Shaneh <orgad.shaneh@audiocodes.com> | 2016-11-08 08:57:16 +0200 |
|---|---|---|
| committer | Orgad Shaneh <orgads@gmail.com> | 2016-11-09 08:53:47 +0000 |
| commit | b98f2a3059293e67108ebf21d599d3ffde7fa83c (patch) | |
| tree | 47a8255b4184c6b3ca9b787cefa0337d7d483a01 /src/plugins/git/commitdata.cpp | |
| parent | 0bcfc977e9531abb2fba48a05eaa0669c654ab11 (diff) | |
Git: Simplify translations
Change-Id: I6b1af54d6cb5bc5569f5fffdec29f00b37a34436
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Diffstat (limited to 'src/plugins/git/commitdata.cpp')
| -rw-r--r-- | src/plugins/git/commitdata.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/plugins/git/commitdata.cpp b/src/plugins/git/commitdata.cpp index 3ba792ae501..18adb570b37 100644 --- a/src/plugins/git/commitdata.cpp +++ b/src/plugins/git/commitdata.cpp @@ -195,27 +195,27 @@ QString CommitData::stateDisplayName(const FileStates &state) { QString resultState; if (state == UntrackedFile) - return QCoreApplication::translate("Git::Internal::CommitData", "untracked"); + return tr("untracked"); if (state & StagedFile) - resultState = QCoreApplication::translate("Git::Internal::CommitData", "staged + "); + resultState = tr("staged + "); if (state & ModifiedFile) - resultState.append(QCoreApplication::translate("Git::Internal::CommitData", "modified")); + resultState.append(tr("modified")); else if (state & AddedFile) - resultState.append(QCoreApplication::translate("Git::Internal::CommitData", "added")); + resultState.append(tr("added")); else if (state & DeletedFile) - resultState.append(QCoreApplication::translate("Git::Internal::CommitData", "deleted")); + resultState.append(tr("deleted")); else if (state & RenamedFile) - resultState.append(QCoreApplication::translate("Git::Internal::CommitData", "renamed")); + resultState.append(tr("renamed")); else if (state & CopiedFile) - resultState.append(QCoreApplication::translate("Git::Internal::CommitData", "copied")); + resultState.append(tr("copied")); if (state & UnmergedUs) { if (state & UnmergedThem) - resultState.append(QCoreApplication::translate("Git::Internal::CommitData", " by both")); + resultState.append(tr(" by both")); else - resultState.append(QCoreApplication::translate("Git::Internal::CommitData", " by us")); + resultState.append(tr(" by us")); } else if (state & UnmergedThem) { - resultState.append(QCoreApplication::translate("Git::Internal::CommitData", " by them")); + resultState.append(tr(" by them")); } return resultState; } |
