diff options
author | 2021-09-07 08:05:34 +0530 | |
---|---|---|
committer | 2021-09-07 09:41:27 +0530 | |
commit | 8b5de8dd779dfc2dfa45c930d143060ac7321acf (patch) | |
tree | 256547da3abb14429d73881a1251f4cda5127653 /src/components/services/tabs | |
parent | 5.6.1-nightly.52 [skip ci] (diff) | |
download | ferdium-app-8b5de8dd779dfc2dfa45c930d143060ac7321acf.tar.gz ferdium-app-8b5de8dd779dfc2dfa45c930d143060ac7321acf.tar.zst ferdium-app-8b5de8dd779dfc2dfa45c930d143060ac7321acf.zip |
refactor: externalize english text
Diffstat (limited to 'src/components/services/tabs')
-rw-r--r-- | src/components/services/tabs/TabItem.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/services/tabs/TabItem.js b/src/components/services/tabs/TabItem.js index b24055828..d59cbe228 100644 --- a/src/components/services/tabs/TabItem.js +++ b/src/components/services/tabs/TabItem.js | |||
@@ -11,6 +11,7 @@ import ms from 'ms'; | |||
11 | import { observable, autorun } from 'mobx'; | 11 | import { observable, autorun } from 'mobx'; |
12 | import ServiceModel from '../../../models/Service'; | 12 | import ServiceModel from '../../../models/Service'; |
13 | import { cmdOrCtrlShortcutKey } from '../../../environment'; | 13 | import { cmdOrCtrlShortcutKey } from '../../../environment'; |
14 | import globalMessages from '../../../i18n/globalMessages'; | ||
14 | 15 | ||
15 | const IS_SERVICE_DEBUGGING_ENABLED = ( | 16 | const IS_SERVICE_DEBUGGING_ENABLED = ( |
16 | localStorage.getItem('debug') || '' | 17 | localStorage.getItem('debug') || '' |
@@ -259,7 +260,7 @@ class TabItem extends Component { | |||
259 | detail: intl.formatMessage(messages.confirmDeleteService, { | 260 | detail: intl.formatMessage(messages.confirmDeleteService, { |
260 | serviceName: service.name || service.recipe.name, | 261 | serviceName: service.name || service.recipe.name, |
261 | }), | 262 | }), |
262 | buttons: ['Yes', 'No'], | 263 | buttons: [intl.formatMessage(globalMessages.yes), intl.formatMessage(globalMessages.no)], |
263 | }); | 264 | }); |
264 | if (selection === 0) { | 265 | if (selection === 0) { |
265 | deleteService(); | 266 | deleteService(); |