Skip to content

Commit

Permalink
Improved: added entry in locale for the missing translation of static…
Browse files Browse the repository at this point in the history
… texts (#734)
  • Loading branch information
amansinghbais committed Dec 3, 2024
1 parent 3345c69 commit 1b873c4
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/MaargJobConfiguration.vue
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ export default defineComponent({
try {
const resp = await MaargJobService.updateMaargJob(payload)
if(!hasError(resp)) {
showToast(translate("Service updated successfully."))
showToast(translate("Service updated successfully"))
this.store.dispatch("maargJob/updateMaargJob", job.jobTypeEnumId)
} else {
throw resp.data
Expand Down
26 changes: 26 additions & 0 deletions src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"App": "App",
"Approve orders": "Approve orders",
"Archived": "Archived",
"Are you sure you want to enable this job?": "Are you sure you want to enable this job?",
"Are you sure you want to save these changes?": "Are you sure you want to save these changes?",
"Are you sure you want to schedule these jobs?": "Are you sure you want to schedule these jobs?",
"Authenticating": "Authenticating",
Expand Down Expand Up @@ -59,6 +60,8 @@
"Close": "Close",
"Completed orders": "Completed orders",
"Configuration missing": "Configuration missing",
"Confirm": "Confirm",
"Consume All Received System Messages": "Consume All Received System Messages",
"Copied job details to clipboard": "Copied job details to clipboard",
"Copied to clipboard": "Copied to clipboard",
"Copy details": "Copy details",
Expand All @@ -84,15 +87,20 @@
"eCommerce": "eCommerce",
"eCommerce stores are directly connected to one Shop Config. If your OMS is connected to multiple eCommerce stores selling the same catalog operating as one Company, you may have multiple Shop Configs for the selected Product Store.": "eCommerce stores are directly connected to one Shop Config. If your OMS is connected to multiple eCommerce stores selling the same catalog operating as one Company, you may have multiple Shop Configs for the selected Product Store.",
"Email customers": "Email customers",
"Enable": "Enable",
"Enable job": "Enable job",
"Every 15 minutes": "Every 15 minutes",
"Every 30 minutes": "Every 30 minutes",
"Every 5 minutes": "Every 5 minutes",
"Every 6 hours": "Every 6 hours",
"Every day": "Every day",
"Expression": "Expression",
"Failed": "Failed",
"Failed records": "Failed records",
"Failed job reason": "Failed job reason",
"Failed to cancel job": "Failed to cancel job",
"Failed to schedule service(s)": "Failed to schedule {count} service(s)",
"Failed to update service": "Failed to update service",
"Fetching jobs": "Fetching jobs",
"Fetching TimeZones": "Fetching TimeZones",
"File upload status": "File upload status",
Expand All @@ -106,6 +114,15 @@
"Fulfillment": "Fulfillment",
"Fulfillment status": "Fulfillment status",
"Generating answer...": "Generating answer...",
"Generate appeasements financial feed": "Generate appeasements financial feed",
"Generate Brokered order items feed": "Generate Brokered order items feed",
"Generate inventory cycle count variance feed": "Generate inventory cycle count variance feed",
"Generate inventory variance feed": "Generate inventory variance feed",
"Generate order items feed": "Generate order items feed",
"Generate PO shipment receipt feed": "Generate PO shipment receipt feed",
"Generate returns financial feed": "Generate returns financial feed",
"Generate Shipments Receipt Feed": "Generate Shipments Receipt Feed",
"Generate TO order items feed": "Generate TO order items feed",
"Get Paid Transactions": "Get Paid Transactions",
"Go to OMS": "Go to OMS",
"Go to Launchpad": "Go to Launchpad",
Expand All @@ -131,6 +148,7 @@
"Import logs": "Import logs",
"Job": "Job",
"Job details": "Job details",
"Job has been cancelled succesfully.": "Job has been cancelled succesfully.",
"Job runtime has passed. The job data has refreshed. Please try again.": "Job runtime has passed. The job data has refreshed. Please try again.",
"Job runtime has passed. Please refresh to get the latest job data in order to perform any action.": "Job runtime has passed. Please refresh to get the latest job data in order to perform any action.",
"Job Manager": "Job Manager",
Expand Down Expand Up @@ -190,6 +208,10 @@
"Pinned": "Pinned",
"Pinned jobs": "Pinned jobs",
"Pipeline": "Pipeline",
"Provide a valid cron expression": "Provide a valid cron expression",
"Please select a scheduling for job": "Please select a scheduling for job",
"Poll current bulk operation query result": "Poll current bulk operation query result",
"Poll OMS fulfilled items feed": "Poll OMS fulfilled items feed",
"Pre-order": "Pre-order",
"Pre-Order": "Pre-Order",
"Pre-order parking": "Pre-order parking",
Expand Down Expand Up @@ -240,6 +262,7 @@
"Schedule": "Schedule",
"Schedule in bulk": "Schedule in bulk",
"Schedule inventory hard sync": "Schedule inventory hard sync",
"Schedule Options": "Schedule Options",
"Schedule product sync": "Schedule product sync",
"Scheduled Job": "Scheduled Job",
"Scheduler": "Scheduler",
Expand All @@ -255,6 +278,9 @@
"Selected TimeZone": "Selected TimeZone",
"Select a different time zone": "Select a different time zone",
"Select time zone": "Select time zone",
"Send All Produced System Messages": "Send All Produced System Messages",
"Send next bulk query system message in queue": "Send next bulk query system message in queue",
"Send shopify fulfillment ack feed": "Send shopify fulfillment ack feed",
"Sends notifications for open orders and ready-to-pickup orders.":"Sends notifications for open orders and ready-to-pickup orders.",
"Service has been scheduled": "Service has been scheduled",
"Service updated successfully": "Service updated successfully",
Expand Down
6 changes: 0 additions & 6 deletions src/views/Fulfillment.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,6 @@
<ion-label class="ion-text-wrap">{{ translate("Generate TO order items feed") }}</ion-label>
<ion-label slot="end">{{ isMaargJobFound('GNRT_TO_FLFLD_ITM_FEED') ? getMaargJobStatus("GNRT_TO_FLFLD_ITM_FEED") : translate("Not found") }}</ion-label>
</ion-item>

<ion-item lines="none">
<ion-label class="ion-text-wrap">
<p>{{ translate("Generated order items feed and send fulfillment acknowlegment feed to shopify.") }}</p>
</ion-label>
</ion-item>
</ion-card>

<MoreJobs v-if="getMoreJobs({...jobEnums, ...initialLoadJobEnums}, enumTypeId).length" :jobs="getMoreJobs({...jobEnums, ...initialLoadJobEnums}, enumTypeId)" />
Expand Down

0 comments on commit 1b873c4

Please sign in to comment.