Prechádzať zdrojové kódy

fix: 🐛 fix text typo and add localisation

IceToast 2 rokov pred
rodič
commit
af8eb7b1a3
2 zmenil súbory, kde vykonal 60 pridanie a 12 odobranie
  1. 57 10
      lang/en.json
  2. 3 2
      themes/default/views/store/checkout.blade.php

+ 57 - 10
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"
 }

+ 3 - 2
themes/default/views/store/checkout.blade.php

@@ -180,8 +180,9 @@
                                                 <div class="d-flex justify-content-between">
                                                     <span class="text-muted d-inline-block">{{ __('Partner Discount') }}
                                                         ({{ $discountpercent }}%)</span>
-                                                    <span
-                                                        class="text-muted d-inline-block">-{{ $product->formatToCurrency($discountvalue) }}</span>
+                                                    <span class="text-muted d-inline-block">
+                                                        - {{ $product->formatToCurrency($discountvalue) }}
+                                                    </span>
                                                 </div>
                                             @endif
                                             <hr class="text-white border-secondary">