From 210131ca184c3aa043371857c022aa1aa149efbf Mon Sep 17 00:00:00 2001 From: Aditya Mangalampalli Date: Fri, 15 Apr 2022 02:00:25 -0700 Subject: Matched casing for almost all replacements --- src/features/appearance/index.ts | 2 +- src/features/basicAuth/index.ts | 4 ++-- src/features/basicAuth/mainIpcHandler.ts | 2 +- src/features/basicAuth/store.ts | 2 +- src/features/communityRecipes/store.ts | 2 +- src/features/publishDebugInfo/Component.js | 4 ++-- src/features/publishDebugInfo/index.ts | 4 ++-- src/features/quickSwitch/index.ts | 4 ++-- src/features/serviceProxy/index.ts | 2 +- src/features/todos/preload.ts | 8 ++++---- src/features/todos/store.js | 2 +- src/features/workspaces/api.ts | 2 +- src/features/workspaces/components/WorkspaceDrawer.js | 2 +- src/features/workspaces/components/WorkspacesDashboard.js | 4 ++-- src/features/workspaces/store.js | 2 +- 15 files changed, 23 insertions(+), 23 deletions(-) (limited to 'src/features') diff --git a/src/features/appearance/index.ts b/src/features/appearance/index.ts index 9c0268707..593c710f4 100644 --- a/src/features/appearance/index.ts +++ b/src/features/appearance/index.ts @@ -69,7 +69,7 @@ function generateAccentStyle(accentColorStr) { .franz-form .franz-form__toggle-wrapper .franz-form__toggle.is-active .franz-form__toggle-button, .theme__dark .franz-form__button, .franz-form__button, - .ferdi__fab, + .ferdium__fab, .franz-form .franz-form__slider-wrapper .slider::-webkit-slider-thumb, span.loader div > div > div { background: ${accentColorStr}; diff --git a/src/features/basicAuth/index.ts b/src/features/basicAuth/index.ts index 8e8fa186c..dd02a3bdc 100644 --- a/src/features/basicAuth/index.ts +++ b/src/features/basicAuth/index.ts @@ -2,14 +2,14 @@ import { AuthInfo, BrowserWindow, ipcRenderer } from 'electron'; import { state as ModalState } from './store'; -const debug = require('debug')('Ferdi:feature:basicAuth'); +const debug = require('debug')('Ferdium:feature:basicAuth'); const state = ModalState; export default function initialize() { debug('Initialize basicAuth feature'); - window['ferdi'].features.basicAuth = { + window['ferdium'].features.basicAuth = { state, }; diff --git a/src/features/basicAuth/mainIpcHandler.ts b/src/features/basicAuth/mainIpcHandler.ts index 4ec3848e8..2f78b1497 100644 --- a/src/features/basicAuth/mainIpcHandler.ts +++ b/src/features/basicAuth/mainIpcHandler.ts @@ -1,6 +1,6 @@ import { BrowserWindow } from 'electron'; -const debug = require('debug')('Ferdi:feature:basicAuth:main'); +const debug = require('debug')('Ferdium:feature:basicAuth:main'); export default function mainIpcHandler(mainWindow: BrowserWindow, authInfo) { debug('Sending basic auth call', authInfo); diff --git a/src/features/basicAuth/store.ts b/src/features/basicAuth/store.ts index 0713ff572..4b71d32fd 100644 --- a/src/features/basicAuth/store.ts +++ b/src/features/basicAuth/store.ts @@ -1,7 +1,7 @@ import { observable } from 'mobx'; import { ipcRenderer } from 'electron'; -const debug = require('debug')('Ferdi:feature:basicAuth'); +const debug = require('debug')('Ferdium:feature:basicAuth'); const defaultState = { isModalVisible: true, diff --git a/src/features/communityRecipes/store.ts b/src/features/communityRecipes/store.ts index c7a51c311..407a63860 100644 --- a/src/features/communityRecipes/store.ts +++ b/src/features/communityRecipes/store.ts @@ -1,7 +1,7 @@ import { computed } from 'mobx'; import { FeatureStore } from '../utils/FeatureStore'; -const debug = require('debug')('Ferdi:feature:communityRecipes:store'); +const debug = require('debug')('Ferdium:feature:communityRecipes:store'); export class CommunityRecipesStore extends FeatureStore { stores: any; diff --git a/src/features/publishDebugInfo/Component.js b/src/features/publishDebugInfo/Component.js index 2b9af01a7..3d4e85dbf 100644 --- a/src/features/publishDebugInfo/Component.js +++ b/src/features/publishDebugInfo/Component.js @@ -14,7 +14,7 @@ import { DEBUG_API } from '../../config'; import AppStore from '../../stores/AppStore'; import ServicesStore from '../../stores/ServicesStore'; -const debug = require('debug')('Ferdi:feature:publishDebugInfo'); +const debug = require('debug')('Ferdium:feature:publishDebugInfo'); const messages = defineMessages({ title: { @@ -24,7 +24,7 @@ const messages = defineMessages({ info: { id: 'feature.publishDebugInfo.info', defaultMessage: - "Publishing your debug information helps us find issues and errors in Ferdi. By publishing your debug information you accept Ferdi Debugger's privacy policy and terms of service", + "Publishing your debug information helps us find issues and errors in Ferdium. By publishing your debug information you accept Ferdium Debugger's privacy policy and terms of service", }, error: { id: 'feature.publishDebugInfo.error', diff --git a/src/features/publishDebugInfo/index.ts b/src/features/publishDebugInfo/index.ts index 43841b530..33b8eb6f5 100644 --- a/src/features/publishDebugInfo/index.ts +++ b/src/features/publishDebugInfo/index.ts @@ -3,7 +3,7 @@ import { state as ModalState } from './store'; export { default as Component } from './Component'; const state = ModalState; -const debug = require('debug')('Ferdi:feature:publishDebugInfo'); +const debug = require('debug')('Ferdium:feature:publishDebugInfo'); export default function initialize() { debug('Initialize publishDebugInfo feature'); @@ -12,7 +12,7 @@ export default function initialize() { state.isModalVisible = true; } - window['ferdi'].features.publishDebugInfo = { + window['ferdium'].features.publishDebugInfo = { state, showModal, }; diff --git a/src/features/quickSwitch/index.ts b/src/features/quickSwitch/index.ts index e9cc36b2a..9d584dc62 100644 --- a/src/features/quickSwitch/index.ts +++ b/src/features/quickSwitch/index.ts @@ -3,7 +3,7 @@ import { state as ModalState } from './store'; export { default as Component } from './Component'; const state = ModalState; -const debug = require('debug')('Ferdi:feature:quickSwitch'); +const debug = require('debug')('Ferdium:feature:quickSwitch'); export default function initialize() { debug('Initialize quickSwitch feature'); @@ -12,7 +12,7 @@ export default function initialize() { state.isModalVisible = true; } - window['ferdi'].features.quickSwitch = { + window['ferdium'].features.quickSwitch = { state, showModal, }; diff --git a/src/features/serviceProxy/index.ts b/src/features/serviceProxy/index.ts index f095b286a..bdc21e97e 100644 --- a/src/features/serviceProxy/index.ts +++ b/src/features/serviceProxy/index.ts @@ -1,7 +1,7 @@ import { autorun, observable } from 'mobx'; import { session } from '@electron/remote'; -const debug = require('debug')('Ferdi:feature:serviceProxy'); +const debug = require('debug')('Ferdium:feature:serviceProxy'); export const config = observable({ isEnabled: true, diff --git a/src/features/todos/preload.ts b/src/features/todos/preload.ts index 31d473051..896d82bdf 100644 --- a/src/features/todos/preload.ts +++ b/src/features/todos/preload.ts @@ -1,7 +1,7 @@ import { ipcRenderer } from 'electron'; import { IPC } from './constants'; -const debug = require('debug')('Ferdi:feature:todos:preload'); +const debug = require('debug')('Ferdium:feature:todos:preload'); debug('Preloading Todos Webview'); @@ -14,7 +14,7 @@ let hostMessageListener = ({ action }) => { } }; -window['ferdi'] = { +window['ferdium'] = { onInitialize(ipcHostMessageListener) { hostMessageListener = ipcHostMessageListener; ipcRenderer.sendToHost(IPC.TODOS_CLIENT_CHANNEL, { @@ -35,8 +35,8 @@ if (window.location.href === 'https://app.franztodos.com/login/') { // Insert info element informing about Franz accounts const infoElement = document.createElement('p'); infoElement.textContent = `You are using Franz's official Todo Service. -This service will only work with accounts registered with Franz - no Ferdi accounts will work here! -If you do not have a Franz account you can change the Todo service by going into Ferdi's settings and changing the "Todo server". +This service will only work with accounts registered with Franz - no Ferdium accounts will work here! +If you do not have a Franz account you can change the Todo service by going into Ferdium's settings and changing the "Todo server". You can choose any service as this Todo server, e.g. Todoist or Apple Notes.`; // Franz Todos uses React. Because of this we can't directly insert the element into the page diff --git a/src/features/todos/store.js b/src/features/todos/store.js index 2bf4e8fab..90ea47c71 100644 --- a/src/features/todos/store.js +++ b/src/features/todos/store.js @@ -18,7 +18,7 @@ import { createActionBindings } from '../utils/ActionBinding'; import { IPC, TODOS_ROUTES } from './constants'; import UserAgent from '../../models/UserAgent'; -const debug = require('debug')('Ferdi:feature:todos:store'); +const debug = require('debug')('Ferdium:feature:todos:store'); export default class TodoStore extends FeatureStore { @observable stores = null; diff --git a/src/features/workspaces/api.ts b/src/features/workspaces/api.ts index 8447fc247..3c8cbbceb 100644 --- a/src/features/workspaces/api.ts +++ b/src/features/workspaces/api.ts @@ -4,7 +4,7 @@ import Request from '../../stores/lib/Request'; import Workspace from './models/Workspace'; import apiBase from '../../api/apiBase'; -const debug = require('debug')('Ferdi:feature:workspaces:api'); +const debug = require('debug')('Ferdium:feature:workspaces:api'); export const workspaceApi = { getUserWorkspaces: async () => { diff --git a/src/features/workspaces/components/WorkspaceDrawer.js b/src/features/workspaces/components/WorkspaceDrawer.js index 147d4cf89..22e4fa9fa 100644 --- a/src/features/workspaces/components/WorkspaceDrawer.js +++ b/src/features/workspaces/components/WorkspaceDrawer.js @@ -32,7 +32,7 @@ const messages = defineMessages({ workspaceFeatureInfo: { id: 'workspaceDrawer.workspaceFeatureInfo', defaultMessage: - '

Ferdi Workspaces let you focus on what’s important right now. Set up different sets of services and easily switch between them at any time.

You decide which services you need when and where, so we can help you stay on top of your game - or easily switch off from work whenever you want.

', + '

Ferdium Workspaces let you focus on what’s important right now. Set up different sets of services and easily switch between them at any time.

You decide which services you need when and where, so we can help you stay on top of your game - or easily switch off from work whenever you want.

', }, addNewWorkspaceLabel: { id: 'workspaceDrawer.addNewWorkspaceLabel', diff --git a/src/features/workspaces/components/WorkspacesDashboard.js b/src/features/workspaces/components/WorkspacesDashboard.js index 9c2f65731..770186be7 100644 --- a/src/features/workspaces/components/WorkspacesDashboard.js +++ b/src/features/workspaces/components/WorkspacesDashboard.js @@ -41,11 +41,11 @@ const messages = defineMessages({ workspaceFeatureInfo: { id: 'settings.workspaces.workspaceFeatureInfo', defaultMessage: - 'Ferdi Workspaces let you focus on what’s important right now. Set up different sets of services and easily switch between them at any time. You decide which services you need when and where, so we can help you stay on top of your game - or easily switch off from work whenever you want.', + 'Ferdium Workspaces let you focus on what’s important right now. Set up different sets of services and easily switch between them at any time. You decide which services you need when and where, so we can help you stay on top of your game - or easily switch off from work whenever you want.', }, workspaceFeatureHeadline: { id: 'settings.workspaces.workspaceFeatureHeadline', - defaultMessage: 'Less is More: Introducing Ferdi Workspaces', + defaultMessage: 'Less is More: Introducing Ferdium Workspaces', }, }); diff --git a/src/features/workspaces/store.js b/src/features/workspaces/store.js index 61048c637..1f3d57c24 100644 --- a/src/features/workspaces/store.js +++ b/src/features/workspaces/store.js @@ -15,7 +15,7 @@ import { createActionBindings } from '../utils/ActionBinding'; import { KEEP_WS_LOADED_USID } from '../../config'; -const debug = require('debug')('Ferdi:feature:workspaces:store'); +const debug = require('debug')('Ferdium:feature:workspaces:store'); export default class WorkspacesStore extends FeatureStore { @observable isFeatureActive = false; -- cgit v1.2.3-54-g00ecf