From af8eb7b1a3ac96de2ddda8cea634880b4dd1cb27 Mon Sep 17 00:00:00 2001 From: IceToast Date: Tue, 6 Jun 2023 17:04:36 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20fix=20text=20typo=20and?= =?UTF-8?q?=20add=20localisation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lang/en.json | 67 ++++++++++++++++--- themes/default/views/store/checkout.blade.php | 5 +- 2 files changed, 60 insertions(+), 12 deletions(-) diff --git a/lang/en.json b/lang/en.json index 90f23aae..69316d6e 100644 --- a/lang/en.json +++ b/lang/en.json @@ -236,7 +236,6 @@ "You usually do not need to change anything here": "You usually do not need to change anything here", "Edit Server": "Edit Server", "Server identifier": "Server identifier", - "User": "User", "Server id": "Server id", "Config": "Config", "Suspended at": "Suspended at", @@ -355,7 +354,6 @@ "Useful Links": "Useful Links", "Icon class name": "Icon class name", "You can find available free icons": "You can find available free icons", - "Title": "Title", "Link": "Link", "description": "description", "Icon": "Icon", @@ -385,11 +383,9 @@ "Content": "Content", "Server limit": "Server limit", "Discord": "Discord", - "Usage": "Usage", "IP": "IP", "Referals": "Referals", "referral-code": "referral-code", - "Vouchers": "Vouchers", "Voucher details": "Voucher details", "Summer break voucher": "Summer break voucher", "Code": "Code", @@ -452,7 +448,6 @@ "Blacklist List": "Blacklist List", "Reason": "Reason", "Created At": "Created At", - "Actions": "Actions", "Add To Blacklist": "Add To Blacklist", "please make the best of it": "please make the best of it", "Please note, the blacklist will make the user unable to make a ticket/reply again": "Please note, the blacklist will make the user unable to make a ticket/reply again", @@ -489,7 +484,6 @@ "Please select software ...": "Please select software ...", "---": "---", "Specification ": "Specification ", - "Node": "Node", "Resource Data:": "Resource Data:", "vCores": "vCores", "MB": "MB", @@ -554,9 +548,7 @@ "Total discount": "Total discount", "Taxable amount": "Taxable amount", "Tax rate": "Tax rate", - "Total taxes": "Total taxes", "Shipping": "Shipping", - "Total amount": "Total amount", "Notes": "Notes", "Amount in words": "Amount in words", "Please pay until": "Please pay until", @@ -593,11 +585,66 @@ "Billing Period": "Billing Period", "Next Billing Cycle": "Next Billing Cycle", "Manage Server": "Manage Server", - "Delete Server": "Delete Server", "Cancel Server": "Cancel Server", "Yes, cancel it!": "Yes, cancel it!", "No, abort!": "No, abort!", "Billing period": "Billing period", "Upgrading/Downgrading your server will reset your billing cycle to now. Your overpayed Credits will be refunded. The price for the new billing cycle will be withdrawed": "Upgrading/Downgrading your server will reset your billing cycle to now. Your overpayed Credits will be refunded. The price for the new billing cycle will be withdrawed", - "Caution": "Caution" + "Caution": "Caution", + "Only one of the two code inputs must be provided.": "Only one of the two code inputs must be provided.", + "At least one of the two code inputs must be provided.": "At least one of the two code inputs must be provided.", + "The coupon's was registered successfully.": "The coupon's was registered successfully.", + "coupon has been updated!": "coupon has been updated!", + "coupon has been removed!": "coupon has been removed!", + "Never": "Never", + "Legal pages updated": "Legal pages updated", + "Partner already exists": "Partner already exists", + "partner has been created!": "partner has been created!", + "partner has been updated!": "partner has been updated!", + "partner has been removed!": "partner has been removed!", + "Unknown user": "Unknown user", + "Default": "Default", + "Oops, something went wrong! Please try again later.": "Oops, something went wrong! Please try again later.", + "enabled": "enabled", + "disabled": "disabled", + "Role saved": "Role saved", + "Role updated. Name and Permissions of this Role cannot be changed": "Role updated. Name and Permissions of this Role cannot be changed", + "Role updated. Name of this Role cannot be changed": "Role updated. Name of this Role cannot be changed", + "Role removed": "Role removed", + "Server cancelled": "Server cancelled", + "An exception has occurred while trying to cancel the server\"": "An exception has occurred while trying to cancel the server\"", + "renamed": "renamed", + "servers": "servers", + "deleted": "deleted", + "old servers": "old servers", + "Category created": "Category created", + "Category name updated": "Category name updated", + "Category removed": "Category removed", + "Ticket not found on the server. It potentially got deleted earlier": "Ticket not found on the server. It potentially got deleted earlier", + "A ticket has been reopened, ID: #": "A ticket has been reopened, ID: #", + "User not found on the server. Check on the admin database or try again later.": "User not found on the server. Check on the admin database or try again later.", + "Reopen": "Reopen", + "User not found on the server. Check the admin database or try again later.": "User not found on the server. Check the admin database or try again later.", + "You can not delete the last admin!": "You can not delete the last admin!", + "User does not have the right permissions.": "User does not have the right permissions.", + "Account permanently deleted!": "Account permanently deleted!", + "The system administrator has blocked the creation of new servers.": "The system administrator has blocked the creation of new servers.", + "An exception has occurred while trying to remove a resource\"": "An exception has occurred while trying to remove a resource\"", + "This is not your Server!": "This is not your Server!", + "The system was unable to update your server product. Please try again later or contact support.": "The system was unable to update your server product. Please try again later or contact support.", + "This coupon does not exist.": "This coupon does not exist.", + "This coupon has reached the maximum amount of uses.": "This coupon has reached the maximum amount of uses.", + "This coupon has expired.": "This coupon has expired.", + "You have reached the maximum uses of this coupon.": "You have reached the maximum uses of this coupon.", + "The coupon you are trying to use would give you 100% off, so it cannot be used for this product, sorry.": "The coupon you are trying to use would give you 100% off, so it cannot be used for this product, sorry.", + "Select": "Select", + "Selected": "Selected", + "Pricing": "Pricing", + "Product details": "Product details", + "Total Amount": "Total Amount", + "Partner Discount": "Partner Discount", + "Coupon Discount": "Coupon Discount", + "Enter your coupon here...": "Enter your coupon here...", + "Coupon": "Coupon", + "Checkout details": "Checkout details" } diff --git a/themes/default/views/store/checkout.blade.php b/themes/default/views/store/checkout.blade.php index b6a00294..8c769780 100644 --- a/themes/default/views/store/checkout.blade.php +++ b/themes/default/views/store/checkout.blade.php @@ -180,8 +180,9 @@
{{ __('Partner Discount') }} ({{ $discountpercent }}%) - -{{ $product->formatToCurrency($discountvalue) }} + + - {{ $product->formatToCurrency($discountvalue) }} +
@endif