chore: minor fixes (#2459)

* fix: fixed links on page with service description

* fix: fixed subscription text color

* chore: update ru translations

* chore: add save button

* fix: ru translation fixes
This commit is contained in:
vkamn
2026-04-10 21:24:00 +07:00
committed by GitHub
parent 493ee22883
commit 46f5b3894b
17 changed files with 389 additions and 203 deletions
+3 -2
View File
@@ -32,8 +32,9 @@ QVariant ApiAccountInfoModel::data(const QModelIndex &index, int role) const
return tr("Active");
}
return apiUtils::isSubscriptionExpired(m_accountInfoData.subscriptionEndDate) ? tr("<p><a style=\"color: #EB5757;\">Inactive</a>")
: tr("<p><a style=\"color: #28c840;\">Active</a>");
return apiUtils::isSubscriptionExpired(m_accountInfoData.subscriptionEndDate)
? QStringLiteral("<p><a style=\"color: #EB5757;\">%1</a>").arg(tr("Inactive"))
: QStringLiteral("<p><a style=\"color: #28c840;\">%1</a>").arg(tr("Active"));
}
case EndDateRole: {
if (m_accountInfoData.configType == apiDefs::ConfigType::AmneziaFreeV3) {