Skip to content

Commit 196b2be

Browse files
authored
Merge pull request #125 from j0hanz/v4-final
update build to fme flow v4
2 parents b464521 + fc92133 commit 196b2be

7 files changed

Lines changed: 192 additions & 60 deletions

File tree

dist/extensions/store.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 184 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,125 @@
11
export default {
2+
btnBack: "Back",
3+
btnSubmit: "Submit Export",
4+
btnCancel: "Cancel",
25
btnRetry: "Retry",
3-
btnReload: "Reload Page",
6+
btnNewOrder: "New Export",
47
btnEnd: "Close",
8+
btnDownload: "Download",
9+
btnDownloadFallback: "Click here if download didn't start",
10+
btnAddRow: "Add Row",
11+
btnDeleteRow: "Delete Row",
12+
btnMoveUp: "Move Up",
13+
btnMoveDown: "Move Down",
14+
btnReuseArea: "New Export with Same Area",
15+
btnReload: "Reload Page",
516
btnRetryValidation: "Retry",
617
btnOpenSettings: "Open Settings",
18+
lblJobId: "Job ID",
19+
lblWorkspace: "Workspace",
20+
lblEmail: "Email Address",
21+
lblFilename: "Filename",
22+
lblDelivery: "Delivery Method",
23+
lblFmeStatus: "FME Flow Status",
24+
lblFmeMessage: "FME Flow Message",
25+
lblErrorCode: "Error Code",
26+
lblBlobType: "File Type",
27+
lblBlobSize: "File Size",
28+
lblGeomPreview: "Geometry Preview (Esri JSON)",
29+
lblUploadFile: "Upload File (TEMP Resource)",
30+
lblRemoteUrl: "Remote URL (HTTPS)",
31+
lblTableValue: "Value",
32+
lblTableActions: "Actions",
33+
lblUnnamedFile: "Unnamed File",
34+
lblActions: "Actions",
735
lblDrawLayer: "Drawing Layer",
36+
titleOrderConfirmed: "Export Submitted",
37+
titleOrderComplete: "Export Completed",
38+
titleOrderFailed: "Export Failed",
39+
titleOrderCancelled: "Export Cancelled",
40+
titleConfigParams: "Configure Workspace Parameters",
841
actionRetry: "Retry",
942
actionReload: "Reload",
1043
actionOpenSettings: "Open Settings",
44+
statusSubmitting: "Submitting job…",
45+
statusProcessing: "FME Flow processing…",
46+
statusValidating: "Checking settings…",
47+
statusPreparing: "Preparing…",
48+
statusUploading: "Uploading…",
49+
statusTransforming: "Transforming…",
50+
statusDownloading: "Downloading…",
51+
statusInitMap: "Preparing map tools…",
52+
statusLoadWorkspaces: "Fetching workspaces…",
53+
statusLoadParams: "Fetching workspace parameters…",
54+
statusValidateGeom: "Validating geometry…",
55+
statusPreparingMapTools: "Preparing map tools…",
56+
statusValidatingMap: "Verifying map configuration…",
57+
statusValidatingConnection: "Testing connection to FME Flow…",
58+
statusValidatingEmail: "Validating email address…",
59+
statusCheckMap: "Verifying map configuration…",
60+
statusCheckConnection: "Testing connection to FME Flow…",
61+
statusCheckEmail: "Validating email address…",
62+
validatingStartup: "Validating widget startup…",
63+
submittingOrder: "Submitting export job…",
64+
submittingOrderSync: "Processing export…",
65+
msgOrderCancelled: "Export cancelled",
66+
msgOrderTimeout:
67+
"Export cancelled due to time limit. FME Flow workspace exceeded maximum runtime",
68+
msgNoResult: "Nothing available",
69+
msgJobCancelled: "Job cancelled",
70+
msgJobTimeout: "Job exceeded time limit",
71+
msgJobFailed: "Job failed in FME Flow",
72+
msgProcessingWait: "Processing. Please wait…",
73+
msgValidating: "Validating parameter values…",
74+
msgUploading: "Uploading data source…",
75+
msgConfiguring: "Configuring FME Flow job…",
76+
msgProcessingOrder: "Processing export…",
77+
msgTransforming: "FME Flow transforming data…",
78+
msgPrepDownload: "Preparing download…",
79+
msgLoadingDraw: "Loading drawing tools…",
80+
msgCheckGeom: "Validating geometry…",
81+
msgPleaseWait: "This can take a few minutes…",
82+
msgProcessingActive: "FME Flow processing…",
83+
msgLargeArea:
84+
"The area ({current}) is large and may result in longer processing time",
85+
msgLargeAreaThreshold:
86+
"The area {current} is large and may result in longer processing time. Recommended area is below {threshold}",
87+
msgNoWorkspaces: "No workspaces found in this repository",
88+
msgAsyncForced:
89+
"The area {area} is large and may result in longer processing time",
90+
forcedAsyncArea:
91+
"The area {area} is large and may result in longer processing time",
92+
forcedAsyncUrlLength:
93+
"URL length ({urlLength} characters) exceeds limit. Automatically switched to email notification mode",
94+
msgNoGeometry: "No area selected. Draw an area on the map",
95+
msgGeomReady: "Area defined ({rings} polygons, {vertices} vertices)",
96+
msgContactSupport: "Please contact support at {email}",
97+
msgEmailSent: "Email notification will be sent when job is complete",
98+
msgTableEmpty: "No rows have been added",
99+
msgSetupWidget: "Widget needs to be configured before it can be used",
100+
msgCheckSettings: "Check connection settings in configuration panel",
101+
msgCheckToken: "Verify API token in settings",
102+
msgCheckUrl: "Check FME Flow server URL in settings",
103+
msgCheckRepo: "Select a valid repository in settings",
104+
msgCheckNetwork: "Check network connection and firewall settings",
105+
msgServerUrlReq: "Enter FME Flow server URL",
106+
msgTokenReq: "Enter API token for FME Flow",
107+
msgUrlTooLong: "URL exceeds maximum allowed length",
108+
msgHeadersLarge: "Request headers are too large",
109+
msgOffline: "No network connection",
110+
msgCorsBlock: "Request was blocked by CORS policy",
111+
msgRateLimit: "Too many requests. Please wait and try again",
112+
msgConfigInvalid: "Invalid widget configuration",
113+
msgCancelled: "Request was cancelled by user",
114+
msgTimeout: "Request exceeded time limit",
115+
msgWorkspacesReady: "Workspaces available for selection",
116+
msgFormReady: "Parameters ready for input",
117+
msgOrderSuccess: "Export was submitted",
118+
msgOrderFail: "Export failed",
119+
msgJobCompletionPublished:
120+
"Export job completion notification sent to other widgets",
121+
msgJobMessagePublishFailed:
122+
"Failed to notify other widgets about export completion",
11123
errNoSetup: "Widget is not configured",
12124
errTokenInvalid: "API token is missing or invalid",
13125
errNoRepository: "Repository cannot be accessed",
@@ -38,6 +150,26 @@ export default {
38150
errNoUserEmail: "User email address is missing",
39151
errLoadTimeout: "Loading exceeded time limit",
40152
errEmailInvalid: "Invalid email address",
153+
errTransformFailed:
154+
"FME Flow transformation failed. See log file above for details",
155+
errLoadWorkspaces: "Could not fetch workspaces from repository",
156+
errLoadParams: "Could not fetch workspace parameters",
157+
errNoConfig: "Export configuration is missing",
158+
errGeomParse: "Could not parse geometry JSON",
159+
errFileLarge: "File is too large. Max {maxSize} MB allowed",
160+
errFileType:
161+
"File type not supported. Please use one of the following formats: .zip, .kmz, .json, .geojson, .gml",
162+
errFileInvalid: "Invalid file",
163+
errDateTimeFormat: "Invalid date format. Use YYYY-MM-DD HH:MM:SS",
164+
errGeomMissing: "Geometry is missing",
165+
errGeomType: "Only polygon geometry is allowed",
166+
errGeomInvalid: "Invalid geometry",
167+
errGeomSerialize: "Geometry could not be serialized",
168+
errGeomNotSimple: "Polygon intersects itself",
169+
errGeomValidate: "Geometry could not be validated",
170+
errAreaLarge: "Area exceeds maximum limit",
171+
errGeomReq: "No geometry has been specified",
172+
errGeomPolygon: "Geometry must be a polygon",
41173
errorTokenIssue: "API token is missing or invalid",
42174
errorServerUnreachable: "FME Flow server cannot be reached",
43175
errorSetupRequired: "Widget is not configured",
@@ -47,6 +179,7 @@ export default {
47179
errorJobSubmission: "FME Flow job could not be submitted",
48180
errorMapInit: "Map could not be initialized",
49181
errorOrderFailed: "Export failed",
182+
errorWidgetIdMissing: "Widget ID is missing or invalid",
50183
configurationInvalid: "Invalid widget configuration",
51184
userEmailMissingError: "User email address is missing",
52185
geometryMissingCode: "Geometry is missing",
@@ -62,43 +195,40 @@ export default {
62195
corsBlocked: "Request was blocked by CORS policy",
63196
REMOTE_DATASET_WORKSPACE_REQUIRED:
64197
"FME Flow workspace requires remote dataset configuration",
65-
statusValidating: "Checking settings…",
66-
validatingStartup: "Validating widget startup…",
67-
statusPreparingMapTools: "Preparing map tools…",
68-
statusValidatingMap: "Verifying map configuration…",
69-
statusValidatingConnection: "Testing connection to FME Flow…",
70-
statusValidatingEmail: "Validating email address…",
71-
statusCheckMap: "Verifying map configuration…",
72-
statusCheckConnection: "Testing connection to FME Flow…",
73-
statusCheckEmail: "Validating email address…",
74-
statusInitMap: "Preparing map tools…",
75-
statusPreparing: "Preparing export…",
76-
statusUploading: "Uploading data source…",
77-
submittingOrder: "Submitting export job…",
78-
submittingOrderSync: "Processing export…",
79-
msgContactSupport: "Please contact support at {email}",
80-
msgSetupWidget: "Widget needs to be configured before it can be used",
81-
msgCheckSettings: "Check connection settings in configuration panel",
82-
msgCheckToken: "Verify API token in settings",
83-
msgCheckUrl: "Check FME Flow server URL in settings",
84-
msgCheckRepo: "Select a valid repository in settings",
85-
msgCheckNetwork: "Check network connection and firewall settings",
86-
msgServerUrlReq: "Enter FME Flow server URL",
87-
msgTokenReq: "Enter API token for FME Flow",
88-
msgUrlTooLong: "URL exceeds maximum allowed length",
89-
msgHeadersLarge: "Request headers are too large",
90-
msgOffline: "No network connection",
91-
msgCorsBlock: "Request was blocked by CORS policy",
92-
msgRateLimit: "Too many requests. Please wait and try again",
93-
msgConfigInvalid: "Invalid widget configuration",
94-
msgCancelled: "Request was cancelled by user",
95-
msgTimeout: "Request exceeded time limit",
96-
msgWorkspacesReady: "Workspaces available for selection",
97-
msgFormReady: "Parameters ready for input",
98-
msgOrderSuccess: "Export was submitted",
99-
msgOrderFail: "Export failed",
100-
msgProcessingWait: "Please wait while job is being processed…",
101-
msgPleaseWait: "Please wait…",
198+
failedToLoadWorkspaces: "Failed to load workspaces",
199+
valRequiredField: "This field is required",
200+
valSingleError: "Fill in the required field",
201+
valMultipleErrors: "Fill in all required fields",
202+
valIntegerOnly: "Only integers allowed (no decimals)",
203+
valInvalidNumber: "Invalid numeric value",
204+
valGreaterThan: "Must be greater than {value}",
205+
valAtLeast: "Must be at least {value}",
206+
valLessThan: "Must be less than {value}",
207+
valAtMost: "Must be at most {value}",
208+
phSelect: "Select {field}…",
209+
phEnter: "Enter {field}…",
210+
phTags: "Enter tags (separate with commas)",
211+
phEmail: "example@example.com",
212+
phPhone: "+46 70-123 45 67",
213+
phSearch: "Search…",
214+
phSelectOption: "Select an option",
215+
optSyncMode: "Direct Download",
216+
optAsyncMode: "Email Notification",
217+
optPolygon: "Polygon",
218+
optRectangle: "Rectangle",
219+
optTextInput: "Text Input",
220+
optFileInput: "File Upload",
221+
tipDrawMode: "Select drawing mode to define export area",
222+
tipDrawPolygon: "Draw a polygon to define export area",
223+
tipDrawRectangle: "Draw a rectangle to define export area",
224+
tipSubmitOrder: "Submit export to FME Flow",
225+
tipCancel: "Cancel and start over",
226+
tipReuseArea: "Create new export with same area",
227+
tipNewOrder: "Create new export with same area",
228+
hintUploadFile: "Select file to use as input to workspace",
229+
hintRemoteUrl: "Enter secure HTTPS URL to remote data source",
230+
hintFileFormats:
231+
"Allowed formats: .zip, .kmz, .json, .geojson, .gml (max 150 MB)",
102232
hintUrlFormat: "Example: https://fmeflow.example.com",
103233
hintClickMap: "Click on map to define export area",
104234
hintDrawRect: "Drag to draw a rectangle",
@@ -122,18 +252,20 @@ export default {
122252
largeAreaWarning: "The drawn area ({current}) is very large",
123253
largeAreaWarningWithThreshold:
124254
"The drawn area ({current}) exceeds the recommended limit ({threshold}). Consider reducing the area",
125-
errGeomMissing: "Geometry is missing",
126-
errGeomType: "Only polygon geometry is allowed",
127-
errGeomInvalid: "Invalid geometry",
128-
errGeomSerialize: "Geometry could not be serialized",
129-
errGeomNotSimple: "Polygon intersects itself",
130-
errGeomValidate: "Geometry could not be validated",
131-
errAreaLarge: "Area exceeds maximum limit",
132-
errGeomReq: "No geometry has been specified",
133-
errGeomPolygon: "Geometry must be a polygon",
134-
errorWidgetIdMissing: "Widget ID is missing or invalid",
135-
msgJobCompletionPublished:
136-
"Export job completion notification sent to other widgets",
137-
msgJobMessagePublishFailed:
138-
"Failed to notify other widgets about export completion",
255+
ariaButton: "Button",
256+
ariaLoading: "Loading",
257+
ariaErrorActions: "Error Handling",
258+
ariaEmptyActions: "Empty Results",
259+
ariaSuccessActions: "Successful Action",
260+
ariaRequired: "Required Field",
261+
alertSyncSuccess: "Download started automatically",
262+
alertSyncFallback: "If download didn't start, use the link below",
263+
alertAsyncSuccess: "You will receive an email when the export is complete",
264+
alertAsyncQueued: "Export job submitted and queued for processing",
265+
alertSyncError: "Export failed during processing",
266+
alertAsyncError: "Export job could not be completed",
267+
alertCancelledTimeout: "Export cancelled due to timeout",
268+
alertCancelledUser: "Export was cancelled",
269+
alertJobFailed: "FME Flow transformation failed",
270+
alertTransformError: "Data transformation could not be completed",
139271
}

0 commit comments

Comments
 (0)