Localized dev/views/new-app.vue (#2959)

* Localized read-all message

* Fixed some weirdness:   src/client/app/init.ts

* Unfucked server api stuff (sorry lol):   src/server/api/endpoints/i/read_all_unread_notes.ts

* Clean up

* Added localization lines to:   locales/ja-JP.yml
Localized:   src/client/app/dev/views/apps.vue

* Fix potential error:   src/client/app/dev/views/apps.vue

* Added relevant localization lines:   locales/ja-JP.yml
Localized:   src/client/app/dev/views/new-app.vue
This commit is contained in:
Dr. Gutfuck LLC 2018-10-20 14:01:09 -04:00 committed by syuilo
parent 484f281c19
commit 512336685c
3 changed files with 55 additions and 24 deletions

View file

@ -1,12 +1,12 @@
<template>
<mk-ui>
<b-card header="アプリを管理">
<b-button to="/app/new" variant="primary">アプリ作成</b-button>
<b-card header="%i18n:@manage-apps%">
<b-button to="/app/new" variant="primary">%i18n:@create-app%</b-button>
<hr>
<div class="apps">
<p v-if="fetching">読み込み中</p>
<p v-if="fetching">%i18n:common.loading%</p>
<template v-if="!fetching">
<b-alert v-if="apps.length == 0">アプリなし</b-alert>
<b-alert v-if="apps.length == 0">%i18n:@app-missing%</b-alert>
<b-list-group v-else>
<b-list-group-item v-for="app in apps" :key="app.id" :to="`/app/${app.id}`">
{{ app.name }}