From 8f3e170738ecc9708d6e4f066d8c6c2b3e469b9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B4=94=E5=BA=86=E6=89=8D=E4=B8=A8=E9=9D=99=E8=A7=85?= Date: Sat, 23 Mar 2024 02:05:37 +0800 Subject: [PATCH] Add test localization files (#5) Co-authored-by: Germey --- ...-977c3d4d-aa47-4005-a066-1da6b21e4ba7.json | 7 +++ src/i18n/en/api.json | 37 +++++++++++++ src/i18n/en/application.json | 55 +++++++++++++++++++ 3 files changed, 99 insertions(+) create mode 100644 change/@acedatacloud-hub-977c3d4d-aa47-4005-a066-1da6b21e4ba7.json create mode 100644 src/i18n/en/api.json create mode 100644 src/i18n/en/application.json diff --git a/change/@acedatacloud-hub-977c3d4d-aa47-4005-a066-1da6b21e4ba7.json b/change/@acedatacloud-hub-977c3d4d-aa47-4005-a066-1da6b21e4ba7.json new file mode 100644 index 00000000..4662b3c9 --- /dev/null +++ b/change/@acedatacloud-hub-977c3d4d-aa47-4005-a066-1da6b21e4ba7.json @@ -0,0 +1,7 @@ +{ + "type": "patch", + "comment": "add test i18n files", + "packageName": "@acedatacloud/hub", + "email": "germey@acedata.cloud", + "dependentChangeType": "patch" +} diff --git a/src/i18n/en/api.json b/src/i18n/en/api.json new file mode 100644 index 00000000..03b2bd3b --- /dev/null +++ b/src/i18n/en/api.json @@ -0,0 +1,37 @@ +{ + "entity": { + "requestQueries": "Request Queries", + "requestBody": "Request Body", + "responseBody": "Response Body", + "requestHeaders": "Request Headers", + "requestHeader": "Request Header", + "responseHeaders": "Response Headers", + "response": "Response", + "success": "Success", + "failure": "Failure", + "responseExample": "Example", + "authentication": "Authentication", + "arrayOf": "Array of", + "apiKey": "API Key" + }, + "message": { + "free": "Free", + "appliedCount": "Applied Times", + "firstFree": "First Free", + "custom": "Specified Times", + "present": "Gift", + "around": "Approximately" + }, + "credits": { + "credit": "Credit", + "Credit": "Credit", + "credits": "Credits", + "Credits": "Credits", + "call": "Call", + "Call": "Call", + "calls": "Calls", + "Calls": "Calls", + "MB": "MB", + "GB": "GB" + } +} diff --git a/src/i18n/en/application.json b/src/i18n/en/application.json new file mode 100644 index 00000000..6df7e361 --- /dev/null +++ b/src/i18n/en/application.json @@ -0,0 +1,55 @@ +{ + "button": { + "goDocument": "View Document", + "buyMore": "Buy More", + "createOrder": "Create Order", + "custom": "Custom", + "query": "Query" + }, + "field": { + "id": "Application ID", + "remainingAmount": "Remaining Amount", + "usedAmount": "Used Amount", + "apiKey": "API Key", + "service": "Service", + "operation": "Operation", + "amount": "Amount", + "shouldPayPrice": "Payable Amount", + "api": "API", + "proxy": "Proxy", + "credential": "Credential", + "name": "Name", + "package": "Package", + "price": "Price", + "type": "Type", + "freeAmount": "Free Gift", + "extraPrice": "Extra Price" + }, + "message": { + "alreadyApplied": "You have already applied for this service", + "applySuccessfully": "Application successful", + "notApplied": "You have not applied for this service yet, please apply for this service before using", + "yourApplication": "Your application", + "unverified": "You need to complete real-name authentication before you can apply for this service", + "goVerify": "Go to real-name authentication", + "requiredParameter": "Required parameter", + "example": "Example", + "readPolicy": "I have read and agree to", + "policy": "Data Technology Service Use Agreement", + "notAgreePolicy": "You have not agreed to the Data Technology Service Use Agreement", + "confirmApplying": "Confirm service application", + "rotateCredential": "Reset key", + "rotateCredentialConfirm": "Are you sure you want to reset the key? It cannot be recovered after resetting", + "idDoesNotExist": "Application does not exist", + "rotateCredentialSuccessfully": "Key reset successful", + "rotateCredentialFailed": "Key reset failed, please contact customer service", + "updateFailed": "Modification failed", + "updateSuccessfully": "Modification successful", + "applyDescription": "You can use it immediately after applying, and you will also receive a certain number of free times." + }, + "title": { + "buyService": "Buy Service", + "applicationRemainingCount": "Modify Count", + "manageApplication": "Application Management" + } +}