Compare commits

...

23 Commits

Author SHA1 Message Date
684a8531b6 2.12.0 2018-05-20 18:00:29 +09:00
0b6ee98f05 Merge pull request #1615 from syuilo/l10n_master
New Crowdin translations
2018-05-20 17:59:32 +09:00
a66225c67f New translations ja.yml (Korean) 2018-05-20 17:51:42 +09:00
67f1d76efe New translations ja.yml (Polish) 2018-05-20 17:51:40 +09:00
fdd14c601a New translations ja.yml (Chinese Simplified) 2018-05-20 17:51:38 +09:00
5fb31512c4 New translations ja.yml (Italian) 2018-05-20 17:51:36 +09:00
8ab0581661 New translations ja.yml (Russian) 2018-05-20 17:51:34 +09:00
f71d9adb75 New translations ja.yml (English) 2018-05-20 17:51:33 +09:00
26f44edfd2 New translations ja.yml (Spanish) 2018-05-20 17:51:31 +09:00
71d3265ddd New translations ja.yml (German) 2018-05-20 17:51:29 +09:00
484fe48076 New translations ja.yml (French) 2018-05-20 17:51:27 +09:00
b6f60f3785 Merge pull request #1614 from syuilo/l10n_master
New Crowdin translations
2018-05-20 17:45:22 +09:00
eb1aa1ef47 Improve mobile settings 2018-05-20 17:45:06 +09:00
1f1955490d New translations ja.yml (Korean) 2018-05-20 17:41:22 +09:00
533af40ac6 New translations ja.yml (Polish) 2018-05-20 17:41:20 +09:00
e2f61e36e1 New translations ja.yml (Chinese Simplified) 2018-05-20 17:41:18 +09:00
aeb59f5bb8 New translations ja.yml (Italian) 2018-05-20 17:41:16 +09:00
501bb9638f New translations ja.yml (Russian) 2018-05-20 17:41:15 +09:00
2f96db4e45 New translations ja.yml (English) 2018-05-20 17:41:13 +09:00
c88dba2364 New translations ja.yml (Spanish) 2018-05-20 17:41:11 +09:00
f146d7bcb6 New translations ja.yml (German) 2018-05-20 17:41:09 +09:00
5b4de85926 New translations ja.yml (French) 2018-05-20 17:41:07 +09:00
f6449a7f32 Improve mobile settings 2018-05-20 17:37:30 +09:00
16 changed files with 86 additions and 36 deletions

View File

@ -677,8 +677,9 @@ mobile/views/pages/notifications.vue:
read-all: "すべての通知を既読にしますか?"
mobile/views/pages/settings/settings.profile.vue:
title: "プロフィール"
will-be-published: "これらのプロフィールは公開されます"
will-be-published: "公開されます"
name: "名前"
account: "アカウント"
location: "場所"
description: "自己紹介"
birthday: "誕生日"
@ -703,6 +704,7 @@ mobile/views/pages/settings.vue:
specify-language: "言語を指定"
design: "デザインと表示"
dark-mode: "ダークモード"
i-am-under-limited-internet: "私は通信を制限されている"
circle-icons: "円形のアイコンを使用"
timeline: "タイムライン"
show-reply-target: "リプライ先を表示する"

View File

@ -287,7 +287,7 @@ desktop/views/components/home.vue:
notifications: "Notifications"
users: "Recommended users"
polls: "Polls"
post-form: "投稿フォーム"
post-form: "Post form"
messaging: "Messaging"
server: "Server info"
donation: "Donation"
@ -302,10 +302,10 @@ desktop/views/components/messaging-room-window.vue:
desktop/views/components/messaging-window.vue:
title: "Messaging"
desktop/views/components/note-detail.vue:
more: "会話をもっと読み込む"
private: "(この投稿は非公開です)"
more: "Load more conversations"
private: "(this post is private)"
is-renote: "がRenote"
location: "位置情報"
location: "Location"
renote: "Renote"
add-reaction: "リアクション"
desktop/views/components/note-detail.sub.vue:
@ -419,7 +419,7 @@ desktop/views/components/settings.vue:
update-settings: "Advanced settings"
prevent-update: "アップデートを延期する(非推奨)"
prevent-update-desc: "この設定をオンにしてもアップデートが反映される場合があります。この設定はこのデバイスのみ有効です。"
no-updates: "利用可能な更新はありません"
no-updates: "No updates available"
no-updates-desc: "Your Misskey is up to date."
update-available: "New version is available!"
update-available-desc: "To reload the page and updates are applied."
@ -479,9 +479,9 @@ desktop/views/components/settings.profile.vue:
birthday: "Birthday"
save: "Update profile"
desktop/views/components/sub-note-content.vue:
hidden: "(この投稿は非公開です)"
hidden: "(this post is private)"
media: "つのメディア"
poll: "投票"
poll: "Polls"
desktop/views/components/taskmanager.vue:
title: "Task Manager"
desktop/views/components/timeline.vue:
@ -520,14 +520,14 @@ desktop/views/components/users-list.vue:
load-more: "More"
fetching: "Loading…"
desktop/views/components/users-list-item.vue:
followed: "フォローされています"
followed: "Follows you"
desktop/views/components/window.vue:
popout: "ポップアウト"
close: "閉じる"
popout: "Popout"
close: "Close"
desktop/views/pages/drive.vue:
title: "Misskey Drive"
desktop/views/pages/favorites.vue:
more: "さらに読み込む"
more: "Load More"
desktop/views/pages/home-customize.vue:
title: "Customize home"
desktop/views/pages/note.vue:
@ -570,8 +570,8 @@ desktop/views/pages/user/user.profile.vue:
unmute: "Unmute"
desktop/views/pages/user/user.timeline.vue:
default: "Posts"
with-replies: "投稿と返信"
with-media: "メディア"
with-replies: "Posts and replies"
with-media: "Media"
empty: "このユーザーはまだ何も投稿していないようです。"
desktop/views/widgets/messaging.vue:
title: "Messaging"
@ -587,8 +587,8 @@ desktop/views/widgets/post-form.vue:
note: "Post"
placeholder: "What's happening?"
desktop/views/widgets/profile.vue:
update-banner: "クリックでバナー編集"
update-avatar: "クリックでアバター編集"
update-banner: "Click to edit your banner"
update-avatar: "Click to edit your avatar"
desktop/views/widgets/trends.vue:
title: "Trend"
refresh: "Show others"
@ -676,11 +676,12 @@ mobile/views/pages/notifications.vue:
notifications: "Notifications"
read-all: "Are you sure you want to mark all unread notifications as read?"
mobile/views/pages/settings/settings.profile.vue:
title: "プロフィール"
will-be-published: "これらのプロフィールは公開されます"
name: "名前"
location: "場所"
description: "自己紹介"
title: "Profile"
will-be-published: "公開されます"
name: "Name"
account: "Account"
location: "Location"
description: "Description"
birthday: "Birthday"
avatar: "Avatar"
banner: "Banner"
@ -703,6 +704,7 @@ mobile/views/pages/settings.vue:
specify-language: "Specify the language"
design: "Design and display"
dark-mode: "Dark Mode"
i-am-under-limited-internet: "I'm under limited internet"
circle-icons: "Use circle icons"
timeline: "Timeline"
show-reply-target: "Show reply target"

View File

@ -677,8 +677,9 @@ mobile/views/pages/notifications.vue:
read-all: "すべての通知を既読にしますか?"
mobile/views/pages/settings/settings.profile.vue:
title: "プロフィール"
will-be-published: "これらのプロフィールは公開されます"
will-be-published: "公開されます"
name: "名前"
account: "アカウント"
location: "場所"
description: "自己紹介"
birthday: "誕生日"
@ -703,6 +704,7 @@ mobile/views/pages/settings.vue:
specify-language: "言語を指定"
design: "デザインと表示"
dark-mode: "ダークモード"
i-am-under-limited-internet: "私は通信を制限されている"
circle-icons: "円形のアイコンを使用"
timeline: "タイムライン"
show-reply-target: "リプライ先を表示する"

View File

@ -677,8 +677,9 @@ mobile/views/pages/notifications.vue:
read-all: "Êtes vous sûr de vouloir marqués toutes les notifications non-lus en tant que lus?"
mobile/views/pages/settings/settings.profile.vue:
title: "プロフィール"
will-be-published: "これらのプロフィールは公開されます"
will-be-published: "公開されます"
name: "名前"
account: "アカウント"
location: "場所"
description: "自己紹介"
birthday: "誕生日"
@ -703,6 +704,7 @@ mobile/views/pages/settings.vue:
specify-language: "言語を指定"
design: "デザインと表示"
dark-mode: "ダークモード"
i-am-under-limited-internet: "私は通信を制限されている"
circle-icons: "円形のアイコンを使用"
timeline: "タイムライン"
show-reply-target: "リプライ先を表示する"

View File

@ -677,8 +677,9 @@ mobile/views/pages/notifications.vue:
read-all: "すべての通知を既読にしますか?"
mobile/views/pages/settings/settings.profile.vue:
title: "プロフィール"
will-be-published: "これらのプロフィールは公開されます"
will-be-published: "公開されます"
name: "名前"
account: "アカウント"
location: "場所"
description: "自己紹介"
birthday: "誕生日"
@ -703,6 +704,7 @@ mobile/views/pages/settings.vue:
specify-language: "言語を指定"
design: "デザインと表示"
dark-mode: "ダークモード"
i-am-under-limited-internet: "私は通信を制限されている"
circle-icons: "円形のアイコンを使用"
timeline: "タイムライン"
show-reply-target: "リプライ先を表示する"

View File

@ -808,8 +808,9 @@ mobile/views/pages/notifications.vue:
mobile/views/pages/settings/settings.profile.vue:
title: "プロフィール"
will-be-published: "これらのプロフィールは公開されます"
will-be-published: "公開されます"
name: "名前"
account: "アカウント"
location: "場所"
description: "自己紹介"
birthday: "誕生日"
@ -837,6 +838,7 @@ mobile/views/pages/settings.vue:
specify-language: "言語を指定"
design: "デザインと表示"
dark-mode: "ダークモード"
i-am-under-limited-internet: "私は通信を制限されている"
circle-icons: "円形のアイコンを使用"
timeline: "タイムライン"
show-reply-target: "リプライ先を表示する"

View File

@ -677,8 +677,9 @@ mobile/views/pages/notifications.vue:
read-all: "すべての通知を既読にしますか?"
mobile/views/pages/settings/settings.profile.vue:
title: "プロフィール"
will-be-published: "これらのプロフィールは公開されます"
will-be-published: "公開されます"
name: "名前"
account: "アカウント"
location: "場所"
description: "自己紹介"
birthday: "誕生日"
@ -703,6 +704,7 @@ mobile/views/pages/settings.vue:
specify-language: "言語を指定"
design: "デザインと表示"
dark-mode: "ダークモード"
i-am-under-limited-internet: "私は通信を制限されている"
circle-icons: "円形のアイコンを使用"
timeline: "タイムライン"
show-reply-target: "リプライ先を表示する"

View File

@ -677,8 +677,9 @@ mobile/views/pages/notifications.vue:
read-all: "Czy na pewno chcesz oznaczyć wszystkie powiadomienia jako przeczytane?"
mobile/views/pages/settings/settings.profile.vue:
title: "プロフィール"
will-be-published: "これらのプロフィールは公開されます"
will-be-published: "公開されます"
name: "名前"
account: "アカウント"
location: "場所"
description: "自己紹介"
birthday: "誕生日"
@ -703,6 +704,7 @@ mobile/views/pages/settings.vue:
specify-language: "言語を指定"
design: "デザインと表示"
dark-mode: "ダークモード"
i-am-under-limited-internet: "私は通信を制限されている"
circle-icons: "円形のアイコンを使用"
timeline: "タイムライン"
show-reply-target: "リプライ先を表示する"

View File

@ -677,8 +677,9 @@ mobile/views/pages/notifications.vue:
read-all: "すべての通知を既読にしますか?"
mobile/views/pages/settings/settings.profile.vue:
title: "プロフィール"
will-be-published: "これらのプロフィールは公開されます"
will-be-published: "公開されます"
name: "名前"
account: "アカウント"
location: "場所"
description: "自己紹介"
birthday: "誕生日"
@ -703,6 +704,7 @@ mobile/views/pages/settings.vue:
specify-language: "言語を指定"
design: "デザインと表示"
dark-mode: "ダークモード"
i-am-under-limited-internet: "私は通信を制限されている"
circle-icons: "円形のアイコンを使用"
timeline: "タイムライン"
show-reply-target: "リプライ先を表示する"

View File

@ -677,8 +677,9 @@ mobile/views/pages/notifications.vue:
read-all: "すべての通知を既読にしますか?"
mobile/views/pages/settings/settings.profile.vue:
title: "プロフィール"
will-be-published: "これらのプロフィールは公開されます"
will-be-published: "公開されます"
name: "名前"
account: "アカウント"
location: "場所"
description: "自己紹介"
birthday: "誕生日"
@ -703,6 +704,7 @@ mobile/views/pages/settings.vue:
specify-language: "言語を指定"
design: "デザインと表示"
dark-mode: "ダークモード"
i-am-under-limited-internet: "私は通信を制限されている"
circle-icons: "円形のアイコンを使用"
timeline: "タイムライン"
show-reply-target: "リプライ先を表示する"

View File

@ -1,8 +1,8 @@
{
"name": "misskey",
"author": "syuilo <i@syuilo.com>",
"version": "2.11.0",
"clientVersion": "1.0.5516",
"version": "2.12.0",
"clientVersion": "1.0.5540",
"codename": "nighthike",
"main": "./built/index.js",
"private": true,

View File

@ -21,10 +21,13 @@ export default Vue.extend({
}
},
computed: {
lightmode(): boolean {
return localStorage.getItem('lightmode') == 'true';
},
style(): any {
return {
backgroundColor: this.user.avatarColor && this.user.avatarColor.length == 3 ? `rgb(${ this.user.avatarColor.join(',') })` : null,
backgroundImage: `url(${ this.user.avatarUrl }?thumbnail)`,
backgroundImage: this.lightmode ? null : `url(${ this.user.avatarUrl }?thumbnail)`,
borderRadius: (this as any).clientSettings.circleIcons ? '100%' : null
};
}

View File

@ -16,10 +16,13 @@ export default Vue.extend({
}
},
computed: {
lightmode(): boolean {
return localStorage.getItem('lightmode') == 'true';
},
style(): any {
return {
'background-color': this.image.properties.avgColor && this.image.properties.avgColor.length == 3 ? `rgb(${this.image.properties.avgColor.join(',')})` : 'transparent',
'background-image': this.raw ? `url(${this.image.url})` : `url(${this.image.url}?thumbnail&size=512)`
'background-image': this.lightmode ? null : this.raw ? `url(${this.image.url})` : `url(${this.image.url}?thumbnail&size=512)`
};
}
}

View File

@ -51,6 +51,10 @@
<div>
<md-switch v-model="clientSettings.disableViaMobile" @change="onChangeDisableViaMobile">%i18n:@disable-via-mobile%</md-switch>
</div>
<div>
<md-switch v-model="lightmode">%i18n:@i-am-under-limited-internet%</md-switch>
</div>
</md-card-content>
</md-card>
@ -134,6 +138,7 @@ export default Vue.extend({
version,
codename,
darkmode: localStorage.getItem('darkmode') == 'true',
lightmode: localStorage.getItem('lightmode') == 'true',
lang: localStorage.getItem('lang') || '',
latestVersion: undefined,
checkingForUpdate: false
@ -150,6 +155,11 @@ export default Vue.extend({
darkmode() {
(this as any)._updateDarkmode_(this.darkmode);
},
lightmode() {
localStorage.setItem('lightmode', this.lightmode);
},
lang() {
localStorage.setItem('lang', this.lang);
}

View File

@ -7,7 +7,14 @@
<md-card-content>
<md-field>
<label>%i18n:@name%</label>
<md-input v-model="name" :disabled="saving"/>
<md-input v-model="name" :disabled="saving" md-counter="30"/>
</md-field>
<md-field>
<label>%i18n:@account%</label>
<span class="md-prefix">@</span>
<md-input v-model="username" readonly></md-input>
<span class="md-suffix">@{{ host }}</span>
</md-field>
<md-field>
@ -20,11 +27,12 @@
<md-icon>%fa:birthday-cake%</md-icon>
<label>%i18n:@birthday%</label>
<md-input type="date" v-model="birthday" :disabled="saving"/>
<span class="md-helper-text">%i18n:@will-be-published%</span>
</md-field>
<md-field>
<label>%i18n:@description%</label>
<md-textarea v-model="description" :disabled="saving"/>
<md-textarea v-model="description" :disabled="saving" md-counter="500"/>
</md-field>
<md-field>
@ -54,12 +62,14 @@
<script lang="ts">
import Vue from 'vue';
import { apiUrl } from '../../../../config';
import { apiUrl, host } from '../../../../config';
export default Vue.extend({
data() {
return {
host,
name: null,
username: null,
location: null,
description: null,
birthday: null,
@ -72,6 +82,7 @@ export default Vue.extend({
created() {
this.name = (this as any).os.i.name || '';
this.username = (this as any).os.i.username;
this.location = (this as any).os.i.profile.location;
this.description = (this as any).os.i.description;
this.birthday = (this as any).os.i.profile.birthday;

View File

@ -1,3 +1,6 @@
input
min-width 0px
input:not([type])
input[type='text']
input[type='password']