Skip to content

armgit / spree

Public Imported from GitHub
0

Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.

Fixed translation issues with API keys Admin UI

Damian Legawiec001a1418aa80
diff --git a/admin/config/locales/en.yml b/admin/config/locales/en.yml
index aac215b89d..4ee7b0ae87 100644
--- a/admin/config/locales/en.yml
+++ b/admin/config/locales/en.yml
@@ -3,6 +3,31 @@ en:
spree:
admin:
amount_spent: Amount spent
+ api_keys:
+ example_request: Example Request
+ key_revoked_message: This API key has been revoked and can no longer be used.
+ key_type_descriptions:
+ publishable: Safe to use in client-side code like mobile apps or browsers.
+ secret: Keep this secure and only use it server-side. Never expose it publicly.
+ key_types:
+ publishable: Publishable
+ secret: Secret
+ last_used_at: Last used
+ list: API Keys
+ name_placeholder: e.g. Mobile App Production
+ revoke: Revoke
+ revoke_confirmation: Are you sure you want to revoke this API key? This action cannot be undone.
+ revoked: API key has been revoked
+ revoked_at: Revoked at
+ revoked_by: Revoked by
+ statuses:
+ active: Active
+ revoked: Revoked
+ token_warning: Store this key securely. It will be shown only this once.
+ usage: Usage
+ usage_instructions:
+ publishable: Use this key for client-side requests. It can be safely included in your frontend code.
+ secret: Use this key for server-side requests only. Keep it confidential and never expose it in client-side code.
audit_log: Audit Log
avg_order_value: Avg. Order Value
back_to_dashboard: Back to dashboard
@@ -355,30 +380,6 @@ en:
total_inventory_html: 'Total inventory at %{stock_location} location: %{count} available'
vendors:
enterprise_feature: Multi-Vendor Marketplace is available in the Enterprise Edition
- api_keys:
- example_request: Example Request
- key_revoked_message: This API key has been revoked and can no longer be used.
- key_type_descriptions:
- publishable: Safe to use in client-side code like mobile apps or browsers.
- secret: Keep this secure and only use it server-side. Never expose it publicly.
- key_types:
- publishable: Publishable
- secret: Secret
- last_used_at: Last used
- list: API Keys
- name_placeholder: e.g. Mobile App Production
- revoke_confirmation: Are you sure you want to revoke this API key? This action cannot be undone.
- revoked: API key has been revoked
- revoked_at: Revoked at
- revoked_by: Revoked by
- statuses:
- active: Active
- revoked: Revoked
- token_warning: Store this key securely. It will be shown only this once.
- usage: Usage
- usage_instructions:
- publishable: Use this key for client-side requests. It can be safely included in your frontend code.
- secret: Use this key for server-side requests only. Keep it confidential and never expose it in client-side code.
webhook_deliveries:
delivered_at: Delivered at
delivery_details: Delivery Details
diff --git a/core/config/locales/en.yml b/core/config/locales/en.yml
index 2f1b22ca98..06fb0bca5f 100644
--- a/core/config/locales/en.yml
+++ b/core/config/locales/en.yml
@@ -1404,6 +1404,7 @@ en:
new: New
new_address: New address
new_adjustment: New Adjustment
+ new_api_key: New API Key
new_balance: New balance
new_billing_address: New Billing Address
new_country: New Country