diff options
author | vantezzen <properly@protonmail.com> | 2019-09-03 09:54:30 +0200 |
---|---|---|
committer | vantezzen <properly@protonmail.com> | 2019-09-03 09:54:30 +0200 |
commit | 02c62c7b7578ff47d690b3085baa105b47bfe026 (patch) | |
tree | 4538eb79ad9dc0b1938ce86394c6dc406f633524 /src/components/layout | |
parent | Change protocol to ferdi (diff) | |
download | ferdium-app-02c62c7b7578ff47d690b3085baa105b47bfe026.tar.gz ferdium-app-02c62c7b7578ff47d690b3085baa105b47bfe026.tar.zst ferdium-app-02c62c7b7578ff47d690b3085baa105b47bfe026.zip |
i18n custom Ferdi strings
Diffstat (limited to 'src/components/layout')
-rw-r--r-- | src/components/layout/AppLayout.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/layout/AppLayout.js b/src/components/layout/AppLayout.js index 02550c87f..5c3d301e0 100644 --- a/src/components/layout/AppLayout.js +++ b/src/components/layout/AppLayout.js | |||
@@ -34,6 +34,10 @@ const messages = defineMessages({ | |||
34 | id: 'infobar.requiredRequestsFailed', | 34 | id: 'infobar.requiredRequestsFailed', |
35 | defaultMessage: '!!!Could not load services and user information', | 35 | defaultMessage: '!!!Could not load services and user information', |
36 | }, | 36 | }, |
37 | authRequestFailed: { | ||
38 | id: 'infobar.authRequestFailed', | ||
39 | defaultMessage: '!!!There were errors while trying to perform an authenticated request. Please try logging out and back in if this error persists.', | ||
40 | }, | ||
37 | }); | 41 | }); |
38 | 42 | ||
39 | const styles = theme => ({ | 43 | const styles = theme => ({ |
@@ -154,7 +158,7 @@ class AppLayout extends Component { | |||
154 | onClick={retryRequiredRequests} | 158 | onClick={retryRequiredRequests} |
155 | > | 159 | > |
156 | <span className="mdi mdi-flash" /> | 160 | <span className="mdi mdi-flash" /> |
157 | There were errors while trying to perform an authenticated request. Please try logging out and back in if this error persists. | 161 | {intl.formatMessage(messages.authRequestFailed)} |
158 | </InfoBar> | 162 | </InfoBar> |
159 | )} | 163 | )} |
160 | {showServicesUpdatedInfoBar && ( | 164 | {showServicesUpdatedInfoBar && ( |