mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-11-04 03:17:00 -05:00 
			
		
		
		
	Update i18n.js
Add Ukrainian language and podcast region
This commit is contained in:
		
							parent
							
								
									1d7434cbbb
								
							
						
					
					
						commit
						b0a9bed15a
					
				@ -23,6 +23,7 @@ const languageCodeMap = {
 | 
				
			|||||||
  'pt-br': { label: 'Português (Brasil)', dateFnsLocale: 'ptBR' },
 | 
					  'pt-br': { label: 'Português (Brasil)', dateFnsLocale: 'ptBR' },
 | 
				
			||||||
  'ru': { label: 'Русский', dateFnsLocale: 'ru' },
 | 
					  'ru': { label: 'Русский', dateFnsLocale: 'ru' },
 | 
				
			||||||
  'sv': { label: 'Svenska', dateFnsLocale: 'sv' },
 | 
					  'sv': { label: 'Svenska', dateFnsLocale: 'sv' },
 | 
				
			||||||
 | 
					  'uk': { label: 'Українська', dateFnsLocale: 'uk' },
 | 
				
			||||||
  'vi-vn': { label: 'Tiếng Việt', dateFnsLocale: 'vi' },
 | 
					  'vi-vn': { label: 'Tiếng Việt', dateFnsLocale: 'vi' },
 | 
				
			||||||
  'zh-cn': { label: '简体中文 (Simplified Chinese)', dateFnsLocale: 'zhCN' },
 | 
					  'zh-cn': { label: '简体中文 (Simplified Chinese)', dateFnsLocale: 'zhCN' },
 | 
				
			||||||
  'zh-tw': { label: '正體中文 (Traditional Chinese)', dateFnsLocale: 'zhTW' }
 | 
					  'zh-tw': { label: '正體中文 (Traditional Chinese)', dateFnsLocale: 'zhTW' }
 | 
				
			||||||
@ -36,6 +37,7 @@ Vue.prototype.$languageCodeOptions = Object.keys(languageCodeMap).map(code => {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
// iTunes search API uses ISO 3166 country codes: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
 | 
					// iTunes search API uses ISO 3166 country codes: https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
 | 
				
			||||||
const podcastSearchRegionMap = {
 | 
					const podcastSearchRegionMap = {
 | 
				
			||||||
 | 
					  'ua': { label: 'Україна' },
 | 
				
			||||||
  'us': { label: 'United States' },
 | 
					  'us': { label: 'United States' },
 | 
				
			||||||
  'cn': { label: '中国' }
 | 
					  'cn': { label: '中国' }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user