Skip to content

Commit

Permalink
Merge pull request #508 from Pat1enceLos/fixSubtitlePos
Browse files Browse the repository at this point in the history
 feat(subtitle): support more subtitle languages to choose
  • Loading branch information
ipy authored Mar 6, 2019
2 parents b280570 + e17ec52 commit 5894552
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/renderer/components/Preferences/Privacy.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ export default {
'fr',
'de',
'ru',
'id',
'cs',
'it',
'hi',
Expand Down Expand Up @@ -409,7 +408,7 @@ $dropdown-height: 156px;
}
/* Handle */
::-webkit-scrollbar-thumb {
background: rgba(255,255,255,0.1);
background: rgba(255,255,255,0.1);
border-radius: 1.5px;
}
::-webkit-scrollbar-track {
Expand Down
59 changes: 59 additions & 0 deletions src/renderer/helpers/language/allLanguages.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,69 @@ export const codes = {
'en',
'eng',
],
ja: [
'ja',
'jpn',
],
ar: [
'ar',
'ara',
'arb',
],
pt: [
'pt',
'por',
],
ko: [
'ko',
'kor',
],
es: [
'es',
'spa',
],
fr: [
'fr',
'fre',
'fra',
],
de: [
'de',
'ger',
'deu',
],
ru: [
'ru',
'rus',
],
cs: [
'cs',
'cze',
'ces',
],
it: [
'it',
'ita',
],
hi: [
'hi',
'hin',
],
};

export const names = {
'zh-CN': '简体中文',
'zh-TW': '繁體中文',
en: 'English',
ja: '日本語',
ar: 'العربية',
pt: 'Português',
ko: '한국어',
es: 'Español',
fr: 'Français',
de: 'Deutsch',
ru: 'Русский',
cs: 'čeština',
it: 'Italiano',
hi: 'हिन्दी',
};

0 comments on commit 5894552

Please sign in to comment.