From efc0b32b6ca19364c6e752c76529c5a0241b7b98 Mon Sep 17 00:00:00 2001 From: lissavxo Date: Wed, 29 Jan 2025 22:25:50 -0300 Subject: [PATCH 1/2] fix: disable>enable altpayment --- paybutton/dev/demo/paybutton-generator.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paybutton/dev/demo/paybutton-generator.html b/paybutton/dev/demo/paybutton-generator.html index 907ddfd5..a24987dd 100644 --- a/paybutton/dev/demo/paybutton-generator.html +++ b/paybutton/dev/demo/paybutton-generator.html @@ -156,7 +156,7 @@
- +
From 152d50b4bc3334d02b268edc7a38222a59a68e09 Mon Sep 17 00:00:00 2001 From: lissavxo Date: Wed, 29 Jan 2025 22:26:59 -0300 Subject: [PATCH 2/2] docs: contribution-offsetaccepts negatives --- docs/README.md | 5 ++--- docs/zh-cn/README.md | 4 ++-- docs/zh-tw/README.md | 4 ++-- 3 files changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/README.md b/docs/README.md index c14921a3..d54c44a2 100644 --- a/docs/README.md +++ b/docs/README.md @@ -920,10 +920,9 @@ disableAltpayment = "true" ## contribution-offset -> **The ‘contributionOffset’ parameter sets an initial amount to add to the total contributions displayed, simulating prior contributions.** - -?> This parameter is optional. Default value is 0. Possible values are positive integers between 0 and the goal-amount. +> **The ‘contributionOffset’ parameter adjusts the total contributions displayed, simulating prior contributions or subtracting from the total.** +?> This parameter is optional. Default value is 0. It accepts positive or negative integers, with the total contribution capped at goalAmount. **Example:** diff --git a/docs/zh-cn/README.md b/docs/zh-cn/README.md index 8407acb1..6d0c24fe 100644 --- a/docs/zh-cn/README.md +++ b/docs/zh-cn/README.md @@ -918,9 +918,9 @@ disableAltpayment = "true" ## contribution-offset -> **"contributionOffset" 参数用于设置一个初始金额,将其加到显示的总贡献额中,以模拟先前的贡献。** +> **"contributionOffset" 参数用于调整显示的总贡献额,可用于模拟先前的贡献或减少总额。** -?> 此参数是可选的,默认值为 0。可能的值是介于 0 和目标金额之间的正整数。 +?> 此参数为可选(默认值:0)。接受正数或负数整数,且总贡献额上限为 goalAmount **Example:** diff --git a/docs/zh-tw/README.md b/docs/zh-tw/README.md index 84b6a266..1c08188a 100644 --- a/docs/zh-tw/README.md +++ b/docs/zh-tw/README.md @@ -917,9 +917,9 @@ disableAltpayment = "true" ## contribution-offset -> **"contributionOffset" 參數用於設定一個初始數額,將其加至顯示的總貢獻額,以模擬先前的貢獻。** +> **"contributionOffset" 參數用於調整顯示的總貢獻額,可用於模擬先前的貢獻或減少總額。** -?> 此參數是可選的,預設值為 0。可能的值是介於 0 和目標金額之間的正整數。 +?> 此參數為可選(預設值:0)。接受正數或負數整數,且總貢獻額上限為 goalAmount。 **Example:**