mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 15:29:55 +00:00
I do not know how this escaped formatting locally.
This commit is contained in:
parent
a130ca57a4
commit
1ae2cc82a1
1 changed files with 8 additions and 6 deletions
|
@ -62,16 +62,18 @@ namespace ContentSelectorModel
|
||||||
QString toolTip() const
|
QString toolTip() const
|
||||||
{
|
{
|
||||||
QString tooltip = mTooltipTemlate.arg(mAuthor)
|
QString tooltip = mTooltipTemlate.arg(mAuthor)
|
||||||
.arg(mVersion)
|
.arg(mVersion)
|
||||||
.arg(mModified.toString(Qt::ISODate))
|
.arg(mModified.toString(Qt::ISODate))
|
||||||
.arg(mPath)
|
.arg(mPath)
|
||||||
.arg(mDescription)
|
.arg(mDescription)
|
||||||
.arg(mGameFiles.join(", "));
|
.arg(mGameFiles.join(", "));
|
||||||
|
|
||||||
if (mBuiltIn)
|
if (mBuiltIn)
|
||||||
tooltip += tr("<br/><b>This content file cannot be disabled because it is part of OpenMW.</b><br/>");
|
tooltip += tr("<br/><b>This content file cannot be disabled because it is part of OpenMW.</b><br/>");
|
||||||
else if (mFromAnotherConfigFile)
|
else if (mFromAnotherConfigFile)
|
||||||
tooltip += tr("<br/><b>This content file cannot be disabled because it is enabled in a config file other than the user one.</b><br/>");
|
tooltip += tr(
|
||||||
|
"<br/><b>This content file cannot be disabled because it is enabled in a config file other than "
|
||||||
|
"the user one.</b><br/>");
|
||||||
|
|
||||||
return tooltip;
|
return tooltip;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue