diff --git a/src/components/register.ts b/src/components/register.ts index 3c46b544b3..ce14e07e13 100644 --- a/src/components/register.ts +++ b/src/components/register.ts @@ -10,6 +10,7 @@ import VChip from './v-chip/'; import VDetail from './v-detail'; import VDialog from './v-dialog'; import VDivider from './v-divider'; +import VError from './v-error'; import VFancySelect from './v-fancy-select'; import VFieldTemplate from './v-field-template'; import VForm from './v-form'; @@ -59,6 +60,7 @@ Vue.component('v-chip', VChip); Vue.component('v-detail', VDetail); Vue.component('v-dialog', VDialog); Vue.component('v-divider', VDivider); +Vue.component('v-error', VError); Vue.component('v-fancy-select', VFancySelect); Vue.component('v-field-template', VFieldTemplate); Vue.component('v-form', VForm); diff --git a/src/components/v-error/index.ts b/src/components/v-error/index.ts new file mode 100644 index 0000000000..905d74709c --- /dev/null +++ b/src/components/v-error/index.ts @@ -0,0 +1,4 @@ +import VError from './v-error.vue'; + +export default VError; +export { VError }; diff --git a/src/components/v-error/v-error.vue b/src/components/v-error/v-error.vue new file mode 100644 index 0000000000..85471127fa --- /dev/null +++ b/src/components/v-error/v-error.vue @@ -0,0 +1,56 @@ + + + + + diff --git a/src/lang/en-US/index.json b/src/lang/en-US/index.json index 06ff17b51e..330e756bad 100644 --- a/src/lang/en-US/index.json +++ b/src/lang/en-US/index.json @@ -345,6 +345,8 @@ "presets": "Presets", "unexpected_error": "An unexpected error occured", + "unexpected_error_copy": "Something went wrong.. Please try again later.", + "copy_details": "Copy Details", "password_reset_sent": "We've sent you a secure link to reset your password", "password_reset_successful": "Password successfully reset", diff --git a/src/layouts/tabular/tabular.vue b/src/layouts/tabular/tabular.vue index 4dcb8e19f5..a8c6f90dd9 100644 --- a/src/layouts/tabular/tabular.vue +++ b/src/layouts/tabular/tabular.vue @@ -124,6 +124,14 @@ + + {{ $t('unexpected_error_copy') }} + + + + {{ $t('no_results_copy') }}