Option to fully disable connection lost
This commit is contained in:
parent
a977285400
commit
69514857dc
4 changed files with 4 additions and 1 deletions
|
@ -1042,6 +1042,7 @@ _serverDisconnectedBehavior:
|
||||||
reload: "Automatically reload"
|
reload: "Automatically reload"
|
||||||
dialog: "Show warning dialog"
|
dialog: "Show warning dialog"
|
||||||
quiet: "Show unobtrusive warning"
|
quiet: "Show unobtrusive warning"
|
||||||
|
nothing: "Do nothing"
|
||||||
_channel:
|
_channel:
|
||||||
create: "Create channel"
|
create: "Create channel"
|
||||||
edit: "Edit channel"
|
edit: "Edit channel"
|
||||||
|
|
|
@ -1059,6 +1059,7 @@ _serverDisconnectedBehavior:
|
||||||
reload: "自動でリロード"
|
reload: "自動でリロード"
|
||||||
dialog: "ダイアログで警告"
|
dialog: "ダイアログで警告"
|
||||||
quiet: "控えめに警告"
|
quiet: "控えめに警告"
|
||||||
|
nothing: "何も起こらない"
|
||||||
|
|
||||||
_channel:
|
_channel:
|
||||||
create: "チャンネルを作成"
|
create: "チャンネルを作成"
|
||||||
|
|
|
@ -35,6 +35,7 @@
|
||||||
<option value="reload">{{ i18n.ts._serverDisconnectedBehavior.reload }}</option>
|
<option value="reload">{{ i18n.ts._serverDisconnectedBehavior.reload }}</option>
|
||||||
<option value="dialog">{{ i18n.ts._serverDisconnectedBehavior.dialog }}</option>
|
<option value="dialog">{{ i18n.ts._serverDisconnectedBehavior.dialog }}</option>
|
||||||
<option value="quiet">{{ i18n.ts._serverDisconnectedBehavior.quiet }}</option>
|
<option value="quiet">{{ i18n.ts._serverDisconnectedBehavior.quiet }}</option>
|
||||||
|
<option value="nothing">{{ i18n.ts._serverDisconnectedBehavior.nothing }}</option>
|
||||||
</FormSelect>
|
</FormSelect>
|
||||||
</FormSection>
|
</FormSection>
|
||||||
|
|
||||||
|
|
|
@ -122,7 +122,7 @@ export const defaultStore = markRaw(new Storage('base', {
|
||||||
},
|
},
|
||||||
serverDisconnectedBehavior: {
|
serverDisconnectedBehavior: {
|
||||||
where: 'device',
|
where: 'device',
|
||||||
default: 'quiet' as 'quiet' | 'reload' | 'dialog',
|
default: 'quiet' as 'nothing' | 'quiet' | 'reload' | 'dialog',
|
||||||
},
|
},
|
||||||
nsfw: {
|
nsfw: {
|
||||||
where: 'device',
|
where: 'device',
|
||||||
|
|
Loading…
Reference in a new issue