Skip to content

Commit

Permalink
Merge pull request #2772 from cor-bee/master
Browse files Browse the repository at this point in the history
Add Ukrainian Translation and Podcast Region
  • Loading branch information
advplyr authored Mar 20, 2024
2 parents 8e5b750 + b0a9bed commit 1e21847
Show file tree
Hide file tree
Showing 2 changed files with 783 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/plugins/i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const languageCodeMap = {
'pt-br': { label: 'Português (Brasil)', dateFnsLocale: 'ptBR' },
'ru': { label: 'Русский', dateFnsLocale: 'ru' },
'sv': { label: 'Svenska', dateFnsLocale: 'sv' },
'uk': { label: 'Українська', dateFnsLocale: 'uk' },
'vi-vn': { label: 'Tiếng Việt', dateFnsLocale: 'vi' },
'zh-cn': { label: '简体中文 (Simplified Chinese)', dateFnsLocale: 'zhCN' },
'zh-tw': { label: '正體中文 (Traditional Chinese)', dateFnsLocale: 'zhTW' }
Expand All @@ -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
const podcastSearchRegionMap = {
'ua': { label: 'Україна' },
'us': { label: 'United States' },
'cn': { label: '中国' }
}
Expand Down
Loading

0 comments on commit 1e21847

Please sign in to comment.