diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-11-09 13:47:22 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-11-09 13:47:22 +0900 |
| commit | c8081ed35354143654bd60b5751f17b8791b81d6 (patch) | |
| tree | ce8a2df5d6a4737cba036e267372fb2d3f2cc074 /src | |
| parent | Update autobind-decorator requirement from 2.1.0 to 2.2.1 (#3151) (diff) | |
| download | misskey-c8081ed35354143654bd60b5751f17b8791b81d6.tar.gz misskey-c8081ed35354143654bd60b5751f17b8791b81d6.tar.bz2 misskey-c8081ed35354143654bd60b5751f17b8791b81d6.zip | |
Fix i18n
Diffstat (limited to 'src')
10 files changed, 31 insertions, 31 deletions
diff --git a/src/client/app/admin/views/charts.vue b/src/client/app/admin/views/charts.vue index 2c42aa438d..f70e7c207e 100644 --- a/src/client/app/admin/views/charts.vue +++ b/src/client/app/admin/views/charts.vue @@ -3,27 +3,27 @@ <header> <b><fa :icon="['far', 'chart-bar']"/> {{ $t('title') }}:</b> <select v-model="src"> - <optgroup :label="$t('label')"> + <optgroup :label="$t('federation')"> <option value="federation-instances">{{ $t('charts.federation-instances') }}</option> <option value="federation-instances-total">{{ $t('charts.federation-instances-total') }}</option> </optgroup> - <optgroup :label="$t('label')"> + <optgroup :label="$t('users')"> <option value="users">{{ $t('charts.users') }}</option> <option value="users-total">{{ $t('charts.users-total') }}</option> </optgroup> - <optgroup :label="$t('label')"> + <optgroup :label="$t('notes')"> <option value="notes">{{ $t('charts.notes') }}</option> <option value="local-notes">{{ $t('charts.local-notes') }}</option> <option value="remote-notes">{{ $t('charts.remote-notes') }}</option> <option value="notes-total">{{ $t('charts.notes-total') }}</option> </optgroup> - <optgroup :label="$t('label')"> + <optgroup :label="$t('drive')"> <option value="drive-files">{{ $t('charts.drive-files') }}</option> <option value="drive-files-total">{{ $t('charts.drive-files-total') }}</option> <option value="drive">{{ $t('charts.drive') }}</option> <option value="drive-total">{{ $t('charts.drive-total') }}</option> </optgroup> - <optgroup :label="$t('label')"> + <optgroup :label="$t('network')"> <option value="network-requests">{{ $t('charts.network-requests') }}</option> <option value="network-time">{{ $t('charts.network-time') }}</option> <option value="network-usage">{{ $t('charts.network-usage') }}</option> diff --git a/src/client/app/common/views/components/games/reversi/reversi.room.vue b/src/client/app/common/views/components/games/reversi/reversi.room.vue index 693d2de95a..92cdc6c083 100644 --- a/src/client/app/common/views/components/games/reversi/reversi.room.vue +++ b/src/client/app/common/views/components/games/reversi/reversi.room.vue @@ -7,9 +7,9 @@ <div class="card map"> <header> - <select v-model="mapName" :placeholder="$t('placeholder')" @change="onMapChange"> + <select v-model="mapName" :placeholder="$t('choose-map')" @change="onMapChange"> <option label="-Custom-" :value="mapName" v-if="mapName == '-Custom-'"/> - <option :label="$t('label')" :value="null"/> + <option :label="$t('random')" :value="null"/> <optgroup v-for="c in mapCategories" :key="c" :label="c"> <option v-for="m in maps" v-if="m.category == c" :key="m.name" :label="m.name" :value="m.name">{{ m.name }}</option> </optgroup> diff --git a/src/client/app/common/views/components/messaging-room.form.vue b/src/client/app/common/views/components/messaging-room.form.vue index 7c45df47d1..d25c0c86db 100644 --- a/src/client/app/common/views/components/messaging-room.form.vue +++ b/src/client/app/common/views/components/messaging-room.form.vue @@ -8,7 +8,7 @@ ref="textarea" @keypress="onKeypress" @paste="onPaste" - :placeholder="$t('placeholder')" + :placeholder="$t('input-message-here')" v-autocomplete="'text'" ></textarea> <div class="file" @click="file = null" v-if="file">{{ file.name }}</div> diff --git a/src/client/app/common/views/components/messaging.vue b/src/client/app/common/views/components/messaging.vue index 046ac1cfdd..3bfaea81f8 100644 --- a/src/client/app/common/views/components/messaging.vue +++ b/src/client/app/common/views/components/messaging.vue @@ -3,7 +3,7 @@ <div class="search" v-if="!compact" :style="{ top: headerTop + 'px' }"> <div class="form"> <label for="search-input"><i><fa icon="search"/></i></label> - <input v-model="q" type="search" @input="search" @keydown="onSearchKeydown" :placeholder="$t('placeholder')"/> + <input v-model="q" type="search" @input="search" @keydown="onSearchKeydown" :placeholder="$t('search-user')"/> </div> <div class="result"> <ol class="users" v-if="result.length > 0" ref="searchResult"> diff --git a/src/client/app/common/views/components/theme.vue b/src/client/app/common/views/components/theme.vue index 31abef1d20..4a6d066d7f 100644 --- a/src/client/app/common/views/components/theme.vue +++ b/src/client/app/common/views/components/theme.vue @@ -2,11 +2,11 @@ <div class="nicnklzforebnpfgasiypmpdaaglujqm"> <label> <span>{{ $t('light-theme') }}</span> - <ui-select v-model="light" :placeholder="$t('placeholder')"> - <optgroup :label="$t('label')"> + <ui-select v-model="light" :placeholder="$t('light-theme')"> + <optgroup :label="$t('light-themes')"> <option v-for="x in lightThemes" :value="x.id" :key="x.id">{{ x.name }}</option> </optgroup> - <optgroup :label="$t('label')"> + <optgroup :label="$t('dark-themes')"> <option v-for="x in darkThemes" :value="x.id" :key="x.id">{{ x.name }}</option> </optgroup> </ui-select> @@ -14,11 +14,11 @@ <label> <span>{{ $t('dark-theme') }}</span> - <ui-select v-model="dark" :placeholder="$t('placeholder')"> - <optgroup :label="$t('label')"> + <ui-select v-model="dark" :placeholder="$t('dark-theme')"> + <optgroup :label="$t('dark-themes')"> <option v-for="x in darkThemes" :value="x.id" :key="x.id">{{ x.name }}</option> </optgroup> - <optgroup :label="$t('label')"> + <optgroup :label="$t('light-themes')"> <option v-for="x in lightThemes" :value="x.id" :key="x.id">{{ x.name }}</option> </optgroup> </ui-select> @@ -68,14 +68,14 @@ <details> <summary><fa icon="folder-open"/> {{ $t('manage-themes') }}</summary> - <ui-select v-model="selectedThemeId" :placeholder="$t('placeholder')"> - <optgroup :label="$t('label')"> + <ui-select v-model="selectedThemeId" :placeholder="$t('select-theme')"> + <optgroup :label="$t('builtin-themes')"> <option v-for="x in builtinThemes" :value="x.id" :key="x.id">{{ x.name }}</option> </optgroup> - <optgroup :label="$t('label')"> + <optgroup :label="$t('my-themes')"> <option v-for="x in installedThemes.filter(t => t.author == this.$store.state.i.username)" :value="x.id" :key="x.id">{{ x.name }}</option> </optgroup> - <optgroup :label="$t('label')"> + <optgroup :label="$t('installed-themes')"> <option v-for="x in installedThemes.filter(t => t.author != this.$store.state.i.username)" :value="x.id" :key="x.id">{{ x.name }}</option> </optgroup> </ui-select> diff --git a/src/client/app/desktop/views/components/post-form.vue b/src/client/app/desktop/views/components/post-form.vue index 0af8a63aee..d4be1d8b27 100644 --- a/src/client/app/desktop/views/components/post-form.vue +++ b/src/client/app/desktop/views/components/post-form.vue @@ -14,7 +14,7 @@ <b>{{ $t('recent-tags') }}:</b> <a v-for="tag in recentHashtags.slice(0, 5)" @click="addTag(tag)" :title="$t('click-to-tagging')">#{{ tag }}</a> </div> - <input v-show="useCw" v-model="cw" :placeholder="$t('placeholder')"> + <input v-show="useCw" v-model="cw" :placeholder="$t('annotations')"> <textarea :class="{ with: (files.length != 0 || poll) }" ref="text" v-model="text" :disabled="posting" @keydown="onKeydown" @paste="onPaste" :placeholder="placeholder" diff --git a/src/client/app/desktop/views/components/settings.vue b/src/client/app/desktop/views/components/settings.vue index 0019288135..f834e84309 100644 --- a/src/client/app/desktop/views/components/settings.vue +++ b/src/client/app/desktop/views/components/settings.vue @@ -155,12 +155,12 @@ <ui-card class="web" v-show="page == 'web'"> <div slot="title"><fa icon="language"/> {{ $t('language') }}</div> <section class="fit-top"> - <ui-select v-model="lang" :placeholder="$t('placeholder')"> - <optgroup :label="$t('label')"> + <ui-select v-model="lang" :placeholder="$t('pick-language')"> + <optgroup :label="$t('recommended')"> <option value="">{{ $t('auto') }}</option> </optgroup> - <optgroup :label="$t('label')"> + <optgroup :label="$t('specify-language')"> <option v-for="x in langs" :value="x[0]" :key="x[0]">{{ x[1] }}</option> </optgroup> </ui-select> diff --git a/src/client/app/dev/views/new-app.vue b/src/client/app/dev/views/new-app.vue index 298b6f9925..d8c128904a 100644 --- a/src/client/app/dev/views/new-app.vue +++ b/src/client/app/dev/views/new-app.vue @@ -2,13 +2,13 @@ <mk-ui> <b-card :header="$t('header')"> <b-form @submit.prevent="onSubmit" autocomplete="off"> - <b-form-group :label="$t('label')" :description="$t('description')"> + <b-form-group :label="$t('app-name')" :description="$t('description')"> <b-form-input v-model="name" type="text" :placeholder="$t('placeholder')" autocomplete="off" required/> </b-form-group> - <b-form-group :label="$t('label')" :description="$t('description')"> + <b-form-group :label="$t('app-overview')" :description="$t('description')"> <b-textarea v-model="description" :placeholder="$t('placeholder')" autocomplete="off" required></b-textarea> </b-form-group> - <b-form-group :label="$t('label')" :description="$t('description')"> + <b-form-group :label="$t('callback-url')" :description="$t('description')"> <b-input v-model="cb" type="url" placeholder="ex) https://your.app.example.com/callback.php" autocomplete="off"/> </b-form-group> <b-card :header="$t('header')"> diff --git a/src/client/app/mobile/views/components/post-form.vue b/src/client/app/mobile/views/components/post-form.vue index 832914357f..b1914d4afb 100644 --- a/src/client/app/mobile/views/components/post-form.vue +++ b/src/client/app/mobile/views/components/post-form.vue @@ -4,7 +4,7 @@ <header> <button class="cancel" @click="cancel"><fa icon="times"/></button> <div> - <span class="text-count" :class="{ over: trimmedLength(text) > this.maxNoteTextLength }">{{ this.maxNoteTextLength - trimmedLength(text) }}</span> + <span class="text-count" :class="{ over: trimmedLength(text) > maxNoteTextLength }">{{ maxNoteTextLength - trimmedLength(text) }}</span> <span class="geo" v-if="geo"><fa icon="map-marker-alt"/></span> <button class="submit" :disabled="!canPost" @click="post">{{ submitText }}</button> </div> @@ -16,7 +16,7 @@ <span v-for="u in visibleUsers">{{ u | userName }}<a @click="removeVisibleUser(u)">[x]</a></span> <a @click="addVisibleUser">+{{ $t('add-visible-user') }}</a> </div> - <input v-show="useCw" v-model="cw" :placeholder="$t('placeholder')"> + <input v-show="useCw" v-model="cw" :placeholder="$t('annotations')"> <textarea v-model="text" ref="text" :disabled="posting" :placeholder="placeholder" v-autocomplete="'text'"></textarea> <div class="attaches" v-show="files.length != 0"> <x-draggable class="files" :list="files" :options="{ animation: 150 }"> diff --git a/src/client/app/mobile/views/pages/settings.vue b/src/client/app/mobile/views/pages/settings.vue index 68dd9bfbbb..1158e45094 100644 --- a/src/client/app/mobile/views/pages/settings.vue +++ b/src/client/app/mobile/views/pages/settings.vue @@ -100,12 +100,12 @@ <div slot="title"><fa icon="language"/> {{ $t('lang') }}</div> <section class="fit-top"> - <ui-select v-model="lang" :placeholder="$t('placeholder')"> - <optgroup :label="$t('label')"> + <ui-select v-model="lang" :placeholder="$t('auto')"> + <optgroup :label="$t('recommended')"> <option value="">{{ $t('auto') }}</option> </optgroup> - <optgroup :label="$t('label')"> + <optgroup :label="$t('specify-language')"> <option v-for="x in langs" :value="x[0]" :key="x[0]">{{ x[1] }}</option> </optgroup> </ui-select> |