From 449d537669e088bfff69c087fbf54e6d6b639901 Mon Sep 17 00:00:00 2001 From: itzMiney Date: Thu, 7 Aug 2025 19:56:11 +0200 Subject: [PATCH] Added translations to Services --- public/i18n/de.json | 4 ++++ public/i18n/en.json | 4 ++++ src/app/services/services.component.html | 6 +++--- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/public/i18n/de.json b/public/i18n/de.json index 4f6dabb..81a9f8b 100644 --- a/public/i18n/de.json +++ b/public/i18n/de.json @@ -1,4 +1,8 @@ { + "BASIC": "Basis", + "ADVANCED": "Erweitert", + "BUY": "Kaufen", + "SUCCESS": "Erfolgreich!", "SUCCESS_SUB": "Deine Bestellung wurde aufgegeben.", diff --git a/public/i18n/en.json b/public/i18n/en.json index 2b816b1..95c77e2 100644 --- a/public/i18n/en.json +++ b/public/i18n/en.json @@ -1,4 +1,8 @@ { + "BASIC": "Basic", + "ADVANCED": "Advanced", + "BUY": "Buy Service", + "SUCCESS": "Success!", "SUCCESS_SUB": "Your order has been placed.", diff --git a/src/app/services/services.component.html b/src/app/services/services.component.html index cfdf416..65eed93 100644 --- a/src/app/services/services.component.html +++ b/src/app/services/services.component.html @@ -23,13 +23,13 @@ class="tab-btn" [class.active]="activeTab[i] === 'basic'" (click)="switchTab(i, 'basic')"> - Basic + {{ 'BASIC' | translate}}
@@ -37,7 +37,7 @@ class="buy-button" *ngIf="getActivePriceId(service, activeTab[i])" (click)="checkout(getActivePriceId(service, activeTab[i])!)"> - Buy Service + {{ 'BUY' | translate}}