Skip to content

Commit d390b54

Browse files
author
LisoUseInAIKyrios
committed
fix(YouTube - Settings): Add additional languages to ReVanced language preference
1 parent 4d1eaa6 commit d390b54

File tree

2 files changed

+95
-114
lines changed

2 files changed

+95
-114
lines changed

patches/src/main/resources/addresources/values/arrays.xml

Lines changed: 95 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -31,72 +31,93 @@
3131
<patch id="misc.settings.settingsResourcePatch">
3232
<string-array name="revanced_language_entries">
3333
<item>@string/revanced_language_DEFAULT</item>
34-
<item>@string/revanced_language_AM</item>
35-
<item>@string/revanced_language_AR</item>
36-
<item>@string/revanced_language_AZ</item>
37-
<item>@string/revanced_language_BE</item>
38-
<item>@string/revanced_language_BG</item>
39-
<item>@string/revanced_language_BN</item>
40-
<item>@string/revanced_language_CA</item>
41-
<item>@string/revanced_language_CS</item>
42-
<item>@string/revanced_language_DA</item>
43-
<item>@string/revanced_language_DE</item>
44-
<item>@string/revanced_language_EL</item>
45-
<item>@string/revanced_language_EN</item>
46-
<item>@string/revanced_language_ES</item>
47-
<item>@string/revanced_language_ET</item>
48-
<item>@string/revanced_language_FA</item>
49-
<item>@string/revanced_language_FI</item>
50-
<item>@string/revanced_language_FR</item>
51-
<item>@string/revanced_language_GA</item>
52-
<item>@string/revanced_language_GU</item>
53-
<item>@string/revanced_language_HE</item>
54-
<item>@string/revanced_language_HI</item>
55-
<item>@string/revanced_language_HR</item>
56-
<item>@string/revanced_language_HU</item>
57-
<item>@string/revanced_language_ID</item>
58-
<item>@string/revanced_language_IT</item>
59-
<item>@string/revanced_language_JA</item>
60-
<item>@string/revanced_language_KK</item>
61-
<item>@string/revanced_language_KO</item>
62-
<item>@string/revanced_language_LT</item>
63-
<item>@string/revanced_language_LV</item>
64-
<item>@string/revanced_language_MK</item>
65-
<item>@string/revanced_language_MN</item>
66-
<item>@string/revanced_language_MR</item>
67-
<item>@string/revanced_language_MS</item>
68-
<item>@string/revanced_language_MY</item>
69-
<item>@string/revanced_language_NL</item>
70-
<item>@string/revanced_language_OR</item>
71-
<item>@string/revanced_language_PA</item>
72-
<item>@string/revanced_language_PL</item>
73-
<item>@string/revanced_language_PT</item>
74-
<item>@string/revanced_language_RO</item>
75-
<item>@string/revanced_language_RU</item>
76-
<item>@string/revanced_language_SK</item>
77-
<item>@string/revanced_language_SQ</item>
78-
<item>@string/revanced_language_SL</item>
79-
<item>@string/revanced_language_SR</item>
80-
<item>@string/revanced_language_SV</item>
81-
<item>@string/revanced_language_SW</item>
82-
<item>@string/revanced_language_TA</item>
83-
<item>@string/revanced_language_TE</item>
84-
<item>@string/revanced_language_TH</item>
85-
<item>@string/revanced_language_TR</item>
86-
<item>@string/revanced_language_UK</item>
87-
<item>@string/revanced_language_UR</item>
88-
<item>@string/revanced_language_VI</item>
89-
<item>@string/revanced_language_ZH</item>
34+
<item>Afrikaans</item>
35+
<item>አማርኛ</item>
36+
<item>العربية</item>
37+
<item>অসমীয়া</item>
38+
<item>Azərbaycanca</item>
39+
<item>Беларуская</item>
40+
<item>Български</item>
41+
<item>বাংলা</item>
42+
<item>Bosanski</item>
43+
<item>Català</item>
44+
<item>Čeština</item>
45+
<item>Dansk</item>
46+
<item>Deutsch</item>
47+
<item>Ελληνικά</item>
48+
<item>English</item>
49+
<item>Español</item>
50+
<item>Eesti</item>
51+
<item>Euskara</item>
52+
<item>فارسی</item>
53+
<item>Suomi</item>
54+
<item>Français</item>
55+
<item>Gaeilge</item>
56+
<item>Galego</item>
57+
<item>ગુજરાતી</item>
58+
<item>עברית</item>
59+
<item>हिन्दी</item>
60+
<item>Hrvatski</item>
61+
<item>Magyar</item>
62+
<item>Հայերեն</item>
63+
<item>Bahasa Indonesia</item>
64+
<item>Íslenska</item>
65+
<item>Italiano</item>
66+
<item>日本語</item>
67+
<item>ქართული</item>
68+
<item>Қазақ тілі</item>
69+
<item>ភាសាខ្មែរ</item>
70+
<item>ಕನ್ನಡ</item>
71+
<item>한국어</item>
72+
<item>Кыргызча</item>
73+
<item>ລາວ</item>
74+
<item>Lietuvių</item>
75+
<item>Latviešu</item>
76+
<item>Македонски</item>
77+
<item>മലയാളം</item>
78+
<item>Монгол</item>
79+
<item>मराठी</item>
80+
<item>Bahasa Melayu</item>
81+
<item>မြန်မာစာ</item>
82+
<item>Norsk bokmål</item>
83+
<item>नेपाली</item>
84+
<item>Nederlands</item>
85+
<item>ଓଡ଼ିଆ</item>
86+
<item>ਪੰਜਾਬੀ</item>
87+
<item>Polski</item>
88+
<item>Português</item>
89+
<item>Română</item>
90+
<item>Русский</item>
91+
<item>සිංහල</item>
92+
<item>Slovenčina</item>
93+
<item>Slovenščina</item>
94+
<item>Shqip</item>
95+
<item>Српски</item>
96+
<item>Svenska</item>
97+
<item>Kiswahili</item>
98+
<item>தமிழ்</item>
99+
<item>తెలుగు</item>
100+
<item>ไทย</item>
101+
<item>Tagalog</item>
102+
<item>Türkçe</item>
103+
<item>Українська</item>
104+
<item>اردو</item>
105+
<item>Oʻzbekcha</item>
106+
<item>Tiếng Việt</item>
107+
<item>中文</item>
108+
<item>isiZulu</item>
90109
</string-array>
91110
<string-array name="revanced_language_entry_values">
92-
<!-- Extension enum names. -->
93111
<item>DEFAULT</item>
112+
<item>AF</item>
94113
<item>AM</item>
95114
<item>AR</item>
115+
<item>AS</item>
96116
<item>AZ</item>
97117
<item>BE</item>
98118
<item>BG</item>
99119
<item>BN</item>
120+
<item>BS</item>
100121
<item>CA</item>
101122
<item>CS</item>
102123
<item>DA</item>
@@ -105,48 +126,64 @@
105126
<item>EN</item>
106127
<item>ES</item>
107128
<item>ET</item>
129+
<item>EU</item>
108130
<item>FA</item>
109131
<item>FI</item>
110132
<item>FR</item>
111133
<item>GA</item>
134+
<item>GL</item>
112135
<item>GU</item>
113136
<item>HE</item>
114137
<item>HI</item>
115138
<item>HR</item>
116139
<item>HU</item>
140+
<item>HY</item>
117141
<item>ID</item>
142+
<item>IS</item>
118143
<item>IT</item>
119144
<item>JA</item>
145+
<item>KA</item>
120146
<item>KK</item>
147+
<item>KM</item>
148+
<item>KN</item>
121149
<item>KO</item>
150+
<item>KY</item>
151+
<item>LO</item>
122152
<item>LT</item>
123153
<item>LV</item>
124154
<item>MK</item>
155+
<item>ML</item>
125156
<item>MN</item>
126157
<item>MR</item>
127158
<item>MS</item>
128159
<item>MY</item>
160+
<item>NB</item>
161+
<item>NE</item>
129162
<item>NL</item>
130163
<item>OR</item>
131164
<item>PA</item>
132165
<item>PL</item>
133166
<item>PT</item>
134167
<item>RO</item>
135168
<item>RU</item>
169+
<item>SI</item>
136170
<item>SK</item>
137-
<item>SQ</item>
138171
<item>SL</item>
172+
<item>SQ</item>
139173
<item>SR</item>
140174
<item>SV</item>
141175
<item>SW</item>
142176
<item>TA</item>
143177
<item>TE</item>
144178
<item>TH</item>
179+
<item>TL</item>
145180
<item>TR</item>
146181
<item>UK</item>
147182
<item>UR</item>
183+
<item>UZ</item>
148184
<item>VI</item>
149185
<item>ZH</item>
186+
<item>ZU</item>
150187
</string-array>
151188
</patch>
152189
</app>

patches/src/main/resources/addresources/values/strings.xml

Lines changed: 0 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -91,62 +91,6 @@ Second \"item\" text"</string>
9191

9292
To translate new languages or improve the existing translations, visit translate.revanced.app"</string>
9393
<string name="revanced_language_DEFAULT">App language</string>
94-
<string name="revanced_language_AM" translatable="false">አማርኛ</string>
95-
<string name="revanced_language_AR" translatable="false">العربية</string>
96-
<string name="revanced_language_AZ" translatable="false">Azərbaycan</string>
97-
<string name="revanced_language_BE" translatable="false">беларуская</string>
98-
<string name="revanced_language_BG" translatable="false">Български</string>
99-
<string name="revanced_language_BN" translatable="false">বাংলা</string>
100-
<string name="revanced_language_CA" translatable="false">Català</string>
101-
<string name="revanced_language_CS" translatable="false">Čeština</string>
102-
<string name="revanced_language_DA" translatable="false">Dansk</string>
103-
<string name="revanced_language_DE" translatable="false">Deutsch</string>
104-
<string name="revanced_language_EL" translatable="false">Ελληνικά</string>s
105-
<string name="revanced_language_EN" translatable="false">English</string>
106-
<string name="revanced_language_ES" translatable="false">Español</string>
107-
<string name="revanced_language_ET" translatable="false">Eesti</string>
108-
<string name="revanced_language_FA" translatable="false">فارسی</string>
109-
<string name="revanced_language_FI" translatable="false">Suomi</string>
110-
<string name="revanced_language_FR" translatable="false">Français</string>
111-
<string name="revanced_language_GA" translatable="false">Gaeilge</string>
112-
<string name="revanced_language_GU" translatable="false">ગુજરાતી</string>
113-
<string name="revanced_language_HE" translatable="false">עברי</string>
114-
<string name="revanced_language_HI" translatable="false">हिन्दी</string>
115-
<string name="revanced_language_HR" translatable="false">Hrvatski</string>
116-
<string name="revanced_language_HU" translatable="false">Magyar</string>
117-
<string name="revanced_language_ID" translatable="false">Indonesia</string>
118-
<string name="revanced_language_IT" translatable="false">Italiano</string>
119-
<string name="revanced_language_JA" translatable="false">日本語</string>
120-
<string name="revanced_language_KK" translatable="false">Қазақ тілі</string>
121-
<string name="revanced_language_KO" translatable="false">한국어</string>
122-
<string name="revanced_language_LT" translatable="false">Lietuvių</string>
123-
<string name="revanced_language_LV" translatable="false">Latviešu</string>
124-
<string name="revanced_language_MK" translatable="false">Македонски</string>
125-
<string name="revanced_language_MN" translatable="false">Монгол</string>
126-
<string name="revanced_language_MR" translatable="false">मराठी</string>
127-
<string name="revanced_language_MS" translatable="false">Melayu</string>
128-
<string name="revanced_language_MY" translatable="false">ဗမာ</string>
129-
<string name="revanced_language_NL" translatable="false">Nederlands</string>
130-
<string name="revanced_language_OR" translatable="false">ଓଡ଼ିଆ</string>
131-
<string name="revanced_language_PA" translatable="false">ਪੰਜਾਬੀ</string>
132-
<string name="revanced_language_PL" translatable="false">Polski</string>
133-
<string name="revanced_language_PT" translatable="false">Português</string>
134-
<string name="revanced_language_RO" translatable="false">Română</string>
135-
<string name="revanced_language_RU" translatable="false">Русский</string>
136-
<string name="revanced_language_SK" translatable="false">Slovenčina</string>
137-
<string name="revanced_language_SQ" translatable="false">Shqip</string>
138-
<string name="revanced_language_SL" translatable="false">Slovenščina</string>
139-
<string name="revanced_language_SR" translatable="false">Српски</string>
140-
<string name="revanced_language_SV" translatable="false">Svenska</string>
141-
<string name="revanced_language_SW" translatable="false">Kiswahili</string>
142-
<string name="revanced_language_TA" translatable="false">தமிழ்</string>
143-
<string name="revanced_language_TE" translatable="false">తెలుగు</string>
144-
<string name="revanced_language_TH" translatable="false">ไทย</string>
145-
<string name="revanced_language_TR" translatable="false">Türkçe</string>
146-
<string name="revanced_language_UK" translatable="false">Українська</string>
147-
<string name="revanced_language_UR" translatable="false">اردو</string>
148-
<string name="revanced_language_VI" translatable="false">Tiếng Việt</string>
149-
<string name="revanced_language_ZH" translatable="false">中文</string>
15094
<string name="revanced_pref_import_export_title">Import / Export</string>
15195
<string name="revanced_pref_import_export_summary">Import / Export ReVanced settings</string>
15296
<!-- Settings about dialog. -->

0 commit comments

Comments
 (0)