diff options
author | 2019-12-23 15:46:11 +0100 | |
---|---|---|
committer | 2019-12-23 15:46:11 +0100 | |
commit | f319a1c9ba7a4a17a615d1b0f224603e57fdc25d (patch) | |
tree | 7d0bc16639867d39914eede3bbd3c6bb6c5bcf56 | |
parent | Add local recipe repository as new feature (diff) | |
download | ferdium-app-f319a1c9ba7a4a17a615d1b0f224603e57fdc25d.tar.gz ferdium-app-f319a1c9ba7a4a17a615d1b0f224603e57fdc25d.tar.zst ferdium-app-f319a1c9ba7a4a17a615d1b0f224603e57fdc25d.zip |
Allow for more natural translation of loading message
-rw-r--r-- | src/components/ui/WebviewLoader/index.js | 4 | ||||
-rw-r--r-- | src/i18n/locales/defaultMessages.json | 2 | ||||
-rw-r--r-- | src/i18n/messages/src/components/ui/WebviewLoader/index.json | 2 | ||||
m--------- | src/internal-server | 0 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/components/ui/WebviewLoader/index.js b/src/components/ui/WebviewLoader/index.js index 923f10327..c58d69374 100644 --- a/src/components/ui/WebviewLoader/index.js +++ b/src/components/ui/WebviewLoader/index.js | |||
@@ -10,7 +10,7 @@ import styles from './styles'; | |||
10 | const messages = defineMessages({ | 10 | const messages = defineMessages({ |
11 | loading: { | 11 | loading: { |
12 | id: 'service.webviewLoader.loading', | 12 | id: 'service.webviewLoader.loading', |
13 | defaultMessage: '!!!Loading', | 13 | defaultMessage: '!!!Loading {service}', |
14 | }, | 14 | }, |
15 | }); | 15 | }); |
16 | 16 | ||
@@ -30,7 +30,7 @@ export default @injectSheet(styles) @observer class WebviewLoader extends Compon | |||
30 | return ( | 30 | return ( |
31 | <FullscreenLoader | 31 | <FullscreenLoader |
32 | className={classes.component} | 32 | className={classes.component} |
33 | title={`${intl.formatMessage(messages.loading)} ${name}`} | 33 | title={`${intl.formatMessage(messages.loading, { service: name })}`} |
34 | /> | 34 | /> |
35 | ); | 35 | ); |
36 | } | 36 | } |
diff --git a/src/i18n/locales/defaultMessages.json b/src/i18n/locales/defaultMessages.json index 393d295bd..fe324cd67 100644 --- a/src/i18n/locales/defaultMessages.json +++ b/src/i18n/locales/defaultMessages.json | |||
@@ -3809,7 +3809,7 @@ | |||
3809 | { | 3809 | { |
3810 | "descriptors": [ | 3810 | "descriptors": [ |
3811 | { | 3811 | { |
3812 | "defaultMessage": "!!!Loading", | 3812 | "defaultMessage": "!!!Loading {service}", |
3813 | "end": { | 3813 | "end": { |
3814 | "column": 3, | 3814 | "column": 3, |
3815 | "line": 14 | 3815 | "line": 14 |
diff --git a/src/i18n/messages/src/components/ui/WebviewLoader/index.json b/src/i18n/messages/src/components/ui/WebviewLoader/index.json index ef3e4b593..9caabef25 100644 --- a/src/i18n/messages/src/components/ui/WebviewLoader/index.json +++ b/src/i18n/messages/src/components/ui/WebviewLoader/index.json | |||
@@ -1,7 +1,7 @@ | |||
1 | [ | 1 | [ |
2 | { | 2 | { |
3 | "id": "service.webviewLoader.loading", | 3 | "id": "service.webviewLoader.loading", |
4 | "defaultMessage": "!!!Loading", | 4 | "defaultMessage": "!!!Loading {service}", |
5 | "file": "src/components/ui/WebviewLoader/index.js", | 5 | "file": "src/components/ui/WebviewLoader/index.js", |
6 | "start": { | 6 | "start": { |
7 | "line": 11, | 7 | "line": 11, |
diff --git a/src/internal-server b/src/internal-server | |||
Subproject cca6cd984caf729722153e58f44c01319c4bd63 | Subproject 48cb16fefe46ab66b1884f18e04c1f701a8e0c0 | ||