mirror of
				https://codeberg.org/yeentown/barkey.git
				synced 2025-11-04 07:24:13 +00:00 
			
		
		
		
	make block confirm dialog localizable.
This commit is contained in:
		
							parent
							
								
									e0bb796aff
								
							
						
					
					
						commit
						385846d43d
					
				
					 3 changed files with 6 additions and 1 deletions
				
			
		
							
								
								
									
										4
									
								
								locales/index.d.ts
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								locales/index.d.ts
									
										
									
									
										vendored
									
									
								
							| 
						 | 
					@ -11000,6 +11000,10 @@ export interface Locale extends ILocale {
 | 
				
			||||||
     * Show warning when opening external URLs
 | 
					     * Show warning when opening external URLs
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    "warnExternalUrl": string;
 | 
					    "warnExternalUrl": string;
 | 
				
			||||||
 | 
					    /**
 | 
				
			||||||
 | 
					     * Confirm
 | 
				
			||||||
 | 
					     */
 | 
				
			||||||
 | 
					    "confirm": string;
 | 
				
			||||||
    "_mfm": {
 | 
					    "_mfm": {
 | 
				
			||||||
        /**
 | 
					        /**
 | 
				
			||||||
         * This is not a widespread feature, it may not display properly on most other fedi software, including other Misskey forks
 | 
					         * This is not a widespread feature, it may not display properly on most other fedi software, including other Misskey forks
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -104,7 +104,7 @@ export function getUserMenu(user: Misskey.entities.UserDetailed, router: IRouter
 | 
				
			||||||
	async function getConfirmed(text: string): Promise<boolean> {
 | 
						async function getConfirmed(text: string): Promise<boolean> {
 | 
				
			||||||
		const confirm = await os.confirm({
 | 
							const confirm = await os.confirm({
 | 
				
			||||||
			type: 'warning',
 | 
								type: 'warning',
 | 
				
			||||||
			title: 'confirm',
 | 
								title: i18n.ts.confirm,
 | 
				
			||||||
			text,
 | 
								text,
 | 
				
			||||||
		});
 | 
							});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -156,6 +156,7 @@ allowClickingNotifications: "Allow clicking on pop-up notifications"
 | 
				
			||||||
pinnedOnly: "Pinned"
 | 
					pinnedOnly: "Pinned"
 | 
				
			||||||
blockingYou: "Blocking you"
 | 
					blockingYou: "Blocking you"
 | 
				
			||||||
warnExternalUrl: "Show warning when opening external URLs"
 | 
					warnExternalUrl: "Show warning when opening external URLs"
 | 
				
			||||||
 | 
					confirm: "Confirm"
 | 
				
			||||||
_delivery:
 | 
					_delivery:
 | 
				
			||||||
  stop: "Suspend delivery"
 | 
					  stop: "Suspend delivery"
 | 
				
			||||||
  resume: "Resume delivery"
 | 
					  resume: "Resume delivery"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue