Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
feat(locales): add hearts to description
Browse files Browse the repository at this point in the history
  • Loading branch information
dargmuesli committed Nov 7, 2023
1 parent fa5a004 commit 40550e6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/handlebars.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ import { i18nextResolve, templateCompile } from './handlebars.js'

test('compiles template', () => {
expect(templateCompile('{{__ "maevsi:subtitle"}}', 'en', {})).toBe(
'Find events, guests and friends.',
'Find events, guests and friends 💙❤️💚',
)
})

test('compiles template in another language', () => {
expect(templateCompile('{{__ "maevsi:subtitle"}}', 'de', {})).toBe(
'Finde Veranstaltungen, Gäste und Freunde.',
'Finde Veranstaltungen, Gäste und Freunde 💙❤️💚',
)
})

test('resolves template', () => {
expect(i18nextResolve('maevsi:subtitle')).toBe(
'Find events, guests and friends.',
'Find events, guests and friends 💙❤️💚',
)
})

test('resolves template in another language', () => {
expect(i18nextResolve('maevsi:subtitle', 'de')).toBe(
'Finde Veranstaltungen, Gäste und Freunde.',
'Finde Veranstaltungen, Gäste und Freunde 💙❤️💚',
)
})
4 changes: 2 additions & 2 deletions src/locales/de/maevsi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"author": "maevsis Autor",
"logo": "maevsis Logo",
"profilePicture": "Profilbild",
"subtitle": "Finde Veranstaltungen, Gäste und Freunde.",
"subtitle": "Finde Veranstaltungen, Gäste und Freunde 💙❤️💚",
"unsubscribe": "E-Mails abbestellen"
}
}
4 changes: 2 additions & 2 deletions src/locales/en/maevsi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"author": "maevsi's author",
"logo": "maevsi's logo",
"profilePicture": "Profile picture",
"subtitle": "Find events, guests and friends.",
"subtitle": "Find events, guests and friends 💙❤️💚",
"unsubscribe": "Unsubscribe from emails"
}
}

0 comments on commit 40550e6

Please sign in to comment.