Fix all locale linting errors except unused keys

This commit is contained in:
wvffle 2022-11-25 20:38:25 +00:00 committed by Kasper Seweryn
commit 10dc14f109
27 changed files with 188 additions and 167 deletions

View file

@ -87,16 +87,15 @@ export const install: InitModule = async ({ app, router, store }) => {
if (allowed === undefined) {
const { hostname, origin } = new URL(import.meta.env.FUNKWHALE_SENTRY_DSN)
const message = t('init.sentry.message', [
`<a href="${origin}">${hostname === 'am.funkwhale.audio' ? t('init.sentry.funkwhaleInstance') : hostname}</a>`
])
const content = `${t('init.sentry.title')}<br><sub>${message}</sub>`
return store.commit('ui/addMessage', {
content: hostname === 'am.funkwhale.audio'
? t(
'init.sentry.funkwhaleGlitchtipMessage',
{ origin }
)
: t(
'init.sentry.ownGlitchtipMessage',
{ hostname, origin }
),
content,
date: new Date(),
key: 'allowSentryTracing',
displayTime: 0,