mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-25 05:29:07 +01:00
670e13f57d
Refactoring of i18n
29 lines
542 B
Vue
29 lines
542 B
Vue
<template>
|
|
<div class="wjqjnyhzogztorhrdgcpqlkxhkmuetgj">
|
|
<p><fa icon="exclamation-triangle"/> {{ $t('@.error.title') }}</p>
|
|
<ui-button @click="() => $emit('retry')">{{ $t('@.error.retry') }}</ui-button>
|
|
</div>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import Vue from 'vue';
|
|
import i18n from '../../../i18n';
|
|
|
|
export default Vue.extend({
|
|
i18n: i18n()
|
|
});
|
|
</script>
|
|
|
|
<style lang="stylus" scoped>
|
|
.wjqjnyhzogztorhrdgcpqlkxhkmuetgj
|
|
max-width 350px
|
|
margin 0 auto
|
|
padding 32px
|
|
text-align center
|
|
color var(--text)
|
|
|
|
> p
|
|
margin 0 0 8px 0
|
|
|
|
</style>
|