feat(i18n): translate server messages (#40626)

This commit is contained in:
Tom
2021-01-07 12:36:51 -06:00
committed by Mrugesh Mohapatra
parent 77022b8a56
commit 072a7ce6c6
11 changed files with 64 additions and 98 deletions

View File

@@ -12,8 +12,7 @@ function* deleteAccountSaga() {
yield put(
createFlashMessage({
type: 'info',
message: 'flash.msg-5',
needsTranslating: true
message: 'flash.msg-5'
})
);
// remove current user information from application state
@@ -30,8 +29,7 @@ function* resetProgressSaga() {
yield put(
createFlashMessage({
type: 'info',
message: 'flash.msg-6',
needsTranslating: true
message: 'flash.msg-6'
})
);
// refresh current user data in application state