1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-24 03:47:18 +02:00

Clarified some strings

This commit is contained in:
Ivan Savenko 2024-05-01 13:46:39 +03:00
parent 17ec02af01
commit 412a456ed0

View File

@ -179,7 +179,7 @@ void CModListView::loadRepositories()
auto hashed = QCryptographicHash::hash(entry.toUtf8(), QCryptographicHash::Md5);
auto hashedStr = QString::fromUtf8(hashed.toHex());
downloadFile(hashedStr + ".json", entry, "repository index");
downloadFile(hashedStr + ".json", entry, tr("mods repository index"));
}
}
@ -309,7 +309,7 @@ QString CModListView::genModInfoText(CModEntry & mod)
if(minStr.isEmpty())
result += supportedVersions.arg(tr("Supported VCMI version"), maxStr, ", ", tr("please upgrade mod"));
else
result += supportedVersions.arg(tr("Required VCMI version"), minStr, " ", tr("or above"));
result += supportedVersions.arg(tr("Required VCMI version"), minStr, " ", tr("or newer"));
}
else
result += supportedVersions.arg(tr("Supported VCMI versions"), minStr, " - ", maxStr);
@ -793,7 +793,7 @@ void CModListView::installFiles(QStringList files)
auto modjson = repoData[key].toMap().value("mod");
if(!modjson.isNull())
{
downloadFile(key + ".json", modjson.toString(), tr("repository index"));
downloadFile(key + ".json", modjson.toString(), tr("mods repository index"));
}
}
}