mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 03:33:09 +02:00
clean up
This commit is contained in:
parent
3a990dce75
commit
2e80f9dfba
4 changed files with 0 additions and 15 deletions
|
@ -614,7 +614,6 @@ regenerateLoginToken: "ログイントークンを再生成"
|
||||||
regenerateLoginTokenDescription: "ログインに使用される内部トークンを再生成します。通常この操作を行う必要はありません。再生成すると、全てのデバイスでログアウトされます。"
|
regenerateLoginTokenDescription: "ログインに使用される内部トークンを再生成します。通常この操作を行う必要はありません。再生成すると、全てのデバイスでログアウトされます。"
|
||||||
setMultipleBySeparatingWithSpace: "スペースで区切って複数設定できます。"
|
setMultipleBySeparatingWithSpace: "スペースで区切って複数設定できます。"
|
||||||
fileIdOrUrl: "ファイルIDまたはURL"
|
fileIdOrUrl: "ファイルIDまたはURL"
|
||||||
chatOpenBehavior: "チャットを開くときの動作"
|
|
||||||
behavior: "動作"
|
behavior: "動作"
|
||||||
sample: "サンプル"
|
sample: "サンプル"
|
||||||
abuseReports: "通報"
|
abuseReports: "通報"
|
||||||
|
|
|
@ -106,11 +106,6 @@ export default defineComponent({
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.to.startsWith('/my/messaging')) {
|
|
||||||
if (ColdDeviceStorage.get('chatOpenBehavior') === 'window') return this.window();
|
|
||||||
if (ColdDeviceStorage.get('chatOpenBehavior') === 'popout') return this.popout();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (this.behavior) {
|
if (this.behavior) {
|
||||||
if (this.behavior === 'window') {
|
if (this.behavior === 'window') {
|
||||||
return this.window();
|
return this.window();
|
||||||
|
|
|
@ -77,13 +77,6 @@
|
||||||
<FormSwitch v-model="defaultSideView">{{ $ts.openInSideView }}</FormSwitch>
|
<FormSwitch v-model="defaultSideView">{{ $ts.openInSideView }}</FormSwitch>
|
||||||
</FormGroup>
|
</FormGroup>
|
||||||
|
|
||||||
<FormSelect v-model="chatOpenBehavior" class="_formBlock">
|
|
||||||
<template #label>{{ $ts.chatOpenBehavior }}</template>
|
|
||||||
<option value="page">{{ $ts.showInPage }}</option>
|
|
||||||
<option value="window">{{ $ts.openInWindow }}</option>
|
|
||||||
<option value="popout">{{ $ts.popout }}</option>
|
|
||||||
</FormSelect>
|
|
||||||
|
|
||||||
<FormLink to="/settings/deck" class="_formBlock">{{ $ts.deck }}</FormLink>
|
<FormLink to="/settings/deck" class="_formBlock">{{ $ts.deck }}</FormLink>
|
||||||
|
|
||||||
<FormLink to="/settings/custom-css" class="_formBlock"><template #icon><i class="fas fa-code"></i></template>{{ $ts.customCss }}</FormLink>
|
<FormLink to="/settings/custom-css" class="_formBlock"><template #icon><i class="fas fa-code"></i></template>{{ $ts.customCss }}</FormLink>
|
||||||
|
@ -149,7 +142,6 @@ export default defineComponent({
|
||||||
disablePagesScript: defaultStore.makeGetterSetter('disablePagesScript'),
|
disablePagesScript: defaultStore.makeGetterSetter('disablePagesScript'),
|
||||||
showFixedPostForm: defaultStore.makeGetterSetter('showFixedPostForm'),
|
showFixedPostForm: defaultStore.makeGetterSetter('showFixedPostForm'),
|
||||||
defaultSideView: defaultStore.makeGetterSetter('defaultSideView'),
|
defaultSideView: defaultStore.makeGetterSetter('defaultSideView'),
|
||||||
chatOpenBehavior: ColdDeviceStorage.makeGetterSetter('chatOpenBehavior'),
|
|
||||||
instanceTicker: defaultStore.makeGetterSetter('instanceTicker'),
|
instanceTicker: defaultStore.makeGetterSetter('instanceTicker'),
|
||||||
enableInfiniteScroll: defaultStore.makeGetterSetter('enableInfiniteScroll'),
|
enableInfiniteScroll: defaultStore.makeGetterSetter('enableInfiniteScroll'),
|
||||||
useReactionPickerForContextMenu: defaultStore.makeGetterSetter('useReactionPickerForContextMenu'),
|
useReactionPickerForContextMenu: defaultStore.makeGetterSetter('useReactionPickerForContextMenu'),
|
||||||
|
|
|
@ -245,7 +245,6 @@ export class ColdDeviceStorage {
|
||||||
lightTheme: require('@/themes/l-light.json5') as Theme,
|
lightTheme: require('@/themes/l-light.json5') as Theme,
|
||||||
darkTheme: require('@/themes/d-dark.json5') as Theme,
|
darkTheme: require('@/themes/d-dark.json5') as Theme,
|
||||||
syncDeviceDarkMode: true,
|
syncDeviceDarkMode: true,
|
||||||
chatOpenBehavior: 'page' as 'page' | 'window' | 'popout',
|
|
||||||
plugins: [] as Plugin[],
|
plugins: [] as Plugin[],
|
||||||
mediaVolume: 0.5,
|
mediaVolume: 0.5,
|
||||||
sound_masterVolume: 0.3,
|
sound_masterVolume: 0.3,
|
||||||
|
|
Loading…
Reference in a new issue