From ddc518af664c1f226525ef284131490e80934bfd Mon Sep 17 00:00:00 2001 From: Vijay Aravamudhan Date: Wed, 29 Jun 2022 22:03:33 +0530 Subject: 'jsx' files were not being pre-processed for i18n (#395) --- package.json | 2 +- src/i18n/locales/en-US.json | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index cd45aa2bc..a56f6e53f 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "test:watch": "jest --watch", "lint": "eslint \"{src,test,scripts}/**/*.{js,jsx,ts,tsx}\" --quiet", "lint:fix": "npm run lint -- --fix", - "extract": "formatjs extract 'src/**/*.{js,ts,tsx}' --out-file temp.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]' --preserve-whitespace", + "extract": "formatjs extract 'src/**/*.{js,jsx,ts,tsx}' --out-file temp.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]' --preserve-whitespace", "compile": "formatjs compile 'temp.json' --out-file src/i18n/locales/en-US.json", "manage-translations": "npm run extract && npm run compile && rimraf temp.json", "build": "preval-build-info-cli && gulp build && electron-builder", diff --git a/src/i18n/locales/en-US.json b/src/i18n/locales/en-US.json index b09bfada2..f4871f207 100644 --- a/src/i18n/locales/en-US.json +++ b/src/i18n/locales/en-US.json @@ -424,8 +424,9 @@ "sidebar.addNewService": "Add new service", "sidebar.closeTodosDrawer": "Close Ferdium Todos", "sidebar.closeWorkspaceDrawer": "Close workspace drawer", + "sidebar.lockFerdium": "Lock Ferdium", "sidebar.muteApp": "Disable notifications & audio", - "sidebar.openTodosDrawer": "Open workspace drawer", + "sidebar.openTodosDrawer": "Open Ferdium Todos", "sidebar.openWorkspaceDrawer": "Open workspace drawer", "sidebar.splitModeToggle": "Split Mode Toggle", "sidebar.unmuteApp": "Enable notifications & audio", @@ -473,4 +474,4 @@ "workspaceDrawer.workspaceFeatureInfo": "

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.

", "workspaceDrawer.workspacesSettingsTooltip": "Edit workspaces settings", "workspaces.switchingIndicator.switchingTo": "Switching to" -} +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf