diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2023-04-01 14:01:57 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2023-04-01 14:01:57 +0900 |
| commit | 9224b6635f17c4e38e4a35b4aa1a47f94e8a3d2e (patch) | |
| tree | f5e9d461a61dbf711471236331de4f465c99b924 /packages/frontend/src/pages/auth.form.vue | |
| parent | refactor(frontend): remove $i (diff) | |
| download | misskey-9224b6635f17c4e38e4a35b4aa1a47f94e8a3d2e.tar.gz misskey-9224b6635f17c4e38e4a35b4aa1a47f94e8a3d2e.tar.bz2 misskey-9224b6635f17c4e38e4a35b4aa1a47f94e8a3d2e.zip | |
refactor(frontend): remove $ts and $t
Diffstat (limited to 'packages/frontend/src/pages/auth.form.vue')
| -rw-r--r-- | packages/frontend/src/pages/auth.form.vue | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/packages/frontend/src/pages/auth.form.vue b/packages/frontend/src/pages/auth.form.vue index f8484185f5..40a6d782b0 100644 --- a/packages/frontend/src/pages/auth.form.vue +++ b/packages/frontend/src/pages/auth.form.vue @@ -1,25 +1,25 @@ <template> - <section> - <div v-if="app.permission.length > 0"> - <p>{{ $t('_auth.permission', { name }) }}</p> - <ul> - <li v-for="p in app.permission" :key="p">{{ $t(`_permissions.${p}`) }}</li> - </ul> - </div> - <div>{{ i18n.t('_auth.shareAccess', { name: `${name} (${app.id})` }) }}</div> - <div :class="$style.buttons"> - <MkButton inline @click="cancel">{{ i18n.ts.cancel }}</MkButton> - <MkButton inline primary @click="accept">{{ i18n.ts.accept }}</MkButton> - </div> - </section> +<section> + <div v-if="app.permission.length > 0"> + <p>{{ i18n.t('_auth.permission', { name }) }}</p> + <ul> + <li v-for="p in app.permission" :key="p">{{ i18n.t(`_permissions.${p}`) }}</li> + </ul> + </div> + <div>{{ i18n.t('_auth.shareAccess', { name: `${name} (${app.id})` }) }}</div> + <div :class="$style.buttons"> + <MkButton inline @click="cancel">{{ i18n.ts.cancel }}</MkButton> + <MkButton inline primary @click="accept">{{ i18n.ts.accept }}</MkButton> + </div> +</section> </template> <script lang="ts" setup> import { } from 'vue'; +import { AuthSession } from 'misskey-js/built/entities'; import MkButton from '@/components/MkButton.vue'; import * as os from '@/os'; import { i18n } from '@/i18n'; -import { AuthSession } from 'misskey-js/built/entities'; const props = defineProps<{ session: AuthSession; |