forked from qt-creator/qt-creator
Tr/VCS: Fix various issues with translations
Inserting the name for the "commit" operation into messages relies on a certain sentence structure and doesn't work with translations. Same for "optional" error messages. Use different complete messages for the different cases instead. Avoid explicit line endings, use automatic word wrap instead. Add some quotes and full stops. Fix message with plural. Don't use %n for constant number (inline in message with assert). Improve confusing tool tip for instant blame. Change-Id: Ic8453763279753ebd5898858951acddcf311e6e4 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: André Hartmann <aha_1980@gmx.de>
This commit is contained in:
@@ -93,8 +93,8 @@ FossilCommitWidget::FossilCommitWidget() : m_commitPanel(new QWidget)
|
||||
m_invalidBranchLabel->setType(InfoLabel::Error);
|
||||
|
||||
m_isPrivateCheckBox = new QCheckBox(Tr::tr("Private"));
|
||||
m_isPrivateCheckBox->setToolTip(Tr::tr("Create a private check-in that is never synced.\n"
|
||||
"Children of private check-ins are automatically private.\n"
|
||||
m_isPrivateCheckBox->setToolTip("<html>" + Tr::tr("Create a private check-in that is never synced. "
|
||||
"Children of private check-ins are automatically private. "
|
||||
"Private check-ins are not pushed to the remote repository by default."));
|
||||
|
||||
m_tagsLineEdit = new QLineEdit;
|
||||
|
||||
Reference in New Issue
Block a user