summaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/components/DebugCheckbox.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-02-23 15:44:14 -0300
committerSebastian <sebasjm@gmail.com>2022-02-24 12:50:52 -0300
commit8c3e57293422d670b93c2f2a19cfc47f3aecc7b1 (patch)
tree3a44e6284d088632523567ce9f7a9c033d775a7e /packages/taler-wallet-webextension/src/components/DebugCheckbox.tsx
parent8e01ea5433f67679178f5f5ddebbee897878e198 (diff)
downloadwallet-core-8c3e57293422d670b93c2f2a19cfc47f3aecc7b1.tar.gz
wallet-core-8c3e57293422d670b93c2f2a19cfc47f3aecc7b1.tar.bz2
wallet-core-8c3e57293422d670b93c2f2a19cfc47f3aecc7b1.zip
we are force to use i18n.Translate, otherwise pogen won't find the tag
Diffstat (limited to 'packages/taler-wallet-webextension/src/components/DebugCheckbox.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/components/DebugCheckbox.tsx10
1 files changed, 6 insertions, 4 deletions
diff --git a/packages/taler-wallet-webextension/src/components/DebugCheckbox.tsx b/packages/taler-wallet-webextension/src/components/DebugCheckbox.tsx
index 522fbce98..b5ad7cda7 100644
--- a/packages/taler-wallet-webextension/src/components/DebugCheckbox.tsx
+++ b/packages/taler-wallet-webextension/src/components/DebugCheckbox.tsx
@@ -14,7 +14,7 @@
TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
*/
-import { Translate } from "@gnu-taler/taler-util";
+import { i18n } from "@gnu-taler/taler-util";
import { h, VNode } from "preact";
export function DebugCheckbox({
@@ -37,7 +37,9 @@ export function DebugCheckbox({
htmlFor="checkbox-perm"
style={{ marginLeft: "0.5em", fontWeight: "bold" }}
>
- <Translate>Automatically open wallet based on page content</Translate>
+ <i18n.Translate>
+ Automatically open wallet based on page content
+ </i18n.Translate>
</label>
<span
style={{
@@ -48,10 +50,10 @@ export function DebugCheckbox({
}}
>
(
- <Translate>
+ <i18n.Translate>
Enabling this option below will make using the wallet faster, but
requires more permissions from your browser.
- </Translate>
+ </i18n.Translate>
)
</span>
</div>