Skip to content

Commit

Permalink
add galician
Browse files Browse the repository at this point in the history
  • Loading branch information
dimdenGD committed Sep 2, 2024
1 parent 22c78a6 commit 7533242
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 2 additions & 1 deletion layouts/settings/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,10 @@ <h1>__MSG_oldtwitter_settings__</h1><br>
<option value="tl">Tagalog (Filipino)</option>
<option value="is">Icelandic (íslenska)</option>
<option value="he">עִברִית (Hebrew)</option>
<option value="ca">Català (Catalan)</option>
<option value="ne">नेपाली (Nepali)</option>
<option value="ca">Català (Catalan)</option>
<option value="fi">suomi (Finnish)</option>
<option value="gl">Galego (Galician)</option>
</select>
<br><span id="language-warning" hidden>Are you interested in translating OldTwitter? <span id="language-warning-button">Click here</span>.</span>
</div>
Expand Down
8 changes: 6 additions & 2 deletions scripts/injection.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ if (
url.searchParams.set('newtwitter', 'true');
location.replace(url);
}
const LANGUAGES = ["en", "ru", "uk", "fr", "pt_BR", "es", "el", "ro", "tl", "lv", "he", "ne", "nl", "ja", "tr", "it", "ar", "th", "ko", "pl", "vi", "zh_CN", "zh_TW", "cs", "de", "ca", "sv", "bg", "nb", "fi", "id", 'is'];
const LANGUAGES = ["en", "ru", "uk", "fr", "pt_BR", "es", "el", "ro", "tl", "lv", "he", "ne", "nl", "ja", "tr", "it", "ar", "th", "ko", "pl", "vi", "zh_CN", "zh_TW", "cs", "de", "ca", "sv", "bg", "nb", "fi", "id", 'is', 'gl'];
const TRANSLATORS = {
"ru": ["dimden", "https://dimden.dev/"],
"uk": ["dimden", "https://dimden.dev/"],
Expand Down Expand Up @@ -217,7 +217,11 @@ const TRANSLATORS = {
["DaGamerFiles", "/DaGamerFiles"],
["KuchingNeko", "/KuchingNeko"]
],
"is": ["VipelyRS", "/VipelyRS"]
"is": ["VipelyRS", "/VipelyRS"],
"gl": [
["ikergcalvino", "https://github.com/ikergcalvino"],
["alvaroddiaz", "https://github.com/alvaroddiaz"]
]
};
let LOC = {};
let LOC_EN = {};
Expand Down

0 comments on commit 7533242

Please sign in to comment.