mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 21:11:30 +08:00 
			
		
		
		
	feat(forge): English locale on Linux
This commit is contained in:
		
							parent
							
								
									3435f20baa
								
							
						
					
					
						commit
						8d868b77d0
					
				| @ -178,7 +178,7 @@ module.exports = { | |||||||
|                         } |                         } | ||||||
|      |      | ||||||
|                         let localeName = path.basename(file, extension); |                         let localeName = path.basename(file, extension); | ||||||
|                         if (localeName === "en-US" && process.platform === "win32") { |                         if (localeName === "en-US" && !isMac) { | ||||||
|                             // If the locale is "en-US" on Windows, we treat it as "en".
 |                             // If the locale is "en-US" on Windows, we treat it as "en".
 | ||||||
|                             // This is because the Windows version of Electron uses "en-US.pak" instead of "en.pak".
 |                             // This is because the Windows version of Electron uses "en-US.pak" instead of "en.pak".
 | ||||||
|                             localeName = "en"; |                             localeName = "en"; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran