From 4321e6d96b6b5d4ab441b571078f98e656d665db Mon Sep 17 00:00:00 2001 From: Aly Fluckey Date: Wed, 15 Nov 2023 13:40:34 -0500 Subject: [PATCH 1/5] fix(meta): update og:url to use mozilla.social instead of elk.zone --- app.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.vue b/app.vue index 3ce0a9516e..468758e29f 100644 --- a/app.vue +++ b/app.vue @@ -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}` }, ], }) } From b9543019133627555c5fed0720b57ae52e22e066 Mon Sep 17 00:00:00 2001 From: Aly Fluckey Date: Wed, 15 Nov 2023 13:41:42 -0500 Subject: [PATCH 2/5] fix(locales): update app_name for EN & DE --- locales/de-DE.json | 2 +- locales/en.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/locales/de-DE.json b/locales/de-DE.json index 32a080218b..f05b16eae3 100644 --- a/locales/de-DE.json +++ b/locales/de-DE.json @@ -77,7 +77,7 @@ }, "app_desc_short": "Ein flinker Mastodon Web-Client", "app_logo": "Elk Logo", - "app_name": "Elk", + "app_name": "Mozilla.social", "attachment": { "edit_title": "Beschreibung", "remove_label": "Anhang entfernen" diff --git a/locales/en.json b/locales/en.json index a80faa99be..db4ac08aff 100644 --- a/locales/en.json +++ b/locales/en.json @@ -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", From a7a5d48a33cd8d2a48f7ed0871971a426b7ed352 Mon Sep 17 00:00:00 2001 From: Aly Fluckey Date: Wed, 15 Nov 2023 13:42:48 -0500 Subject: [PATCH 3/5] fix(locale): update app_logo for DE --- locales/de-DE.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locales/de-DE.json b/locales/de-DE.json index f05b16eae3..487a95da20 100644 --- a/locales/de-DE.json +++ b/locales/de-DE.json @@ -76,7 +76,7 @@ "vote": "Abstimmen" }, "app_desc_short": "Ein flinker Mastodon Web-Client", - "app_logo": "Elk Logo", + "app_logo": "Mozilla Logo", "app_name": "Mozilla.social", "attachment": { "edit_title": "Beschreibung", From bc2beca33581aa0b470cc6c1b69c0873537024f4 Mon Sep 17 00:00:00 2001 From: Aly Fluckey Date: Wed, 15 Nov 2023 13:43:39 -0500 Subject: [PATCH 4/5] fix(hook): update logo:click hook --- components/common/CommonPaginator.vue | 2 +- components/nav/NavTitle.vue | 2 +- nuxt.config.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/components/common/CommonPaginator.vue b/components/common/CommonPaginator.vue index 638803c2dd..40086ed61b 100644 --- a/components/common/CommonPaginator.vue +++ b/components/common/CommonPaginator.vue @@ -52,7 +52,7 @@ function percolateStatus(status) { addStatus(status) } -nuxtApp.hook('elk-logo:click', () => { +nuxtApp.hook('moz-logo:click', () => { update() nuxtApp.$scrollToTop() }) diff --git a/components/nav/NavTitle.vue b/components/nav/NavTitle.vue index 6c041b8a53..d03ebe617a 100644 --- a/components/nav/NavTitle.vue +++ b/components/nav/NavTitle.vue @@ -6,7 +6,7 @@ const back = ref('') const nuxtApp = useNuxtApp() function onClickLogo() { - nuxtApp.hooks.callHook('elk-logo:click') + nuxtApp.hooks.callHook('moz-logo:click') } onMounted(() => { diff --git a/nuxt.config.ts b/nuxt.config.ts index 0823ccb0de..5c96b2d67d 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -287,7 +287,7 @@ declare global { declare module '#app' { interface RuntimeNuxtHooks { - 'elk-logo:click': () => void + 'moz-logo:click': () => void } } From 61f14c3dcb0a0d2939a40c89129eca8aa340778a Mon Sep 17 00:00:00 2001 From: Aly Fluckey Date: Wed, 15 Nov 2023 14:32:34 -0500 Subject: [PATCH 5/5] fix(NavTitle): remove unused env --- components/nav/NavTitle.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/components/nav/NavTitle.vue b/components/nav/NavTitle.vue index d03ebe617a..d50ece5548 100644 --- a/components/nav/NavTitle.vue +++ b/components/nav/NavTitle.vue @@ -1,5 +1,4 @@