@elice/material-runbox 1.240401.0 → 1.240508.0-globalization.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/cjs/components/material-runbox/MaterialRunbox.d.ts +3 -2
  2. package/cjs/components/material-runbox/MaterialRunbox.js +10 -11
  3. package/cjs/components/material-runbox/MaterialRunboxContent.js +8 -7
  4. package/cjs/components/material-runbox/MaterialRunboxHeader.js +9 -9
  5. package/cjs/components/material-runbox/actions/MaterialRunboxActionAutoShutdown.js +5 -5
  6. package/cjs/components/material-runbox/actions/MaterialRunboxActionGrade.js +21 -21
  7. package/cjs/components/material-runbox/actions/MaterialRunboxActionReset.js +13 -13
  8. package/cjs/components/material-runbox/actions/MaterialRunboxActionRestart.js +12 -11
  9. package/cjs/components/material-runbox/actions/MaterialRunboxActionShare.js +6 -6
  10. package/cjs/components/material-runbox/contexts/MaterialRunboxCommandContext.js +4 -4
  11. package/cjs/components/material-runbox/hooks/useRunboxControl.js +3 -3
  12. package/cjs/components/material-runbox/locales/en.json.js +2 -2
  13. package/cjs/components/material-runbox/locales/index.d.ts +3 -2
  14. package/cjs/components/material-runbox/locales/ko.json.js +2 -2
  15. package/cjs/components/material-runbox/locales/th.json.js +7 -0
  16. package/cjs/components/material-runbox/runtime/RuntimeOverlayAssigned.js +6 -5
  17. package/cjs/components/material-runbox/runtime/RuntimeOverlayQueued.js +10 -10
  18. package/cjs/components/material-runbox/runtime/RuntimeOverlayTerminated.js +15 -15
  19. package/es/components/material-runbox/MaterialRunbox.d.ts +3 -2
  20. package/es/components/material-runbox/MaterialRunbox.js +10 -11
  21. package/es/components/material-runbox/MaterialRunboxContent.js +8 -7
  22. package/es/components/material-runbox/MaterialRunboxHeader.js +9 -9
  23. package/es/components/material-runbox/actions/MaterialRunboxActionAutoShutdown.js +2 -2
  24. package/es/components/material-runbox/actions/MaterialRunboxActionGrade.js +18 -18
  25. package/es/components/material-runbox/actions/MaterialRunboxActionReset.js +12 -12
  26. package/es/components/material-runbox/actions/MaterialRunboxActionRestart.js +12 -11
  27. package/es/components/material-runbox/actions/MaterialRunboxActionShare.js +4 -4
  28. package/es/components/material-runbox/contexts/MaterialRunboxCommandContext.js +2 -2
  29. package/es/components/material-runbox/hooks/useRunboxControl.js +2 -2
  30. package/es/components/material-runbox/locales/en.json.js +2 -2
  31. package/es/components/material-runbox/locales/index.d.ts +3 -2
  32. package/es/components/material-runbox/locales/ko.json.js +2 -2
  33. package/es/components/material-runbox/locales/th.json.js +3 -0
  34. package/es/components/material-runbox/runtime/RuntimeOverlayAssigned.js +6 -5
  35. package/es/components/material-runbox/runtime/RuntimeOverlayQueued.js +10 -10
  36. package/es/components/material-runbox/runtime/RuntimeOverlayTerminated.js +8 -8
  37. package/package.json +7 -7
  38. package/cjs/components/material-runbox/locales/index.js +0 -9
  39. package/es/components/material-runbox/locales/index.js +0 -2
@@ -1,6 +1,7 @@
1
1
  import React from 'react';
2
+ import type { WithIntlComponentBuilderProps } from '@elice/intl';
2
3
  import type { MaterialRunboxApiContextProps, MaterialRunboxContextProps } from './contexts';
3
4
  import type { MaterialRunboxContentProps } from './MaterialRunboxContent';
4
5
  export type MaterialRunboxProps = MaterialRunboxContentProps & Omit<MaterialRunboxApiContextProps, 'children'> & Omit<MaterialRunboxContextProps, 'children'>;
5
- declare const MaterialRunbox: React.FC<MaterialRunboxProps>;
6
- export default MaterialRunbox;
6
+ declare const _default: React.ForwardRefExoticComponent<import("@elice/intl").IntlComponentExtraProps & Omit<WithIntlComponentBuilderProps<MaterialRunboxProps>, keyof import("@elice/intl").IntlComponentExtraProps | "__intl"> & React.RefAttributes<any>>;
7
+ export default _default;
@@ -4,13 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var tslib = require('tslib');
6
6
  var React = require('react');
7
- var reactIntl = require('react-intl');
7
+ var intl = require('@elice/intl');
8
8
  var MaterialRunboxApiContext = require('./contexts/MaterialRunboxApiContext.js');
9
9
  require('./contexts/MaterialRunboxCommandContext.js');
10
10
  var MaterialRunboxContext = require('./contexts/MaterialRunboxContext.js');
11
- var index = require('./locales/index.js');
12
- var MaterialRunboxContent = require('./MaterialRunboxContent.js');
13
11
  var en = require('./locales/en.json.js');
12
+ var ko = require('./locales/ko.json.js');
13
+ var th = require('./locales/th.json.js');
14
+ var MaterialRunboxContent = require('./MaterialRunboxContent.js');
14
15
 
15
16
  //
16
17
  //
@@ -24,21 +25,19 @@ const MaterialRunbox = _a => {
24
25
  enableUrlShare = false,
25
26
  locale = 'ko',
26
27
  showMessenger,
27
- eliceMaterialRunboxApiConfiguration
28
+ eliceMaterialRunboxApiConfiguration,
29
+ __intl
28
30
  } = _a,
29
- contentProps = tslib.__rest(_a, ["enableAutoShutdownToggle", "enableUrlShare", "locale", "showMessenger", "eliceMaterialRunboxApiConfiguration"]);
30
- return React.createElement(MaterialRunboxContext.default, {
31
+ contentProps = tslib.__rest(_a, ["enableAutoShutdownToggle", "enableUrlShare", "locale", "showMessenger", "eliceMaterialRunboxApiConfiguration", "__intl"]);
32
+ return React.createElement(intl.RawEliceIntlProvider, Object.assign({}, __intl), React.createElement(MaterialRunboxContext.default, {
31
33
  enableAutoShutdownToggle: enableAutoShutdownToggle,
32
34
  enableUrlShare: enableUrlShare,
33
35
  locale: locale,
34
36
  showMessenger: showMessenger
35
37
  }, React.createElement(MaterialRunboxApiContext.default, {
36
38
  eliceMaterialRunboxApiConfiguration: eliceMaterialRunboxApiConfiguration
37
- }, React.createElement(reactIntl.IntlProvider, {
38
- locale: locale,
39
- defaultLocale: "en",
40
- messages: locale in index ? index[locale] : en.default
41
39
  }, React.createElement(MaterialRunboxContent.default, Object.assign({}, contentProps)))));
42
40
  };
41
+ var MaterialRunbox$1 = new intl.IntlComponentBuilder(MaterialRunbox).add('en', en.default).add('ko', ko.default).add('th', th.default).build();
43
42
 
44
- exports.default = MaterialRunbox;
43
+ exports.default = MaterialRunbox$1;
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _styled = require('@emotion/styled/base');
6
6
  var React = require('react');
7
- var reactIntl = require('react-intl');
8
7
  var blocks = require('@elice/blocks');
8
+ var intl = require('@elice/intl');
9
9
  var runboxClient = require('@elice/runbox-client');
10
10
  var iconsMaterial = require('@mui/icons-material');
11
11
  var material = require('@mui/material');
@@ -42,6 +42,7 @@ const MaterialRunboxContent = ({
42
42
  runboxId,
43
43
  courseId
44
44
  }) => {
45
+ const intl$1 = intl.useRawEliceIntl();
45
46
  const {
46
47
  locale,
47
48
  showMessenger
@@ -103,20 +104,20 @@ const MaterialRunboxContent = ({
103
104
  gap: "1.5rem"
104
105
  }, React.createElement(material.Typography, {
105
106
  variant: "h6"
106
- }, React.createElement(reactIntl.FormattedMessage, {
107
- id: "runbox.runtime.message.startError"
107
+ }, intl$1.formatMessage({
108
+ id: 'runbox.runtime.message.startError'
108
109
  })), React.createElement(material.Stack, {
109
110
  gap: "0.5rem"
110
111
  }, React.createElement(material.Button, {
111
112
  startIcon: React.createElement(iconsMaterial.Refresh, null),
112
113
  onClick: () => refetch()
113
- }, React.createElement(reactIntl.FormattedMessage, {
114
- id: "runbox.common.retry"
114
+ }, intl$1.formatMessage({
115
+ id: 'runbox.common.retry'
115
116
  })), typeof showMessenger === 'function' ? React.createElement(material.Button, {
116
117
  variant: "outlined",
117
118
  onClick: () => showMessenger()
118
- }, React.createElement(reactIntl.FormattedMessage, {
119
- id: "runbox.common.support"
119
+ }, intl$1.formatMessage({
120
+ id: 'runbox.common.support'
120
121
  })) : null)));
121
122
  }
122
123
  if (!runbox || !runtimeTemplate) {
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _styled = require('@emotion/styled/base');
6
6
  var React = require('react');
7
- var reactIntl = require('react-intl');
7
+ var intl = require('@elice/intl');
8
8
  var muiElements = require('@elice/mui-elements');
9
9
  var runboxClient = require('@elice/runbox-client');
10
10
  var types = require('@elice/types');
@@ -34,6 +34,7 @@ const MaterialRunboxHeader = ({
34
34
  courseId,
35
35
  refetch
36
36
  }) => {
37
+ const intl$1 = intl.useRawEliceIntl();
37
38
  const {
38
39
  enableAutoShutdownToggle
39
40
  } = MaterialRunboxContext.useMaterialRunboxContext();
@@ -81,14 +82,13 @@ const MaterialRunboxHeader = ({
81
82
  return null;
82
83
  }
83
84
  return React.createElement(muiElements.Tag, {
84
- label: React.createElement(reactIntl.FormattedMessage, {
85
- id: "runbox.header.submitInfo",
86
- values: {
87
- remainCount: remainSubmitCount,
88
- totalCount: totalSubmitCount,
89
- isDailyLimitEnabled,
90
- isIndividual: isIndividualTypeLeaderboard
91
- }
85
+ label: intl$1.formatMessage({
86
+ id: 'runbox.header.submitInfo'
87
+ }, {
88
+ remainCount: remainSubmitCount,
89
+ totalCount: totalSubmitCount,
90
+ isDailyLimitEnabled,
91
+ isIndividual: isIndividualTypeLeaderboard
92
92
  }),
93
93
  variant: "muted",
94
94
  color: remainSubmitCount ? 'success' : 'secondary'
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _styled = require('@emotion/styled/base');
6
6
  var React = require('react');
7
- var reactIntl = require('react-intl');
7
+ var intl = require('@elice/intl');
8
8
  var material = require('@mui/material');
9
9
  var MaterialRunboxApiContext = require('../contexts/MaterialRunboxApiContext.js');
10
10
  require('../contexts/MaterialRunboxCommandContext.js');
@@ -34,7 +34,7 @@ const MaterialRunboxActionAutoShutdown = ({
34
34
  refetch
35
35
  }) => {
36
36
  var _a;
37
- const intl = reactIntl.useIntl();
37
+ const intl$1 = intl.useRawEliceIntl();
38
38
  const materialRunboxApi = MaterialRunboxApiContext.useMaterialRunboxApiContext();
39
39
  /**
40
40
  *
@@ -57,10 +57,10 @@ const MaterialRunboxActionAutoShutdown = ({
57
57
  //
58
58
  //
59
59
  return React.createElement(material.Tooltip, {
60
- title: intl.formatMessage({
60
+ title: intl$1.formatMessage({
61
61
  id: runtimeTemplate.autoShutdown ? 'runbox.action.autoShutdown.tooltip.disabled' : 'runbox.action.autoShutdown.tooltip.enabled'
62
62
  }, {
63
- time: intl.formatNumber((_a = runtimeTemplate.quotaPerSession) !== null && _a !== void 0 ? _a : 2880, {
63
+ time: intl$1.formatNumber((_a = runtimeTemplate.quotaPerSession) !== null && _a !== void 0 ? _a : 2880, {
64
64
  style: 'unit',
65
65
  unit: 'minute',
66
66
  unitDisplay: 'short'
@@ -72,7 +72,7 @@ const MaterialRunboxActionAutoShutdown = ({
72
72
  disabled: !runtime || runtimeTemplate.autoShutdown,
73
73
  onChange: handleAction
74
74
  }),
75
- label: intl.formatMessage({
75
+ label: intl$1.formatMessage({
76
76
  id: 'runbox.action.autoShutdown.title'
77
77
  }),
78
78
  componentsProps: {
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var _styled = require('@emotion/styled/base');
6
6
  var React = require('react');
7
- var reactIntl = require('react-intl');
8
7
  var reactTransitionGroup = require('react-transition-group');
8
+ var intl = require('@elice/intl');
9
9
  var muiXSnackbar = require('@elice/mui-x-snackbar');
10
10
  var openapiClientMaterialRunbox = require('@elice/openapi-client-material-runbox');
11
11
  var runboxClient = require('@elice/runbox-client');
@@ -74,7 +74,7 @@ const MaterialRunboxActionGrade = ({
74
74
  courseId
75
75
  }) => {
76
76
  var _a;
77
- const intl = reactIntl.useIntl();
77
+ const intl$1 = intl.useRawEliceIntl();
78
78
  const {
79
79
  enqueueSnackbar
80
80
  } = muiXSnackbar.useSnackbar();
@@ -154,7 +154,7 @@ const MaterialRunboxActionGrade = ({
154
154
  });
155
155
  setCommandIdToPing(commandId);
156
156
  } catch (err) {
157
- enqueueSnackbar(intl.formatMessage({
157
+ enqueueSnackbar(intl$1.formatMessage({
158
158
  id: 'runbox.action.grade.noti.error'
159
159
  }), {
160
160
  variant: 'error'
@@ -186,12 +186,12 @@ const MaterialRunboxActionGrade = ({
186
186
  */
187
187
  const getActionTooltipMessage = () => {
188
188
  if (!isSubmitCountRemained) {
189
- return intl.formatMessage({
189
+ return intl$1.formatMessage({
190
190
  id: 'runbox.action.submitCountInfo.tooltip.disabled'
191
191
  });
192
192
  }
193
193
  if (isGrading) {
194
- return intl.formatMessage({
194
+ return intl$1.formatMessage({
195
195
  id: 'runbox.action.grade.tooltip.onProgress'
196
196
  });
197
197
  }
@@ -208,8 +208,8 @@ const MaterialRunboxActionGrade = ({
208
208
  disabled: !isRunboxRunning || isLastCommandRunning || !isSubmitCountRemained,
209
209
  size: "small",
210
210
  onClick: handleAction
211
- }, React.createElement(reactIntl.FormattedMessage, {
212
- id: "runbox.action.grade.title"
211
+ }, intl$1.formatMessage({
212
+ id: 'runbox.action.grade.title'
213
213
  })), isGradeDoneWithOutput ? React.createElement(reactTransitionGroup.Transition, {
214
214
  in: isGradeDoneWithOutput,
215
215
  timeout: 0,
@@ -240,18 +240,18 @@ const MaterialRunboxActionGrade = ({
240
240
  maxWidth: "md",
241
241
  fullWidth: true,
242
242
  onClose: handleGradeResultDialogClose
243
- }, React.createElement(material.DialogTitle, null, React.createElement(reactIntl.FormattedMessage, {
244
- id: "runbox.action.grade.dialog.title"
243
+ }, React.createElement(material.DialogTitle, null, intl$1.formatMessage({
244
+ id: 'runbox.action.grade.dialog.title'
245
245
  })), React.createElement(material.DialogContent, null, React.createElement(material.Stack, {
246
246
  gap: "0.75rem"
247
247
  }, lastCommand.terminatedReason === 'done' ? React.createElement(material.Alert, {
248
248
  severity: "success"
249
- }, React.createElement(reactIntl.FormattedMessage, {
250
- id: "runbox.action.grade.dialog.description.success"
249
+ }, intl$1.formatMessage({
250
+ id: 'runbox.action.grade.dialog.description.success'
251
251
  })) : React.createElement(material.Alert, {
252
252
  severity: "error"
253
- }, React.createElement(reactIntl.FormattedMessage, {
254
- id: "runbox.action.grade.dialog.description.error"
253
+ }, intl$1.formatMessage({
254
+ id: 'runbox.action.grade.dialog.description.error'
255
255
  })), React.createElement(StyledTerminal, {
256
256
  value: lastCommand.output,
257
257
  readOnly: true,
@@ -260,8 +260,8 @@ const MaterialRunboxActionGrade = ({
260
260
  color: "inherit",
261
261
  disabled: isActionLoading,
262
262
  onClick: handleGradeResultDialogClose
263
- }, React.createElement(reactIntl.FormattedMessage, {
264
- id: "runbox.common.close"
263
+ }, intl$1.formatMessage({
264
+ id: 'runbox.common.close'
265
265
  }))));
266
266
  };
267
267
  /**
@@ -273,15 +273,15 @@ const MaterialRunboxActionGrade = ({
273
273
  maxWidth: "xs",
274
274
  open: isSubmitCountInfoDialogOpen,
275
275
  onClick: handleSubmitCountInfoDialogClose
276
- }, React.createElement(material.DialogTitle, null, React.createElement(reactIntl.FormattedMessage, {
277
- id: "runbtox.action.submitCountInfo.dialog.title"
278
- })), React.createElement(material.DialogContent, null, React.createElement(material.Typography, null, React.createElement(reactIntl.FormattedMessage, {
279
- id: "runbox.action.submitCountInfo.dialog.description"
276
+ }, React.createElement(material.DialogTitle, null, intl$1.formatMessage({
277
+ id: 'runbtox.action.submitCountInfo.dialog.title'
278
+ })), React.createElement(material.DialogContent, null, React.createElement(material.Typography, null, intl$1.formatMessage({
279
+ id: 'runbox.action.submitCountInfo.dialog.description'
280
280
  }))), React.createElement(material.DialogActions, null, React.createElement(material.Button, {
281
281
  color: "inherit",
282
282
  onClick: handleSubmitCountInfoDialogClose
283
- }, React.createElement(reactIntl.FormattedMessage, {
284
- id: "runbox.common.close"
283
+ }, intl$1.formatMessage({
284
+ id: 'runbox.common.close'
285
285
  }))));
286
286
  };
287
287
  //
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
- var reactIntl = require('react-intl');
6
+ var intl = require('@elice/intl');
7
7
  var muiElements = require('@elice/mui-elements');
8
8
  var muiXSnackbar = require('@elice/mui-x-snackbar');
9
9
  var openapiClientMaterialRunbox = require('@elice/openapi-client-material-runbox');
@@ -22,7 +22,7 @@ const MaterialRunboxActionReset = ({
22
22
  courseId,
23
23
  handleMenuClose
24
24
  }) => {
25
- const intl = reactIntl.useIntl();
25
+ const intl$1 = intl.useRawEliceIntl();
26
26
  const {
27
27
  enqueueSnackbar
28
28
  } = muiXSnackbar.useSnackbar();
@@ -58,7 +58,7 @@ const MaterialRunboxActionReset = ({
58
58
  setCommandIdToPing(commentId);
59
59
  handleDialogClose();
60
60
  } catch (err) {
61
- enqueueSnackbar(intl.formatMessage({
61
+ enqueueSnackbar(intl$1.formatMessage({
62
62
  id: 'runbox.action.reset.noti.error'
63
63
  }), {
64
64
  variant: 'error'
@@ -76,8 +76,8 @@ const MaterialRunboxActionReset = ({
76
76
  disabled: isLastCommandRunning
77
77
  }, React.createElement(material.ListItemIcon, null, React.createElement(muiElements.EliceIcon, {
78
78
  icon: proSolidSvgIcons.faRefresh
79
- })), React.createElement(material.ListItemText, null, React.createElement(reactIntl.FormattedMessage, {
80
- id: "runbox.action.reset.title"
79
+ })), React.createElement(material.ListItemText, null, intl$1.formatMessage({
80
+ id: 'runbox.action.reset.title'
81
81
  })));
82
82
  };
83
83
  /**
@@ -92,27 +92,27 @@ const MaterialRunboxActionReset = ({
92
92
  maxWidth: "xs",
93
93
  fullWidth: true,
94
94
  onClose: handleDialogClose
95
- }, React.createElement(material.DialogTitle, null, React.createElement(reactIntl.FormattedMessage, {
96
- id: "runbox.action.reset.title"
95
+ }, React.createElement(material.DialogTitle, null, intl$1.formatMessage({
96
+ id: 'runbox.action.reset.title'
97
97
  })), React.createElement(material.DialogContent, null, React.createElement(material.DialogContentText, {
98
98
  sx: {
99
99
  whiteSpace: 'pre-line'
100
100
  }
101
- }, React.createElement(reactIntl.FormattedMessage, {
102
- id: "runbox.action.reset.dialog.description"
101
+ }, intl$1.formatMessage({
102
+ id: 'runbox.action.reset.dialog.description'
103
103
  }))), React.createElement(material.DialogActions, null, React.createElement(material.Button, {
104
104
  color: "inherit",
105
105
  disabled: isLoading,
106
106
  onClick: handleDialogClose
107
- }, React.createElement(reactIntl.FormattedMessage, {
108
- id: "runbox.common.close"
107
+ }, intl$1.formatMessage({
108
+ id: 'runbox.common.close'
109
109
  })), React.createElement(lab.LoadingButton, {
110
110
  variant: "contained",
111
111
  color: "warning",
112
112
  loading: isLoading || isLastCommandRunning,
113
113
  onClick: handleReset
114
- }, React.createElement(reactIntl.FormattedMessage, {
115
- id: "runbox.action.reset.dialog.actions.confirm"
114
+ }, intl$1.formatMessage({
115
+ id: 'runbox.action.reset.dialog.actions.confirm'
116
116
  }))));
117
117
  };
118
118
  //
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
- var reactIntl = require('react-intl');
6
+ var intl = require('@elice/intl');
7
7
  var muiElements = require('@elice/mui-elements');
8
8
  var proSolidSvgIcons = require('@fortawesome/pro-solid-svg-icons');
9
9
  var lab = require('@mui/lab');
@@ -19,6 +19,7 @@ const MaterialRunboxActionRestart = ({
19
19
  refetch,
20
20
  handleMenuClose
21
21
  }) => {
22
+ const intl$1 = intl.useRawEliceIntl();
22
23
  const [isLoading, setIsLoading] = React.useState(false);
23
24
  const [isDialogOpened, setDialogOpened] = React.useState(false);
24
25
  // restart
@@ -54,8 +55,8 @@ const MaterialRunboxActionRestart = ({
54
55
  onClick: () => setDialogOpened(true)
55
56
  }, React.createElement(material.ListItemIcon, null, React.createElement(muiElements.EliceIcon, {
56
57
  icon: proSolidSvgIcons.faRotateRight
57
- })), React.createElement(material.ListItemText, null, React.createElement(reactIntl.FormattedMessage, {
58
- id: "runbox.action.restart.title"
58
+ })), React.createElement(material.ListItemText, null, intl$1.formatMessage({
59
+ id: 'runbox.action.restart.title'
59
60
  })));
60
61
  };
61
62
  /**
@@ -70,27 +71,27 @@ const MaterialRunboxActionRestart = ({
70
71
  open: true,
71
72
  fullWidth: true,
72
73
  onClose: handleDialogClose
73
- }, React.createElement(material.DialogTitle, null, React.createElement(reactIntl.FormattedMessage, {
74
- id: "runbox.action.restart.title"
74
+ }, React.createElement(material.DialogTitle, null, intl$1.formatMessage({
75
+ id: 'runbox.action.restart.title'
75
76
  })), React.createElement(material.DialogContent, null, React.createElement(material.DialogContentText, {
76
77
  sx: {
77
78
  whiteSpace: 'pre-line'
78
79
  }
79
- }, React.createElement(reactIntl.FormattedMessage, {
80
- id: "runbox.action.restart.dialog.description"
80
+ }, intl$1.formatMessage({
81
+ id: 'runbox.action.restart.dialog.description'
81
82
  }))), React.createElement(material.DialogActions, null, React.createElement(material.Button, {
82
83
  color: "inherit",
83
84
  disabled: isLoading,
84
85
  onClick: handleDialogClose
85
- }, React.createElement(reactIntl.FormattedMessage, {
86
- id: "runbox.common.close"
86
+ }, intl$1.formatMessage({
87
+ id: 'runbox.common.close'
87
88
  })), React.createElement(lab.LoadingButton, {
88
89
  variant: "contained",
89
90
  color: "warning",
90
91
  loading: isLoading,
91
92
  onClick: handleRestartAction
92
- }, React.createElement(reactIntl.FormattedMessage, {
93
- id: "runbox.action.restart.dialog.actions.confirm"
93
+ }, intl$1.formatMessage({
94
+ id: 'runbox.action.restart.dialog.actions.confirm'
94
95
  }))));
95
96
  };
96
97
  //
@@ -3,8 +3,8 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
- var reactIntl = require('react-intl');
7
6
  var reactUse = require('react-use');
7
+ var intl = require('@elice/intl');
8
8
  var muiElements = require('@elice/mui-elements');
9
9
  var muiXSnackbar = require('@elice/mui-x-snackbar');
10
10
  var runboxClient = require('@elice/runbox-client');
@@ -20,7 +20,7 @@ var MaterialRunboxContext = require('../contexts/MaterialRunboxContext.js');
20
20
  const MaterialRunboxActionShare = ({
21
21
  handleMenuClose
22
22
  }) => {
23
- const intl = reactIntl.useIntl();
23
+ const intl$1 = intl.useRawEliceIntl();
24
24
  const {
25
25
  enqueueSnackbar
26
26
  } = muiXSnackbar.useSnackbar();
@@ -47,8 +47,8 @@ const MaterialRunboxActionShare = ({
47
47
  onClick: handleShareAction
48
48
  }, React.createElement(material.ListItemIcon, null, React.createElement(muiElements.EliceIcon, {
49
49
  icon: proSolidSvgIcons.faLinkSimple
50
- })), React.createElement(material.ListItemText, null, React.createElement(reactIntl.FormattedMessage, {
51
- id: "runbox.action.share.title"
50
+ })), React.createElement(material.ListItemText, null, intl$1.formatMessage({
51
+ id: 'runbox.action.share.title'
52
52
  })));
53
53
  };
54
54
  /**
@@ -71,13 +71,13 @@ const MaterialRunboxActionShare = ({
71
71
  return;
72
72
  }
73
73
  if (clipboardValue && !error) {
74
- enqueueSnackbar(intl.formatMessage({
74
+ enqueueSnackbar(intl$1.formatMessage({
75
75
  id: 'runbox.action.share.snackbar.copied.success'
76
76
  }), {
77
77
  variant: 'success'
78
78
  });
79
79
  } else {
80
- enqueueSnackbar(intl.formatMessage({
80
+ enqueueSnackbar(intl$1.formatMessage({
81
81
  id: 'runbox.action.share.snackbar.copied.fail'
82
82
  }), {
83
83
  variant: 'error'
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var React = require('react');
6
- var reactIntl = require('react-intl');
6
+ var intl = require('@elice/intl');
7
7
  var muiXSnackbar = require('@elice/mui-x-snackbar');
8
8
  var openapiClientMaterialRunbox = require('@elice/openapi-client-material-runbox');
9
9
  var rxjs = require('rxjs');
@@ -31,7 +31,7 @@ const MaterialRunboxCommandContextProvider = ({
31
31
  runtime,
32
32
  courseId
33
33
  }) => {
34
- const intl = reactIntl.useIntl();
34
+ const intl$1 = intl.useRawEliceIntl();
35
35
  const {
36
36
  enqueueSnackbar
37
37
  } = muiXSnackbar.useSnackbar();
@@ -76,7 +76,7 @@ const MaterialRunboxCommandContextProvider = ({
76
76
  setLastCommand(res);
77
77
  },
78
78
  error: () => {
79
- enqueueSnackbar(intl.formatMessage({
79
+ enqueueSnackbar(intl$1.formatMessage({
80
80
  id: 'runbox.context.command.ping.error'
81
81
  }), {
82
82
  variant: 'error'
@@ -89,7 +89,7 @@ const MaterialRunboxCommandContextProvider = ({
89
89
  _pingobj.res.status !== openapiClientMaterialRunbox.CommandStatus.Terminated;
90
90
  if (hasError) {
91
91
  setLastCommand(null);
92
- enqueueSnackbar(intl.formatMessage({
92
+ enqueueSnackbar(intl$1.formatMessage({
93
93
  id: 'runbox.context.command.ping.error'
94
94
  }), {
95
95
  variant: 'error'
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var React = require('react');
4
- var reactIntl = require('react-intl');
4
+ var intl = require('@elice/intl');
5
5
  var muiXSnackbar = require('@elice/mui-x-snackbar');
6
6
  var runboxClient = require('@elice/runbox-client');
7
7
  var MaterialRunboxApiContext = require('../contexts/MaterialRunboxApiContext.js');
@@ -16,7 +16,7 @@ require('../contexts/MaterialRunboxContext.js');
16
16
  */
17
17
  const useRunboxControl = props => {
18
18
  const _return = React.useRef({});
19
- const intl = reactIntl.useIntl();
19
+ const intl$1 = intl.useRawEliceIntl();
20
20
  const {
21
21
  enqueueSnackbar
22
22
  } = muiXSnackbar.useSnackbar();
@@ -36,7 +36,7 @@ const useRunboxControl = props => {
36
36
  signal
37
37
  }), force).then(() => void props.refetch()).catch(err => {
38
38
  if (err.name !== 'AbortError') {
39
- enqueueSnackbar(intl.formatMessage({
39
+ enqueueSnackbar(intl$1.formatMessage({
40
40
  id: 'runbox.runtime.message.startError'
41
41
  }), {
42
42
  variant: 'error'
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var en = {"runbox.action.autoShutdown.title":"Always on","runbox.action.autoShutdown.tooltip.disabled":"This runtime automatically shuts down after {time}, which is set as the per-session usage time.","runbox.action.autoShutdown.tooltip.enabled":"If set to always on, the runtime will not shut down even if you leave the learning material. However, it will automatically shut down after {time}, which is set as the session-specific usage time of the runtime.","runbox.action.grade.dialog.description.error":"An error occurred while grading the code.","runbox.action.grade.dialog.description.success":"Grading completed successfully.","runbox.action.grade.dialog.title":"Grading result","runbox.action.grade.noti.error":"An error occurred while grading the code.","runbox.action.grade.title":"Submit","runbox.action.grade.tooltip.onProgress":"Grading is in progress. Please wait for a moment. Depending on the material, grading may take up to 3 minutes.","runbox.action.reset.dialog.actions.confirm":"Reset","runbox.action.reset.dialog.description":"Are you sure you want to reset the runbox code? Your codes will be overwritten to default code of material.\nAfter reset, the runbox session will be refreshed.","runbox.action.reset.noti.error":"An error occurred while initializing the runbox code.","runbox.action.reset.title":"Reset code","runbox.action.restart.dialog.actions.confirm":"Restart","runbox.action.restart.dialog.description":"Are you sure you want to restart the runbox?","runbox.action.restart.title":"Restart runbox","runbox.action.share.title":"Share runbox URL","runbox.action.share.snackbar.copied.fail":"Copying the runbox URL failed, please try again","runbox.action.share.snackbar.copied.success":"The runbox URL was copied successfully.","runbox.action.submitCountInfo.dialog.title":"Limit the number of submissions","runbox.action.submitCountInfo.dialog.description":"You have exceeded the submission count limit","runbox.action.submitCountInfo.tooltip.disabled":"The submission count has been used up","runbox.common.close":"Close","runbox.common.retry":"Retry","runbox.common.support":"Support","runbox.context.command.ping.error":"An error occurred while processing task.","runbox.runtime.message.startError":"There was an error starting the runbox.","runbox.runtime.overlay.assigned.description":"(3 of 3)\nRunbox is running.\nPlease wait!","runbox.runtime.overlay.assigned.description_timeout":"(3 of 3)\nRunning the runbox is taking longer than we expected.\nPlease wait a little longer without refreshing!","runbox.runtime.overlay.queued.description":"(2 of 3)\nCurrently queued {waiters} times...","runbox.runtime.overlay.queued.description_zero":"(2 of 3)\nRunbox will run soon","runbox.runtime.overlay.terminated.description.default":"The runtime terminated due to an unexpected problem.\nClick the button below to reconnect to the runbox.","runbox.runtime.overlay.terminated.description.general":"The runtime connected to the runbox has ended.\nTo reconnect to the runbox, click the button below.","runbox.runtime.overlay.terminated.description.os_disk_is_full":"Runtime has ended because the disk is full.\nIf you have recently deleted a runbox, it may take some time to reflect.","runbox.runtime.overlay.terminated.description.quota_exceeded":"The runtime has ended because the runtime has expired.","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"Runbox has been running for 24 hours and the runtime has ended.\nTo reconnect to the runbox, click the button below.","runbox.runtime.overlay.terminated.description.unexpected":"If the problem persists, please contact customer service.","runbox.runtime.overlay.terminated.restart":"Reconnect","runbox.runtime.overlay.terminated.title":"Runtime disconnected","runbox.header.submitInfo":"{isIndividual, select, true {} other {Team}} submission count | {remainCount}/{totalCount} times left {isDailyLimitEnabled, select, true {today} other {}}"};
5
+ var messageEn = {"runbox.action.autoShutdown.title":"Always on","runbox.action.autoShutdown.tooltip.disabled":"This runtime automatically shuts down after {time}, which is set as the per-session usage time.","runbox.action.autoShutdown.tooltip.enabled":"If set to always on, the runtime will not shut down even if you leave the learning {_termLibraryLecturePage}. However, it will automatically shut down after {time}, which is set as the session-specific usage time of the runtime.","runbox.action.grade.dialog.description.error":"An error occurred while grading the code.","runbox.action.grade.dialog.description.success":"Grading completed successfully.","runbox.action.grade.dialog.title":"Grading result","runbox.action.grade.noti.error":"An error occurred while grading the code.","runbox.action.grade.title":"Submit","runbox.action.grade.tooltip.onProgress":"Grading is in progress. Please wait for a moment. Depending on the {_termLibraryLecturePage}, grading may take up to 3 minutes.","runbox.action.reset.dialog.actions.confirm":"Reset","runbox.action.reset.dialog.description":"Are you sure you want to reset the runbox code? Your codes will be overwritten to default code of {_termLibraryLecturePage}.\nAfter reset, the runbox session will be refreshed.","runbox.action.reset.noti.error":"An error occurred while initializing the runbox code.","runbox.action.reset.title":"Reset code","runbox.action.restart.dialog.actions.confirm":"Restart","runbox.action.restart.dialog.description":"Are you sure you want to restart the runbox?","runbox.action.restart.title":"Restart runbox","runbox.action.share.title":"Share runbox URL","runbox.action.share.snackbar.copied.fail":"Copying the runbox URL failed, please try again","runbox.action.share.snackbar.copied.success":"The runbox URL was copied successfully.","runbox.action.submitCountInfo.dialog.title":"Limit the number of submissions","runbox.action.submitCountInfo.dialog.description":"You have exceeded the submission count limit","runbox.action.submitCountInfo.tooltip.disabled":"The submission count has been used up","runbox.common.close":"Close","runbox.common.retry":"Retry","runbox.common.support":"Support","runbox.context.command.ping.error":"An error occurred while processing task.","runbox.runtime.message.startError":"There was an error starting the runbox.","runbox.runtime.overlay.assigned.description":"(3 of 3)\nRunbox is running.\nPlease wait!","runbox.runtime.overlay.assigned.description_timeout":"(3 of 3)\nRunning the runbox is taking longer than we expected.\nPlease wait a little longer without refreshing!","runbox.runtime.overlay.queued.description":"(2 of 3)\nCurrently queued {waiters} times...","runbox.runtime.overlay.queued.description_zero":"(2 of 3)\nRunbox will run soon","runbox.runtime.overlay.terminated.description.default":"The runtime terminated due to an unexpected problem.\nClick the button below to reconnect to the runbox.","runbox.runtime.overlay.terminated.description.general":"The runtime connected to the runbox has ended.\nTo reconnect to the runbox, click the button below.","runbox.runtime.overlay.terminated.description.os_disk_is_full":"Runtime has ended because the disk is full.\nIf you have recently deleted a runbox, it may take some time to reflect.","runbox.runtime.overlay.terminated.description.quota_exceeded":"The runtime has ended because the runtime has expired.","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"Runbox has been running for 24 hours and the runtime has ended.\nTo reconnect to the runbox, click the button below.","runbox.runtime.overlay.terminated.description.unexpected":"If the problem persists, please contact customer service.","runbox.runtime.overlay.terminated.restart":"Reconnect","runbox.runtime.overlay.terminated.title":"Runtime disconnected","runbox.header.submitInfo":"{isIndividual, select, true {} other {Team}} submission count | {remainCount}/{totalCount} times left {isDailyLimitEnabled, select, true {today} other {}}"};
6
6
 
7
- exports.default = en;
7
+ exports.default = messageEn;
@@ -1,2 +1,3 @@
1
- export { default as en } from './en.json';
2
- export { default as ko } from './ko.json';
1
+ export { default as messageEn } from './en.json';
2
+ export { default as messageKo } from './ko.json';
3
+ export { default as messageTh } from './th.json';
@@ -2,6 +2,6 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var ko = {"runbox.action.autoShutdown.title":"항상 켜두기","runbox.action.autoShutdown.tooltip.disabled":"해당 런타임은 세션별 사용 시간으로 설정된 {time}이 지나면 자동으로 종료됩니다.","runbox.action.autoShutdown.tooltip.enabled":"항상 켜두기를 설정하면 학습 자료 밖으로 나가도 런타임이 종료되지 않습니다. 다만, 해당 런타임의 세션별 사용 시간으로 설정된 {time}이 지나면 자동으로 종료됩니다.","runbox.action.grade.dialog.description.error":"채점 중에 오류가 발생했습니다.","runbox.action.grade.dialog.description.success":"채점이 완료되었습니다.","runbox.action.grade.dialog.title":"채점 결과","runbox.action.grade.noti.error":"코드를 채점하는 도중 오류가 발생했습니다.","runbox.action.grade.title":"제출","runbox.action.grade.tooltip.onProgress":"코드 채점이 진행 중 입니다. 잠시만 기다려 주세요. 실습에 따라 채점이 최대 3분까지 소요될 수 있습니다.","runbox.action.reset.dialog.actions.confirm":"초기화","runbox.action.reset.dialog.description":"런박스 코드를 초기화하시겠습니까? 초기화 시 학습자료의 코드가 기본 코드로 덮어씌워집니다.\n초기화 이후 런박스 세션이 새로고침 됩니다.","runbox.action.reset.noti.error":"런박스 코드를 초기화 하는 중에 오류가 발생했습니다.","runbox.action.reset.title":"코드 초기화","runbox.action.restart.dialog.actions.confirm":"재시작","runbox.action.restart.dialog.description":"런박스를 재시작 하시겠습니까?","runbox.action.restart.title":"런박스 재시작","runbox.action.share.title":"런박스 URL 복사","runbox.action.share.snackbar.copied.fail":"런박스 URL을 복사에 실패했습니다. 다시 시도해주세요.","runbox.action.share.snackbar.copied.success":"런박스 URL을 복사하였습니다.","runbox.action.submitCountInfo.dialog.title":"제출 횟수 제한","runbox.action.submitCountInfo.dialog.description":"제출 횟수 제한을 초과했습니다.","runbox.action.submitCountInfo.tooltip.disabled":"제출 횟수를 모두 사용했습니다.","runbox.common.close":"닫기","runbox.common.retry":"재시도","runbox.common.support":"고객센터","runbox.context.command.ping.error":"런박스 작업을 수행하는 도중 오류가 발생했습니다.","runbox.runtime.message.startError":"런박스를 시작하는 중에 오류가 발생했습니다.","runbox.runtime.overlay.assigned.description":"(3 / 3)\n런박스가 실행 중입니다.\n잠시만 기다려주세요!","runbox.runtime.overlay.assigned.description_timeout":"(3 / 3)\n런박스를 실행하는데\n예상보다 시간이 소요되고 있습니다.\n새로고침하지 말고 조금만 더 기다려주세요!","runbox.runtime.overlay.queued.description":"(2 / 3)\n현재 {waiters}번째 대기 중입니다...","runbox.runtime.overlay.queued.description_zero":"(2 / 3)\n곧 런박스가 실행됩니다","runbox.runtime.overlay.terminated.description.default":"예상치 못한 문제로 런타임이 종료되었습니다.\n런박스를 재접속하려면 아래 버튼을 눌러주세요.","runbox.runtime.overlay.terminated.description.general":"런박스에 연결된 런타임이 종료되었습니다.\n런박스를 재접속하려면 아래 버튼을 눌러주세요.","runbox.runtime.overlay.terminated.description.os_disk_is_full":"디스크가 가득 차서 런타임이 종료되었습니다.\n최근 런박스를 삭제하셨다면 반영까지 시간이 소요될 수 있습니다.","runbox.runtime.overlay.terminated.description.quota_exceeded":"런타임 사용시간이 만료되어 런타임이 종료되었습니다.","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"런박스를 실행한지 24시간이 경과하여 런타임이 종료되었습니다.\n런박스를 재접속하려면 아래 버튼을 눌러주세요.","runbox.runtime.overlay.terminated.description.unexpected":"문제가 지속되면 고객센터에 문의해주세요.","runbox.runtime.overlay.terminated.restart":"재접속","runbox.runtime.overlay.terminated.title":"런타임 연결 해제됨","runbox.header.submitInfo":"{isIndividual, select, true {} other {팀}} 제출 횟수 | {isDailyLimitEnabled, select, true {오늘} other {}} {remainCount}/{totalCount}회 남음"};
5
+ var messageKo = {"runbox.action.autoShutdown.title":"항상 켜두기","runbox.action.autoShutdown.tooltip.disabled":"해당 런타임은 세션별 사용 시간으로 설정된 {time}이 지나면 자동으로 종료됩니다.","runbox.action.autoShutdown.tooltip.enabled":"항상 켜두기를 설정하면 학습 {_termLibraryLecturePage} 밖으로 나가도 런타임이 종료되지 않습니다. 다만, 해당 런타임의 세션별 사용 시간으로 설정된 {time}이 지나면 자동으로 종료됩니다.","runbox.action.grade.dialog.description.error":"채점 중에 오류가 발생했습니다.","runbox.action.grade.dialog.description.success":"채점이 완료되었습니다.","runbox.action.grade.dialog.title":"채점 결과","runbox.action.grade.noti.error":"코드를 채점하는 도중 오류가 발생했습니다.","runbox.action.grade.title":"제출","runbox.action.grade.tooltip.onProgress":"코드 채점이 진행 중 입니다. 잠시만 기다려 주세요. 실습에 따라 채점이 최대 3분까지 소요될 수 있습니다.","runbox.action.reset.dialog.actions.confirm":"초기화","runbox.action.reset.dialog.description":"런박스 코드를 초기화하시겠습니까? 초기화 시 학습{_termLibraryLecturePage}의 코드가 기본 코드로 덮어씌워집니다.\n초기화 이후 런박스 세션이 새로고침 됩니다.","runbox.action.reset.noti.error":"런박스 코드를 초기화 하는 중에 오류가 발생했습니다.","runbox.action.reset.title":"코드 초기화","runbox.action.restart.dialog.actions.confirm":"재시작","runbox.action.restart.dialog.description":"런박스를 재시작 하시겠습니까?","runbox.action.restart.title":"런박스 재시작","runbox.action.share.title":"런박스 URL 복사","runbox.action.share.snackbar.copied.fail":"런박스 URL을 복사에 실패했습니다. 다시 시도해주세요.","runbox.action.share.snackbar.copied.success":"런박스 URL을 복사하였습니다.","runbox.action.submitCountInfo.dialog.title":"제출 횟수 제한","runbox.action.submitCountInfo.dialog.description":"제출 횟수 제한을 초과했습니다.","runbox.action.submitCountInfo.tooltip.disabled":"제출 횟수를 모두 사용했습니다.","runbox.common.close":"닫기","runbox.common.retry":"재시도","runbox.common.support":"고객센터","runbox.context.command.ping.error":"런박스 작업을 수행하는 도중 오류가 발생했습니다.","runbox.runtime.message.startError":"런박스를 시작하는 중에 오류가 발생했습니다.","runbox.runtime.overlay.assigned.description":"(3 / 3)\n런박스가 실행 중입니다.\n잠시만 기다려주세요!","runbox.runtime.overlay.assigned.description_timeout":"(3 / 3)\n런박스를 실행하는데\n예상보다 시간이 소요되고 있습니다.\n새로고침하지 말고 조금만 더 기다려주세요!","runbox.runtime.overlay.queued.description":"(2 / 3)\n현재 {waiters}번째 대기 중입니다...","runbox.runtime.overlay.queued.description_zero":"(2 / 3)\n곧 런박스가 실행됩니다","runbox.runtime.overlay.terminated.description.default":"예상치 못한 문제로 런타임이 종료되었습니다.\n런박스를 재접속하려면 아래 버튼을 눌러주세요.","runbox.runtime.overlay.terminated.description.general":"런박스에 연결된 런타임이 종료되었습니다.\n런박스를 재접속하려면 아래 버튼을 눌러주세요.","runbox.runtime.overlay.terminated.description.os_disk_is_full":"디스크가 가득 차서 런타임이 종료되었습니다.\n최근 런박스를 삭제하셨다면 반영까지 시간이 소요될 수 있습니다.","runbox.runtime.overlay.terminated.description.quota_exceeded":"런타임 사용시간이 만료되어 런타임이 종료되었습니다.","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"런박스를 실행한지 24시간이 경과하여 런타임이 종료되었습니다.\n런박스를 재접속하려면 아래 버튼을 눌러주세요.","runbox.runtime.overlay.terminated.description.unexpected":"문제가 지속되면 고객센터에 문의해주세요.","runbox.runtime.overlay.terminated.restart":"재접속","runbox.runtime.overlay.terminated.title":"런타임 연결 해제됨","runbox.header.submitInfo":"{isIndividual, select, true {} other {팀}} 제출 횟수 | {isDailyLimitEnabled, select, true {오늘} other {}} {remainCount}/{totalCount}회 남음"};
6
6
 
7
- exports.default = ko;
7
+ exports.default = messageKo;
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var messageTh = {"runbox.action.autoShutdown.title":"เปิดตลอดเวลา","runbox.action.autoShutdown.tooltip.disabled":"โรงง่ายได้ถูกตั้งค่าเป็นเวลาการใช้งานต่อเซสชัน {time}เมื่อผ่านไปแล้ว โปรแกรมจะถูกปิดอัตโนมัติ ","runbox.action.autoShutdown.tooltip.enabled":"เสมอติดตั้งการเปิดระบบอาจทำให้รันไทม์ไม่จบเมื่อออกจากข้อมูลการเรียนรู้ อย่างไรก็ตาม จะถูกตั้งเวลาการใช้งานต่อเซสชันของรันไทม์ที่นั่ง {time}เมื่อผ่านไปแล้ว โปรแกรมจะถูกปิดอัตโนมัติ ","runbox.action.grade.dialog.description.error":"เกิดข้อผิดพลาดขณะทำการตรวจคะแนน ","runbox.action.grade.dialog.description.success":"การตรวจคะแนนเสร็จสมบูรณ์แล้วค่ะ.","runbox.action.grade.dialog.title":"ผลการตรวจคะแนน","runbox.action.grade.noti.error":"ระหว่างการตรวจคะแนนโค้ดเกิดข้อผิดพลาดขึ้นในขณะนี้ครับ.","runbox.action.grade.title":"ส่ง","runbox.action.grade.tooltip.onProgress":"การตรวจคำตอบกำลังดำเนินอยู่ โปรดรอสัก{_termCourseRoleEducator}่ค่ะ ตามการปฏิบัติการฝึกปฏิบัติ การตรวจคำตอบอาจใช้เวลาถึง 3 นาทีได้ค่ะ.","runbox.action.reset.dialog.actions.confirm":"เริ่มต้นใหม่","runbox.action.reset.dialog.description":"คุณต้องการรีเซ็ตโค้ดของ Runbox หรือไม่? เมื่อรีเซ็ตแล้วโค้ดของชุดข้อมูลจะถูกเขียนทับด้วยโค้ดเริ่มต้น\nหลังจากรีเซ็ต การเซสชั่นของ Runbox จะถูกรีเฟรชใหม่.","runbox.action.reset.noti.error":"เกิดข้อผิดพลาดขณะกำลังรีเซ็ตโค้ดของลั่นบ็อกซ์ ","runbox.action.reset.title":"รีเซ็ตโค้ด","runbox.action.restart.dialog.actions.confirm":"เริ่มใหม่","runbox.action.restart.dialog.description":"คุณต้องการที่จะเริ่มการทำงานของลันบอกซ์ใหม่หรือไม่?","runbox.action.restart.title":"รีสตาร์ทเรันบ็อกซ์","runbox.action.share.title":"คัดลอก URL ของ Runbox","runbox.action.share.snackbar.copied.fail":"การคัดลอก URL ของรันบ็อกซ์ล้มเหลว โปรดลองอีกครั้งค่ะ.","runbox.action.share.snackbar.copied.success":"คัดลอก URL ของ Runbox แล้วค่ะ.","runbox.action.submitCountInfo.dialog.title":"จำนวนครั้งในการส่งจำกัด","runbox.action.submitCountInfo.dialog.description":"เกินจำนวนครั้งที่สามารถส่งได้แล้วครับ.","runbox.action.submitCountInfo.tooltip.disabled":"ใช้จำนวนครั้งในการส่งทั้งหมดแล้วครับ.","runbox.common.close":"ปิด","runbox.common.retry":"ลองอีกครั้ง","runbox.common.support":"ศูนย์บริการลูกค้า","runbox.context.command.ping.error":"การดำเนินการงานบน Runbox ผิดพลาดในขณะนี้ โปรดลองอีกครั้งในภายหลัง.","runbox.runtime.message.startError":"เมื่อเริ่มต้นการทำงานของรันบ็อกซ์ พบข้อผิดพลาดในขณะนี้ครับ.","runbox.runtime.overlay.assigned.description":"(3 / 3)\nรันบ็อกซ์กำลังทำงานอยู่\nกรุณารอสักครู่!","runbox.runtime.overlay.assigned.description_timeout":"(3 / 3)\nการทำงานของระบบกำลังใช้เวลามากกว่าที่คาดหวัง\nโปรดรอสัก{_termCourseRoleEducator}่เพิ่มเติมโดยไม่ต้องรีเฟรช!","runbox.runtime.overlay.queued.description":"(2 / 3)\nปัจจุบัน {waiters}อยู่ในคิวที่...","runbox.runtime.overlay.queued.description_zero":"(2 / 3)\nเร็ว ๆ นี้การดำเนินงานของรันบ็อกจะเริ่มต้น","runbox.runtime.overlay.terminated.description.default":"พบปัญหาที่ไม่คาดคิดและทำให้ระบบหยุดทำงาน\nโปรดกดปุ่มด้านล่างเพื่อเชื่อมต่อใหม่กับระบบ.","runbox.runtime.overlay.terminated.description.general":"เชื่อมต่อรันไทม์ที่เชื่อมต่อกับรันบ็อกซ์ถูกปิดลงแล้ว\nหากต้องการเชื่อมต่อรันบ็อกซ์อีกครั้ง กรุณากดปุ่มด้านล่าง","runbox.runtime.overlay.terminated.description.os_disk_is_full":"ดิสก์เต็มเพราะได้ลบแพ็คเกจเร็วเรียบร้อยแล้ว อาจใช้เวลาสัก{_termCourseRoleEducator}่ในการปรับปรุงในกรณีนี้","runbox.runtime.overlay.terminated.description.quota_exceeded":"เวลาการใช้งานของไรมฯหมดลง และไรมฯถูกปิดลงแล้วครับ.","runbox.runtime.overlay.terminated.description.quota_per_session_exceeded":"หลังจากผ่านไป 24 ชั่วโมงหลังจากการเริ่มต้นการเรียกใช้ Runbox ได้สิ้นสุดลงแล้ว\nหากต้องการเชื่อมต่อกับ Runbox อีกครั้ง โปรดคลิกที่ปุ่มด้านล่างนี้.","runbox.runtime.overlay.terminated.description.unexpected":"หากปัญหายังคงอยู่ กรุณาติดต่อศูนย์บริการลูกค้าค่ะ.","runbox.runtime.overlay.terminated.restart":"การเชื่อมต่ออีกครั้ง","runbox.runtime.overlay.terminated.title":"เชื่อมต่อไปยังเวลาทำงานถูกยกเลิก","runbox.header.submitInfo":"{isIndividual, select, true {} other {ทีม}} จำนวนครั้งที่ส่ง | {isDailyLimitEnabled, select, true {วันนี้} other {}} {remainCount}/{totalCount}เหลืออยู่"};
6
+
7
+ exports.default = messageTh;