feat: add Boosty donation link to README and LuCI support modal

- Add Boosty badge to README.md and README.en.md headers
- Add Boosty as first donation option in support sections of both READMEs
- Add Boosty card (with orange border accent) to LuCI diagnostic support modal
- Add Russian translations for Boosty strings in po/ru/tachyon.po
This commit is contained in:
Dushnilin
2026-09-16 06:42:09 +03:00
parent 971d958331
commit affd8f7ca4
5 changed files with 103 additions and 2 deletions
@@ -15573,6 +15573,7 @@ var CRYPTO_LIST = [
}
];
var CLOUDTIPS_URL = "https://pay.cloudtips.ru/p/48c57581";
var BOOSTY_URL = "https://boosty.to/tachyon";
async function copyTextToClipboard(text) {
try {
if (navigator.clipboard && window.isSecureContext) {
@@ -15613,6 +15614,46 @@ function renderSupportModal() {
)
]
);
const boostyCard = E(
"div",
{
style: "margin-bottom: 16px; padding: 14px; background: var(--background-color-secondary, rgba(0, 0, 0, 0.05)); border: 1px solid rgba(255, 106, 0, 0.35); border-radius: 6px;"
},
[
E(
"div",
{
style: "display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px;"
},
[
E(
"div",
{ style: "display: flex; flex-direction: column; gap: 2px;" },
[
E("div", { style: "font-weight: bold; font-size: 14px;" }, [
"⭐ Boosty"
]),
E(
"div",
{
style: "font-size: 12px; color: var(--text-color-medium, #888);"
},
_("Subscriptions, one-time donations and exclusives")
)
]
),
renderButton({
classNames: ["cbi-button-action"],
icon: renderLinkIcon24,
text: _("Support on Boosty"),
onClick: () => {
window.open(BOOSTY_URL, "_blank", "noopener,noreferrer");
}
})
]
)
]
);
const cloudTipsCard = E(
"div",
{
@@ -15760,7 +15801,7 @@ function renderSupportModal() {
{
style: "max-width: 640px; width: 100%; box-sizing: border-box; padding: 4px;"
},
[introBlock, cloudTipsCard, cryptoSection, footer]
[introBlock, boostyCard, cloudTipsCard, cryptoSection, footer]
);
ui.showModal(`💖 ${_("Support Development")}`, modalContent);
}