Skip to content

Commit

Permalink
fix: update translation keys & translation source for twitch offline …
Browse files Browse the repository at this point in the history
…state (#1799)
  • Loading branch information
Mittelblut9 authored Nov 27, 2023
2 parents 22a75f9 + d91e56b commit 26036a7
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/assets/json/translations/de_DE/de_DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@
"twitch": {
"endedStream": "%q hat den Stream beendet!",
"startedHrsAgo": "Stream gestartet vor %q Stunden - Zuletzt aktualisiert",
"endedHrsAgo": "Stream endete vor %q Stunden",
"wasLiveFor": "Stream endete vor %q Stunden",
"justWentLive": "%q ist soeben live gegangen!",
"justEnded": "%q hat gerade seinen Stream beendet!",
"fields": {
Expand Down
2 changes: 1 addition & 1 deletion src/assets/json/translations/en_US/en_US.json
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@
"twitch": {
"endedStream": "%q has ended their stream!",
"startedHrsAgo": "Stream started %q hours ago - Last updated",
"endedHrsAgo": "Stream ended %q hours ago",
"wasLiveFor": "Stream was Live for %q hours",
"justWentLive": "%q just went live!",
"justEnded": "%q just ended their stream!",
"fields": {
Expand Down
2 changes: 1 addition & 1 deletion src/assets/json/translations/fr_FR/fr_FR.json
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@
"twitch": {
"endedStream": "%q has ended their stream!",
"startedHrsAgo": "Stream started %q hours ago - Last updated",
"endedHrsAgo": "Stream ended %q hours ago",
"wasLiveFor": "Stream ended %q hours ago",
"justWentLive": "%q just went live!",
"justEnded": "%q just ended their stream!",
"fields": {
Expand Down
2 changes: 1 addition & 1 deletion src/assets/json/translations/hu_HU/hu_HU.json
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@
"twitch": {
"endedStream": "%q befejezte a streamet!",
"startedHrsAgo": "Stream indult %q órával ezelőtt - Utolsó frissítés",
"endedHrsAgo": "Az adatfolyam %q órával ezelőtt ért véget",
"wasLiveFor": "Az adatfolyam %q órával ezelőtt ért véget",
"justWentLive": "%q épp most indult el!",
"justEnded": "%q most fejezte be a streamet!",
"fields": {
Expand Down
2 changes: 1 addition & 1 deletion src/assets/json/translations/pl_PL/pl_PL.json
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@
"twitch": {
"endedStream": "%q zakończył swój stream!",
"startedHrsAgo": "Stream rozpoczęty %q godzin temu - Ostatnia aktualizacja",
"endedHrsAgo": "Stream zakończył się %q godzin temu",
"wasLiveFor": "Stream zakończył się %q godzin temu",
"justWentLive": "%q właśnie zostało uruchomione!",
"justEnded": "%q właśnie zakończył swój stream!",
"fields": {
Expand Down
2 changes: 1 addition & 1 deletion utils/classes/Notifications/Twitch/TwitchNotification.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ module.exports = class TwitchNotification extends TwitchNotifier {
footer: {
text: isLive
? global.t.trans(['info.notifications.twitch.startedHrsAgo', uptime])
: global.t.trans(['info.notifications.twitch.endedHrsAgo', uptime]),
: global.t.trans(['info.notifications.twitch.wasLiveFor', uptime]),
},
image: isLive ? stream.getThumbnailUrl(1920, 1080) : streamer.profilePictureUrl,
url: isLive
Expand Down

0 comments on commit 26036a7

Please sign in to comment.