diff options
Diffstat (limited to 'packages')
27 files changed, 4505 insertions, 0 deletions
diff --git a/packages/exchange-backoffice-ui/.gitignore b/packages/exchange-backoffice-ui/.gitignore new file mode 100644 index 000000000..30cb2774c --- /dev/null +++ b/packages/exchange-backoffice-ui/.gitignore @@ -0,0 +1,4 @@ +node_modules +/build +/*.log +/demobank-ui-settings.js diff --git a/packages/exchange-backoffice-ui/Makefile b/packages/exchange-backoffice-ui/Makefile new file mode 100644 index 000000000..34eb822a2 --- /dev/null +++ b/packages/exchange-backoffice-ui/Makefile @@ -0,0 +1,18 @@ +# This Makefile has been placed in the public domain + +# Settings from "./configure" +include .config.mk + +all: + @echo run \'make install\' to install + +spa_dir=$(prefix)/share/taler/exchange-backoffice-ui + +install: + pnpm install --frozen-lockfile --filter @gnu-taler/exchange-backoffice-ui... + pnpm run check + pnpm run build + install -d $(spa_dir) + rm -rf ./dist/components + install ./dist/* $(spa_dir) + diff --git a/packages/exchange-backoffice-ui/README.md b/packages/exchange-backoffice-ui/README.md new file mode 100644 index 000000000..855addd74 --- /dev/null +++ b/packages/exchange-backoffice-ui/README.md @@ -0,0 +1,4 @@ +# Taler Exchange Backoffice UI + +Web-based user interface for the GNU Taler exchange. + diff --git a/packages/exchange-backoffice-ui/build.mjs b/packages/exchange-backoffice-ui/build.mjs new file mode 100755 index 000000000..cac751620 --- /dev/null +++ b/packages/exchange-backoffice-ui/build.mjs @@ -0,0 +1,27 @@ +#!/usr/bin/env node +/* + This file is part of GNU Taler + (C) 2022 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/> + */ + +import { build } from "@gnu-taler/web-util/build"; + +await build({ + source: { + js: ["src/index.tsx"], + assets: ["src/index.html"], + }, + destination: "./dist/prod", + css: "postcss", +}); diff --git a/packages/exchange-backoffice-ui/copyleft-header.js b/packages/exchange-backoffice-ui/copyleft-header.js new file mode 100644 index 000000000..2635717c5 --- /dev/null +++ b/packages/exchange-backoffice-ui/copyleft-header.js @@ -0,0 +1,15 @@ +/* + This file is part of GNU Taler + (C) 2022 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/> + */ diff --git a/packages/exchange-backoffice-ui/dev.mjs b/packages/exchange-backoffice-ui/dev.mjs new file mode 100755 index 000000000..ced8ee70b --- /dev/null +++ b/packages/exchange-backoffice-ui/dev.mjs @@ -0,0 +1,40 @@ +#!/usr/bin/env node +/* + This file is part of GNU Taler + (C) 2022 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/> + */ + +import { serve } from "@gnu-taler/web-util/node"; +import { initializeDev, getFilesInDirectory } from "@gnu-taler/web-util/build"; + +const allTestFiles = getFilesInDirectory("./src", /.test.tsx?$/); +const devEntryPoints = ["src/stories.tsx", "src/index.tsx", ...allTestFiles]; + +const build = initializeDev({ + source: { + js: devEntryPoints, + assets: ["src/index.html"], + }, + destination: "./dist/dev", + css: "postcss", +}); + +await build(); + +serve({ + folder: "./dist/dev", + port: 8080, + source: "./src", + onSourceUpdate: build, +}); diff --git a/packages/exchange-backoffice-ui/package.json b/packages/exchange-backoffice-ui/package.json new file mode 100644 index 000000000..2298ebaa2 --- /dev/null +++ b/packages/exchange-backoffice-ui/package.json @@ -0,0 +1,69 @@ +{ + "private": true, + "name": "@gnu-taler/exchange-backoffice-ui", + "version": "0.1.0", + "author": "sebasjm", + "license": "AGPL-3.0-OR-LATER", + "description": "Back-office SPA for GNU Taler Exchange.", + "type": "module", + "scripts": { + "build": "./build.mjs", + "check": "tsc", + "compile": "tsc && ./build.mjs", + "test": "mocha --require source-map-support/register 'dist/**/*.test.js' 'dist/**/test.js'", + "lint": "eslint 'src/**/*.{js,jsx,ts,tsx}'", + "i18n:extract": "pogen extract", + "i18n:merge": "pogen merge", + "i18n:emit": "pogen emit", + "i18n": "pnpm i18n:extract && pnpm i18n:merge && pnpm i18n:emit", + "pretty": "prettier --write src" + }, + "dependencies": { + "@gnu-taler/taler-util": "workspace:*", + "@gnu-taler/web-util": "workspace:*", + "@headlessui/react": "^1.7.14", + "@heroicons/react": "^2.0.17", + "date-fns": "2.29.3", + "history": "4.10.1", + "jed": "1.1.1", + "preact": "10.11.3", + "preact-router": "3.2.1", + "qrcode-generator": "^1.4.4", + "swr": "2.0.3" + }, + "eslintConfig": { + "plugins": [ + "header" + ], + "rules": { + "header/header": [ + 2, + "copyleft-header.js" + ] + }, + "extends": [ + "prettier" + ] + }, + "devDependencies": { + "@gnu-taler/pogen": "^0.0.5", + "@tailwindcss/forms": "^0.5.3", + "@tailwindcss/typography": "^0.5.9", + "@types/chai": "^4.3.0", + "@types/history": "^4.7.8", + "@types/mocha": "^10.0.1", + "autoprefixer": "^10.4.14", + "chai": "^4.3.6", + "esbuild": "^0.17.7", + "eslint-config-preact": "^1.2.0", + "mocha": "^9.2.0", + "po2json": "^0.4.5", + "postcss": "^8.4.23", + "postcss-cli": "^10.1.0", + "tailwindcss": "^3.3.2", + "typescript": "4.9.4" + }, + "pogen": { + "domain": "exchange-backoffice" + } +} diff --git a/packages/exchange-backoffice-ui/postcss.config.js b/packages/exchange-backoffice-ui/postcss.config.js new file mode 100644 index 000000000..2e7af2b7f --- /dev/null +++ b/packages/exchange-backoffice-ui/postcss.config.js @@ -0,0 +1,6 @@ +export default { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} diff --git a/packages/exchange-backoffice-ui/src/App.tsx b/packages/exchange-backoffice-ui/src/App.tsx new file mode 100644 index 000000000..04771149f --- /dev/null +++ b/packages/exchange-backoffice-ui/src/App.tsx @@ -0,0 +1,8 @@ +import { h, VNode } from "preact"; +import { HeroSections } from "./HeroSections.js"; +import "./scss/main.css"; +import { Dashboard } from "./Dashborad.js"; + +export function App(): VNode { + return <Dashboard />; +} diff --git a/packages/exchange-backoffice-ui/src/Dashborad.tsx b/packages/exchange-backoffice-ui/src/Dashborad.tsx new file mode 100644 index 000000000..8e137d69d --- /dev/null +++ b/packages/exchange-backoffice-ui/src/Dashborad.tsx @@ -0,0 +1,373 @@ +import { Fragment, h } from "preact"; +import { Dialog, Menu, Transition } from "@headlessui/react"; +import { + Bars3Icon, + BellIcon, + CalendarIcon, + ChartPieIcon, + Cog6ToothIcon, + DocumentDuplicateIcon, + FolderIcon, + HomeIcon, + UsersIcon, + XMarkIcon, +} from "@heroicons/react/24/outline"; +import { + ChevronDownIcon, + MagnifyingGlassIcon, +} from "@heroicons/react/20/solid"; +import { useState } from "preact/hooks"; + +const navigation = [ + { name: "Dashboard", href: "#", icon: HomeIcon, current: true }, + { name: "Team", href: "#", icon: UsersIcon, current: false }, + { name: "Projects", href: "#", icon: FolderIcon, current: false }, + { name: "Calendar", href: "#", icon: CalendarIcon, current: false }, + { name: "Documents", href: "#", icon: DocumentDuplicateIcon, current: false }, + { name: "Reports", href: "#", icon: ChartPieIcon, current: false }, +]; +const teams = [ + { id: 1, name: "Heroicons", href: "#", initial: "H", current: false }, + { id: 2, name: "Tailwind Labs", href: "#", initial: "T", current: false }, + { id: 3, name: "Workcation", href: "#", initial: "W", current: false }, +]; +const userNavigation = [ + { name: "Your profile", href: "#" }, + { name: "Sign out", href: "#" }, +]; + +function classNames(...classes: string[]) { + return classes.filter(Boolean).join(" "); +} + +export function Dashboard() { + const [sidebarOpen, setSidebarOpen] = useState(false); + + return ( + <> + <div> + <Transition.Root show={sidebarOpen} as={Fragment}> + <Dialog + as="div" + class="relative z-50 lg:hidden" + onClose={setSidebarOpen} + > + <Transition.Child + as={Fragment} + enter="transition-opacity ease-linear duration-300" + enterFrom="opacity-0" + enterTo="opacity-100" + leave="transition-opacity ease-linear duration-300" + leaveFrom="opacity-100" + leaveTo="opacity-0" + > + <div class="fixed inset-0 bg-gray-900/80" /> + </Transition.Child> + + <div class="fixed inset-0 flex"> + <Transition.Child + as={Fragment} + enter="transition ease-in-out duration-300 transform" + enterFrom="-translate-x-full" + enterTo="translate-x-0" + leave="transition ease-in-out duration-300 transform" + leaveFrom="translate-x-0" + leaveTo="-translate-x-full" + > + <Dialog.Panel class="relative mr-16 flex w-full max-w-xs flex-1"> + <Transition.Child + as={Fragment} + enter="ease-in-out duration-300" + enterFrom="opacity-0" + enterTo="opacity-100" + leave="ease-in-out duration-300" + leaveFrom="opacity-100" + leaveTo="opacity-0" + > + <div class="absolute left-full top-0 flex w-16 justify-center pt-5"> + <button + type="button" + class="-m-2.5 p-2.5" + onClick={() => setSidebarOpen(false)} + > + <span class="sr-only">Close sidebar</span> + <XMarkIcon + class="h-6 w-6 text-white" + aria-hidden="true" + /> + </button> + </div> + </Transition.Child> + <div class="flex grow flex-col gap-y-5 overflow-y-auto bg-indigo-600 px-6 pb-4"> + <div class="flex h-16 shrink-0 items-center"> + <img + class="h-8 w-auto" + src="https://tailwindui.com/img/logos/mark.svg?color=white" + alt="Your Company" + /> + </div> + <nav class="flex flex-1 flex-col"> + <ul role="list" class="flex flex-1 flex-col gap-y-7"> + <li> + <ul role="list" class="-mx-2 space-y-1"> + {navigation.map((item) => ( + <li key={item.name}> + <a + href={item.href} + class={classNames( + item.current + ? "bg-indigo-700 text-white" + : "text-indigo-200 hover:text-white hover:bg-indigo-700", + "group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold", + )} + > + <item.icon + class={classNames( + item.current + ? "text-white" + : "text-indigo-200 group-hover:text-white", + "h-6 w-6 shrink-0", + )} + aria-hidden="true" + /> + {item.name} + </a> + </li> + ))} + </ul> + </li> + <li> + <div class="text-xs font-semibold leading-6 text-indigo-200"> + Your teams + </div> + <ul role="list" class="-mx-2 mt-2 space-y-1"> + {teams.map((team) => ( + <li key={team.name}> + <a + href={team.href} + class={classNames( + team.current + ? "bg-indigo-700 text-white" + : "text-indigo-200 hover:text-white hover:bg-indigo-700", + "group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold", + )} + > + <span class="flex h-6 w-6 shrink-0 items-center justify-center rounded-lg border border-indigo-400 bg-indigo-500 text-[0.625rem] font-medium text-white"> + {team.initial} + </span> + <span class="truncate">{team.name}</span> + </a> + </li> + ))} + </ul> + </li> + <li class="mt-auto"> + <a + href="#" + class="group -mx-2 flex gap-x-3 rounded-md p-2 text-sm font-semibold leading-6 text-indigo-200 hover:bg-indigo-700 hover:text-white" + > + <Cog6ToothIcon + class="h-6 w-6 shrink-0 text-indigo-200 group-hover:text-white" + aria-hidden="true" + /> + Settings + </a> + </li> + </ul> + </nav> + </div> + </Dialog.Panel> + </Transition.Child> + </div> + </Dialog> + </Transition.Root> + + <div class="hidden lg:fixed lg:inset-y-0 lg:z-50 lg:flex lg:w-72 lg:flex-col"> + <div class="flex grow flex-col gap-y-5 overflow-y-auto bg-indigo-600 px-6 pb-4"> + <div class="flex h-16 shrink-0 items-center"> + <img + class="h-8 w-auto" + src="https://tailwindui.com/img/logos/mark.svg?color=white" + alt="Your Company" + /> + </div> + <nav class="flex flex-1 flex-col"> + <ul role="list" class="flex flex-1 flex-col gap-y-7"> + <li> + <ul role="list" class="-mx-2 space-y-1"> + {navigation.map((item) => ( + <li key={item.name}> + <a + href={item.href} + class={classNames( + item.current + ? "bg-indigo-700 text-white" + : "text-indigo-200 hover:text-white hover:bg-indigo-700", + "group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold", + )} + > + <item.icon + class={classNames( + item.current + ? "text-white" + : "text-indigo-200 group-hover:text-white", + "h-6 w-6 shrink-0", + )} + aria-hidden="true" + /> + {item.name} + </a> + </li> + ))} + </ul> + </li> + <li> + <div class="text-xs font-semibold leading-6 text-indigo-200"> + Your teams + </div> + <ul role="list" class="-mx-2 mt-2 space-y-1"> + {teams.map((team) => ( + <li key={team.name}> + <a + href={team.href} + class={classNames( + team.current + ? "bg-indigo-700 text-white" + : "text-indigo-200 hover:text-white hover:bg-indigo-700", + "group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold", + )} + > + <span class="flex h-6 w-6 shrink-0 items-center justify-center rounded-lg border border-indigo-400 bg-indigo-500 text-[0.625rem] font-medium text-white"> + {team.initial} + </span> + <span class="truncate">{team.name}</span> + </a> + </li> + ))} + </ul> + </li> + <li class="mt-auto"> + <a + href="#" + class="group -mx-2 flex gap-x-3 rounded-md p-2 text-sm font-semibold leading-6 text-indigo-200 hover:bg-indigo-700 hover:text-white" + > + <Cog6ToothIcon + class="h-6 w-6 shrink-0 text-indigo-200 group-hover:text-white" + aria-hidden="true" + /> + Settings + </a> + </li> + </ul> + </nav> + </div> + </div> + + <div class="lg:pl-72"> + <div class="sticky top-0 z-40 flex h-16 shrink-0 items-center gap-x-4 border-b border-gray-200 bg-white px-4 shadow-sm sm:gap-x-6 sm:px-6 lg:px-8"> + <button + type="button" + class="-m-2.5 p-2.5 text-gray-700 lg:hidden" + onClick={() => setSidebarOpen(true)} + > + <span class="sr-only">Open sidebar</span> + <Bars3Icon class="h-6 w-6" aria-hidden="true" /> + </button> + + {/* Separator */} + <div class="h-6 w-px bg-gray-900/10 lg:hidden" aria-hidden="true" /> + + <div class="flex flex-1 gap-x-4 self-stretch lg:gap-x-6"> + <form class="relative flex flex-1" action="#" method="GET"> + <label htmlFor="search-field" class="sr-only"> + Search + </label> + <MagnifyingGlassIcon + class="pointer-events-none absolute inset-y-0 left-0 h-full w-5 text-gray-400" + aria-hidden="true" + /> + <input + id="search-field" + class="block h-full w-full border-0 py-0 pl-8 pr-0 text-gray-900 placeholder:text-gray-400 focus:ring-0 sm:text-sm" + placeholder="Search..." + type="search" + name="search" + /> + </form> + <div class="flex items-center gap-x-4 lg:gap-x-6"> + <button + type="button" + class="-m-2.5 p-2.5 text-gray-400 hover:text-gray-500" + > + <span class="sr-only">View notifications</span> + <BellIcon class="h-6 w-6" aria-hidden="true" /> + </button> + + {/* Separator */} + <div + class="hidden lg:block lg:h-6 lg:w-px lg:bg-gray-900/10" + aria-hidden="true" + /> + + {/* Profile dropdown */} + <Menu as="div" class="relative"> + <Menu.Button class="-m-1.5 flex items-center p-1.5"> + <span class="sr-only">Open user menu</span> + <img + class="h-8 w-8 rounded-full bg-gray-50" + src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" + alt="" + /> + <span class="hidden lg:flex lg:items-center"> + <span + class="ml-4 text-sm font-semibold leading-6 text-gray-900" + aria-hidden="true" + > + Tom Cook + </span> + <ChevronDownIcon + class="ml-2 h-5 w-5 text-gray-400" + aria-hidden="true" + /> + </span> + </Menu.Button> + <Transition + as={Fragment} + enter="transition ease-out duration-100" + enterFrom="transform opacity-0 scale-95" + enterTo="transform opacity-100 scale-100" + leave="transition ease-in duration-75" + leaveFrom="transform opacity-100 scale-100" + leaveTo="transform opacity-0 scale-95" + > + <Menu.Items class="absolute right-0 z-10 mt-2.5 w-32 origin-top-right rounded-md bg-white py-2 shadow-lg ring-1 ring-gray-900/5 focus:outline-none"> + {userNavigation.map((item) => ( + <Menu.Item key={item.name}> + {({ active }: { active: boolean }) => ( + <a + href={item.href} + class={classNames( + active ? "bg-gray-50" : "", + "block px-3 py-1 text-sm leading-6 text-gray-900", + )} + > + {item.name} + </a> + )} + </Menu.Item> + ))} + </Menu.Items> + </Transition> + </Menu> + </div> + </div> + </div> + + <main class="py-10"> + <div class="px-4 sm:px-6 lg:px-8">{/* Your content */}</div> + </main> + </div> + </div> + </> + ); +} diff --git a/packages/exchange-backoffice-ui/src/HeroSections.tsx b/packages/exchange-backoffice-ui/src/HeroSections.tsx new file mode 100644 index 000000000..d7890b2b9 --- /dev/null +++ b/packages/exchange-backoffice-ui/src/HeroSections.tsx @@ -0,0 +1,173 @@ +import { Dialog } from "@headlessui/react"; +import { Bars3Icon, XMarkIcon } from "@heroicons/react/24/outline"; +import { h } from "preact"; +import { useState } from "preact/hooks"; + +const navigation = [ + { name: "Product", href: "#" }, + { name: "Features", href: "#" }, + { name: "Marketplace", href: "#" }, + { name: "Company", href: "#" }, +]; + +export function HeroSections() { + const [mobileMenuOpen, setMobileMenuOpen] = useState(false); + + return ( + <div class="bg-white"> + <header class="absolute inset-x-0 top-0 z-50"> + <nav + class="flex items-center justify-between p-6 lg:px-8" + aria-label="Global" + > + <div class="flex lg:flex-1"> + <a href="#" class="-m-1.5 p-1.5"> + <span class="sr-only">Your Company</span> + <img + class="h-8 w-auto" + src="https://tailwindui.com/img/logos/mark.svg?color=indigo&shade=600" + alt="" + /> + </a> + </div> + <div class="flex lg:hidden"> + <button + type="button" + class="-m-2.5 inline-flex items-center justify-center rounded-md p-2.5 text-gray-700" + onClick={() => setMobileMenuOpen(true)} + > + <span class="sr-only">Open main menu</span> + <Bars3Icon class="h-6 w-6" aria-hidden="true" /> + </button> + </div> + <div class="hidden lg:flex lg:gap-x-12"> + {navigation.map((item) => ( + <a + key={item.name} + href={item.href} + class="text-sm font-semibold leading-6 text-gray-900" + > + {item.name} + </a> + ))} + </div> + <div class="hidden lg:flex lg:flex-1 lg:justify-end"> + <a href="#" class="text-sm font-semibold leading-6 text-gray-900"> + Log in <span aria-hidden="true">→</span> + </a> + </div> + </nav> + <Dialog + as="div" + class="lg:hidden" + open={mobileMenuOpen} + onClose={setMobileMenuOpen} + > + <div class="fixed inset-0 z-50" /> + <Dialog.Panel class="fixed inset-y-0 right-0 z-50 w-full overflow-y-auto bg-white px-6 py-6 sm:max-w-sm sm:ring-1 sm:ring-gray-900/10"> + <div class="flex items-center justify-between"> + <a href="#" class="-m-1.5 p-1.5"> + <span class="sr-only">Your Company</span> + <img + class="h-8 w-auto" + src="https://tailwindui.com/img/logos/mark.svg?color=indigo&shade=600" + alt="" + /> + </a> + <button + type="button" + class="-m-2.5 rounded-md p-2.5 text-gray-700" + onClick={() => setMobileMenuOpen(false)} + > + <span class="sr-only">Close menu</span> + <XMarkIcon class="h-6 w-6" aria-hidden="true" /> + </button> + </div> + <div class="mt-6 flow-root"> + <div class="-my-6 divide-y divide-gray-500/10"> + <div class="space-y-2 py-6"> + {navigation.map((item) => ( + <a + key={item.name} + href={item.href} + class="-mx-3 block rounded-lg px-3 py-2 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50" + > + {item.name} + </a> + ))} + </div> + <div class="py-6"> + <a + href="#" + class="-mx-3 block rounded-lg px-3 py-2.5 text-base font-semibold leading-7 text-gray-900 hover:bg-gray-50" + > + Log in + </a> + </div> + </div> + </div> + </Dialog.Panel> + </Dialog> + </header> + + <div class="relative isolate px-6 pt-14 lg:px-8"> + <div + class="absolute inset-x-0 -top-40 -z-10 transform-gpu overflow-hidden blur-3xl sm:-top-80" + aria-hidden="true" + > + <div + class="relative left-[calc(50%-11rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 rotate-[30deg] bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]" + style={{ + clipPath: + "polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)", + }} + /> + </div> + <div class="mx-auto max-w-2xl py-32 sm:py-48 lg:py-56"> + <div class="hidden sm:mb-8 sm:flex sm:justify-center"> + <div class="relative rounded-full px-3 py-1 text-sm leading-6 text-gray-600 ring-1 ring-gray-900/10 hover:ring-gray-900/20"> + Announcing our next round of funding.{" "} + <a href="#" class="font-semibold text-indigo-600"> + <span class="absolute inset-0" aria-hidden="true" /> + Read more <span aria-hidden="true">→</span> + </a> + </div> + </div> + <div class="text-center"> + <h1 class="text-4xl font-bold tracking-tight text-gray-900 sm:text-6xl"> + Data to enrich your online business + </h1> + <p class="mt-6 text-lg leading-8 text-gray-600"> + Anim aute id magna aliqua ad ad non deserunt sunt. Qui irure qui + lorem cupidatat commodo. Elit sunt amet fugiat veniam occaecat + fugiat aliqua. + </p> + <div class="mt-10 flex items-center justify-center gap-x-6"> + <a + href="#" + class="rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" + > + Get started + </a> + <a href="#" class="text-sm font-semibold leading-6 text-gray-900"> + Learn more <span aria-hidden="true">→</span> + </a> + </div> + </div> + </div> + <div + class="absolute inset-x-0 top-[calc(100%-13rem)] -z-10 transform-gpu overflow-hidden blur-3xl sm:top-[calc(100%-30rem)]" + aria-hidden="true" + > + <div + class="relative left-[calc(50%+3rem)] aspect-[1155/678] w-[36.125rem] -translate-x-1/2 bg-gradient-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%+36rem)] sm:w-[72.1875rem]" + style={{ + clipPath: + "polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)", + }} + /> + </div> + </div> + </div> + ); +} diff --git a/packages/exchange-backoffice-ui/src/i18n/bank.pot b/packages/exchange-backoffice-ui/src/i18n/bank.pot new file mode 100644 index 000000000..66e98976f --- /dev/null +++ b/packages/exchange-backoffice-ui/src/i18n/bank.pot @@ -0,0 +1,486 @@ +# This file is part of GNU Taler +# (C) 2022 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: Taler Bank\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/home/BankFrame.tsx:55 +#, c-format +msgid "Logout" +msgstr "" + +#: src/pages/home/BankFrame.tsx:73 +#, c-format +msgid "Skip to main content" +msgstr "" + +#: src/pages/home/BankFrame.tsx:82 +#, c-format +msgid "" +"This part of the demo shows how a bank that supports Taler directly would work. " +"In addition to using your own bank account, you can also see the transaction " +"history of some %1$s." +msgstr "" + +#: src/pages/home/BankFrame.tsx:94 +#, c-format +msgid "Taler logo" +msgstr "" + +#: src/pages/home/LoginForm.tsx:41 +#, c-format +msgid "Missing username" +msgstr "" + +#: src/pages/home/LoginForm.tsx:42 +#, c-format +msgid "Missing password" +msgstr "" + +#: src/pages/home/LoginForm.tsx:49 +#, c-format +msgid "Please login!" +msgstr "" + +#: src/pages/home/LoginForm.tsx:51 +#, c-format +msgid "Username:" +msgstr "" + +#: src/pages/home/LoginForm.tsx:71 +#, c-format +msgid "Password:" +msgstr "" + +#: src/pages/home/LoginForm.tsx:100 +#, c-format +msgid "Login" +msgstr "" + +#: src/pages/home/LoginForm.tsx:110 +#, c-format +msgid "Register" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:60 +#, c-format +msgid "Missing IBAN" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:62 +#, c-format +msgid "IBAN should have just uppercased letters and numbers" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:64 +#, c-format +msgid "Missing subject" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:66 +#, c-format +msgid "Missing amount" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:68 +#, c-format +msgid "Amount is not valid" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:70 +#, c-format +msgid "Should be greater than 0" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:79 +#, c-format +msgid "Receiver IBAN:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:102 +#, c-format +msgid "Transfer subject:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:123 +#, c-format +msgid "Amount:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:177 +#, c-format +msgid "Field(s) missing." +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:227 +#, c-format +msgid "Want to try the raw payto://-format?" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:235 +#, c-format +msgid "Missing payto address" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:237 +#, c-format +msgid "Payto does not follow the pattern" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:243 +#, c-format +msgid "Transfer money to account identified by payto:// URI:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:246 +#, c-format +msgid "payto URI:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:255 +#, c-format +msgid "payto address" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:279 +#, c-format +msgid "Send" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:314 +#, c-format +msgid "Use wire-transfer form?" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:373 +#, c-format +msgid "No credentials found." +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:397 +#, c-format +msgid "Could not create the wire transfer" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:414 +#, c-format +msgid "Transfer creation gave response error" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:426 +#, c-format +msgid "Wire transfer created!" +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:50 +#, c-format +msgid "Amount to withdraw:" +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:84 +#, c-format +msgid "Withdraw" +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:128 +#, c-format +msgid "No credentials given." +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:155 +#, c-format +msgid "Could not create withdrawal operation" +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:171 +#, c-format +msgid "Withdrawal creation gave response error" +msgstr "" + +#: src/pages/home/PaymentOptions.tsx:44 +#, c-format +msgid "Obtain digital cash" +msgstr "" + +#: src/pages/home/PaymentOptions.tsx:52 +#, c-format +msgid "Transfer to bank account" +msgstr "" + +#: src/pages/home/Transactions.tsx:69 +#, c-format +msgid "Date" +msgstr "" + +#: src/pages/home/Transactions.tsx:70 +#, c-format +msgid "Amount" +msgstr "" + +#: src/pages/home/Transactions.tsx:71 +#, c-format +msgid "Counterpart" +msgstr "" + +#: src/pages/home/Transactions.tsx:72 +#, c-format +msgid "Subject" +msgstr "" + +#: src/pages/home/QrCodeSection.tsx:41 +#, c-format +msgid "Transfer to Taler Wallet" +msgstr "" + +#: src/pages/home/QrCodeSection.tsx:44 +#, c-format +msgid "Use this QR code to withdraw to your mobile wallet:" +msgstr "" + +#: src/pages/home/QrCodeSection.tsx:47 +#, c-format +msgid "Click %1$s to open your Taler wallet!" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:47 +#, c-format +msgid "Confirm Withdrawal" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:52 +#, c-format +msgid "Authorize withdrawal by solving challenge" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:55 +#, c-format +msgid "What is" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:94 +#, c-format +msgid "Answer is wrong." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:99 +#, c-format +msgid "Confirm" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:113 +#, c-format +msgid "Cancel" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:120 +#, c-format +msgid "" +"A this point, a %1$s bank would ask for an additional authentication proof " +"(PIN/TAN, one time password, ..), instead of a simple calculation." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:166 +#, c-format +msgid "No withdrawal ID found." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:201 +#, c-format +msgid "Could not confirm the withdrawal" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:219 +#, c-format +msgid "Withdrawal confirmation gave response error" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:231 +#, c-format +msgid "Withdrawal confirmed!" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:294 +#, c-format +msgid "Could not abort the withdrawal." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:311 +#, c-format +msgid "Withdrawal abortion failed." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:324 +#, c-format +msgid "Withdrawal aborted!" +msgstr "" + +#: src/pages/home/WithdrawalQRCode.tsx:54 +#, c-format +msgid "Abort" +msgstr "" + +#: src/pages/home/WithdrawalQRCode.tsx:74 +#, c-format +msgid "withdrawal (%1$s) was never (correctly) created at the bank..." +msgstr "" + +#: src/pages/home/WithdrawalQRCode.tsx:88 +#, c-format +msgid "Waiting the bank to create the operation..." +msgstr "" + +#: src/pages/home/WithdrawalQRCode.tsx:102 +#, c-format +msgid "This withdrawal was aborted!" +msgstr "" + +#: src/pages/home/AccountPage.tsx:40 +#, c-format +msgid "Welcome to %1$s!" +msgstr "" + +#: src/pages/home/AccountPage.tsx:133 +#, c-format +msgid "Username or account label '%1$s' not found. Won't login." +msgstr "" + +#: src/pages/home/AccountPage.tsx:159 +#, c-format +msgid "Wrong credentials given." +msgstr "" + +#: src/pages/home/AccountPage.tsx:169 +#, c-format +msgid "Account information could not be retrieved." +msgstr "" + +#: src/pages/home/AccountPage.tsx:210 +#, c-format +msgid "Welcome, %1$s !" +msgstr "" + +#: src/pages/home/AccountPage.tsx:221 +#, c-format +msgid "Bank account balance" +msgstr "" + +#: src/pages/home/AccountPage.tsx:237 +#, c-format +msgid "Payments" +msgstr "" + +#: src/pages/home/AccountPage.tsx:243 +#, c-format +msgid "Latest transactions:" +msgstr "" + +#: src/pages/home/PublicHistoriesPage.tsx:83 +#, c-format +msgid "List of public accounts was not found." +msgstr "" + +#: src/pages/home/PublicHistoriesPage.tsx:95 +#, c-format +msgid "List of public accounts could not be retrieved." +msgstr "" + +#: src/pages/home/PublicHistoriesPage.tsx:143 +#, c-format +msgid "History of public accounts" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:39 +#, c-format +msgid "Currently, the bank is not accepting new registrations!" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:68 +#, c-format +msgid "Use only letter and numbers starting with a lower case letter" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:78 +#, c-format +msgid "Password don't match" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:89 +#, c-format +msgid "Please register!" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:126 +#, c-format +msgid "Repeat Password:" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:226 +#, c-format +msgid "Registration failed, please report" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:239 +#, c-format +msgid "That username is already taken" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:248 +#, c-format +msgid "New registration gave response error" +msgstr "" + +#: src/components/menu/SideBar.tsx:53 +#, c-format +msgid "Bank menu" +msgstr "" + +#: src/components/menu/SideBar.tsx:59 +#, c-format +msgid "Select option1" +msgstr "" + +#: src/components/menu/SideBar.tsx:66 +#, c-format +msgid "Select option2" +msgstr "" + +#: src/components/picker/DurationPicker.tsx:55 +#, c-format +msgid "days" +msgstr "" + +#: src/components/picker/DurationPicker.tsx:65 +#, c-format +msgid "hours" +msgstr "" + +#: src/components/picker/DurationPicker.tsx:76 +#, c-format +msgid "minutes" +msgstr "" + +#: src/components/picker/DurationPicker.tsx:87 +#, c-format +msgid "seconds" +msgstr "" + diff --git a/packages/exchange-backoffice-ui/src/i18n/de.po b/packages/exchange-backoffice-ui/src/i18n/de.po new file mode 100644 index 000000000..dc76f83e2 --- /dev/null +++ b/packages/exchange-backoffice-ui/src/i18n/de.po @@ -0,0 +1,486 @@ +# This file is part of GNU Taler +# (C) 2021 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/> +# +msgid "" +msgstr "" +"Project-Id-Version: Taler Wallet\n" +"Report-Msgid-Bugs-To: taler@gnu.org\n" +"POT-Creation-Date: 2016-11-23 00:00+0100\n" +"PO-Revision-Date: 2022-12-26 23:30+0000\n" +"Last-Translator: Stefan Kügel <skuegel@web.de>\n" +"Language-Team: German <https://weblate.taler.net/projects/gnu-taler/" +"taler-bank-spa/de/>\n" +"Language: de\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" +"X-Generator: Weblate 4.13.1\n" + +#: src/pages/home/BankFrame.tsx:55 +#, c-format +msgid "Logout" +msgstr "Abmelden" + +#: src/pages/home/BankFrame.tsx:73 +#, c-format +msgid "Skip to main content" +msgstr "Navigationsmenü überspringen" + +#: src/pages/home/BankFrame.tsx:82 +#, c-format +msgid "" +"This part of the demo shows how a bank that supports Taler directly would " +"work. In addition to using your own bank account, you can also see the " +"transaction history of some %1$s." +msgstr "" + +#: src/pages/home/BankFrame.tsx:94 +#, c-format +msgid "Taler logo" +msgstr "Taler-Logo" + +#: src/pages/home/LoginForm.tsx:41 +#, c-format +msgid "Missing username" +msgstr "" + +#: src/pages/home/LoginForm.tsx:42 +#, c-format +msgid "Missing password" +msgstr "" + +#: src/pages/home/LoginForm.tsx:49 +#, c-format +msgid "Please login!" +msgstr "Bitte melden Sie sich an!" + +#: src/pages/home/LoginForm.tsx:51 +#, c-format +msgid "Username:" +msgstr "" + +#: src/pages/home/LoginForm.tsx:71 +#, c-format +msgid "Password:" +msgstr "" + +#: src/pages/home/LoginForm.tsx:100 +#, c-format +msgid "Login" +msgstr "" + +#: src/pages/home/LoginForm.tsx:110 +#, c-format +msgid "Register" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:60 +#, c-format +msgid "Missing IBAN" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:62 +#, c-format +msgid "IBAN should have just uppercased letters and numbers" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:64 +#, c-format +msgid "Missing subject" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:66 +#, c-format +msgid "Missing amount" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:68 +#, c-format +msgid "Amount is not valid" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:70 +#, c-format +msgid "Should be greater than 0" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:79 +#, c-format +msgid "Receiver IBAN:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:102 +#, c-format +msgid "Transfer subject:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:123 +#, c-format +msgid "Amount:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:177 +#, c-format +msgid "Field(s) missing." +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:227 +#, c-format +msgid "Want to try the raw payto://-format?" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:235 +#, c-format +msgid "Missing payto address" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:237 +#, c-format +msgid "Payto does not follow the pattern" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:243 +#, c-format +msgid "Transfer money to account identified by payto:// URI:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:246 +#, c-format +msgid "payto URI:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:255 +#, c-format +msgid "payto address" +msgstr "payto-Adresse" + +#: src/pages/home/PaytoWireTransferForm.tsx:279 +#, c-format +msgid "Send" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:314 +#, c-format +msgid "Use wire-transfer form?" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:373 +#, c-format +msgid "No credentials found." +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:397 +#, c-format +msgid "Could not create the wire transfer" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:414 +#, c-format +msgid "Transfer creation gave response error" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:426 +#, c-format +msgid "Wire transfer created!" +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:50 +#, c-format +msgid "Amount to withdraw:" +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:84 +#, c-format +msgid "Withdraw" +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:128 +#, c-format +msgid "No credentials given." +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:155 +#, c-format +msgid "Could not create withdrawal operation" +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:171 +#, c-format +msgid "Withdrawal creation gave response error" +msgstr "" + +#: src/pages/home/PaymentOptions.tsx:44 +#, c-format +msgid "Obtain digital cash" +msgstr "" + +#: src/pages/home/PaymentOptions.tsx:52 +#, c-format +msgid "Transfer to bank account" +msgstr "" + +#: src/pages/home/Transactions.tsx:69 +#, c-format +msgid "Date" +msgstr "Datum" + +#: src/pages/home/Transactions.tsx:70 +#, c-format +msgid "Amount" +msgstr "Betrag" + +#: src/pages/home/Transactions.tsx:71 +#, c-format +msgid "Counterpart" +msgstr "Empfänger" + +#: src/pages/home/Transactions.tsx:72 +#, c-format +msgid "Subject" +msgstr "Verwendungszweck" + +#: src/pages/home/QrCodeSection.tsx:41 +#, c-format +msgid "Transfer to Taler Wallet" +msgstr "" + +#: src/pages/home/QrCodeSection.tsx:44 +#, c-format +msgid "Use this QR code to withdraw to your mobile wallet:" +msgstr "" + +#: src/pages/home/QrCodeSection.tsx:47 +#, c-format +msgid "Click %1$s to open your Taler wallet!" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:47 +#, c-format +msgid "Confirm Withdrawal" +msgstr "Abhebung bestätigen" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:52 +#, c-format +msgid "Authorize withdrawal by solving challenge" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:55 +#, c-format +msgid "What is" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:94 +#, c-format +msgid "Answer is wrong." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:99 +#, c-format +msgid "Confirm" +msgstr "Bestätigen" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:113 +#, c-format +msgid "Cancel" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:120 +#, c-format +msgid "" +"A this point, a %1$s bank would ask for an additional authentication proof " +"(PIN/TAN, one time password, ..), instead of a simple calculation." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:166 +#, c-format +msgid "No withdrawal ID found." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:201 +#, c-format +msgid "Could not confirm the withdrawal" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:219 +#, c-format +msgid "Withdrawal confirmation gave response error" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:231 +#, c-format +msgid "Withdrawal confirmed!" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:294 +#, c-format +msgid "Could not abort the withdrawal." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:311 +#, c-format +msgid "Withdrawal abortion failed." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:324 +#, c-format +msgid "Withdrawal aborted!" +msgstr "" + +#: src/pages/home/WithdrawalQRCode.tsx:54 +#, c-format +msgid "Abort" +msgstr "" + +#: src/pages/home/WithdrawalQRCode.tsx:74 +#, c-format +msgid "withdrawal (%1$s) was never (correctly) created at the bank..." +msgstr "" + +#: src/pages/home/WithdrawalQRCode.tsx:88 +#, c-format +msgid "Waiting the bank to create the operation..." +msgstr "" + +#: src/pages/home/WithdrawalQRCode.tsx:102 +#, c-format +msgid "This withdrawal was aborted!" +msgstr "" + +#: src/pages/home/AccountPage.tsx:40 +#, c-format +msgid "Welcome to %1$s!" +msgstr "" + +#: src/pages/home/AccountPage.tsx:133 +#, c-format +msgid "Username or account label '%1$s' not found. Won't login." +msgstr "" + +#: src/pages/home/AccountPage.tsx:159 +#, c-format +msgid "Wrong credentials given." +msgstr "" + +#: src/pages/home/AccountPage.tsx:169 +#, c-format +msgid "Account information could not be retrieved." +msgstr "" + +#: src/pages/home/AccountPage.tsx:210 +#, c-format +msgid "Welcome, %1$s !" +msgstr "" + +#: src/pages/home/AccountPage.tsx:221 +#, c-format +msgid "Bank account balance" +msgstr "Kontostand" + +#: src/pages/home/AccountPage.tsx:237 +#, c-format +msgid "Payments" +msgstr "" + +#: src/pages/home/AccountPage.tsx:243 +#, c-format +msgid "Latest transactions:" +msgstr "" + +#: src/pages/home/PublicHistoriesPage.tsx:83 +#, c-format +msgid "List of public accounts was not found." +msgstr "" + +#: src/pages/home/PublicHistoriesPage.tsx:95 +#, c-format +msgid "List of public accounts could not be retrieved." +msgstr "" + +#: src/pages/home/PublicHistoriesPage.tsx:143 +#, c-format +msgid "History of public accounts" +msgstr "Buchungen auf öffentlich sichtbaren Konten" + +#: src/pages/home/RegistrationPage.tsx:39 +#, c-format +msgid "Currently, the bank is not accepting new registrations!" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:68 +#, c-format +msgid "Use only letter and numbers starting with a lower case letter" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:78 +#, c-format +msgid "Password don't match" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:89 +#, c-format +msgid "Please register!" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:126 +#, c-format +msgid "Repeat Password:" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:226 +#, c-format +msgid "Registration failed, please report" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:239 +#, c-format +msgid "That username is already taken" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:248 +#, c-format +msgid "New registration gave response error" +msgstr "" + +#: src/components/menu/SideBar.tsx:53 +#, c-format +msgid "Bank menu" +msgstr "" + +#: src/components/menu/SideBar.tsx:59 +#, c-format +msgid "Select option1" +msgstr "" + +#: src/components/menu/SideBar.tsx:66 +#, c-format +msgid "Select option2" +msgstr "" + +#: src/components/picker/DurationPicker.tsx:55 +#, c-format +msgid "days" +msgstr "" + +#: src/components/picker/DurationPicker.tsx:65 +#, c-format +msgid "hours" +msgstr "" + +#: src/components/picker/DurationPicker.tsx:76 +#, c-format +msgid "minutes" +msgstr "" + +#: src/components/picker/DurationPicker.tsx:87 +#, c-format +msgid "seconds" +msgstr "" diff --git a/packages/exchange-backoffice-ui/src/i18n/en.po b/packages/exchange-backoffice-ui/src/i18n/en.po new file mode 100644 index 000000000..83778f785 --- /dev/null +++ b/packages/exchange-backoffice-ui/src/i18n/en.po @@ -0,0 +1,511 @@ +# This file is part of GNU Taler +# (C) 2021 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/> +# +msgid "" +msgstr "" +"Project-Id-Version: Taler Wallet\n" +"Report-Msgid-Bugs-To: taler@gnu.org\n" +"POT-Creation-Date: 2016-11-23 00:00+0100\n" +"PO-Revision-Date: 2022-01-08 09:57+0100\n" +"Last-Translator: <translate@taler.net>\n" +"Language-Team: English\n" +"Language: en\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/home/BankFrame.tsx:55 +#, c-format +msgid "Logout" +msgstr "" + +#: src/pages/home/BankFrame.tsx:73 +#, c-format +msgid "Skip to main content" +msgstr "" + +#: src/pages/home/BankFrame.tsx:82 +#, c-format +msgid "" +"This part of the demo shows how a bank that supports Taler directly would " +"work. In addition to using your own bank account, you can also see the " +"transaction history of some %1$s." +msgstr "" + +#: src/pages/home/BankFrame.tsx:94 +#, c-format +msgid "Taler logo" +msgstr "" + +#: src/pages/home/LoginForm.tsx:41 +#, c-format +msgid "Missing username" +msgstr "" + +#: src/pages/home/LoginForm.tsx:42 +#, c-format +msgid "Missing password" +msgstr "" + +#: src/pages/home/LoginForm.tsx:49 +#, c-format +msgid "Please login!" +msgstr "" + +#: src/pages/home/LoginForm.tsx:51 +#, c-format +msgid "Username:" +msgstr "" + +#: src/pages/home/LoginForm.tsx:71 +#, c-format +msgid "Password:" +msgstr "" + +#: src/pages/home/LoginForm.tsx:100 +#, c-format +msgid "Login" +msgstr "" + +#: src/pages/home/LoginForm.tsx:110 +#, c-format +msgid "Register" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:60 +#, c-format +msgid "Missing IBAN" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:62 +#, c-format +msgid "IBAN should have just uppercased letters and numbers" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:64 +#, c-format +msgid "Missing subject" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:66 +#, c-format +msgid "Missing amount" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:68 +#, c-format +msgid "Amount is not valid" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:70 +#, c-format +msgid "Should be greater than 0" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:79 +#, c-format +msgid "Receiver IBAN:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:102 +#, c-format +msgid "Transfer subject:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:123 +#, c-format +msgid "Amount:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:177 +#, c-format +msgid "Field(s) missing." +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:227 +#, c-format +msgid "Want to try the raw payto://-format?" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:235 +#, c-format +msgid "Missing payto address" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:237 +#, c-format +msgid "Payto does not follow the pattern" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:243 +#, c-format +msgid "Transfer money to account identified by payto:// URI:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:246 +#, c-format +msgid "payto URI:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:255 +#, c-format +msgid "payto address" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:279 +#, c-format +msgid "Send" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:314 +#, c-format +msgid "Use wire-transfer form?" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:373 +#, c-format +msgid "No credentials found." +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:397 +#, c-format +msgid "Could not create the wire transfer" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:414 +#, c-format +msgid "Transfer creation gave response error" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:426 +#, c-format +msgid "Wire transfer created!" +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:50 +#, fuzzy, c-format +msgid "Amount to withdraw:" +msgstr "Amount to withdraw" + +#: src/pages/home/WalletWithdrawForm.tsx:84 +#, fuzzy, c-format +msgid "Withdraw" +msgstr "Confirm withdrawal" + +#: src/pages/home/WalletWithdrawForm.tsx:128 +#, c-format +msgid "No credentials given." +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:155 +#, c-format +msgid "Could not create withdrawal operation" +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:171 +#, c-format +msgid "Withdrawal creation gave response error" +msgstr "" + +#: src/pages/home/PaymentOptions.tsx:44 +#, c-format +msgid "Obtain digital cash" +msgstr "" + +#: src/pages/home/PaymentOptions.tsx:52 +#, c-format +msgid "Transfer to bank account" +msgstr "" + +#: src/pages/home/Transactions.tsx:69 +#, c-format +msgid "Date" +msgstr "" + +#: src/pages/home/Transactions.tsx:70 +#, c-format +msgid "Amount" +msgstr "" + +#: src/pages/home/Transactions.tsx:71 +#, c-format +msgid "Counterpart" +msgstr "" + +#: src/pages/home/Transactions.tsx:72 +#, c-format +msgid "Subject" +msgstr "" + +#: src/pages/home/QrCodeSection.tsx:41 +#, fuzzy, c-format +msgid "Transfer to Taler Wallet" +msgstr "Charge Taler wallet" + +#: src/pages/home/QrCodeSection.tsx:44 +#, c-format +msgid "Use this QR code to withdraw to your mobile wallet:" +msgstr "" + +#: src/pages/home/QrCodeSection.tsx:47 +#, c-format +msgid "Click %1$s to open your Taler wallet!" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:47 +#, fuzzy, c-format +msgid "Confirm Withdrawal" +msgstr "Confirm withdrawal" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:52 +#, c-format +msgid "Authorize withdrawal by solving challenge" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:55 +#, c-format +msgid "What is" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:94 +#, c-format +msgid "Answer is wrong." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:99 +#, c-format +msgid "Confirm" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:113 +#, c-format +msgid "Cancel" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:120 +#, c-format +msgid "" +"A this point, a %1$s bank would ask for an additional authentication proof " +"(PIN/TAN, one time password, ..), instead of a simple calculation." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:166 +#, c-format +msgid "No withdrawal ID found." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:201 +#, fuzzy, c-format +msgid "Could not confirm the withdrawal" +msgstr "Confirm withdrawal" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:219 +#, c-format +msgid "Withdrawal confirmation gave response error" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:231 +#, c-format +msgid "Withdrawal confirmed!" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:294 +#, fuzzy, c-format +msgid "Could not abort the withdrawal." +msgstr "Close Taler withdrawal" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:311 +#, c-format +msgid "Withdrawal abortion failed." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:324 +#, c-format +msgid "Withdrawal aborted!" +msgstr "" + +#: src/pages/home/WithdrawalQRCode.tsx:54 +#, c-format +msgid "Abort" +msgstr "" + +#: src/pages/home/WithdrawalQRCode.tsx:74 +#, c-format +msgid "withdrawal (%1$s) was never (correctly) created at the bank..." +msgstr "" + +#: src/pages/home/WithdrawalQRCode.tsx:88 +#, c-format +msgid "Waiting the bank to create the operation..." +msgstr "" + +#: src/pages/home/WithdrawalQRCode.tsx:102 +#, c-format +msgid "This withdrawal was aborted!" +msgstr "" + +#: src/pages/home/AccountPage.tsx:40 +#, c-format +msgid "Welcome to %1$s!" +msgstr "" + +#: src/pages/home/AccountPage.tsx:133 +#, c-format +msgid "Username or account label '%1$s' not found. Won't login." +msgstr "" + +#: src/pages/home/AccountPage.tsx:159 +#, c-format +msgid "Wrong credentials given." +msgstr "" + +#: src/pages/home/AccountPage.tsx:169 +#, c-format +msgid "Account information could not be retrieved." +msgstr "" + +#: src/pages/home/AccountPage.tsx:210 +#, c-format +msgid "Welcome, %1$s !" +msgstr "" + +#: src/pages/home/AccountPage.tsx:221 +#, c-format +msgid "Bank account balance" +msgstr "" + +#: src/pages/home/AccountPage.tsx:237 +#, c-format +msgid "Payments" +msgstr "" + +#: src/pages/home/AccountPage.tsx:243 +#, c-format +msgid "Latest transactions:" +msgstr "" + +#: src/pages/home/PublicHistoriesPage.tsx:83 +#, c-format +msgid "List of public accounts was not found." +msgstr "" + +#: src/pages/home/PublicHistoriesPage.tsx:95 +#, c-format +msgid "List of public accounts could not be retrieved." +msgstr "" + +#: src/pages/home/PublicHistoriesPage.tsx:143 +#, c-format +msgid "History of public accounts" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:39 +#, c-format +msgid "Currently, the bank is not accepting new registrations!" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:68 +#, c-format +msgid "Use only letter and numbers starting with a lower case letter" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:78 +#, c-format +msgid "Password don't match" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:89 +#, c-format +msgid "Please register!" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:126 +#, c-format +msgid "Repeat Password:" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:226 +#, c-format +msgid "Registration failed, please report" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:239 +#, c-format +msgid "That username is already taken" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:248 +#, c-format +msgid "New registration gave response error" +msgstr "" + +#: src/components/menu/SideBar.tsx:53 +#, c-format +msgid "Bank menu" +msgstr "" + +#: src/components/menu/SideBar.tsx:59 +#, c-format +msgid "Select option1" +msgstr "" + +#: src/components/menu/SideBar.tsx:66 +#, c-format +msgid "Select option2" +msgstr "" + +#: src/components/picker/DurationPicker.tsx:55 +#, c-format +msgid "days" +msgstr "days" + +#: src/components/picker/DurationPicker.tsx:65 +#, c-format +msgid "hours" +msgstr "hours" + +#: src/components/picker/DurationPicker.tsx:76 +#, c-format +msgid "minutes" +msgstr "minutes" + +#: src/components/picker/DurationPicker.tsx:87 +#, c-format +msgid "seconds" +msgstr "seconds" + +#~ msgid "Go back" +#~ msgstr "Go back" + +#, fuzzy +#~ msgid "Start withdrawal" +#~ msgstr "Start withdrawal" + +#, fuzzy +#~ msgid "Withdraw Money into a Taler wallet" +#~ msgstr "Charge Taler wallet" + +#~ msgid "Page has a problem: logged in but backend state is lost." +#~ msgstr "Page has a problem: logged in but backend state is lost." + +#, fuzzy +#~ msgid "Welcome to the euFin bank!" +#~ msgstr "Welcome to euFin bank: Taler+IBAN now possible!" + +#~ msgid "Page has a problem:" +#~ msgstr "Page has a problem:" + +#~ msgid "Close" +#~ msgstr "Close" + +#~ msgid "Sign in" +#~ msgstr "Sign in" diff --git a/packages/exchange-backoffice-ui/src/i18n/es.po b/packages/exchange-backoffice-ui/src/i18n/es.po new file mode 100644 index 000000000..0787b1035 --- /dev/null +++ b/packages/exchange-backoffice-ui/src/i18n/es.po @@ -0,0 +1,497 @@ +# This file is part of GNU Taler +# (C) 2021 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/> +# +msgid "" +msgstr "" +"Project-Id-Version: Taler Wallet\n" +"Report-Msgid-Bugs-To: taler@gnu.org\n" +"POT-Creation-Date: 2016-11-23 00:00+0100\n" +"PO-Revision-Date: 2022-12-09 14:13+0000\n" +"Last-Translator: Sebastian Marchano <sebasjm@gmail.com>\n" +"Language-Team: Spanish <https://weblate.taler.net/projects/gnu-taler/taler-" +"bank-spa/es/>\n" +"Language: es\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" +"X-Generator: Weblate 4.13.1\n" + +#: src/pages/home/BankFrame.tsx:55 +#, c-format +msgid "Logout" +msgstr "Cierre de sesión" + +#: src/pages/home/BankFrame.tsx:73 +#, c-format +msgid "Skip to main content" +msgstr "Saltar el menú de navegación" + +#: src/pages/home/BankFrame.tsx:82 +#, c-format +msgid "" +"This part of the demo shows how a bank that supports Taler directly would " +"work. In addition to using your own bank account, you can also see the " +"transaction history of some %1$s." +msgstr "" +"Esta parte de la demostración muestra cómo funciona un banco que soporta " +"Taler directamente. Además de usar tu propia cuenta de banco, también podrás " +"ver el historial de transacciones de algunas %1$s." + +#: src/pages/home/BankFrame.tsx:94 +#, c-format +msgid "Taler logo" +msgstr "Logo Taler" + +#: src/pages/home/LoginForm.tsx:41 +#, c-format +msgid "Missing username" +msgstr "Falta nombre de usuario" + +#: src/pages/home/LoginForm.tsx:42 +#, c-format +msgid "Missing password" +msgstr "Falta contraseña" + +#: src/pages/home/LoginForm.tsx:49 +#, c-format +msgid "Please login!" +msgstr "Por favor inicia sesión!" + +#: src/pages/home/LoginForm.tsx:51 +#, c-format +msgid "Username:" +msgstr "Nombre de usuario:" + +#: src/pages/home/LoginForm.tsx:71 +#, c-format +msgid "Password:" +msgstr "Password:" + +#: src/pages/home/LoginForm.tsx:100 +#, c-format +msgid "Login" +msgstr "Iniciar sesión" + +#: src/pages/home/LoginForm.tsx:110 +#, c-format +msgid "Register" +msgstr "Registrarse" + +#: src/pages/home/PaytoWireTransferForm.tsx:60 +#, c-format +msgid "Missing IBAN" +msgstr "Falta IBAN" + +#: src/pages/home/PaytoWireTransferForm.tsx:62 +#, c-format +msgid "IBAN should have just uppercased letters and numbers" +msgstr "IBAN debería tener letras mayúsculas y números" + +#: src/pages/home/PaytoWireTransferForm.tsx:64 +#, c-format +msgid "Missing subject" +msgstr "Falta asunto" + +#: src/pages/home/PaytoWireTransferForm.tsx:66 +#, c-format +msgid "Missing amount" +msgstr "Falta monto" + +#: src/pages/home/PaytoWireTransferForm.tsx:68 +#, c-format +msgid "Amount is not valid" +msgstr "Monto no válido" + +#: src/pages/home/PaytoWireTransferForm.tsx:70 +#, c-format +msgid "Should be greater than 0" +msgstr "Debería ser mas grande que 0" + +#: src/pages/home/PaytoWireTransferForm.tsx:79 +#, c-format +msgid "Receiver IBAN:" +msgstr "IBAN receptor:" + +#: src/pages/home/PaytoWireTransferForm.tsx:102 +#, c-format +msgid "Transfer subject:" +msgstr "Asunto de transferencia:" + +#: src/pages/home/PaytoWireTransferForm.tsx:123 +#, c-format +msgid "Amount:" +msgstr "Monto:" + +#: src/pages/home/PaytoWireTransferForm.tsx:177 +#, c-format +msgid "Field(s) missing." +msgstr "Faltan campo(s)." + +#: src/pages/home/PaytoWireTransferForm.tsx:227 +#, c-format +msgid "Want to try the raw payto://-format?" +msgstr "Quieres probar el formato payto:// ?" + +#: src/pages/home/PaytoWireTransferForm.tsx:235 +#, c-format +msgid "Missing payto address" +msgstr "Falta direccion payto" + +#: src/pages/home/PaytoWireTransferForm.tsx:237 +#, c-format +msgid "Payto does not follow the pattern" +msgstr "Payto no sigue el patrón" + +#: src/pages/home/PaytoWireTransferForm.tsx:243 +#, c-format +msgid "Transfer money to account identified by payto:// URI:" +msgstr "Transferir dinero a la cuenta identificada por la URI payto://:" + +#: src/pages/home/PaytoWireTransferForm.tsx:246 +#, c-format +msgid "payto URI:" +msgstr "payto URI:" + +#: src/pages/home/PaytoWireTransferForm.tsx:255 +#, c-format +msgid "payto address" +msgstr "direccion payto" + +#: src/pages/home/PaytoWireTransferForm.tsx:279 +#, c-format +msgid "Send" +msgstr "Envíar" + +#: src/pages/home/PaytoWireTransferForm.tsx:314 +#, c-format +msgid "Use wire-transfer form?" +msgstr "Usar el formulario de transferencia bancaria?" + +#: src/pages/home/PaytoWireTransferForm.tsx:373 +#, c-format +msgid "No credentials found." +msgstr "Se dieron las credenciales incorrectas." + +#: src/pages/home/PaytoWireTransferForm.tsx:397 +#, c-format +msgid "Could not create the wire transfer" +msgstr "No se pudo create la transferencia bancaria" + +#: src/pages/home/PaytoWireTransferForm.tsx:414 +#, c-format +msgid "Transfer creation gave response error" +msgstr "La creación de la transferencia dió una respuesta erronea" + +#: src/pages/home/PaytoWireTransferForm.tsx:426 +#, c-format +msgid "Wire transfer created!" +msgstr "Transferencia bancaria creada!" + +#: src/pages/home/WalletWithdrawForm.tsx:50 +#, c-format +msgid "Amount to withdraw:" +msgstr "Monto a retirar:" + +#: src/pages/home/WalletWithdrawForm.tsx:84 +#, c-format +msgid "Withdraw" +msgstr "Retirar" + +#: src/pages/home/WalletWithdrawForm.tsx:128 +#, c-format +msgid "No credentials given." +msgstr "Se dieron las credenciales incorrectas." + +#: src/pages/home/WalletWithdrawForm.tsx:155 +#, c-format +msgid "Could not create withdrawal operation" +msgstr "No se pude create la operación de retiro" + +#: src/pages/home/WalletWithdrawForm.tsx:171 +#, c-format +msgid "Withdrawal creation gave response error" +msgstr "La creación de retiro dió una respuesta errónea" + +#: src/pages/home/PaymentOptions.tsx:44 +#, c-format +msgid "Obtain digital cash" +msgstr "Obtener dinero digital" + +#: src/pages/home/PaymentOptions.tsx:52 +#, c-format +msgid "Transfer to bank account" +msgstr "Transferir a una cuenta bancaria" + +#: src/pages/home/Transactions.tsx:69 +#, c-format +msgid "Date" +msgstr "Fecha" + +#: src/pages/home/Transactions.tsx:70 +#, c-format +msgid "Amount" +msgstr "Monto" + +#: src/pages/home/Transactions.tsx:71 +#, c-format +msgid "Counterpart" +msgstr "Contraparte" + +#: src/pages/home/Transactions.tsx:72 +#, c-format +msgid "Subject" +msgstr "Asunto" + +#: src/pages/home/QrCodeSection.tsx:41 +#, c-format +msgid "Transfer to Taler Wallet" +msgstr "Transferir a una cartera Taler" + +#: src/pages/home/QrCodeSection.tsx:44 +#, c-format +msgid "Use this QR code to withdraw to your mobile wallet:" +msgstr "Usar el código QR para retirar a tu cartera móvil:" + +#: src/pages/home/QrCodeSection.tsx:47 +#, c-format +msgid "Click %1$s to open your Taler wallet!" +msgstr "Click %1$s para abrir una cartera Taler!" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:47 +#, c-format +msgid "Confirm Withdrawal" +msgstr "Confirmar retirada" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:52 +#, c-format +msgid "Authorize withdrawal by solving challenge" +msgstr "Autorizar retiro resolviendo una pregunta" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:55 +#, c-format +msgid "What is" +msgstr "Cuanto es" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:94 +#, c-format +msgid "Answer is wrong." +msgstr "La respuesta es incorrecta." + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:99 +#, c-format +msgid "Confirm" +msgstr "Confirmar" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:113 +#, c-format +msgid "Cancel" +msgstr "Cancelar" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:120 +#, c-format +msgid "" +"A this point, a %1$s bank would ask for an additional authentication proof " +"(PIN/TAN, one time password, ..), instead of a simple calculation." +msgstr "" +"En este punto, un banco %1$s preguntaría por una prueba adicional de " +"autenticación (PIN/TAN, password de un solo uso, ....), en vez de un simple " +"cálculo." + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:166 +#, c-format +msgid "No withdrawal ID found." +msgstr "No ID de retiro encontrado." + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:201 +#, c-format +msgid "Could not confirm the withdrawal" +msgstr "No se pudo confirmar la retirada" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:219 +#, c-format +msgid "Withdrawal confirmation gave response error" +msgstr "La confirmación de retiro dió una respuesta errónea" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:231 +#, c-format +msgid "Withdrawal confirmed!" +msgstr "El retiro fue confirmado!" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:294 +#, c-format +msgid "Could not abort the withdrawal." +msgstr "No se pudo cancelar el retiro." + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:311 +#, c-format +msgid "Withdrawal abortion failed." +msgstr "La cancelación del retiro falló." + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:324 +#, c-format +msgid "Withdrawal aborted!" +msgstr "Este retiro fue cancelado!" + +#: src/pages/home/WithdrawalQRCode.tsx:54 +#, c-format +msgid "Abort" +msgstr "Cancelar" + +#: src/pages/home/WithdrawalQRCode.tsx:74 +#, c-format +msgid "withdrawal (%1$s) was never (correctly) created at the bank..." +msgstr "retiro (%1$s) nunca fue (correctamente) generado en el banco..." + +#: src/pages/home/WithdrawalQRCode.tsx:88 +#, c-format +msgid "Waiting the bank to create the operation..." +msgstr "Esperando que el banco genere la operación...." + +#: src/pages/home/WithdrawalQRCode.tsx:102 +#, c-format +msgid "This withdrawal was aborted!" +msgstr "Este retiro fue cancelado!" + +#: src/pages/home/AccountPage.tsx:40 +#, c-format +msgid "Welcome to %1$s!" +msgstr "Bienvenido a %1$s!" + +#: src/pages/home/AccountPage.tsx:133 +#, c-format +msgid "Username or account label '%1$s' not found. Won't login." +msgstr "" +"Nombre de usuario o etiqueta de cuenta '%1$s' no encontrada. No se iniciará " +"sesión." + +#: src/pages/home/AccountPage.tsx:159 +#, c-format +msgid "Wrong credentials given." +msgstr "Se dieron las credenciales incorrectas." + +#: src/pages/home/AccountPage.tsx:169 +#, c-format +msgid "Account information could not be retrieved." +msgstr "La información de la cuenta no pudo ser accedida." + +#: src/pages/home/AccountPage.tsx:210 +#, c-format +msgid "Welcome, %1$s !" +msgstr "Bienvenido/a, %1$s!" + +#: src/pages/home/AccountPage.tsx:221 +#, c-format +msgid "Bank account balance" +msgstr "Balance de cuenta bancaria" + +#: src/pages/home/AccountPage.tsx:237 +#, c-format +msgid "Payments" +msgstr "Pagos" + +#: src/pages/home/AccountPage.tsx:243 +#, c-format +msgid "Latest transactions:" +msgstr "Últimas transacciones:" + +#: src/pages/home/PublicHistoriesPage.tsx:83 +#, c-format +msgid "List of public accounts was not found." +msgstr "La lista de cuentas públicas no fue encontrada." + +#: src/pages/home/PublicHistoriesPage.tsx:95 +#, c-format +msgid "List of public accounts could not be retrieved." +msgstr "La lista de cuentas públicas no pudo ser accedida." + +#: src/pages/home/PublicHistoriesPage.tsx:143 +#, c-format +msgid "History of public accounts" +msgstr "Historial de cuentas públicas" + +#: src/pages/home/RegistrationPage.tsx:39 +#, c-format +msgid "Currently, the bank is not accepting new registrations!" +msgstr "Actualmente, el banco no está aceptado nuevos registros!" + +#: src/pages/home/RegistrationPage.tsx:68 +#, c-format +msgid "Use only letter and numbers starting with a lower case letter" +msgstr "Solo use letras y números comenzando con una letra minúscula" + +#: src/pages/home/RegistrationPage.tsx:78 +#, c-format +msgid "Password don't match" +msgstr "La contraseña no coincide" + +#: src/pages/home/RegistrationPage.tsx:89 +#, c-format +msgid "Please register!" +msgstr "Por favor, registrese!" + +#: src/pages/home/RegistrationPage.tsx:126 +#, c-format +msgid "Repeat Password:" +msgstr "Repita la contraseña:" + +#: src/pages/home/RegistrationPage.tsx:226 +#, c-format +msgid "Registration failed, please report" +msgstr "El registro falló, por favor reportelo" + +#: src/pages/home/RegistrationPage.tsx:239 +#, c-format +msgid "That username is already taken" +msgstr "El nombre del usuario ya está tomado" + +#: src/pages/home/RegistrationPage.tsx:248 +#, c-format +msgid "New registration gave response error" +msgstr "Nuevo registro dió una respuesta errónea" + +#: src/components/menu/SideBar.tsx:53 +#, c-format +msgid "Bank menu" +msgstr "Menu del banco" + +#: src/components/menu/SideBar.tsx:59 +#, c-format +msgid "Select option1" +msgstr "Seleccione opción 1" + +#: src/components/menu/SideBar.tsx:66 +#, c-format +msgid "Select option2" +msgstr "Seleccione opción 2" + +#: src/components/picker/DurationPicker.tsx:55 +#, c-format +msgid "days" +msgstr "días" + +#: src/components/picker/DurationPicker.tsx:65 +#, c-format +msgid "hours" +msgstr "horas" + +#: src/components/picker/DurationPicker.tsx:76 +#, c-format +msgid "minutes" +msgstr "minutos" + +#: src/components/picker/DurationPicker.tsx:87 +#, c-format +msgid "seconds" +msgstr "segundos" + +#~ msgid "this link" +#~ msgstr "este link" diff --git a/packages/exchange-backoffice-ui/src/i18n/fr.po b/packages/exchange-backoffice-ui/src/i18n/fr.po new file mode 100644 index 000000000..203d55343 --- /dev/null +++ b/packages/exchange-backoffice-ui/src/i18n/fr.po @@ -0,0 +1,486 @@ +# This file is part of GNU Taler +# (C) 2022 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/> +# +msgid "" +msgstr "" +"Project-Id-Version: Taler Bank\n" +"Report-Msgid-Bugs-To: taler@gnu.org\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: Automatically generated\n" +"Language-Team: none\n" +"Language: fr\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/home/BankFrame.tsx:55 +#, c-format +msgid "Logout" +msgstr "" + +#: src/pages/home/BankFrame.tsx:73 +#, c-format +msgid "Skip to main content" +msgstr "" + +#: src/pages/home/BankFrame.tsx:82 +#, c-format +msgid "" +"This part of the demo shows how a bank that supports Taler directly would work. " +"In addition to using your own bank account, you can also see the transaction " +"history of some %1$s." +msgstr "" + +#: src/pages/home/BankFrame.tsx:94 +#, c-format +msgid "Taler logo" +msgstr "" + +#: src/pages/home/LoginForm.tsx:41 +#, c-format +msgid "Missing username" +msgstr "" + +#: src/pages/home/LoginForm.tsx:42 +#, c-format +msgid "Missing password" +msgstr "" + +#: src/pages/home/LoginForm.tsx:49 +#, c-format +msgid "Please login!" +msgstr "" + +#: src/pages/home/LoginForm.tsx:51 +#, c-format +msgid "Username:" +msgstr "" + +#: src/pages/home/LoginForm.tsx:71 +#, c-format +msgid "Password:" +msgstr "" + +#: src/pages/home/LoginForm.tsx:100 +#, c-format +msgid "Login" +msgstr "" + +#: src/pages/home/LoginForm.tsx:110 +#, c-format +msgid "Register" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:60 +#, c-format +msgid "Missing IBAN" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:62 +#, c-format +msgid "IBAN should have just uppercased letters and numbers" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:64 +#, c-format +msgid "Missing subject" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:66 +#, c-format +msgid "Missing amount" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:68 +#, c-format +msgid "Amount is not valid" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:70 +#, c-format +msgid "Should be greater than 0" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:79 +#, c-format +msgid "Receiver IBAN:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:102 +#, c-format +msgid "Transfer subject:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:123 +#, c-format +msgid "Amount:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:177 +#, c-format +msgid "Field(s) missing." +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:227 +#, c-format +msgid "Want to try the raw payto://-format?" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:235 +#, c-format +msgid "Missing payto address" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:237 +#, c-format +msgid "Payto does not follow the pattern" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:243 +#, c-format +msgid "Transfer money to account identified by payto:// URI:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:246 +#, c-format +msgid "payto URI:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:255 +#, c-format +msgid "payto address" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:279 +#, c-format +msgid "Send" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:314 +#, c-format +msgid "Use wire-transfer form?" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:373 +#, c-format +msgid "No credentials found." +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:397 +#, c-format +msgid "Could not create the wire transfer" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:414 +#, c-format +msgid "Transfer creation gave response error" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:426 +#, c-format +msgid "Wire transfer created!" +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:50 +#, c-format +msgid "Amount to withdraw:" +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:84 +#, c-format +msgid "Withdraw" +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:128 +#, c-format +msgid "No credentials given." +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:155 +#, c-format +msgid "Could not create withdrawal operation" +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:171 +#, c-format +msgid "Withdrawal creation gave response error" +msgstr "" + +#: src/pages/home/PaymentOptions.tsx:44 +#, c-format +msgid "Obtain digital cash" +msgstr "" + +#: src/pages/home/PaymentOptions.tsx:52 +#, c-format +msgid "Transfer to bank account" +msgstr "" + +#: src/pages/home/Transactions.tsx:69 +#, c-format +msgid "Date" +msgstr "" + +#: src/pages/home/Transactions.tsx:70 +#, c-format +msgid "Amount" +msgstr "" + +#: src/pages/home/Transactions.tsx:71 +#, c-format +msgid "Counterpart" +msgstr "" + +#: src/pages/home/Transactions.tsx:72 +#, c-format +msgid "Subject" +msgstr "" + +#: src/pages/home/QrCodeSection.tsx:41 +#, c-format +msgid "Transfer to Taler Wallet" +msgstr "" + +#: src/pages/home/QrCodeSection.tsx:44 +#, c-format +msgid "Use this QR code to withdraw to your mobile wallet:" +msgstr "" + +#: src/pages/home/QrCodeSection.tsx:47 +#, c-format +msgid "Click %1$s to open your Taler wallet!" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:47 +#, c-format +msgid "Confirm Withdrawal" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:52 +#, c-format +msgid "Authorize withdrawal by solving challenge" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:55 +#, c-format +msgid "What is" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:94 +#, c-format +msgid "Answer is wrong." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:99 +#, c-format +msgid "Confirm" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:113 +#, c-format +msgid "Cancel" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:120 +#, c-format +msgid "" +"A this point, a %1$s bank would ask for an additional authentication proof " +"(PIN/TAN, one time password, ..), instead of a simple calculation." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:166 +#, c-format +msgid "No withdrawal ID found." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:201 +#, c-format +msgid "Could not confirm the withdrawal" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:219 +#, c-format +msgid "Withdrawal confirmation gave response error" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:231 +#, c-format +msgid "Withdrawal confirmed!" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:294 +#, c-format +msgid "Could not abort the withdrawal." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:311 +#, c-format +msgid "Withdrawal abortion failed." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:324 +#, c-format +msgid "Withdrawal aborted!" +msgstr "" + +#: src/pages/home/WithdrawalQRCode.tsx:54 +#, c-format +msgid "Abort" +msgstr "" + +#: src/pages/home/WithdrawalQRCode.tsx:74 +#, c-format +msgid "withdrawal (%1$s) was never (correctly) created at the bank..." +msgstr "" + +#: src/pages/home/WithdrawalQRCode.tsx:88 +#, c-format +msgid "Waiting the bank to create the operation..." +msgstr "" + +#: src/pages/home/WithdrawalQRCode.tsx:102 +#, c-format +msgid "This withdrawal was aborted!" +msgstr "" + +#: src/pages/home/AccountPage.tsx:40 +#, c-format +msgid "Welcome to %1$s!" +msgstr "" + +#: src/pages/home/AccountPage.tsx:133 +#, c-format +msgid "Username or account label '%1$s' not found. Won't login." +msgstr "" + +#: src/pages/home/AccountPage.tsx:159 +#, c-format +msgid "Wrong credentials given." +msgstr "" + +#: src/pages/home/AccountPage.tsx:169 +#, c-format +msgid "Account information could not be retrieved." +msgstr "" + +#: src/pages/home/AccountPage.tsx:210 +#, c-format +msgid "Welcome, %1$s !" +msgstr "" + +#: src/pages/home/AccountPage.tsx:221 +#, c-format +msgid "Bank account balance" +msgstr "" + +#: src/pages/home/AccountPage.tsx:237 +#, c-format +msgid "Payments" +msgstr "" + +#: src/pages/home/AccountPage.tsx:243 +#, c-format +msgid "Latest transactions:" +msgstr "" + +#: src/pages/home/PublicHistoriesPage.tsx:83 +#, c-format +msgid "List of public accounts was not found." +msgstr "" + +#: src/pages/home/PublicHistoriesPage.tsx:95 +#, c-format +msgid "List of public accounts could not be retrieved." +msgstr "" + +#: src/pages/home/PublicHistoriesPage.tsx:143 +#, c-format +msgid "History of public accounts" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:39 +#, c-format +msgid "Currently, the bank is not accepting new registrations!" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:68 +#, c-format +msgid "Use only letter and numbers starting with a lower case letter" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:78 +#, c-format +msgid "Password don't match" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:89 +#, c-format +msgid "Please register!" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:126 +#, c-format +msgid "Repeat Password:" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:226 +#, c-format +msgid "Registration failed, please report" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:239 +#, c-format +msgid "That username is already taken" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:248 +#, c-format +msgid "New registration gave response error" +msgstr "" + +#: src/components/menu/SideBar.tsx:53 +#, c-format +msgid "Bank menu" +msgstr "" + +#: src/components/menu/SideBar.tsx:59 +#, c-format +msgid "Select option1" +msgstr "" + +#: src/components/menu/SideBar.tsx:66 +#, c-format +msgid "Select option2" +msgstr "" + +#: src/components/picker/DurationPicker.tsx:55 +#, c-format +msgid "days" +msgstr "" + +#: src/components/picker/DurationPicker.tsx:65 +#, c-format +msgid "hours" +msgstr "" + +#: src/components/picker/DurationPicker.tsx:76 +#, c-format +msgid "minutes" +msgstr "" + +#: src/components/picker/DurationPicker.tsx:87 +#, c-format +msgid "seconds" +msgstr "" diff --git a/packages/exchange-backoffice-ui/src/i18n/it.po b/packages/exchange-backoffice-ui/src/i18n/it.po new file mode 100644 index 000000000..a3a599376 --- /dev/null +++ b/packages/exchange-backoffice-ui/src/i18n/it.po @@ -0,0 +1,521 @@ +# This file is part of GNU Taler +# (C) 2021 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/> +# +msgid "" +msgstr "" +"Project-Id-Version: Taler Wallet\n" +"Report-Msgid-Bugs-To: taler@gnu.org\n" +"POT-Creation-Date: 2016-11-23 00:00+0100\n" +"PO-Revision-Date: 2022-12-26 23:30+0000\n" +"Last-Translator: Stefan Kügel <skuegel@web.de>\n" +"Language-Team: Italian <https://weblate.taler.net/projects/gnu-taler/" +"taler-bank-spa/it/>\n" +"Language: it\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" +"X-Generator: Weblate 4.13.1\n" + +#: src/pages/home/BankFrame.tsx:55 +#, c-format +msgid "Logout" +msgstr "" + +#: src/pages/home/BankFrame.tsx:73 +#, c-format +msgid "Skip to main content" +msgstr "Saltare il menu di navigazione" + +#: src/pages/home/BankFrame.tsx:82 +#, c-format +msgid "" +"This part of the demo shows how a bank that supports Taler directly would " +"work. In addition to using your own bank account, you can also see the " +"transaction history of some %1$s." +msgstr "" + +#: src/pages/home/BankFrame.tsx:94 +#, c-format +msgid "Taler logo" +msgstr "" + +#: src/pages/home/LoginForm.tsx:41 +#, c-format +msgid "Missing username" +msgstr "" + +#: src/pages/home/LoginForm.tsx:42 +#, c-format +msgid "Missing password" +msgstr "" + +#: src/pages/home/LoginForm.tsx:49 +#, c-format +msgid "Please login!" +msgstr "Accedi!" + +#: src/pages/home/LoginForm.tsx:51 +#, c-format +msgid "Username:" +msgstr "" + +#: src/pages/home/LoginForm.tsx:71 +#, c-format +msgid "Password:" +msgstr "" + +#: src/pages/home/LoginForm.tsx:100 +#, c-format +msgid "Login" +msgstr "Accedi" + +#: src/pages/home/LoginForm.tsx:110 +#, c-format +msgid "Register" +msgstr "Registrati" + +#: src/pages/home/PaytoWireTransferForm.tsx:60 +#, c-format +msgid "Missing IBAN" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:62 +#, c-format +msgid "IBAN should have just uppercased letters and numbers" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:64 +#, c-format +msgid "Missing subject" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:66 +#, c-format +msgid "Missing amount" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:68 +#, c-format +msgid "Amount is not valid" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:70 +#, c-format +msgid "Should be greater than 0" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:79 +#, c-format +msgid "Receiver IBAN:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:102 +#, c-format +msgid "Transfer subject:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:123 +#, fuzzy, c-format +msgid "Amount:" +msgstr "Somma" + +#: src/pages/home/PaytoWireTransferForm.tsx:177 +#, c-format +msgid "Field(s) missing." +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:227 +#, c-format +msgid "Want to try the raw payto://-format?" +msgstr "Prova il trasferimento tramite il formato Payto!" + +#: src/pages/home/PaytoWireTransferForm.tsx:235 +#, fuzzy, c-format +msgid "Missing payto address" +msgstr "indirizzo Payto" + +#: src/pages/home/PaytoWireTransferForm.tsx:237 +#, c-format +msgid "Payto does not follow the pattern" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:243 +#, fuzzy, c-format +msgid "Transfer money to account identified by payto:// URI:" +msgstr "Trasferisci fondi a un altro conto di questa banca:" + +#: src/pages/home/PaytoWireTransferForm.tsx:246 +#, c-format +msgid "payto URI:" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:255 +#, c-format +msgid "payto address" +msgstr "indirizzo Payto" + +#: src/pages/home/PaytoWireTransferForm.tsx:279 +#, c-format +msgid "Send" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:314 +#, fuzzy, c-format +msgid "Use wire-transfer form?" +msgstr "Chiudi il bonifico" + +#: src/pages/home/PaytoWireTransferForm.tsx:373 +#, fuzzy, c-format +msgid "No credentials found." +msgstr "Credenziali invalide." + +#: src/pages/home/PaytoWireTransferForm.tsx:397 +#, c-format +msgid "Could not create the wire transfer" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:414 +#, c-format +msgid "Transfer creation gave response error" +msgstr "" + +#: src/pages/home/PaytoWireTransferForm.tsx:426 +#, fuzzy, c-format +msgid "Wire transfer created!" +msgstr "Bonifico" + +#: src/pages/home/WalletWithdrawForm.tsx:50 +#, fuzzy, c-format +msgid "Amount to withdraw:" +msgstr "Somma da ritirare" + +#: src/pages/home/WalletWithdrawForm.tsx:84 +#, fuzzy, c-format +msgid "Withdraw" +msgstr "Conferma il ritiro" + +#: src/pages/home/WalletWithdrawForm.tsx:128 +#, fuzzy, c-format +msgid "No credentials given." +msgstr "Credenziali invalide." + +#: src/pages/home/WalletWithdrawForm.tsx:155 +#, c-format +msgid "Could not create withdrawal operation" +msgstr "" + +#: src/pages/home/WalletWithdrawForm.tsx:171 +#, c-format +msgid "Withdrawal creation gave response error" +msgstr "" + +#: src/pages/home/PaymentOptions.tsx:44 +#, c-format +msgid "Obtain digital cash" +msgstr "" + +#: src/pages/home/PaymentOptions.tsx:52 +#, fuzzy, c-format +msgid "Transfer to bank account" +msgstr "Trasferisci fondi a un altro conto di questa banca:" + +#: src/pages/home/Transactions.tsx:69 +#, c-format +msgid "Date" +msgstr "" + +#: src/pages/home/Transactions.tsx:70 +#, c-format +msgid "Amount" +msgstr "Somma" + +#: src/pages/home/Transactions.tsx:71 +#, c-format +msgid "Counterpart" +msgstr "Controparte" + +#: src/pages/home/Transactions.tsx:72 +#, c-format +msgid "Subject" +msgstr "Causale" + +#: src/pages/home/QrCodeSection.tsx:41 +#, fuzzy, c-format +msgid "Transfer to Taler Wallet" +msgstr "Ritira contante nel portafoglio Taler" + +#: src/pages/home/QrCodeSection.tsx:44 +#, fuzzy, c-format +msgid "Use this QR code to withdraw to your mobile wallet:" +msgstr "Usa questo codice QR per ritirare contante nel tuo wallet:" + +#: src/pages/home/QrCodeSection.tsx:47 +#, c-format +msgid "Click %1$s to open your Taler wallet!" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:47 +#, c-format +msgid "Confirm Withdrawal" +msgstr "Conferma il ritiro" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:52 +#, c-format +msgid "Authorize withdrawal by solving challenge" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:55 +#, c-format +msgid "What is" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:94 +#, c-format +msgid "Answer is wrong." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:99 +#, c-format +msgid "Confirm" +msgstr "Conferma" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:113 +#, c-format +msgid "Cancel" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:120 +#, c-format +msgid "" +"A this point, a %1$s bank would ask for an additional authentication proof " +"(PIN/TAN, one time password, ..), instead of a simple calculation." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:166 +#, c-format +msgid "No withdrawal ID found." +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:201 +#, fuzzy, c-format +msgid "Could not confirm the withdrawal" +msgstr "Conferma il ritiro" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:219 +#, c-format +msgid "Withdrawal confirmation gave response error" +msgstr "" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:231 +#, fuzzy, c-format +msgid "Withdrawal confirmed!" +msgstr "Questo ritiro è stato annullato!" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:294 +#, fuzzy, c-format +msgid "Could not abort the withdrawal." +msgstr "Chiudi il ritiro Taler" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:311 +#, fuzzy, c-format +msgid "Withdrawal abortion failed." +msgstr "Questo ritiro è stato annullato!" + +#: src/pages/home/WithdrawalConfirmationQuestion.tsx:324 +#, fuzzy, c-format +msgid "Withdrawal aborted!" +msgstr "Questo ritiro è stato annullato!" + +#: src/pages/home/WithdrawalQRCode.tsx:54 +#, c-format +msgid "Abort" +msgstr "Annulla" + +#: src/pages/home/WithdrawalQRCode.tsx:74 +#, c-format +msgid "withdrawal (%1$s) was never (correctly) created at the bank..." +msgstr "" + +#: src/pages/home/WithdrawalQRCode.tsx:88 +#, fuzzy, c-format +msgid "Waiting the bank to create the operation..." +msgstr "La banca sta creando l'operazione..." + +#: src/pages/home/WithdrawalQRCode.tsx:102 +#, c-format +msgid "This withdrawal was aborted!" +msgstr "Questo ritiro è stato annullato!" + +#: src/pages/home/AccountPage.tsx:40 +#, c-format +msgid "Welcome to %1$s!" +msgstr "" + +#: src/pages/home/AccountPage.tsx:133 +#, c-format +msgid "Username or account label '%1$s' not found. Won't login." +msgstr "L'utente '%1$s' non esiste. Login impossibile" + +#: src/pages/home/AccountPage.tsx:159 +#, c-format +msgid "Wrong credentials given." +msgstr "Credenziali invalide." + +#: src/pages/home/AccountPage.tsx:169 +#, c-format +msgid "Account information could not be retrieved." +msgstr "Impossibile ricevere le informazioni relative al conto." + +#: src/pages/home/AccountPage.tsx:210 +#, c-format +msgid "Welcome, %1$s !" +msgstr "" + +#: src/pages/home/AccountPage.tsx:221 +#, fuzzy, c-format +msgid "Bank account balance" +msgstr "Bilancio:" + +#: src/pages/home/AccountPage.tsx:237 +#, c-format +msgid "Payments" +msgstr "" + +#: src/pages/home/AccountPage.tsx:243 +#, c-format +msgid "Latest transactions:" +msgstr "Ultime transazioni:" + +#: src/pages/home/PublicHistoriesPage.tsx:83 +#, c-format +msgid "List of public accounts was not found." +msgstr "Lista conti pubblici non trovata." + +#: src/pages/home/PublicHistoriesPage.tsx:95 +#, c-format +msgid "List of public accounts could not be retrieved." +msgstr "Lista conti pubblici non pervenuta." + +#: src/pages/home/PublicHistoriesPage.tsx:143 +#, c-format +msgid "History of public accounts" +msgstr "Storico dei conti pubblici" + +#: src/pages/home/RegistrationPage.tsx:39 +#, c-format +msgid "Currently, the bank is not accepting new registrations!" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:68 +#, c-format +msgid "Use only letter and numbers starting with a lower case letter" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:78 +#, c-format +msgid "Password don't match" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:89 +#, fuzzy, c-format +msgid "Please register!" +msgstr "Accedi!" + +#: src/pages/home/RegistrationPage.tsx:126 +#, c-format +msgid "Repeat Password:" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:226 +#, fuzzy, c-format +msgid "Registration failed, please report" +msgstr "Registrazione" + +#: src/pages/home/RegistrationPage.tsx:239 +#, c-format +msgid "That username is already taken" +msgstr "" + +#: src/pages/home/RegistrationPage.tsx:248 +#, c-format +msgid "New registration gave response error" +msgstr "" + +#: src/components/menu/SideBar.tsx:53 +#, c-format +msgid "Bank menu" +msgstr "" + +#: src/components/menu/SideBar.tsx:59 +#, c-format +msgid "Select option1" +msgstr "" + +#: src/components/menu/SideBar.tsx:66 +#, c-format +msgid "Select option2" +msgstr "" + +#: src/components/picker/DurationPicker.tsx:55 +#, c-format +msgid "days" +msgstr "" + +#: src/components/picker/DurationPicker.tsx:65 +#, c-format +msgid "hours" +msgstr "" + +#: src/components/picker/DurationPicker.tsx:76 +#, c-format +msgid "minutes" +msgstr "" + +#: src/components/picker/DurationPicker.tsx:87 +#, c-format +msgid "seconds" +msgstr "" + +#~ msgid "this link" +#~ msgstr "questo link" + +#~ msgid "Clear" +#~ msgstr "Cancella" + +#~ msgid "Demo Bank" +#~ msgstr "Banca 'demo'" + +#~ msgid "Go back" +#~ msgstr "Indietro" + +#~ msgid "Transfer money via the Payto system:" +#~ msgstr "Effettua un bonifico tramite il sistema Payto:" + +#~ msgid "Start withdrawal" +#~ msgstr "Ritira contante" + +#~ msgid "Withdraw Money into a Taler wallet" +#~ msgstr "Ritira contante nel portafoglio Taler" + +#~ msgid "Register to the euFin bank!" +#~ msgstr "Apri un conto in banca euFin!" + +#~ msgid "Transfer money manually" +#~ msgstr "Effettua un bonifico" + +#~ msgid "Page has a problem: logged in but backend state is lost." +#~ msgstr "" +#~ "Stato inconsistente: accesso utente effettuato ma stato con server perso." + +#, fuzzy +#~ msgid "Welcome to the euFin bank!" +#~ msgstr "Benvenuti in banca euFin!" diff --git a/packages/exchange-backoffice-ui/src/i18n/poheader b/packages/exchange-backoffice-ui/src/i18n/poheader new file mode 100644 index 000000000..a251e9584 --- /dev/null +++ b/packages/exchange-backoffice-ui/src/i18n/poheader @@ -0,0 +1,26 @@ +# This file is part of GNU Taler +# (C) 2022 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: Taler Bank\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" diff --git a/packages/exchange-backoffice-ui/src/i18n/strings-prelude b/packages/exchange-backoffice-ui/src/i18n/strings-prelude new file mode 100644 index 000000000..a0aeb8268 --- /dev/null +++ b/packages/exchange-backoffice-ui/src/i18n/strings-prelude @@ -0,0 +1,19 @@ +/* + This file is part of GNU Taler + (C) 2022 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/> + */ + +/*eslint quote-props: ["error", "consistent"]*/ +export const strings: {[s: string]: any} = {}; + diff --git a/packages/exchange-backoffice-ui/src/i18n/strings.ts b/packages/exchange-backoffice-ui/src/i18n/strings.ts new file mode 100644 index 000000000..a779bbc49 --- /dev/null +++ b/packages/exchange-backoffice-ui/src/i18n/strings.ts @@ -0,0 +1,510 @@ +/* + This file is part of GNU Taler + (C) 2022 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/> + */ + +/*eslint quote-props: ["error", "consistent"]*/ +export const strings: { [s: string]: any } = {}; + +strings["de"] = { + domain: "messages", + locale_data: { + messages: { + "": { + domain: "messages", + plural_forms: "nplurals=2; plural=(n != 1);", + lang: "de", + }, + Logout: [""], + "Skip to main content": [""], + "This part of the demo shows how a bank that supports Taler directly would work. In addition to using your own bank account, you can also see the transaction history of some %1$s.": + [""], + "Taler logo": [""], + "Missing username": [""], + "Missing password": [""], + "Please login!": [""], + "Username:": [""], + "Password:": [""], + Login: [""], + Register: [""], + "Missing IBAN": [""], + "IBAN should have just uppercased letters and numbers": [""], + "Missing subject": [""], + "Missing amount": [""], + "Amount is not valid": [""], + "Should be greater than 0": [""], + "Receiver IBAN:": [""], + "Transfer subject:": [""], + "Amount:": [""], + "Field(s) missing.": [""], + "Want to try the raw payto://-format?": [""], + "Missing payto address": [""], + "Payto does not follow the pattern": [""], + "Transfer money to account identified by payto:// URI:": [""], + "payto URI:": [""], + "payto address": [""], + Send: [""], + "Use wire-transfer form?": [""], + "No credentials found.": [""], + "Could not create the wire transfer": [""], + "Transfer creation gave response error": [""], + "Wire transfer created!": [""], + "Amount to withdraw:": [""], + Withdraw: [""], + "No credentials given.": [""], + "Could not create withdrawal operation": [""], + "Withdrawal creation gave response error": [""], + "Obtain digital cash": [""], + "Transfer to bank account": [""], + Date: [""], + Amount: [""], + Counterpart: [""], + Subject: [""], + "Transfer to Taler Wallet": [""], + "Use this QR code to withdraw to your mobile wallet:": [""], + "Click %1$s to open your Taler wallet!": [""], + "Confirm Withdrawal": [""], + "Authorize withdrawal by solving challenge": [""], + "What is": [""], + "Answer is wrong.": [""], + Confirm: [""], + Cancel: [""], + "A this point, a %1$s bank would ask for an additional authentication proof (PIN/TAN, one time password, ..), instead of a simple calculation.": + [""], + "No withdrawal ID found.": [""], + "Could not confirm the withdrawal": [""], + "Withdrawal confirmation gave response error": [""], + "Withdrawal confirmed!": [""], + "Could not abort the withdrawal.": [""], + "Withdrawal abortion failed.": [""], + "Withdrawal aborted!": [""], + Abort: [""], + "withdrawal (%1$s) was never (correctly) created at the bank...": [""], + "Waiting the bank to create the operation...": [""], + "This withdrawal was aborted!": [""], + "Welcome to %1$s!": [""], + "Username or account label '%1$s' not found. Won't login.": [""], + "Wrong credentials given.": [""], + "Account information could not be retrieved.": [""], + "Welcome, %1$s !": [""], + "Bank account balance": [""], + Payments: [""], + "Latest transactions:": [""], + "List of public accounts was not found.": [""], + "List of public accounts could not be retrieved.": [""], + "History of public accounts": [""], + "Currently, the bank is not accepting new registrations!": [""], + "Use only letter and numbers starting with a lower case letter": [""], + "Password don't match": [""], + "Please register!": [""], + "Repeat Password:": [""], + "Registration failed, please report": [""], + "That username is already taken": [""], + "New registration gave response error": [""], + "Bank menu": [""], + "Select option1": [""], + "Select option2": [""], + days: [""], + hours: [""], + minutes: [""], + seconds: [""], + }, + }, +}; + +strings["en"] = { + domain: "messages", + locale_data: { + messages: { + "": { + domain: "messages", + plural_forms: "nplurals=2; plural=(n != 1);", + lang: "en", + }, + Logout: [""], + "Skip to main content": [""], + "This part of the demo shows how a bank that supports Taler directly would work. In addition to using your own bank account, you can also see the transaction history of some %1$s.": + [""], + "Taler logo": [""], + "Missing username": [""], + "Missing password": [""], + "Please login!": [""], + "Username:": [""], + "Password:": [""], + Login: [""], + Register: [""], + "Missing IBAN": [""], + "IBAN should have just uppercased letters and numbers": [""], + "Missing subject": [""], + "Missing amount": [""], + "Amount is not valid": [""], + "Should be greater than 0": [""], + "Receiver IBAN:": [""], + "Transfer subject:": [""], + "Amount:": [""], + "Field(s) missing.": [""], + "Want to try the raw payto://-format?": [""], + "Missing payto address": [""], + "Payto does not follow the pattern": [""], + "Transfer money to account identified by payto:// URI:": [""], + "payto URI:": [""], + "payto address": [""], + Send: [""], + "Use wire-transfer form?": [""], + "No credentials found.": [""], + "Could not create the wire transfer": [""], + "Transfer creation gave response error": [""], + "Wire transfer created!": [""], + "Amount to withdraw:": ["Amount to withdraw"], + Withdraw: ["Confirm withdrawal"], + "No credentials given.": [""], + "Could not create withdrawal operation": [""], + "Withdrawal creation gave response error": [""], + "Obtain digital cash": [""], + "Transfer to bank account": [""], + Date: [""], + Amount: [""], + Counterpart: [""], + Subject: [""], + "Transfer to Taler Wallet": ["Charge Taler wallet"], + "Use this QR code to withdraw to your mobile wallet:": [""], + "Click %1$s to open your Taler wallet!": [""], + "Confirm Withdrawal": ["Confirm withdrawal"], + "Authorize withdrawal by solving challenge": [""], + "What is": [""], + "Answer is wrong.": [""], + Confirm: [""], + Cancel: [""], + "A this point, a %1$s bank would ask for an additional authentication proof (PIN/TAN, one time password, ..), instead of a simple calculation.": + [""], + "No withdrawal ID found.": [""], + "Could not confirm the withdrawal": ["Confirm withdrawal"], + "Withdrawal confirmation gave response error": [""], + "Withdrawal confirmed!": [""], + "Could not abort the withdrawal.": ["Close Taler withdrawal"], + "Withdrawal abortion failed.": [""], + "Withdrawal aborted!": [""], + Abort: [""], + "withdrawal (%1$s) was never (correctly) created at the bank...": [""], + "Waiting the bank to create the operation...": [""], + "This withdrawal was aborted!": [""], + "Welcome to %1$s!": [""], + "Username or account label '%1$s' not found. Won't login.": [""], + "Wrong credentials given.": [""], + "Account information could not be retrieved.": [""], + "Welcome, %1$s !": [""], + "Bank account balance": [""], + Payments: [""], + "Latest transactions:": [""], + "List of public accounts was not found.": [""], + "List of public accounts could not be retrieved.": [""], + "History of public accounts": [""], + "Currently, the bank is not accepting new registrations!": [""], + "Use only letter and numbers starting with a lower case letter": [""], + "Password don't match": [""], + "Please register!": [""], + "Repeat Password:": [""], + "Registration failed, please report": [""], + "That username is already taken": [""], + "New registration gave response error": [""], + "Bank menu": [""], + "Select option1": [""], + "Select option2": [""], + days: ["days"], + hours: ["hours"], + minutes: ["minutes"], + seconds: ["seconds"], + }, + }, +}; + +strings["es"] = { + domain: "messages", + locale_data: { + messages: { + "": { + domain: "messages", + plural_forms: "nplurals=2; plural=n != 1;", + lang: "es", + }, + Logout: ["Cierre de sesión"], + "Skip to main content": ["Saltar el menú de navegación"], + "This part of the demo shows how a bank that supports Taler directly would work. In addition to using your own bank account, you can also see the transaction history of some %1$s.": + [ + "Esta parte de la demostración muestra cómo funciona un banco que soporta Taler directamente. Además de usar tu propia cuenta de banco, también podrás ver el historial de transacciones de algunas %1$s.", + ], + "Taler logo": ["Logo Taler"], + "Missing username": ["Falta nombre de usuario"], + "Missing password": ["Falta contraseña"], + "Please login!": ["Por favor inicia sesión!"], + "Username:": ["Nombre de usuario:"], + "Password:": ["Password:"], + Login: ["Iniciar sesión"], + Register: ["Registrarse"], + "Missing IBAN": ["Falta IBAN"], + "IBAN should have just uppercased letters and numbers": [ + "IBAN debería tener letras mayúsculas y números", + ], + "Missing subject": ["Falta asunto"], + "Missing amount": ["Falta monto"], + "Amount is not valid": ["Monto no válido"], + "Should be greater than 0": ["Debería ser mas grande que 0"], + "Receiver IBAN:": ["IBAN receptor:"], + "Transfer subject:": ["Asunto de transferencia:"], + "Amount:": ["Monto:"], + "Field(s) missing.": ["Faltan campo(s)."], + "Want to try the raw payto://-format?": [ + "Quieres probar el formato payto:// ?", + ], + "Missing payto address": ["Falta direccion payto"], + "Payto does not follow the pattern": ["Payto no sigue el patrón"], + "Transfer money to account identified by payto:// URI:": [ + "Transferir dinero a la cuenta identificada por la URI payto://:", + ], + "payto URI:": ["payto URI:"], + "payto address": ["direccion payto"], + Send: ["Envíar"], + "Use wire-transfer form?": [ + "Usar el formulario de transferencia bancaria?", + ], + "No credentials found.": ["Se dieron las credenciales incorrectas."], + "Could not create the wire transfer": [ + "No se pudo create la transferencia bancaria", + ], + "Transfer creation gave response error": [ + "La creación de la transferencia dió una respuesta erronea", + ], + "Wire transfer created!": ["Transferencia bancaria creada!"], + "Amount to withdraw:": ["Monto a retirar:"], + Withdraw: ["Retirar"], + "No credentials given.": ["Se dieron las credenciales incorrectas."], + "Could not create withdrawal operation": [ + "No se pude create la operación de retiro", + ], + "Withdrawal creation gave response error": [ + "La creación de retiro dió una respuesta errónea", + ], + "Obtain digital cash": ["Obtener dinero digital"], + "Transfer to bank account": ["Transferir a una cuenta bancaria"], + Date: ["Fecha"], + Amount: ["Monto"], + Counterpart: ["Contraparte"], + Subject: ["Asunto"], + "Transfer to Taler Wallet": ["Transferir a una cartera Taler"], + "Use this QR code to withdraw to your mobile wallet:": [ + "Usar el código QR para retirar a tu cartera móvil:", + ], + "Click %1$s to open your Taler wallet!": [ + "Click %1$s para abrir una cartera Taler!", + ], + "Confirm Withdrawal": ["Confirmar retirada"], + "Authorize withdrawal by solving challenge": [ + "Autorizar retiro resolviendo una pregunta", + ], + "What is": ["Cuanto es"], + "Answer is wrong.": ["La respuesta es incorrecta."], + Confirm: ["Confirmar"], + Cancel: ["Cancelar"], + "A this point, a %1$s bank would ask for an additional authentication proof (PIN/TAN, one time password, ..), instead of a simple calculation.": + [ + "En este punto, un banco %1$s preguntaría por una prueba adicional de autenticación (PIN/TAN, password de un solo uso, ....), en vez de un simple cálculo.", + ], + "No withdrawal ID found.": ["No ID de retiro encontrado."], + "Could not confirm the withdrawal": ["No se pudo confirmar la retirada"], + "Withdrawal confirmation gave response error": [ + "La confirmación de retiro dió una respuesta errónea", + ], + "Withdrawal confirmed!": ["El retiro fue confirmado!"], + "Could not abort the withdrawal.": ["No se pudo cancelar el retiro."], + "Withdrawal abortion failed.": ["La cancelación del retiro falló."], + "Withdrawal aborted!": ["Este retiro fue cancelado!"], + Abort: ["Cancelar"], + "withdrawal (%1$s) was never (correctly) created at the bank...": [ + "retiro (%1$s) nunca fue (correctamente) generado en el banco...", + ], + "Waiting the bank to create the operation...": [ + "Esperando que el banco genere la operación....", + ], + "This withdrawal was aborted!": ["Este retiro fue cancelado!"], + "Welcome to %1$s!": ["Bienvenido a %1$s!"], + "Username or account label '%1$s' not found. Won't login.": [ + "Nombre de usuario o etiqueta de cuenta '%1$s' no encontrada. No se iniciará sesión.", + ], + "Wrong credentials given.": ["Se dieron las credenciales incorrectas."], + "Account information could not be retrieved.": [ + "La información de la cuenta no pudo ser accedida.", + ], + "Welcome, %1$s !": ["Bienvenido/a, %1$s!"], + "Bank account balance": ["Balance de cuenta bancaria"], + Payments: ["Pagos"], + "Latest transactions:": ["Últimas transacciones:"], + "List of public accounts was not found.": [ + "La lista de cuentas públicas no fue encontrada.", + ], + "List of public accounts could not be retrieved.": [ + "La lista de cuentas públicas no pudo ser accedida.", + ], + "History of public accounts": ["Historial de cuentas públicas"], + "Currently, the bank is not accepting new registrations!": [ + "Actualmente, el banco no está aceptado nuevos registros!", + ], + "Use only letter and numbers starting with a lower case letter": [ + "Solo use letras y números comenzando con una letra minúscula", + ], + "Password don't match": ["La contraseña no coincide"], + "Please register!": ["Por favor, registrese!"], + "Repeat Password:": ["Repita la contraseña:"], + "Registration failed, please report": [ + "El registro falló, por favor reportelo", + ], + "That username is already taken": [ + "El nombre del usuario ya está tomado", + ], + "New registration gave response error": [ + "Nuevo registro dió una respuesta errónea", + ], + "Bank menu": ["Menu del banco"], + "Select option1": ["Seleccione opción 1"], + "Select option2": ["Seleccione opción 2"], + days: ["días"], + hours: ["horas"], + minutes: ["minutos"], + seconds: ["segundos"], + }, + }, +}; + +strings["it"] = { + domain: "messages", + locale_data: { + messages: { + "": { + domain: "messages", + plural_forms: "nplurals=2; plural=(n != 1);", + lang: "it", + }, + Logout: [""], + "Skip to main content": [""], + "This part of the demo shows how a bank that supports Taler directly would work. In addition to using your own bank account, you can also see the transaction history of some %1$s.": + [""], + "Taler logo": [""], + "Missing username": [""], + "Missing password": [""], + "Please login!": ["Accedi!"], + "Username:": [""], + "Password:": [""], + Login: ["Accedi"], + Register: ["Registrati"], + "Missing IBAN": [""], + "IBAN should have just uppercased letters and numbers": [""], + "Missing subject": [""], + "Missing amount": [""], + "Amount is not valid": [""], + "Should be greater than 0": [""], + "Receiver IBAN:": [""], + "Transfer subject:": [""], + "Amount:": ["Somma"], + "Field(s) missing.": [""], + "Want to try the raw payto://-format?": [ + "Prova il trasferimento tramite il formato Payto!", + ], + "Missing payto address": ["indirizzo Payto"], + "Payto does not follow the pattern": [""], + "Transfer money to account identified by payto:// URI:": [ + "Trasferisci fondi a un altro conto di questa banca:", + ], + "payto URI:": [""], + "payto address": ["indirizzo Payto"], + Send: [""], + "Use wire-transfer form?": ["Chiudi il bonifico"], + "No credentials found.": ["Credenziali invalide."], + "Could not create the wire transfer": [""], + "Transfer creation gave response error": [""], + "Wire transfer created!": ["Bonifico"], + "Amount to withdraw:": ["Somma da ritirare"], + Withdraw: ["Conferma il ritiro"], + "No credentials given.": ["Credenziali invalide."], + "Could not create withdrawal operation": [""], + "Withdrawal creation gave response error": [""], + "Obtain digital cash": [""], + "Transfer to bank account": [ + "Trasferisci fondi a un altro conto di questa banca:", + ], + Date: [""], + Amount: ["Somma"], + Counterpart: ["Controparte"], + Subject: ["Causale"], + "Transfer to Taler Wallet": ["Ritira contante nel portafoglio Taler"], + "Use this QR code to withdraw to your mobile wallet:": [ + "Usa questo codice QR per ritirare contante nel tuo wallet:", + ], + "Click %1$s to open your Taler wallet!": [""], + "Confirm Withdrawal": ["Conferma il ritiro"], + "Authorize withdrawal by solving challenge": [""], + "What is": [""], + "Answer is wrong.": [""], + Confirm: ["Conferma"], + Cancel: [""], + "A this point, a %1$s bank would ask for an additional authentication proof (PIN/TAN, one time password, ..), instead of a simple calculation.": + [""], + "No withdrawal ID found.": [""], + "Could not confirm the withdrawal": ["Conferma il ritiro"], + "Withdrawal confirmation gave response error": [""], + "Withdrawal confirmed!": ["Questo ritiro è stato annullato!"], + "Could not abort the withdrawal.": ["Chiudi il ritiro Taler"], + "Withdrawal abortion failed.": ["Questo ritiro è stato annullato!"], + "Withdrawal aborted!": ["Questo ritiro è stato annullato!"], + Abort: ["Annulla"], + "withdrawal (%1$s) was never (correctly) created at the bank...": [""], + "Waiting the bank to create the operation...": [ + "La banca sta creando l'operazione...", + ], + "This withdrawal was aborted!": ["Questo ritiro è stato annullato!"], + "Welcome to %1$s!": [""], + "Username or account label '%1$s' not found. Won't login.": [ + "L'utente '%1$s' non esiste. Login impossibile", + ], + "Wrong credentials given.": ["Credenziali invalide."], + "Account information could not be retrieved.": [ + "Impossibile ricevere le informazioni relative al conto.", + ], + "Welcome, %1$s !": [""], + "Bank account balance": ["Bilancio:"], + Payments: [""], + "Latest transactions:": ["Ultime transazioni:"], + "List of public accounts was not found.": [ + "Lista conti pubblici non trovata.", + ], + "List of public accounts could not be retrieved.": [ + "Lista conti pubblici non pervenuta.", + ], + "History of public accounts": ["Storico dei conti pubblici"], + "Currently, the bank is not accepting new registrations!": [""], + "Use only letter and numbers starting with a lower case letter": [""], + "Password don't match": [""], + "Please register!": ["Accedi!"], + "Repeat Password:": [""], + "Registration failed, please report": ["Registrazione"], + "That username is already taken": [""], + "New registration gave response error": [""], + "Bank menu": [""], + "Select option1": [""], + "Select option2": [""], + days: [""], + hours: [""], + minutes: [""], + seconds: [""], + }, + }, +}; diff --git a/packages/exchange-backoffice-ui/src/index.html b/packages/exchange-backoffice-ui/src/index.html new file mode 100644 index 000000000..e21e1fccc --- /dev/null +++ b/packages/exchange-backoffice-ui/src/index.html @@ -0,0 +1,42 @@ +<!-- + This file is part of GNU Taler + (C) 2021--2022 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/> + + @author Sebastian Javier Marchano +--> +<!DOCTYPE html> +<html lang="en"> + <head> + <meta http-equiv="content-type" content="text/html; charset=utf-8" /> + <meta charset="utf-8" /> + <meta name="viewport" content="width=device-width,initial-scale=1" /> + <meta name="taler-support" content="uri"> + <meta name="mobile-web-app-capable" content="yes" /> + <meta name="apple-mobile-web-app-capable" content="yes" /> + <link + rel="icon" + href="data:;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAQAABILAAASCwAAAAAAAAAAAAD///////////////////////////////////////////////////////////////////////////////////////////////////7//v38//78/P/+/fz//vz7///+/v/+/f3//vz7///+/v/+/fz//v38///////////////////////+/v3///7+/////////////////////////////////////////////////////////v3//v79///////+/v3///////r28v/ct5//06SG/9Gffv/Xqo7/7N/V/9e2nf/bsJb/6uDW/9Sskf/euKH/+/j2///////+/v3//////+3azv+/eE3/2rWd/9Kkhv/Vr5T/48i2/8J+VP/Qn3//3ryn/795Tf/WrpP/2LCW/8B6T//w4Nb///////Pn4P+/d0v/9u3n/+7d0v/EhV7//v///+HDr//fxLD/zph2/+TJt//8/Pv/woBX//Lm3f/y5dz/v3hN//bu6f/JjGn/4sW0///////Df1j/8OLZ//v6+P+/elH/+vj1//jy7f+/elL//////+zYzP/Eg13//////967p//MlHT/wn5X///////v4Nb/yY1s///////jw7H/06KG////////////z5t9/+fNvf//////x4pn//Pp4v/8+vn/w39X/8WEX///////5s/A/9CbfP//////27Oc/9y2n////////////9itlf/gu6f//////86Vdf/r2Mz//////8SCXP/Df1j//////+7d0v/KkG7//////+HBrf/VpYr////////////RnoH/5sq6///////Ii2n/8ubf//39/P/Cf1j/xohk/+bNvv//////wn5W//Tq4//58/D/wHxV//7+/f/59fH/v3xU//39/P/w4Nf/xIFb///////hw7H/yo9t/+/f1f/AeU3/+/n2/+nSxP/FhmD//////9qzm//Upon/4MSx/96+qf//////xINc/+3bz//48e3/v3hN//Pn3///////6M+//752S//gw6//06aK/8J+VP/kzLr/zZd1/8OCWv/q18r/17KZ/9Ooi//fv6r/v3dK/+vWyP///////v39///////27un/1aeK/9Opjv/m1cf/1KCC/9a0nP/n08T/0Jx8/82YdP/QnHz/16yR//jx7P///////v39///////+/f3///7+///////+//7//v7+///////+/v7//v/+/////////////////////////v7//v79///////////////////+/v/+/Pv//v39///+/v/+/Pv///7+//7+/f/+/Pv//v39//79/P/+/Pv///7+////////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==" + /> + <link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon" /> + <title>Demobank</title> + <!-- Optional customization script. --> + <script src="demobank-ui-settings.js"></script> + <!-- Entry point for the demobank SPA. --> + <script type="module" src="index.js"></script> + <link rel="stylesheet" href="index.css" /> + </head> + <body> + <div id="app"></div> + </body> +</html> diff --git a/packages/exchange-backoffice-ui/src/index.tsx b/packages/exchange-backoffice-ui/src/index.tsx new file mode 100644 index 000000000..c2ac4c84b --- /dev/null +++ b/packages/exchange-backoffice-ui/src/index.tsx @@ -0,0 +1,22 @@ +/* + This file is part of GNU Taler + (C) 2022 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/> + */ + +import { App } from "./App.js"; +import { h, render } from "preact"; + +const app = document.getElementById("app"); + +render(<App />, app as any); diff --git a/packages/exchange-backoffice-ui/src/scss/main.css b/packages/exchange-backoffice-ui/src/scss/main.css new file mode 100644 index 000000000..b5c61c956 --- /dev/null +++ b/packages/exchange-backoffice-ui/src/scss/main.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; diff --git a/packages/exchange-backoffice-ui/src/stories.test.ts b/packages/exchange-backoffice-ui/src/stories.test.ts new file mode 100644 index 000000000..4e24967e4 --- /dev/null +++ b/packages/exchange-backoffice-ui/src/stories.test.ts @@ -0,0 +1,56 @@ +/* + This file is part of GNU Taler + (C) 2022 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/> + */ + +/** + * + * @author Sebastian Javier Marchano (sebasjm) + */ +import { setupI18n } from "@gnu-taler/taler-util"; +import { parseGroupImport } from "@gnu-taler/web-util/browser"; +import * as tests from "@gnu-taler/web-util/testing"; + +// import * as components from "./components/index.examples.js"; +// import * as pages from "./pages/index.stories.js"; + +import { ComponentChildren, Fragment, VNode, h as create } from "preact"; +// import { BackendStateProviderTesting } from "./context/backend.js"; + +setupI18n("en", { en: {} }); + +describe("All the examples:", () => { + const cms = parseGroupImport({}); + cms.forEach((group) => { + describe(`Example for group "${group.title}:"`, () => { + group.list.forEach((component) => { + describe(`Component ${component.name}:`, () => { + component.examples.forEach((example) => { + it(`should render example: ${example.name}`, () => { + tests.renderUI(example.render, DefaultTestingContext); + }); + }); + }); + }); + }); + }); +}); + +function DefaultTestingContext({ + children, +}: { + children: ComponentChildren; +}): VNode { + return create(Fragment, {}); +} diff --git a/packages/exchange-backoffice-ui/src/stories.tsx b/packages/exchange-backoffice-ui/src/stories.tsx new file mode 100644 index 000000000..b6c0c1f07 --- /dev/null +++ b/packages/exchange-backoffice-ui/src/stories.tsx @@ -0,0 +1,44 @@ +/* + This file is part of GNU Taler + (C) 2022 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/> + */ + +/** + * + * @author Sebastian Javier Marchano (sebasjm) + */ +import { strings } from "./i18n/strings.js"; + +// import * as pages from "./pages/index.stories.js"; +// import * as components from "./components/index.examples.js"; + +import { renderStories } from "@gnu-taler/web-util/browser"; + +// import "./scss/main.scss"; + +function main(): void { + renderStories( + // { pages, components }, + {}, + { + strings, + }, + ); +} + +if (document.readyState === "loading") { + document.addEventListener("DOMContentLoaded", main); +} else { + main(); +} diff --git a/packages/exchange-backoffice-ui/tailwind.config.js b/packages/exchange-backoffice-ui/tailwind.config.js new file mode 100644 index 000000000..01f058b2e --- /dev/null +++ b/packages/exchange-backoffice-ui/tailwind.config.js @@ -0,0 +1,8 @@ +/** @type {import('tailwindcss').Config} */ +export default { + content: ["./src/**/*.{html,tsx}"], + theme: { + extend: {}, + }, + plugins: [require("@tailwindcss/typography"), require("@tailwindcss/forms")], +}; diff --git a/packages/exchange-backoffice-ui/tsconfig.json b/packages/exchange-backoffice-ui/tsconfig.json new file mode 100644 index 000000000..abb9a9f36 --- /dev/null +++ b/packages/exchange-backoffice-ui/tsconfig.json @@ -0,0 +1,51 @@ +{ + "compilerOptions": { + /* Basic Options */ + "target": "ES5", + "module": "ES6", + "lib": [ + "DOM", + "ES2016" + ], + "allowJs": true /* Allow javascript files to be compiled. */, + // "checkJs": true, /* Report errors in .js files. */ + "jsx": "react" /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */, + "jsxFactory": "h", + "jsxFragmentFactory": "Fragment", + "noEmit": true /* Do not emit outputs. */, + // "importHelpers": true, /* Import emit helpers from 'tslib'. */ + // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ + // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ + /* Strict Type-Checking Options */ + "strict": true /* Enable all strict type-checking options. */, + "noImplicitAny": true /* Raise error on expressions and declarations with an implied 'any' type. */, + /* Additional Checks */ + // "noUnusedLocals": true, /* Report errors on unused locals. */ + // "noUnusedParameters": true, /* Report errors on unused parameters. */ + // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ + // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ + /* Module Resolution Options */ + "moduleResolution": "Node16" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, + "esModuleInterop": true /* */, + // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ + // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ + // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ + // "typeRoots": [], /* List of folders to include type definitions from. */ + // "types": [], /* Type declaration files to be included in compilation. */ + "allowSyntheticDefaultImports": true /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */, + // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ + /* Source Map Options */ + // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ + // "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */ + // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */ + // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ + /* Experimental Options */ + // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ + // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ + /* Advanced Options */ + "skipLibCheck": true /* Skip type checking of declaration files. */ + }, + "include": [ + "src/**/*" + ] +}
\ No newline at end of file |