aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Vijay Aravamudhan <vraravam@users.noreply.github.com>2022-06-29 22:03:33 +0530
committerLibravatar GitHub <noreply@github.com>2022-06-29 16:33:33 +0000
commitddc518af664c1f226525ef284131490e80934bfd (patch)
treec7a558bb5b598844778c1a4f6e20ca5951be4b52
parentFix missing translations (#394) (diff)
downloadferdium-app-ddc518af664c1f226525ef284131490e80934bfd.tar.gz
ferdium-app-ddc518af664c1f226525ef284131490e80934bfd.tar.zst
ferdium-app-ddc518af664c1f226525ef284131490e80934bfd.zip
'jsx' files were not being pre-processed for i18n (#395)
-rw-r--r--package.json2
-rw-r--r--src/i18n/locales/en-US.json5
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 @@
28 "test:watch": "jest --watch", 28 "test:watch": "jest --watch",
29 "lint": "eslint \"{src,test,scripts}/**/*.{js,jsx,ts,tsx}\" --quiet", 29 "lint": "eslint \"{src,test,scripts}/**/*.{js,jsx,ts,tsx}\" --quiet",
30 "lint:fix": "npm run lint -- --fix", 30 "lint:fix": "npm run lint -- --fix",
31 "extract": "formatjs extract 'src/**/*.{js,ts,tsx}' --out-file temp.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]' --preserve-whitespace", 31 "extract": "formatjs extract 'src/**/*.{js,jsx,ts,tsx}' --out-file temp.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]' --preserve-whitespace",
32 "compile": "formatjs compile 'temp.json' --out-file src/i18n/locales/en-US.json", 32 "compile": "formatjs compile 'temp.json' --out-file src/i18n/locales/en-US.json",
33 "manage-translations": "npm run extract && npm run compile && rimraf temp.json", 33 "manage-translations": "npm run extract && npm run compile && rimraf temp.json",
34 "build": "preval-build-info-cli && gulp build && electron-builder", 34 "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 @@
424 "sidebar.addNewService": "Add new service", 424 "sidebar.addNewService": "Add new service",
425 "sidebar.closeTodosDrawer": "Close Ferdium Todos", 425 "sidebar.closeTodosDrawer": "Close Ferdium Todos",
426 "sidebar.closeWorkspaceDrawer": "Close workspace drawer", 426 "sidebar.closeWorkspaceDrawer": "Close workspace drawer",
427 "sidebar.lockFerdium": "Lock Ferdium",
427 "sidebar.muteApp": "Disable notifications & audio", 428 "sidebar.muteApp": "Disable notifications & audio",
428 "sidebar.openTodosDrawer": "Open workspace drawer", 429 "sidebar.openTodosDrawer": "Open Ferdium Todos",
429 "sidebar.openWorkspaceDrawer": "Open workspace drawer", 430 "sidebar.openWorkspaceDrawer": "Open workspace drawer",
430 "sidebar.splitModeToggle": "Split Mode Toggle", 431 "sidebar.splitModeToggle": "Split Mode Toggle",
431 "sidebar.unmuteApp": "Enable notifications & audio", 432 "sidebar.unmuteApp": "Enable notifications & audio",
@@ -473,4 +474,4 @@
473 "workspaceDrawer.workspaceFeatureInfo": "<p>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.</p><p>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.</p>", 474 "workspaceDrawer.workspaceFeatureInfo": "<p>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.</p><p>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.</p>",
474 "workspaceDrawer.workspacesSettingsTooltip": "Edit workspaces settings", 475 "workspaceDrawer.workspacesSettingsTooltip": "Edit workspaces settings",
475 "workspaces.switchingIndicator.switchingTo": "Switching to" 476 "workspaces.switchingIndicator.switchingTo": "Switching to"
476} 477} \ No newline at end of file