Skip to content

Commit

Permalink
Added new Emerald rank (#27)
Browse files Browse the repository at this point in the history
* Added Emerald rank (with updated locales and config)

* Update README.md

* Update README.md

* added emerald icon
  • Loading branch information
RTBGG authored Oct 4, 2023
1 parent 759fa0c commit 57daa08
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 4 deletions.
Binary file added assets/img/emerald.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions config.example.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"Silver",
"Gold",
"Platinum",
"Emerald",
"Diamond",
"Master",
"Grandmaster",
Expand All @@ -30,6 +31,7 @@
"Silver": "Silver",
"Gold": "Gold",
"Platinum": "Plat",
"Emerald": "Emerald",
"Diamond": "Dia",
"Master": "Master",
"Grandmaster": "Grand",
Expand Down
1 change: 1 addition & 0 deletions locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"Silver": "Silber",
"Gold": "Gold",
"Platinum": "Platin",
"Emerald": "Smaragd",
"Diamond": "Diamant",
"Master": "Meister",
"Grandmaster": "Großmeister",
Expand Down
1 change: 1 addition & 0 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"Silver": "Silver",
"Gold": "Gold",
"Platinum": "Platinum",
"Emerald": "Emerald",
"Diamond": "Diamond",
"Master": "Master",
"Grandmaster": "Grandmaster",
Expand Down
1 change: 1 addition & 0 deletions locales/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"Silver": "Plata",
"Gold": "Oro",
"Platinum": "Platino",
"Emerald": "Esmeralda",
"Diamond": "Diamante",
"Master": "Maestría",
"Grandmaster": "Gran maestro",
Expand Down
1 change: 1 addition & 0 deletions locales/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"Silver": "Prata",
"Gold": "Ouro",
"Platinum": "Platina",
"Emerald": "Esmeralda",
"Diamond": "Diamante",
"Master": "Mestre",
"Grandmaster": "Grão-mestre",
Expand Down
1 change: 1 addition & 0 deletions locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"Silver": "Серебро",
"Gold": "Золото",
"Platinum": "Платина",
"Emerald": "изумруд",
"Diamond": "Алмаз",
"Master": "Мастер",
"Grandmaster": "Грандмастер",
Expand Down
9 changes: 5 additions & 4 deletions src/lol-ranks.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,10 +163,11 @@ class LoLRanks {
Silver: 3,
Gold: 4,
Platinum: 5,
Diamond: 6,
Master: 7,
Grandmaster: 8,
Challenger: 9
Emerald: 6,
Diamond: 7,
Master: 8,
Grandmaster: 9,
Challenger: 10
}

const rankValue = {
Expand Down

0 comments on commit 57daa08

Please sign in to comment.