Reformat, more translation
Translated the totality of desktop/post-form.vue, reformated customization-tips.
This commit is contained in:
		| @@ -187,13 +187,13 @@ export default Vue.extend({ | ||||
| 	methods: { | ||||
| 		hint() { | ||||
| 			(this as any).apis.dialog({ | ||||
| 				title: '%fa:info-circle%%i18n:common.customizationtips.title%', | ||||
| 				text: '<p>%i18n:common.customizationtips.paragraph1%</p>' + | ||||
| 					'<p>%i18n:common.customizationtips.paragraph2%</p>' + | ||||
| 					'<p>%i18n:common.customizationtips.paragraph3%</p>' + | ||||
| 					'<p>%i18n:common.customizationtips.paragraph4%</p>', | ||||
| 				title: '%fa:info-circle%%i18n:common.customization-tips.title%', | ||||
| 				text: '<p>%i18n:common.customization-tips.paragraph1%</p>' + | ||||
| 					'<p>%i18n:common.customization-tips.paragraph2%</p>' + | ||||
| 					'<p>%i18n:common.customization-tips.paragraph3%</p>' + | ||||
| 					'<p>%i18n:common.customization-tips.paragraph4%</p>', | ||||
| 				actions: [{ | ||||
| 					text: '%i18n:common.customizationtips.gotit%' | ||||
| 					text: '%i18n:common.customization-tips.gotit%' | ||||
| 				}] | ||||
| 			}); | ||||
| 		}, | ||||
|   | ||||
| @@ -8,7 +8,7 @@ | ||||
| 	<div class="content"> | ||||
| 		<div v-if="visibility == 'specified'" class="visibleUsers"> | ||||
| 			<span v-for="u in visibleUsers">{{ u | userName }}<a @click="removeVisibleUser(u)">[x]</a></span> | ||||
| 			<a @click="addVisibleUser">+ユーザーを追加</a> | ||||
| 			<a @click="addVisibleUser">%i18n:@add-visible-user%</a> | ||||
| 		</div> | ||||
| 		<div class="hashtags" v-if="recentHashtags.length > 0"> | ||||
| 			<b>%i18n:@recent-tags%:</b> | ||||
| @@ -36,9 +36,9 @@ | ||||
| 	<button class="drive" title="%i18n:@attach-media-from-drive%" @click="chooseFileFromDrive">%fa:cloud%</button> | ||||
| 	<button class="kao" title="%i18n:@insert-a-kao%" @click="kao">%fa:R smile%</button> | ||||
| 	<button class="poll" title="%i18n:@create-poll%" @click="poll = true">%fa:chart-pie%</button> | ||||
| 	<button class="poll" title="内容を隠す" @click="useCw = !useCw">%fa:eye-slash%</button> | ||||
| 	<button class="geo" title="位置情報を添付する" @click="geo ? removeGeo() : setGeo()">%fa:map-marker-alt%</button> | ||||
| 	<button class="visibility" title="公開範囲" @click="setVisibility" ref="visibilityButton"> | ||||
| 	<button class="poll" title="%i18n:@hide-contents%" @click="useCw = !useCw">%fa:eye-slash%</button> | ||||
| 	<button class="geo" title="%i18n:@attach-location-information%" @click="geo ? removeGeo() : setGeo()">%fa:map-marker-alt%</button> | ||||
| 	<button class="visibility" title="%i18n:@visibility%" @click="setVisibility" ref="visibilityButton"> | ||||
| 		<span v-if="visibility === 'public'">%fa:globe%</span> | ||||
| 		<span v-if="visibility === 'home'">%fa:home%</span> | ||||
| 		<span v-if="visibility === 'followers'">%fa:unlock%</span> | ||||
| @@ -305,7 +305,7 @@ export default Vue.extend({ | ||||
|  | ||||
| 		setGeo() { | ||||
| 			if (navigator.geolocation == null) { | ||||
| 				alert('お使いの端末は位置情報に対応していません'); | ||||
| 				alert('%i18n:@geolocation-alert%'); | ||||
| 				return; | ||||
| 			} | ||||
|  | ||||
| @@ -313,7 +313,7 @@ export default Vue.extend({ | ||||
| 				this.geo = pos.coords; | ||||
| 				this.$emit('geo-attached', this.geo); | ||||
| 			}, err => { | ||||
| 				alert('エラー: ' + err.message); | ||||
| 				alert('%i18n:@error%: ' + err.message); | ||||
| 			}, { | ||||
| 					enableHighAccuracy: true | ||||
| 				}); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 gutfuckllc
					gutfuckllc