add setting to keep content warning (#7682)
This commit is contained in:
		
							parent
							
								
									f84483896e
								
							
						
					
					
						commit
						2af158be26
					
				
					 3 changed files with 4 additions and 0 deletions
				
			
		|  | @ -779,6 +779,7 @@ translate: "Translate" | ||||||
| translatedFrom: "Translated from {x}" | translatedFrom: "Translated from {x}" | ||||||
| accountDeletionInProgress: "Account deletion is currently in progress" | accountDeletionInProgress: "Account deletion is currently in progress" | ||||||
| usernameInfo: "A name that identifies your account from others on this server.  You can use the alphabet (a~z, A~Z), digits (0~9) or underscores (_). Usernames can not be changed later." | usernameInfo: "A name that identifies your account from others on this server.  You can use the alphabet (a~z, A~Z), digits (0~9) or underscores (_). Usernames can not be changed later." | ||||||
|  | keepCw: "Keep Content Warning" | ||||||
| _accountDelete: | _accountDelete: | ||||||
|   accountDelete: "Delete Account" |   accountDelete: "Delete Account" | ||||||
|   mayTakeTime: "As account deletion is a resource-heavy process, it may take some time to complete depending on how much content you have created and how many files you have uploaded." |   mayTakeTime: "As account deletion is a resource-heavy process, it may take some time to complete depending on how much content you have created and how many files you have uploaded." | ||||||
|  |  | ||||||
|  | @ -779,6 +779,7 @@ translate: "翻訳" | ||||||
| translatedFrom: "{x}から翻訳" | translatedFrom: "{x}から翻訳" | ||||||
| accountDeletionInProgress: "アカウントの削除が進行中です" | accountDeletionInProgress: "アカウントの削除が進行中です" | ||||||
| usernameInfo: "サーバー上であなたのアカウントを一意に識別するための名前。アルファベット(a~z, A~Z)、数字(0~9)、およびアンダーバー(_)が使用できます。ユーザー名は後から変更することは出来ません。" | usernameInfo: "サーバー上であなたのアカウントを一意に識別するための名前。アルファベット(a~z, A~Z)、数字(0~9)、およびアンダーバー(_)が使用できます。ユーザー名は後から変更することは出来ません。" | ||||||
|  | keepCw: "CWを維持する" | ||||||
| 
 | 
 | ||||||
| _accountDelete: | _accountDelete: | ||||||
|   accountDelete: "アカウントの削除" |   accountDelete: "アカウントの削除" | ||||||
|  |  | ||||||
|  | @ -28,6 +28,7 @@ | ||||||
| 		</FormSelect> | 		</FormSelect> | ||||||
| 		<FormSwitch v-model:value="defaultNoteLocalOnly">{{ $ts._visibility.localOnly }}</FormSwitch> | 		<FormSwitch v-model:value="defaultNoteLocalOnly">{{ $ts._visibility.localOnly }}</FormSwitch> | ||||||
| 	</FormGroup> | 	</FormGroup> | ||||||
|  | 	<FormSwitch v-model:value="keepCw" @update:value="save()">{{ $ts.keepCw }}</FormSwitch> | ||||||
| </FormBase> | </FormBase> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
|  | @ -69,6 +70,7 @@ export default defineComponent({ | ||||||
| 		defaultNoteVisibility: defaultStore.makeGetterSetter('defaultNoteVisibility'), | 		defaultNoteVisibility: defaultStore.makeGetterSetter('defaultNoteVisibility'), | ||||||
| 		defaultNoteLocalOnly: defaultStore.makeGetterSetter('defaultNoteLocalOnly'), | 		defaultNoteLocalOnly: defaultStore.makeGetterSetter('defaultNoteLocalOnly'), | ||||||
| 		rememberNoteVisibility: defaultStore.makeGetterSetter('rememberNoteVisibility'), | 		rememberNoteVisibility: defaultStore.makeGetterSetter('rememberNoteVisibility'), | ||||||
|  | 		keepCw: defaultStore.makeGetterSetter('keepCw'), | ||||||
| 	}, | 	}, | ||||||
| 
 | 
 | ||||||
| 	created() { | 	created() { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue