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

Commit

Permalink
Merge pull request #85 from MozillaSocial/fix/elk-to-moso
Browse files Browse the repository at this point in the history
fix(rename): replace Elk with Mozilla.social - MOSOWEB-98
  • Loading branch information
wtfluckey authored Nov 15, 2023
2 parents e36b3b1 + 61f14c3 commit 83e8ce4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const route = useRoute()
if (process.server && !route.path.startsWith('/settings')) {
useHead({
meta: [
{ property: 'og:url', content: `https://elk.zone${route.path}` },
{ property: 'og:url', content: `https://mozilla.social${route.path}` },
],
})
}
Expand Down
2 changes: 1 addition & 1 deletion components/common/CommonPaginator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function percolateStatus(status) {
addStatus(status)
}
nuxtApp.hook('elk-logo:click', () => {
nuxtApp.hook('moz-logo:click', () => {
update()
nuxtApp.$scrollToTop()
})
Expand Down
3 changes: 1 addition & 2 deletions components/nav/NavTitle.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
<script setup lang="ts">
const { env } = useBuildInfo()
const router = useRouter()
const back = ref<any>('')
const nuxtApp = useNuxtApp()
function onClickLogo() {
nuxtApp.hooks.callHook('elk-logo:click')
nuxtApp.hooks.callHook('moz-logo:click')
}
onMounted(() => {
Expand Down
4 changes: 2 additions & 2 deletions locales/de-DE.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
"vote": "Abstimmen"
},
"app_desc_short": "Ein flinker Mastodon Web-Client",
"app_logo": "Elk Logo",
"app_name": "Elk",
"app_logo": "Mozilla Logo",
"app_name": "Mozilla.social",
"attachment": {
"edit_title": "Beschreibung",
"remove_label": "Anhang entfernen"
Expand Down
2 changes: 1 addition & 1 deletion locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
},
"app_desc_short": "Decentralized social media powered by Mastodon",
"app_logo": "Mozilla Logo",
"app_name": "Mozilla Social",
"app_name": "Mozilla.social",
"attachment": {
"add_image_description": "Add image description",
"alt-point-1": "Capture important elements",
Expand Down
2 changes: 1 addition & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ declare global {

declare module '#app' {
interface RuntimeNuxtHooks {
'elk-logo:click': () => void
'moz-logo:click': () => void
}
}

Expand Down

0 comments on commit 83e8ce4

Please sign in to comment.