Skip to content

Commit

Permalink
translation updates + spinda
Browse files Browse the repository at this point in the history
Fix #50, Spinda now always loads in whenever the grid loads regardless of if its picked
#23 French: Change Gimmick Form translation to "Forme à Gimmick", change Legend translation to "Légendes"
#23 Portuguese, Spanish, and Italian now have "Favorite" after the category title rather than at the beginning
  • Loading branch information
CajunAvenger committed May 13, 2023
1 parent 6a6bf05 commit 243420c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
4 changes: 3 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@
var currently_selecting = null;
var shinyCharm = false;
var spriteFile = "Front";
var domlink = "https://cajunavenger.github.io/";
var domlink = "https://" + window.location.host;
var teamSelect = false;
var toppings = false;

Expand Down Expand Up @@ -941,6 +941,8 @@
}
for(var e in ents) {
var name = ents[e].replace("&", "");
if(gen == 0 && e == 22)
name = "SPINDA";
ele = document.getElementById('box'+gen+'_'+e);
if(!ele)
continue;
Expand Down
11 changes: 7 additions & 4 deletions translate.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ var code_lang = {}
for(var n in lang_code)
code_lang[lang_code[n]] = n;
var regional_suffix = ["Español", "Português", "Français", "Italiano"];
var trailing_fav = ["Français"]
var trailing_fav = ["Español", "Português", "Français", "Italiano"];
var no_spaces = []//"日本", "简中", "繁中"];
var fallbacks = {
"Español_Latino": "Español"
Expand Down Expand Up @@ -96,7 +96,6 @@ var font_sizes = {
"GimmickForm": {
"English": 23,
"Português": 20,
"Français": 25,
"Español": 25,
"Español_Latino": 25,
"Deutsch": 22,
Expand Down Expand Up @@ -126,6 +125,10 @@ var font_sizes = {
"Starter": {
"English": 25,
"日本": 22
},
"Legend": {
"English": 25,
"Français": 23
}
}
function getTranslString (check) {
Expand All @@ -149,7 +152,7 @@ var translatable = {
"日本": "ギミック・<br/>フォム",
"简中": "",
"繁中": "",
"Français": "Forme<br/>Gadget",
"Français": "Forme à<br/>Gimmick",
"Italiano": "Modulo<br/>espediente",
"한국어": "기믹 형태"
},
Expand Down Expand Up @@ -881,7 +884,7 @@ var translatable = {
"日本": "伝説",
"简中": "传说的",
"繁中": "傳說的",
"Français": "Légend",
"Français": "Légendes",
"Italiano": "Leggend",
"한국어": " 전설의"
}
Expand Down

0 comments on commit 243420c

Please sign in to comment.