Skip to content

Commit

Permalink
SDA-4753 - Update product name to Symphony Messaging (#2260)
Browse files Browse the repository at this point in the history
* SDA-4753 - Update product name to Symphony Messaging

* SDA-4753 - Create new product display name

* SDA-4753 - Fix Uts
  • Loading branch information
KiranNiranjan authored Jan 15, 2025
1 parent d0ddf50 commit 04e111c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions src/app/app-menu.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {
app,
BaseWindow,
BrowserWindow,
Menu,
Expand All @@ -8,6 +7,7 @@ import {
shell,
} from 'electron';

import { productDisplayName } from '../../package.json';
import { apiName } from '../common/api-interface';
import { isLinux, isMac, isWindowsOS } from '../common/env';
import { i18n, LocaleType } from '../common/i18n';
Expand Down Expand Up @@ -272,10 +272,10 @@ export class AppMenu {
false;
return {
id: menuSections.about,
label: app.getName(),
label: productDisplayName,
submenu: [
{
label: i18n.t('About Symphony')(),
label: i18n.t('About Symphony Messaging')(),
click(_menuItem, focusedWindow) {
const windowName = focusedWindow
? (focusedWindow as ICustomBrowserWindow).winName
Expand Down Expand Up @@ -800,7 +800,7 @@ export class AppMenu {
],
},
{
label: i18n.t('About Symphony')(),
label: i18n.t('About Symphony Messaging')(),
visible: isWindowsOS || isLinux,
click(_menuItem, focusedWindow) {
const windowName = focusedWindow
Expand Down
4 changes: 2 additions & 2 deletions src/app/window-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ export const zoomIn = () => {

if (
focusedWindow.getTitle() === 'Screen Sharing Indicator - Symphony' ||
focusedWindow.getTitle() === 'About Symphony'
focusedWindow.getTitle() === 'About Symphony Messaging'
) {
return;
}
Expand Down Expand Up @@ -957,7 +957,7 @@ export const zoomOut = () => {

if (
focusedWindow.getTitle() === 'Screen Sharing Indicator - Symphony' ||
focusedWindow.getTitle() === 'About Symphony'
focusedWindow.getTitle() === 'About Symphony Messaging'
) {
return;
}
Expand Down
4 changes: 2 additions & 2 deletions src/locale/en-US.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"About Symphony": "About Symphony",
"About Symphony Messaging": "About Symphony Messaging",
"AboutSymphony": {
"About Symphony": "About Symphony",
"About Symphony Messaging": "About Symphony Messaging",
"Others": "Others",
"Swift Search": "Swift Search",
"Swift Search API": "Swift Search API",
Expand Down
4 changes: 2 additions & 2 deletions src/locale/en.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"About Symphony": "About Symphony",
"About Symphony Messaging": "About Symphony Messaging",
"AboutSymphony": {
"About Symphony": "About Symphony",
"About Symphony Messaging": "About Symphony Messaging",
"Others": "Others",
"Swift Search": "Swift Search",
"Swift Search API": "Swift Search API",
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/preload-component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const load = () => {
switch (componentName) {
case components.aboutApp:
component = AboutBox;
document.title = i18n.t('About Symphony', 'AboutSymphony')();
document.title = i18n.t('About Symphony Messaging', 'AboutSymphony')();
break;
case components.screenPicker:
document.title = i18n.t('Screen Picker - Symphony')();
Expand Down

0 comments on commit 04e111c

Please sign in to comment.