Commit 3e79f278 authored by Enrique Alcantara's avatar Enrique Alcantara Committed by Francisco Javier López

Code review feedback

- Put externalized string in i18n
parent 385be9bd
...@@ -46,7 +46,7 @@ export default { ...@@ -46,7 +46,7 @@ export default {
}) })
.catch(() => .catch(() =>
createFlash({ createFlash({
message: __('The content for this wiki page failed to render.'), message: this.$options.i18n.renderingContentFailed,
}), }),
); );
} catch (e) { } catch (e) {
...@@ -61,6 +61,7 @@ export default { ...@@ -61,6 +61,7 @@ export default {
'The content for this wiki page failed to load. To fix this error, reload the page.', 'The content for this wiki page failed to load. To fix this error, reload the page.',
), ),
retryLoadingContent: __('Retry'), retryLoadingContent: __('Retry'),
renderingContentFailed: __('The content for this wiki page failed to render.'),
}, },
}; };
</script> </script>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment