From 1191207aa5a32627e54f7febcd279d50d03c66b3 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 22 Jan 2020 00:53:51 +0200 Subject: more help strings --- src/components/style_switcher/style_switcher.js | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) (limited to 'src/components/style_switcher/style_switcher.js') diff --git a/src/components/style_switcher/style_switcher.js b/src/components/style_switcher/style_switcher.js index 0ef02f39..8f0de067 100644 --- a/src/components/style_switcher/style_switcher.js +++ b/src/components/style_switcher/style_switcher.js @@ -166,15 +166,21 @@ export default { } // Admin downgraded FE if (themeEngineVersion > CURRENT_VERSION) { - return noActionsPossible - ? 'downgraded_theme' - : 'downgraded_theme_missing_snapshot' + return t(pre + 'fe_downgraded') + ' ' + + ( + noActionsPossible + ? t(pre + 'migration_snapshot_ok') + : t(pre + 'migration_snapshot_gone') + ) } // Admin upgraded FE if (themeEngineVersion < CURRENT_VERSION) { - return noActionsPossible - ? 'upgraded_theme' - : 'upgraded_theme_missing_snapshot' + return t(pre + 'fe_upgraded') + ' ' + + ( + noActionsPossible + ? t(pre + 'migration_snapshot_ok') + : t(pre + 'migration_snapshot_gone') + ) } } }, -- cgit v1.2.3-70-g09d2