From b6b267c81f49725e75c7adc8606a69a32a806cac Mon Sep 17 00:00:00 2001 From: Ajit Kumar Date: Wed, 20 May 2026 23:59:44 +0530 Subject: [PATCH 1/3] fix: plugin price display --- src/pages/plugin/plugin.js | 2 +- src/pages/plugins/item.js | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/pages/plugin/plugin.js b/src/pages/plugin/plugin.js index d1e4554e5..9ae3703b4 100644 --- a/src/pages/plugin/plugin.js +++ b/src/pages/plugin/plugin.js @@ -171,7 +171,7 @@ export default async function PluginInclude( isPaid = remotePlugin.price > 0; purchased = remotePlugin.owned; - price = `₹ ${remotePlugin.price}`; + price = `${remotePlugin.currencySymbol}${remotePlugin.price}`; isSupported = ["all", config.SUPPORTED_EDITOR].includes( remotePlugin.supported_editor, ); diff --git a/src/pages/plugins/item.js b/src/pages/plugins/item.js index c5c2e5c50..71d3e1e73 100644 --- a/src/pages/plugins/item.js +++ b/src/pages/plugins/item.js @@ -22,6 +22,7 @@ export default function Item({ license, author, price, + currencySymbol, author_verified, downloads, installed, @@ -95,7 +96,10 @@ export default function Item({ {price !== null && price !== undefined && price !== 0 ? ( - ₹{price} + + {currencySymbol} + {price} + ) : null} {installed && !updates ? ( Date: Thu, 21 May 2026 02:38:46 +0530 Subject: [PATCH 2/3] fix: currency rendering --- src/pages/plugin/plugin.js | 2 +- src/pages/plugins/item.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/plugin/plugin.js b/src/pages/plugin/plugin.js index 9ae3703b4..be22b9138 100644 --- a/src/pages/plugin/plugin.js +++ b/src/pages/plugin/plugin.js @@ -171,7 +171,7 @@ export default async function PluginInclude( isPaid = remotePlugin.price > 0; purchased = remotePlugin.owned; - price = `${remotePlugin.currencySymbol}${remotePlugin.price}`; + price = `${remotePlugin.currencySymbol ?? ""}${remotePlugin.price}`; isSupported = ["all", config.SUPPORTED_EDITOR].includes( remotePlugin.supported_editor, ); diff --git a/src/pages/plugins/item.js b/src/pages/plugins/item.js index 71d3e1e73..0981e8ed5 100644 --- a/src/pages/plugins/item.js +++ b/src/pages/plugins/item.js @@ -12,6 +12,7 @@ import pluginIcon from "./plugin-icon.png"; * @param {boolean} [param0.installed] * @param {boolean} [param0.enabled] * @param {function} [param0.onToggleEnabled] + * @param {string} [param0.currencySymbol] * @returns */ export default function Item({ From aa5f11c2cd53f5f72aad936e8486f22d56dbe27d Mon Sep 17 00:00:00 2001 From: Ajit Kumar Date: Thu, 21 May 2026 02:46:35 +0530 Subject: [PATCH 3/3] bump version to 1.12.2 (972) --- config.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.xml b/config.xml index 08a5eb4d6..2d18a92d0 100644 --- a/config.xml +++ b/config.xml @@ -1,5 +1,5 @@ -