Skip to content

Commit

Permalink
fix(lang): Switch "released notes" with "release notes" (#439)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnm2 authored Oct 19, 2023
1 parent 3f7bc99 commit d9a3afa
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions app/main/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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);
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion app/shareables/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
2 changes: 1 addition & 1 deletion website/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`,
},
];
Expand Down

0 comments on commit d9a3afa

Please sign in to comment.