mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 02:13:08 +02:00
wip
This commit is contained in:
parent
4bd694fb59
commit
2c4d86d8a0
3 changed files with 46 additions and 0 deletions
|
@ -346,6 +346,9 @@ desktop:
|
||||||
failed: "Failed to setup. please ensure that the token is correct."
|
failed: "Failed to setup. please ensure that the token is correct."
|
||||||
info: "From the next sign in, enter the token that is displayed on the device in addition to the password."
|
info: "From the next sign in, enter the token that is displayed on the device in addition to the password."
|
||||||
|
|
||||||
|
mk-mute-setting:
|
||||||
|
no-users: "No muted users"
|
||||||
|
|
||||||
mk-post-form:
|
mk-post-form:
|
||||||
post-placeholder: "What's happening?"
|
post-placeholder: "What's happening?"
|
||||||
reply-placeholder: "Reply to this post..."
|
reply-placeholder: "Reply to this post..."
|
||||||
|
@ -379,6 +382,7 @@ desktop:
|
||||||
|
|
||||||
mk-settings:
|
mk-settings:
|
||||||
profile: "Profile"
|
profile: "Profile"
|
||||||
|
mute: "Mute"
|
||||||
drive: "Drive"
|
drive: "Drive"
|
||||||
security: "Security"
|
security: "Security"
|
||||||
password: "Password"
|
password: "Password"
|
||||||
|
|
|
@ -346,6 +346,9 @@ desktop:
|
||||||
failed: "設定に失敗しました。トークンに誤りがないかご確認ください。"
|
failed: "設定に失敗しました。トークンに誤りがないかご確認ください。"
|
||||||
info: "次回サインインからは、同様にパスワードに加えてデバイスに表示されているトークンを入力します。"
|
info: "次回サインインからは、同様にパスワードに加えてデバイスに表示されているトークンを入力します。"
|
||||||
|
|
||||||
|
mk-mute-setting:
|
||||||
|
no-users: "ミュートしているユーザーはいません"
|
||||||
|
|
||||||
mk-post-form:
|
mk-post-form:
|
||||||
post-placeholder: "いまどうしてる?"
|
post-placeholder: "いまどうしてる?"
|
||||||
reply-placeholder: "この投稿への返信..."
|
reply-placeholder: "この投稿への返信..."
|
||||||
|
@ -379,6 +382,7 @@ desktop:
|
||||||
|
|
||||||
mk-settings:
|
mk-settings:
|
||||||
profile: "プロフィール"
|
profile: "プロフィール"
|
||||||
|
mute: "ミュート"
|
||||||
drive: "ドライブ"
|
drive: "ドライブ"
|
||||||
security: "セキュリティ"
|
security: "セキュリティ"
|
||||||
password: "パスワード"
|
password: "パスワード"
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
<p class={ active: page == 'web' } onmousedown={ setPage.bind(null, 'web') }>%fa:desktop .fw%Web</p>
|
<p class={ active: page == 'web' } onmousedown={ setPage.bind(null, 'web') }>%fa:desktop .fw%Web</p>
|
||||||
<p class={ active: page == 'notification' } onmousedown={ setPage.bind(null, 'notification') }>%fa:R bell .fw%通知</p>
|
<p class={ active: page == 'notification' } onmousedown={ setPage.bind(null, 'notification') }>%fa:R bell .fw%通知</p>
|
||||||
<p class={ active: page == 'drive' } onmousedown={ setPage.bind(null, 'drive') }>%fa:cloud .fw%%i18n:desktop.tags.mk-settings.drive%</p>
|
<p class={ active: page == 'drive' } onmousedown={ setPage.bind(null, 'drive') }>%fa:cloud .fw%%i18n:desktop.tags.mk-settings.drive%</p>
|
||||||
|
<p class={ active: page == 'mute' } onmousedown={ setPage.bind(null, 'mute') }>%fa:ban .fw%%i18n:desktop.tags.mk-settings.mute%</p>
|
||||||
<p class={ active: page == 'apps' } onmousedown={ setPage.bind(null, 'apps') }>%fa:puzzle-piece .fw%アプリ</p>
|
<p class={ active: page == 'apps' } onmousedown={ setPage.bind(null, 'apps') }>%fa:puzzle-piece .fw%アプリ</p>
|
||||||
<p class={ active: page == 'twitter' } onmousedown={ setPage.bind(null, 'twitter') }>%fa:B twitter .fw%Twitter</p>
|
<p class={ active: page == 'twitter' } onmousedown={ setPage.bind(null, 'twitter') }>%fa:B twitter .fw%Twitter</p>
|
||||||
<p class={ active: page == 'security' } onmousedown={ setPage.bind(null, 'security') }>%fa:unlock-alt .fw%%i18n:desktop.tags.mk-settings.security%</p>
|
<p class={ active: page == 'security' } onmousedown={ setPage.bind(null, 'security') }>%fa:unlock-alt .fw%%i18n:desktop.tags.mk-settings.security%</p>
|
||||||
|
@ -26,6 +27,11 @@
|
||||||
<mk-drive-setting/>
|
<mk-drive-setting/>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
<section class="mute" show={ page == 'mute' }>
|
||||||
|
<h1>%i18n:desktop.tags.mk-settings.mute%</h1>
|
||||||
|
<mk-mute-setting/>
|
||||||
|
</section>
|
||||||
|
|
||||||
<section class="apps" show={ page == 'apps' }>
|
<section class="apps" show={ page == 'apps' }>
|
||||||
<h1>アプリケーション</h1>
|
<h1>アプリケーション</h1>
|
||||||
<mk-authorized-apps/>
|
<mk-authorized-apps/>
|
||||||
|
@ -386,3 +392,35 @@
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</mk-drive-setting>
|
</mk-drive-setting>
|
||||||
|
|
||||||
|
<mk-mute-setting>
|
||||||
|
<div class="none ui info" if={ !fetching && users.length == 0 }>
|
||||||
|
<p>%fa:info-circle%%i18n:desktop.tags.mk-mute-setting.no-users%</p>
|
||||||
|
</div>
|
||||||
|
<div class="users" if={ users.length != 0 }>
|
||||||
|
<div each={ user in users }>
|
||||||
|
<p><b>{ user.name }</b> @{ user.username }</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
:scope
|
||||||
|
display block
|
||||||
|
|
||||||
|
</style>
|
||||||
|
<script>
|
||||||
|
this.mixin('api');
|
||||||
|
|
||||||
|
this.apps = [];
|
||||||
|
this.fetching = true;
|
||||||
|
|
||||||
|
this.on('mount', () => {
|
||||||
|
this.api('mute/list').then(x => {
|
||||||
|
this.update({
|
||||||
|
fetching: false,
|
||||||
|
users: x.users
|
||||||
|
});
|
||||||
|
});
|
||||||
|
});
|
||||||
|
</script>
|
||||||
|
</mk-mute-setting>
|
||||||
|
|
Loading…
Reference in a new issue