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/stores/ServicesStore.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/stores/ServicesStore.js') diff --git a/src/stores/ServicesStore.js b/src/stores/ServicesStore.js index e2bfd22f3..1c800df59 100644 --- a/src/stores/ServicesStore.js +++ b/src/stores/ServicesStore.js @@ -17,9 +17,9 @@ import { import { workspaceStore } from '../features/workspaces'; import { DEFAULT_SERVICE_SETTINGS, KEEP_WS_LOADED_USID } from '../config'; import { SPELLCHECKER_LOCALES } from '../i18n/languages'; -import { ferdiVersion } from '../environment-remote'; +import { ferdiumVersion } from '../environment-remote'; -const debug = require('debug')('Ferdi:ServiceStore'); +const debug = require('debug')('Ferdium:ServiceStore'); export default class ServicesStore extends Store { @observable allServicesRequest = new CachedRequest(this.api.services, 'all'); @@ -563,7 +563,7 @@ export default class ServicesStore extends Store { if (!pathExistsSync(filePath)) { writeFileSync( filePath, - `module.exports = (config, Ferdi) => { + `module.exports = (config, Ferdium) => { // Write your scripts here console.log("Hello, World!", config); }; @@ -691,7 +691,7 @@ export default class ServicesStore extends Store { const service = this.active; if (service) { if (service._webview) { - document.title = `Ferdi - ${service.name} ${ + document.title = `Ferdium - ${service.name} ${ service.dialogTitle ? ` - ${service.dialogTitle}` : '' } ${service._webview ? `- ${service._webview.getTitle()}` : ''}`; this._focusService({ serviceId: service.id }); @@ -1127,7 +1127,7 @@ export default class ServicesStore extends Store { const service = this.active; if (service) { this.actions.service.focusService({ serviceId: service.id }); - document.title = `Ferdi - ${service.name} ${ + document.title = `Ferdium - ${service.name} ${ service.dialogTitle ? ` - ${service.dialogTitle}` : '' } ${service._webview ? `- ${service._webview.getTitle()}` : ''}`; } else { @@ -1282,7 +1282,7 @@ export default class ServicesStore extends Store { 'initialize-recipe', { ...shareWithWebview, - franzVersion: ferdiVersion, + franzVersion: ferdiumVersion, }, service.recipe, ); -- cgit v1.2.3-70-g09d2