commit b7bcb35d7036ff68b710bec7bae923435c398af6
parent 41edc12a226cfcb6373f2b8eac9dc6c36068c976
Author: Sebastian <sebasjm@gmail.com>
Date: Thu, 20 Feb 2025 20:18:49 -0300
remove wrong pot
Diffstat:
2 files changed, 16 insertions(+), 217 deletions(-)
diff --git a/packages/kyc-ui/src/i18n/challenger-ui.pot b/packages/kyc-ui/src/i18n/challenger-ui.pot
@@ -1,199 +0,0 @@
-# This file is part of GNU Taler
-# (C) 2022-2024 Taler Systems S.A.
-#
-# GNU Taler is free software; you can redistribute it and/or modify it under the
-# terms of the GNU General Public License as published by the Free Software
-# Foundation; either version 3, or (at your option) any later version.
-#
-# GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY
-# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
-# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
-#
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: Kyc UI\n"
-"Report-Msgid-Bugs-To: taler@gnu.org\n"
-"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
-"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
-"Language-Team: LANGUAGE <LL@li.org>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: 8bit\n"
-"Plural-Forms: nplurals=2; plural=(n != 1);\n"
-#: src/pages/AnswerChallenge.tsx:55
-#, c-format
-msgid "Can't be empty"
-msgstr ""
-
-#: src/pages/AnswerChallenge.tsx:81
-#, c-format
-msgstr ""
-
-#: src/pages/AnswerChallenge.tsx:108
-#, c-format
-msgid "Invalid request"
-msgstr ""
-
-#: src/pages/AnswerChallenge.tsx:111
-#, c-format
-msgid "Invalid pin"
-msgstr ""
-
-#: src/pages/AnswerChallenge.tsx:142
-#, c-format
-msgid "Please enter the TAN you received to authenticate."
-msgstr ""
-
-#: src/pages/AnswerChallenge.tsx:147
-#, c-format
-msgid "A TAN was sent to your address "%1$s"."
-msgstr ""
-
-#: src/pages/AnswerChallenge.tsx:151
-#, c-format
-msgid ""
-"We recently already sent a TAN to your address " %1$s". A new TAN will "
-"not be transmitted again before %2$s."
-msgstr ""
-
-#: src/pages/AnswerChallenge.tsx:161
-#, c-format
-msgid "You can try another PIN but just %1$s times more."
-msgstr ""
-
-#: src/pages/AnswerChallenge.tsx:181
-#, c-format
-msgid "TAN code"
-msgstr ""
-
-#: src/pages/AnswerChallenge.tsx:204
-#, c-format
-msgid "You have %1$s attempts left."
-msgstr ""
-
-#: src/pages/AnswerChallenge.tsx:217
-#, c-format
-msgid "Check"
-msgstr ""
-
-#: src/pages/AnswerChallenge.tsx:227
-#, c-format
-msgid "Send again"
-msgstr ""
-
-#: src/pages/AskChallenge.tsx:76
-#, c-format
-msgid "required"
-msgstr ""
-
-#: src/pages/AskChallenge.tsx:84
-#, c-format
-msgid "invalid email"
-msgstr ""
-
-#: src/pages/AskChallenge.tsx:86
-#, c-format
-msgid "emails don't match"
-msgstr ""
-
-#: src/pages/AskChallenge.tsx:130
-#, c-format
-msgid "Enter contact details"
-msgstr ""
-
-#: src/pages/AskChallenge.tsx:133
-#, c-format
-msgid ""
-"You will receive an email with a TAN code that must be provided on the next "
-"page."
-msgstr ""
-
-#: src/pages/AskChallenge.tsx:152
-#, c-format
-msgid "Email"
-msgstr ""
-
-#: src/pages/AskChallenge.tsx:180
-#, c-format
-msgid "Repeat email"
-msgstr ""
-
-#: src/pages/AskChallenge.tsx:198
-#, c-format
-msgid "You can change your email address another %1$s times."
-msgstr ""
-
-#: src/pages/AskChallenge.tsx:211
-#, c-format
-msgid "Send email"
-msgstr ""
-
-#: src/pages/AskChallenge.tsx:237
-#, c-format
-msgid "Bad request"
-msgstr ""
-
-#: src/pages/AskChallenge.tsx:238
-#, c-format
-msgid "Could not start the challenge, check configuration."
-msgstr ""
-
-#: src/pages/AskChallenge.tsx:246
-#, c-format
-msgid "Not found"
-msgstr ""
-
-#: src/pages/AskChallenge.tsx:247
-#, c-format
-msgid "Nonce not found"
-msgstr ""
-
-#: src/pages/AskChallenge.tsx:253
-#, c-format
-msgid "Not acceptable"
-msgstr ""
-
-#: src/pages/AskChallenge.tsx:254
-#, c-format
-msgid "Server has wrong template configuration"
-msgstr ""
-
-#: src/pages/AskChallenge.tsx:262
-#, c-format
-msgid "Internal error"
-msgstr ""
-
-#: src/pages/AskChallenge.tsx:263
-#, c-format
-msgid "Check logs"
-msgstr ""
-
-#: src/pages/NonceNotFound.tsx:33
-#, c-format
-msgid "The URL is wrong"
-msgstr ""
-
-#: src/pages/NonceNotFound.tsx:36
-#, c-format
-msgid "Maybe the validation check expired."
-msgstr ""
-
-#: src/pages/Setup.tsx:53
-#, c-format
-msgid "Client doesn't exist."
-msgstr ""
-
-#: src/pages/Setup.tsx:65
-#, c-format
-msgid "Setup new challenge with client ID: "%1$s""
-msgstr ""
-
-#: src/pages/Setup.tsx:76
-#, c-format
-msgid "Start"
-msgstr ""
-
diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.tsx
@@ -262,24 +262,22 @@ function TransactionTemplate({
alert={{
type: "warning",
message: i18n.str`KYC check required for the transaction to complete.`,
- description:
- transaction.kycUrl &&
- typeof transaction.kycUrl === "string" ? (
- <div>
- <i18n.Translate>
- Follow this link to the{` `}
- <a
- rel="noreferrer"
- target="_bank"
- href={transaction.kycUrl}
- >
- KYC verifier.
- </a>
- </i18n.Translate>
- </div>
- ) : (
- i18n.str`No additional information has been provided.`
- ),
+ description: !transaction.kycUrl ? (
+ i18n.str`No additional information has been provided.`
+ ) : (
+ <div>
+ <i18n.Translate>
+ Follow this link to the{` `}
+ <a
+ rel="noreferrer"
+ target="_bank"
+ href={transaction.kycUrl}
+ >
+ KYC verifier.
+ </a>
+ </i18n.Translate>
+ </div>
+ ),
}}
/>
) : (