Translations

This commit is contained in:
Daniel Egger 2024-06-27 18:57:27 +02:00
parent fab9297989
commit 52f2b30a58
2 changed files with 3 additions and 7 deletions

View File

@ -25,7 +25,7 @@ const { countries } = useEntities();
const paymentMethods = computed(() => {
return [
{ value: "credit_card", label: t("a.Debit-/Kreditkarte / Twint") },
{ value: "credit_card", label: t("a.Debit-/Kreditkarte/Twint") },
{ value: "cembra_byjuno", label: t("a.Rechnung") },
];
});
@ -200,8 +200,7 @@ const address = computed({
<div v-if="address.payment_method === 'cembra_byjuno'" class="col-span-full">
<p class="mt-4">
TODO: Eine Zahlung mit Rechnung wird immer auf deine Privatadresse verrechnet.
Du musst zwinged deine Telefonnummer und dein Geburtsdatum angeben.
{{ $t("shop.paymentCembraByjunoMessage") }}
</p>
</div>

View File

@ -9,7 +9,6 @@ import { useEntities } from "@/services/entities";
import { useRoute } from "vue-router";
import { useTranslation } from "i18next-vue";
import { getVVCourseName } from "./composables";
import ItToggleSwitch from "@/components/ui/ItToggleSwitch.vue";
import DatatransCembraDeviceFingerprint from "@/components/onboarding/DatatransCembraDeviceFingerprint.vue";
import { getLocalSessionKey } from "@/statistics";
import log from "loglevel";
@ -214,6 +213,7 @@ const executePayment = async () => {
}
const addressData = Object.assign({}, address.value);
// @ts-ignore
delete addressData.payment_method;
itPost("/api/shop/vv/checkout/", {
@ -253,9 +253,6 @@ const executePayment = async () => {
$t("a.Mit dem Kauf erhältst du Zugang auf den gesamten Kurs (inkl. Prüfung).")
}}
</p>
<p>
{{ $t("a.Hier kannst du ausschliesslich mit einer Kreditkarte bezahlen.") }}
</p>
<p v-if="paymentError" class="text-bold mt-12 text-lg text-red-700">
{{