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 {
})
.catch(() =>
createFlash({
message: __('The content for this wiki page failed to render.'),
message: this.$options.i18n.renderingContentFailed,
}),
);
} catch (e) {
......@@ -61,6 +61,7 @@ export default {
'The content for this wiki page failed to load. To fix this error, reload the page.',
),
retryLoadingContent: __('Retry'),
renderingContentFailed: __('The content for this wiki page failed to render.'),
},
};
</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