aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/Menu.js16
-rw-r--r--src/lib/Tray.js4
2 files changed, 10 insertions, 10 deletions
diff --git a/src/lib/Menu.js b/src/lib/Menu.js
index f1b8894c8..a58e5b2de 100644
--- a/src/lib/Menu.js
+++ b/src/lib/Menu.js
@@ -133,7 +133,7 @@ const menuItems = defineMessages({
133 }, 133 },
134 debugInfoCopiedHeadline: { 134 debugInfoCopiedHeadline: {
135 id: 'menu.help.debugInfoCopiedHeadline', 135 id: 'menu.help.debugInfoCopiedHeadline',
136 defaultMessage: '!!!Franz Debug Information', 136 defaultMessage: '!!!Ferdi Debug Information',
137 }, 137 },
138 debugInfoCopiedBody: { 138 debugInfoCopiedBody: {
139 id: 'menu.help.debugInfoCopiedBody', 139 id: 'menu.help.debugInfoCopiedBody',
@@ -242,7 +242,7 @@ const menuItems = defineMessages({
242}); 242});
243 243
244function getActiveWebview() { 244function getActiveWebview() {
245 return window.franz.stores.services.active.webview; 245 return window.ferdi.stores.services.active.webview;
246} 246}
247 247
248const _templateFactory = intl => [ 248const _templateFactory = intl => [
@@ -373,7 +373,7 @@ const _templateFactory = intl => [
373 click: () => { 373 click: () => {
374 announcementActions.show(); 374 announcementActions.show();
375 }, 375 },
376 visible: window.franz.stores.user.isLoggedIn && announcementsStore.areNewsAvailable, 376 visible: window.ferdi.stores.user.isLoggedIn && announcementsStore.areNewsAvailable,
377 }, 377 },
378 { 378 {
379 type: 'separator', 379 type: 'separator',
@@ -595,11 +595,11 @@ export default class FranzMenu {
595 // need to clone object so we don't modify computed (cached) object 595 // need to clone object so we don't modify computed (cached) object
596 const serviceTpl = Object.assign([], this.serviceTpl()); 596 const serviceTpl = Object.assign([], this.serviceTpl());
597 597
598 if (window.franz === undefined) { 598 if (window.ferdi === undefined) {
599 return; 599 return;
600 } 600 }
601 601
602 const { intl } = window.franz; 602 const { intl } = window.ferdi;
603 const tpl = isMac ? _templateFactory(intl) : _titleBarTemplateFactory(intl); 603 const tpl = isMac ? _templateFactory(intl) : _titleBarTemplateFactory(intl);
604 604
605 tpl[1].submenu.push({ 605 tpl[1].submenu.push({
@@ -781,7 +781,7 @@ export default class FranzMenu {
781 } 781 }
782 782
783 serviceTpl() { 783 serviceTpl() {
784 const { intl } = window.franz; 784 const { intl } = window.ferdi;
785 const { user, services, settings } = this.stores; 785 const { user, services, settings } = this.stores;
786 if (!user.isLoggedIn) return []; 786 if (!user.isLoggedIn) return [];
787 const menu = []; 787 const menu = [];
@@ -827,7 +827,7 @@ export default class FranzMenu {
827 827
828 workspacesMenu() { 828 workspacesMenu() {
829 const { workspaces, activeWorkspace, isWorkspaceDrawerOpen } = workspaceStore; 829 const { workspaces, activeWorkspace, isWorkspaceDrawerOpen } = workspaceStore;
830 const { intl } = window.franz; 830 const { intl } = window.ferdi;
831 const menu = []; 831 const menu = [];
832 832
833 // Add new workspace item: 833 // Add new workspace item:
@@ -883,7 +883,7 @@ export default class FranzMenu {
883 } 883 }
884 884
885 debugMenu() { 885 debugMenu() {
886 const { intl } = window.franz; 886 const { intl } = window.ferdi;
887 887
888 return { 888 return {
889 label: intl.formatMessage(menuItems.debugInfo), 889 label: intl.formatMessage(menuItems.debugInfo),
diff --git a/src/lib/Tray.js b/src/lib/Tray.js
index 192e24796..28ec55eb7 100644
--- a/src/lib/Tray.js
+++ b/src/lib/Tray.js
@@ -20,7 +20,7 @@ export default class TrayIcon {
20 this.trayIcon = new Tray(this._getAsset('tray', INDICATOR_TRAY_PLAIN)); 20 this.trayIcon = new Tray(this._getAsset('tray', INDICATOR_TRAY_PLAIN));
21 const trayMenuTemplate = [ 21 const trayMenuTemplate = [
22 { 22 {
23 label: 'Show Franz', 23 label: 'Show Ferdi',
24 click() { 24 click() {
25 if (app.mainWindow.isMinimized()) { 25 if (app.mainWindow.isMinimized()) {
26 app.mainWindow.restore(); 26 app.mainWindow.restore();
@@ -29,7 +29,7 @@ export default class TrayIcon {
29 app.mainWindow.focus(); 29 app.mainWindow.focus();
30 }, 30 },
31 }, { 31 }, {
32 label: 'Quit Franz', 32 label: 'Quit Ferdi',
33 click() { 33 click() {
34 app.quit(); 34 app.quit();
35 }, 35 },