mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
SDA-4753 - Update product name to Symphony Messaging (#2260)
* SDA-4753 - Update product name to Symphony Messaging * SDA-4753 - Create new product display name * SDA-4753 - Fix Uts
This commit is contained in:
parent
d0ddf50927
commit
04e111cfa8
@ -1,5 +1,4 @@
|
||||
import {
|
||||
app,
|
||||
BaseWindow,
|
||||
BrowserWindow,
|
||||
Menu,
|
||||
@ -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';
|
||||
@ -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
|
||||
@ -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
|
||||
|
@ -859,7 +859,7 @@ export const zoomIn = () => {
|
||||
|
||||
if (
|
||||
focusedWindow.getTitle() === 'Screen Sharing Indicator - Symphony' ||
|
||||
focusedWindow.getTitle() === 'About Symphony'
|
||||
focusedWindow.getTitle() === 'About Symphony Messaging'
|
||||
) {
|
||||
return;
|
||||
}
|
||||
@ -957,7 +957,7 @@ export const zoomOut = () => {
|
||||
|
||||
if (
|
||||
focusedWindow.getTitle() === 'Screen Sharing Indicator - Symphony' ||
|
||||
focusedWindow.getTitle() === 'About Symphony'
|
||||
focusedWindow.getTitle() === 'About Symphony Messaging'
|
||||
) {
|
||||
return;
|
||||
}
|
||||
|
@ -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",
|
||||
|
@ -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",
|
||||
|
@ -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')();
|
||||
|
Loading…
Reference in New Issue
Block a user