翻訳の抜けを修正その2 (#5893)
* Missing translation * use npx * ✌️ * Update ja-JP.yml * Update signup.vue * Update ja-JP.yml * Update messaging-room.vue * Update ja-JP.yml * Update signup.vue * Update ja-JP.yml * Update signin.vue * Update ja-JP.yml * Update index.vue * Update ja-JP.yml * Update signup.vue Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
		@@ -43,8 +43,8 @@
 | 
			
		||||
		<div class="_content">
 | 
			
		||||
			<mk-switch v-model="enableRecaptcha">{{ $t('enableRecaptcha') }}</mk-switch>
 | 
			
		||||
			<template v-if="enableRecaptcha">
 | 
			
		||||
				<mk-info>{{ $t('recaptcha-info') }}</mk-info>
 | 
			
		||||
				<mk-info warn>{{ $t('recaptcha-info2') }}</mk-info>
 | 
			
		||||
				<mk-info>{{ $t('recaptchaInfo') }}</mk-info>
 | 
			
		||||
				<mk-info warn>{{ $t('recaptchaInfo2') }}</mk-info>
 | 
			
		||||
				<mk-input v-model="recaptchaSiteKey" :disabled="!enableRecaptcha"><template #icon><fa :icon="faKey"/></template>{{ $t('recaptchaSiteKey') }}</mk-input>
 | 
			
		||||
				<mk-input v-model="recaptchaSecretKey" :disabled="!enableRecaptcha"><template #icon><fa :icon="faKey"/></template>{{ $t('recaptchaSecretKey') }}</mk-input>
 | 
			
		||||
			</template>
 | 
			
		||||
@@ -61,12 +61,12 @@
 | 
			
		||||
	<section class="_card">
 | 
			
		||||
		<div class="_title"><fa :icon="faBolt"/> {{ $t('serviceworker') }}</div>
 | 
			
		||||
		<div class="_content">
 | 
			
		||||
			<mk-switch v-model="enableServiceWorker">{{ $t('enableServiceworker') }}<template #desc>{{ $t('serviceworker-info') }}</template></mk-switch>
 | 
			
		||||
			<mk-switch v-model="enableServiceWorker">{{ $t('enableServiceworker') }}<template #desc>{{ $t('serviceworkerInfo') }}</template></mk-switch>
 | 
			
		||||
			<template v-if="enableServiceWorker">
 | 
			
		||||
				<mk-info>{{ $t('vapid-info') }}<br><code>npm i web-push -g<br>web-push generate-vapid-keys</code></mk-info>
 | 
			
		||||
				<mk-info>{{ $t('vapidInfo') }}<br><code>npx web-push generate-vapid-keys</code></mk-info>
 | 
			
		||||
				<mk-horizon-group inputs class="fit-bottom">
 | 
			
		||||
					<mk-input v-model="swPublicKey" :disabled="!enableServiceWorker"><template #icon><fa :icon="faKey"/></template>{{ $t('vapid-publickey') }}</mk-input>
 | 
			
		||||
					<mk-input v-model="swPrivateKey" :disabled="!enableServiceWorker"><template #icon><fa :icon="faKey"/></template>{{ $t('vapid-privatekey') }}</mk-input>
 | 
			
		||||
					<mk-input v-model="swPublicKey" :disabled="!enableServiceWorker"><template #icon><fa :icon="faKey"/></template>Public key</mk-input>
 | 
			
		||||
					<mk-input v-model="swPrivateKey" :disabled="!enableServiceWorker"><template #icon><fa :icon="faKey"/></template>Private key</mk-input>
 | 
			
		||||
				</mk-horizon-group>
 | 
			
		||||
			</template>
 | 
			
		||||
		</div>
 | 
			
		||||
 
 | 
			
		||||
@@ -100,7 +100,7 @@ export default Vue.extend({
 | 
			
		||||
					const formatted = `${formatTimeString(new Date(file.lastModified), this.$store.state.settings.pastedFileName).replace(/{{number}}/g, '1')}${ext}`;
 | 
			
		||||
					const name = this.$store.state.settings.pasteDialog
 | 
			
		||||
						? await this.$root.dialog({
 | 
			
		||||
							title: this.$t('@.post-form.enter-file-name'),
 | 
			
		||||
							title: this.$t('enterFileName'),
 | 
			
		||||
							input: {
 | 
			
		||||
								default: formatted
 | 
			
		||||
							},
 | 
			
		||||
 
 | 
			
		||||
@@ -3,7 +3,7 @@
 | 
			
		||||
	<mk-avatar class="avatar" :user="message.user"/>
 | 
			
		||||
	<div class="content">
 | 
			
		||||
		<div class="balloon _panel" :data-no-text="message.text == null">
 | 
			
		||||
			<button class="delete-button" v-if="isMe" :title="$t('@.delete')" @click="del">
 | 
			
		||||
			<button class="delete-button" v-if="isMe" :title="$t('delete')" @click="del">
 | 
			
		||||
				<img src="/assets/desktop/remove.png" alt="Delete"/>
 | 
			
		||||
			</button>
 | 
			
		||||
			<div class="content" v-if="!message.isDeleted">
 | 
			
		||||
 
 | 
			
		||||
@@ -14,10 +14,10 @@
 | 
			
		||||
 | 
			
		||||
	<div class="body">
 | 
			
		||||
		<mk-loading v-if="fetching"/>
 | 
			
		||||
		<p class="empty" v-if="!fetching && messages.length == 0"><fa icon="info-circle"/>{{ user ? $t('not-talked-user') : $t('not-talked-group') }}</p>
 | 
			
		||||
		<p class="empty" v-if="!fetching && messages.length == 0"><fa :icon="faInfoCircle"/>{{ $t('noMessagesYet') }}</p>
 | 
			
		||||
		<p class="no-history" v-if="!fetching && messages.length > 0 && !existMoreMessages"><fa :icon="faFlag"/>{{ $t('noMoreHistory') }}</p>
 | 
			
		||||
		<button class="more _button" :class="{ fetching: fetchingMoreMessages }" v-if="existMoreMessages" @click="fetchMoreMessages" :disabled="fetchingMoreMessages">
 | 
			
		||||
			<template v-if="fetchingMoreMessages"><fa icon="spinner" pulse fixed-width/></template>{{ fetchingMoreMessages ? $t('@.loading') : $t('@.load-more') }}
 | 
			
		||||
			<template v-if="fetchingMoreMessages"><fa icon="spinner" pulse fixed-width/></template>{{ fetchingMoreMessages ? $t('loading') : $t('loadMore') }}
 | 
			
		||||
		</button>
 | 
			
		||||
		<x-list class="messages" :items="messages" v-slot="{ item: message, i }" direction="up" reversed>
 | 
			
		||||
			<x-message :message="message" :is-group="group != null" :key="message.id"/>
 | 
			
		||||
@@ -26,7 +26,7 @@
 | 
			
		||||
	<footer>
 | 
			
		||||
		<transition name="fade">
 | 
			
		||||
			<div class="new-message" v-show="showIndicator">
 | 
			
		||||
				<button class="_buttonPrimary" @click="onIndicatorClick"><i><fa :icon="faArrowCircleDown"/></i>{{ $t('new-message') }}</button>
 | 
			
		||||
				<button class="_buttonPrimary" @click="onIndicatorClick"><i><fa :icon="faArrowCircleDown"/></i>{{ $t('newMessageExists') }}</button>
 | 
			
		||||
			</div>
 | 
			
		||||
		</transition>
 | 
			
		||||
		<x-form v-if="!fetching" :user="user" :group="group" ref="form"/>
 | 
			
		||||
@@ -36,7 +36,7 @@
 | 
			
		||||
 | 
			
		||||
<script lang="ts">
 | 
			
		||||
import Vue from 'vue';
 | 
			
		||||
import { faArrowCircleDown, faFlag, faUsers } from '@fortawesome/free-solid-svg-icons';
 | 
			
		||||
import { faArrowCircleDown, faFlag, faUsers, faInfoCircle } from '@fortawesome/free-solid-svg-icons';
 | 
			
		||||
import i18n from '../i18n';
 | 
			
		||||
import XList from '../components/date-separated-list.vue';
 | 
			
		||||
import XMessage from './messaging-room.message.vue';
 | 
			
		||||
@@ -64,7 +64,7 @@ export default Vue.extend({
 | 
			
		||||
			connection: null,
 | 
			
		||||
			showIndicator: false,
 | 
			
		||||
			timer: null,
 | 
			
		||||
			faArrowCircleDown, faFlag, faUsers
 | 
			
		||||
			faArrowCircleDown, faFlag, faUsers, faInfoCircle
 | 
			
		||||
		};
 | 
			
		||||
	},
 | 
			
		||||
 | 
			
		||||
@@ -139,7 +139,7 @@ export default Vue.extend({
 | 
			
		||||
			} else if (e.dataTransfer.files.length > 1) {
 | 
			
		||||
				this.$root.dialog({
 | 
			
		||||
					type: 'error',
 | 
			
		||||
					text: this.$t('only-one-file-attached')
 | 
			
		||||
					text: this.$t('onlyOneFileCanBeAttached')
 | 
			
		||||
				});
 | 
			
		||||
				return;
 | 
			
		||||
			}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user