You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
	
	
		
			
				
					
						
							|  |  |  | import { en } from '../../../../../localization/locales'; | 
					
						
							|  |  |  | import type { LocalizerDictionary } from '../../../../../types/Localizer'; | 
					
						
							|  |  |  | import { setupI18n } from '../../../../../util/i18n/i18n'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export const testDictionary = { | 
					
						
							|  |  |  |   greeting: 'Hello, {name}!', | 
					
						
							|  |  |  |   search: '{found_count} of {count} match', | 
					
						
							|  |  |  |   noArgs: 'No args', | 
					
						
							|  |  |  |   args: 'Hello, {name}!', | 
					
						
							|  |  |  |   tag: 'Hello, {name}! <b>Welcome!</b>', | 
					
						
							|  |  |  |   argInTag: 'Hello, {name}! <b>Welcome, {arg}!</b>', | 
					
						
							|  |  |  | } as const; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export function initI18n(dictionary: Record<string, string> = en) { | 
					
						
							|  |  |  |   return setupI18n({ locale: 'en', translationDictionary: dictionary as LocalizerDictionary }); | 
					
						
							|  |  |  | } |