Skip to content

Commit

Permalink
other: remove donate menu
Browse files Browse the repository at this point in the history
  • Loading branch information
amanharwara committed Sep 26, 2022
1 parent 234238f commit 05c8fbd
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 43 deletions.
1 change: 0 additions & 1 deletion locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"&Settings": "&Settings",
"&Help": "&Help",
"&About": "&About",
"Donate": "Donate",
"Check For &Updates": "Check For &Updates",
"Links": "Links",
"Report Bugs/Issues": "Report Bugs/Issues",
Expand Down
1 change: 0 additions & 1 deletion locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"&Settings": "&Preferencias",
"&Help": "A&yuda",
"&About": "Acerca &de",
"Donate": "Donar",
"Check For &Updates": "&Buscar actualizaciones",
"Links": "Links",
"Report Bugs/Issues": "Reportar bugs/problemas",
Expand Down
1 change: 0 additions & 1 deletion locales/hi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"&Settings": "सेटिंग्स",
"&Help": "मदद",
"&About": "Altus के बारे में",
"Donate": "योगदान करें",
"Check For &Updates": "अपडेट के लिये जांचें",
"Links": "लिंक",
"Report Bugs/Issues": "समस्या की सूचना दें",
Expand Down
3 changes: 1 addition & 2 deletions locales/it/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"Go to Next Tab": "Vai alla scheda successiva",
"Go to Previous Tab": "Vai alla scheda precedente",
"Go to First Tab": "Vai alla prima scheda",
"Go to Last Tab": "Vai all'ultima scheda,
"Go to Last Tab": "Vai all'ultima scheda",
"&View": "&Visualizza",
"Toggle Fullscreen": "Attiva/disattiva schermo intero",
"Toggle Tab Bar": "Attiva/disattiva barra delle schede",
Expand All @@ -33,7 +33,6 @@
"&Settings": "&Impostazioni",
"&Help": "&Aiuto",
"&About": "&Informazioni",
"Donate": "Ddona",
"Check For &Updates": "Controlla &aggiornamenti",
"Links": "Link",
"Report Bugs/Issues": "Segnala bug/problemi",
Expand Down
1 change: 0 additions & 1 deletion locales/pt/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"&Settings": "&Configuracoes",
"&Help": "&Ajuda",
"&About": "&Sobre",
"Donate": "Doar",
"Check For &Updates": "Procurar por atualizacoes",
"Links": "Links",
"Report Bugs/Issues": "Reportar Bugs/Questoes",
Expand Down
38 changes: 1 addition & 37 deletions src/util/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -282,42 +282,6 @@ const mainMenu = (i18n) => {
},
id: "about",
},
{
label: i18n.t("Donate"),
submenu: [
{
label: "Liberapay",
id: "liberapay",
click() {
shell.openExternal("https://liberapay.com/aman_harwara/");
},
},
{
label: "Ko-Fi",
id: "kofi",
click() {
shell.openExternal("https://ko-fi.com/amanharwara");
},
},
{
label: "Buy Me a Coffee",
id: "buymeacoffee",
click() {
shell.openExternal("https://buymeacoffee.com/amanharwara");
},
},
{
label: "Other Links",
id: "otherlinks",
click() {
shell.openExternal(
"https://github.com/amanharwara/altus#support"
);
},
},
],
id: "donate",
},
{
label: i18n.t("Check For &Updates"),
accelerator: "CmdOrCtrl+Shift+U",
Expand Down Expand Up @@ -402,7 +366,7 @@ const trayContextMenu = Menu.buildFromTemplate([
mainWindow.webContents.send("open-settings");
mainWindow.show();
mainWindow.focus();
}
},
},
{
label: "Exit",
Expand Down

0 comments on commit 05c8fbd

Please sign in to comment.