Make a string translatable

This commit is contained in:
Guillaume MM 2017-06-11 06:01:04 +02:00
parent 40cfede2bf
commit 48a73a9e05

View File

@ -2229,7 +2229,7 @@ void GuiWorkAreaContainer::updateDisplay()
{ {
Buffer const & buf = wa_->bufferView().buffer(); Buffer const & buf = wa_->bufferView().buffer();
notificationFrame->setHidden(!buf.notifiesExternalModification()); notificationFrame->setHidden(!buf.notifiesExternalModification());
QString const label = QString("<b>The file \"%1\" changed on disk.</b>") QString const label = qt_("<b>The file %1 changed on disk.</b>")
.arg(toqstr(buf.fileName().displayName())); .arg(toqstr(buf.fileName().displayName()));
externalModificationLabel->setText(label); externalModificationLabel->setText(label);
} }