aboutsummaryrefslogtreecommitdiff
path: root/src/components/style_switcher/style_switcher.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2020-01-22 00:53:51 +0200
committerHenry Jameson <me@hjkos.com>2020-01-22 00:53:51 +0200
commit1191207aa5a32627e54f7febcd279d50d03c66b3 (patch)
treef4dbfb23d840407f8824674f991ce342a07d52c8 /src/components/style_switcher/style_switcher.js
parentcf1149d8c5248914ced0de4ea1e176f2e816d635 (diff)
more help strings
Diffstat (limited to 'src/components/style_switcher/style_switcher.js')
-rw-r--r--src/components/style_switcher/style_switcher.js18
1 files changed, 12 insertions, 6 deletions
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')
+ )
}
}
},