From d9a3afa11f828084483c1d1e3693ff9b0dc1c8e1 Mon Sep 17 00:00:00 2001 From: Joseph Musser Date: Thu, 19 Oct 2023 11:35:50 -0400 Subject: [PATCH] fix(lang): Switch "released notes" with "release notes" (#439) --- app/main/src/main.ts | 8 ++++---- app/shareables/src/index.ts | 2 +- website/src/config.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/main/src/main.ts b/app/main/src/main.ts index 2f3f51c9..b7bd3603 100644 --- a/app/main/src/main.ts +++ b/app/main/src/main.ts @@ -19,7 +19,7 @@ import { SET_UI_THEME, SET_NATIVE_TITLEBAR, SET_SHOW, - RELEASED_NOTES_LINK, + RELEASE_NOTES_LINK, TRAY_ICON_UPDATE, SET_COMPACT_MODE, SET_OPEN_AT_LOGIN, @@ -334,11 +334,11 @@ if (!onlySingleInstance) { notify({ title: "NEW UPDATE IS AVAILABLE", message: `App version ${info.version} ready to be downloaded.`, - actions: ["View Released Notes"], + actions: ["View Release Notes"], callback: (err, response) => { if (!err) { - if (response === "view released notes") { - shell.openExternal(RELEASED_NOTES_LINK); + if (response === "view release notes") { + shell.openExternal(RELEASE_NOTES_LINK); } } }, diff --git a/app/shareables/src/index.ts b/app/shareables/src/index.ts index 282b7d5e..fba0c3c2 100644 --- a/app/shareables/src/index.ts +++ b/app/shareables/src/index.ts @@ -24,5 +24,5 @@ export const TO_MAIN: string[] = [ export const FROM_MAIN: string[] = []; -export const RELEASED_NOTES_LINK = +export const RELEASE_NOTES_LINK = "https://github.com/zidoro/pomatez/releases/latest"; diff --git a/website/src/config.ts b/website/src/config.ts index 190b3441..8fa33531 100644 --- a/website/src/config.ts +++ b/website/src/config.ts @@ -21,7 +21,7 @@ export const NAV_LINKS = [ { label: "Features", link: "features", offset: -24 }, { label: "Roadmap", link: "roadmap", offset: -24 }, { - label: "Released notes", + label: "Release notes", link: `${PROJECT_RELEASES_URL}/latest`, }, ];