Skip to content

Commit

Permalink
Shorten needs no {}
Browse files Browse the repository at this point in the history
  • Loading branch information
Elweyn committed Mar 26, 2024
1 parent dac94d8 commit 0e5993e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 22 deletions.
4 changes: 1 addition & 3 deletions presenter/src/pages/_error/+title.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import i18n from '#plugins/i18n'

export const title = () => {
return i18n.global.t('error.title')
}
export const title = () => i18n.global.t('error.title')
4 changes: 1 addition & 3 deletions presenter/src/pages/auth/+title.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import i18n from '#plugins/i18n'

export const title = () => {
return i18n.global.t('auth.title') // 'DreamMall | Authentifizierung'
}
export const title = () => i18n.global.t('auth.title')
4 changes: 1 addition & 3 deletions presenter/src/pages/datenschutz/+title.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import i18n from '#plugins/i18n'

export const title = () => {
return i18n.global.t('dataProtection.title')
}
export const title = () => i18n.global.t('dataProtection.title')
5 changes: 1 addition & 4 deletions presenter/src/pages/impressum/+title.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
import i18n from '#plugins/i18n'

// DreamMall | Impressum
export const title = () => {
return i18n.global.t('impress.title')
}
export const title = () => i18n.global.t('impress.title')
4 changes: 1 addition & 3 deletions presenter/src/pages/index/+title.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import i18n from '#plugins/i18n'

export const title = () => {
return i18n.global.t('title')
}
export const title = () => i18n.global.t('title')
4 changes: 1 addition & 3 deletions presenter/src/pages/optin/+title.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import i18n from '#plugins/i18n'

// 'DreamMall | Newsletter'
export const title = () => {
return i18n.global.t('optin.title')
}
export const title = () => i18n.global.t('optin.title')
4 changes: 1 addition & 3 deletions presenter/src/pages/silent-refresh/+title.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import i18n from '#plugins/i18n'

export const title = () => {
return i18n.global.t('auth.title') // 'DreamMall | Authentifizierung'
}
export const title = () => i18n.global.t('auth.title')

0 comments on commit 0e5993e

Please sign in to comment.