Skip to content

Commit

Permalink
fixes localization bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert27 committed Nov 3, 2023
1 parent 0eb13bc commit 2808611
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 11 deletions.
4 changes: 3 additions & 1 deletion rogue-thi-app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion rogue-thi-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
"react": "^17.0.2",
"react-bootstrap": "^1.6.4",
"react-dom": "^17.0.2",
"react-i18next": "^12.3.1",
"react-leaflet": "^3.2.2",
"react-placeholder": "^4.1.0",
"react-swipeable-views": "^0.14.0",
Expand Down
2 changes: 1 addition & 1 deletion rogue-thi-app/pages/events.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function Events () {
...x,
begin: x.begin ? new Date(x.begin) : null,
end: x.end ? new Date(x.end) : null
}))
})).filter((x) => x.end === null || x.end > now)

setEvents(newEvents)
}
Expand Down
8 changes: 4 additions & 4 deletions rogue-thi-app/public/locales/de/events.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"events": {
"appbar": {
"title": "Veranstaltungen"
},
"noEvents": "Es sind derzeit keine Veranstaltungstermine verfügbar.",
"dates": {
"until": "bis"
}
},
"noEvents": "Es sind derzeit keine Veranstaltungstermine verfügbar.",
"dates": {
"until": "bis"
}
}
9 changes: 5 additions & 4 deletions rogue-thi-app/public/locales/en/events.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
"events": {
"appbar": {
"title": "Events"
},
"noEvents": "There are currently no event dates available.",
"dates": {
"until": "until"
}
},
"noEvents": "There are currently no event dates available.",
"dates": {
"until": "until"
}

}

0 comments on commit 2808611

Please sign in to comment.