summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgutfuckllc <40531868+gutfuckllc@users.noreply.github.com>2018-07-31 13:54:12 -0400
committergutfuckllc <40531868+gutfuckllc@users.noreply.github.com>2018-07-31 13:54:12 -0400
commit2855ec03729cccc4dce76ec1ec9457e840ecf3fa (patch)
tree9b7ce0bf2363a8defeb7c36399ea3bf01e283e90 /src
parentAdded got it to the local files (diff)
downloadmisskey-2855ec03729cccc4dce76ec1ec9457e840ecf3fa.tar.gz
misskey-2855ec03729cccc4dce76ec1ec9457e840ecf3fa.tar.bz2
misskey-2855ec03729cccc4dce76ec1ec9457e840ecf3fa.zip
Reformat, more translation
Translated the totality of desktop/post-form.vue, reformated customization-tips.
Diffstat (limited to 'src')
-rw-r--r--src/client/app/desktop/views/components/home.vue12
-rw-r--r--src/client/app/desktop/views/components/post-form.vue12
2 files changed, 12 insertions, 12 deletions
diff --git a/src/client/app/desktop/views/components/home.vue b/src/client/app/desktop/views/components/home.vue
index 28860d09bc..e4902fcc38 100644
--- a/src/client/app/desktop/views/components/home.vue
+++ b/src/client/app/desktop/views/components/home.vue
@@ -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%'
}]
});
},
diff --git a/src/client/app/desktop/views/components/post-form.vue b/src/client/app/desktop/views/components/post-form.vue
index 06caf5f7aa..25942acee5 100644
--- a/src/client/app/desktop/views/components/post-form.vue
+++ b/src/client/app/desktop/views/components/post-form.vue
@@ -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
});