Skip to content

Commit

Permalink
Merge pull request #46 from fewieden/develop
Browse files Browse the repository at this point in the history
v2.3.1
  • Loading branch information
fewieden authored Oct 2, 2023
2 parents 45878a7 + 8382209 commit e271394
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 6 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# MMM-NHL Changelog

## [2.3.1]

Thanks to @parnic @dannoh @timpeer for their contributions.

### Added

* Finnish translations

### Fixed

* Team logo images for the 2023-2024 season

## [2.3.0]

### Changed
Expand Down
3 changes: 2 additions & 1 deletion MMM-NHL.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,8 @@ Module.register('MMM-NHL', {
return {
en: 'translations/en.json',
de: 'translations/de.json',
fr: 'translations/fr.json'
fr: 'translations/fr.json',
fi: 'translations/fi.json'
};
},

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mmm-nhl",
"version": "2.3.0",
"version": "2.3.1",
"description": "National Hockey League Module for MagicMirror²",
"scripts": {
"docs": "jsdoc -c jsdoc.json .",
Expand Down
8 changes: 4 additions & 4 deletions templates/MMM-NHL.njk
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
{% if config.showLogos %}
<td>
<img class="icon {{ "no-color" if not config.colored }}"
src="https://www-league.nhlstatic.com/images/logos/teams-20212022-dark/{{games[index].teams.home.id}}.svg"/>
src="https://assets.nhle.com/logos/nhl/svg/{{games[index].teams.home.short}}_dark.svg"/>
</td>
{% endif %}
<td>{{ games[index].teams.home.score }}</td>
Expand All @@ -59,7 +59,7 @@
{% if config.showLogos %}
<td>
<img class="icon {{ "no-color" if not config.colored }}"
src="https://www-league.nhlstatic.com/images/logos/teams-20212022-dark/{{games[index].teams.away.id}}.svg"/>
src="https://assets.nhle.com/logos/nhl/svg/{{games[index].teams.away.short}}_dark.svg"/>
</td>
{% endif %}
{% if config.showNames %}
Expand All @@ -85,7 +85,7 @@
{% if config.showLogos %}
<td>
<img class="icon {{ "no-color" if not config.colored }}"
src="https://www-league.nhlstatic.com/images/logos/teams-20212022-dark/{{ series.teams.home.id }}.svg"/>
src="https://assets.nhle.com/logos/nhl/svg/{{ series.teams.home.short }}_dark.svg"/>
</td>
{% endif %}
<td>{{ series.teams.home.score }}</td>
Expand All @@ -94,7 +94,7 @@
{% if config.showLogos %}
<td>
<img class="icon {{ "no-color" if not config.colored }}"
src="https://www-league.nhlstatic.com/images/logos/teams-20212022-dark/{{ series.teams.away.id }}.svg"/>
src="https://assets.nhle.com/logos/nhl/svg/{{ series.teams.away.short }}_dark.svg"/>
</td>
{% endif %}
{% if config.showNames %}
Expand Down
16 changes: 16 additions & 0 deletions translations/fi.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"HOME": "Koti",
"AWAY": "Vieras",
"PRE_GAME": "Lämmittely",
"1st": "1. Erä",
"2nd": "2. Erä",
"3rd": "3. Erä",
"OVER_TIME": "JA",
"SHOOTOUT": "VL",
"FINAL": "Päättynyt",
"FINAL_OT": "Päättynyt (JA)",
"FINAL_SO": "Päättynyt (VL)",
"TIME_LEFT": "{TIME} jäljellä",
"POSTPONED": "Siirretty",
"SERIES": "Sarja"
}

0 comments on commit e271394

Please sign in to comment.