Merge branch 'i18n' into 'master'

i18n support for event, post and job ads

See merge request sahkoinsinoorikilta/vtmk/web2.0-frontend!51

(cherry picked from commit 9e7fe73c04)

39104f70 install localisation library
7ce9f384 translate event page contents
9bec3f1e translate calendars
feaaa981 translate feed page
1f7d842b fix news button translation
ac0d33ef fix e2e tests
4eeb798d add getStaticProps to use static optimization
This commit is contained in:
Aarni Halinen
2021-04-01 15:54:01 +00:00
parent 7e0b0d2ae8
commit 0e98ea0b32
32 changed files with 721 additions and 111 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ test("User signups to event from front page", async (t) => {
await t.wait(3000);
await t.expect(await getPageUrl()).match(/\/events\/\d{1,4}/, "URL isn't /events/<id>");
const SignupButton = Selector("button");
const SignupButton = Selector("[data-e2e=\"signup-button\"]");
await t
.click(SignupButton);