Skip to content

Commit

Permalink
Fix linting, update translations, remove vite-plugin-chunk-split
Browse files Browse the repository at this point in the history
  • Loading branch information
AmruthPillai committed May 20, 2024
1 parent 0124db0 commit 73b29f7
Show file tree
Hide file tree
Showing 57 changed files with 3,587 additions and 2,636 deletions.
2 changes: 1 addition & 1 deletion .ncurc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"upgrade": true,
"install": "always",
"packageManager": "pnpm",
"reject": ["eslint", "vite-plugin-chunk-split", "@reactive-resume/*"]
"reject": ["eslint", "@reactive-resume/*"]
}
9 changes: 1 addition & 8 deletions apps/artboard/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import { nxViteTsPaths } from "@nx/vite/plugins/nx-tsconfig-paths.plugin";
import react from "@vitejs/plugin-react-swc";
import { defineConfig, searchForWorkspaceRoot } from "vite";
import { chunkSplitPlugin } from "vite-plugin-chunk-split";

export default defineConfig({
base: "/artboard/",
Expand All @@ -21,13 +20,7 @@ export default defineConfig({
fs: { allow: [searchForWorkspaceRoot(process.cwd())] },
},

plugins: [
react(),
nxViteTsPaths(),
chunkSplitPlugin({
strategy: "unbundle",
}),
],
plugins: [react(), nxViteTsPaths()],

resolve: {
alias: {
Expand Down
3 changes: 2 additions & 1 deletion apps/client/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"settings": {
"tailwindcss": {
"callees": ["cn", "clsx", "cva"],
"config": "tailwind.config.js"
"config": "tailwind.config.js",
"whitelist": ["ph", "ph-"]
}
},
"plugins": ["lingui"],
Expand Down
51 changes: 28 additions & 23 deletions apps/client/src/locales/af-ZA/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgstr ""
"Language: af\n"
"Project-Id-Version: reactive-resume\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2024-05-05 12:54\n"
"PO-Revision-Date: 2024-05-20 14:58\n"
"Last-Translator: \n"
"Language-Team: Afrikaans\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
Expand All @@ -18,7 +18,7 @@ msgstr ""
"X-Crowdin-File: messages.po\n"
"X-Crowdin-File-ID: 494\n"

#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:169
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:171
msgid "You have enabled two-factor authentication successfully."
msgstr ""

Expand Down Expand Up @@ -98,7 +98,7 @@ msgstr ""
msgid "Account"
msgstr ""

#: apps/client/src/pages/builder/sidebars/left/sections/custom/section.tsx:133
#: apps/client/src/pages/builder/sidebars/left/sections/custom/section.tsx:159
msgid "Add a custom field"
msgstr ""

Expand Down Expand Up @@ -158,7 +158,7 @@ msgstr ""
msgid "Are you sure you want to delete your resume?"
msgstr ""

#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:123
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:125
msgid "Are you sure you want to disable two-factor authentication?"
msgstr ""

Expand Down Expand Up @@ -193,7 +193,7 @@ msgstr ""

#: apps/client/src/pages/auth/backup-otp/page.tsx:98
#: apps/client/src/pages/auth/forgot-password/page.tsx:100
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:241
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:243
msgid "Back"
msgstr ""

Expand Down Expand Up @@ -238,7 +238,7 @@ msgstr ""
#: apps/client/src/pages/builder/sidebars/left/sections/shared/section-dialog.tsx:131
#: apps/client/src/pages/dashboard/resumes/_dialogs/lock.tsx:49
#: apps/client/src/pages/dashboard/resumes/_dialogs/resume.tsx:155
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:135
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:137
msgid "Cancel"
msgstr ""

Expand Down Expand Up @@ -272,15 +272,15 @@ msgstr ""
msgid "Circle"
msgstr ""

#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:247
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:249
msgid "Close"
msgstr ""

#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:199
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:201
msgid "Code"
msgstr ""

#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:50
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:52
msgid "Code must be exactly 6 digits long."
msgstr ""

Expand All @@ -301,8 +301,8 @@ msgstr ""
msgid "Confirm New Password"
msgstr ""

#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:232
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:244
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:234
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:246
msgid "Continue"
msgstr ""

Expand Down Expand Up @@ -410,7 +410,7 @@ msgstr ""
msgid "Design single/multi page resumes"
msgstr ""

#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:137
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:139
msgid "Disable"
msgstr ""

Expand Down Expand Up @@ -506,7 +506,11 @@ msgstr ""
msgid "Enter one of the 10 backup codes you saved when you enabled two-factor authentication."
msgstr ""

#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:168
#: apps/client/src/pages/builder/sidebars/left/sections/custom/section.tsx:63
msgid "Enter Phosphor Icon"
msgstr ""

#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:170
msgid "Enter the 6-digit code from your authenticator app to verify that 2FA has been setup correctly."
msgstr ""

Expand Down Expand Up @@ -687,14 +691,15 @@ msgid "I always love to hear from the users of Reactive Resume with feedback or
msgstr ""

#: apps/client/src/pages/builder/sidebars/left/dialogs/profiles.tsx:94
#: apps/client/src/pages/builder/sidebars/left/sections/custom/section.tsx:53
msgid "Icon"
msgstr ""

#: apps/client/src/pages/home/sections/logo-cloud/index.tsx:47
msgid "If this app has helped you with your job hunt, let me know by reaching out through <0>this contact form</0>."
msgstr ""

#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:126
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:128
msgid "If you disable two-factor authentication, you will no longer be required to enter a verification code when logging in."
msgstr ""

Expand All @@ -716,7 +721,7 @@ msgstr ""
msgid "Improve Writing"
msgstr ""

#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:186
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:188
msgid "In case you are unable to scan this QR Code, you can also copy-paste this link into your authenticator app."
msgstr ""

Expand Down Expand Up @@ -921,7 +926,7 @@ msgstr ""
#: apps/client/src/pages/builder/sidebars/left/dialogs/publications.tsx:39
#: apps/client/src/pages/builder/sidebars/left/dialogs/references.tsx:39
#: apps/client/src/pages/builder/sidebars/left/dialogs/skills.tsx:49
#: apps/client/src/pages/builder/sidebars/left/sections/custom/section.tsx:46
#: apps/client/src/pages/builder/sidebars/left/sections/custom/section.tsx:72
#: apps/client/src/pages/dashboard/settings/_sections/account.tsx:152
msgid "Name"
msgstr ""
Expand All @@ -947,7 +952,7 @@ msgstr ""
msgid "No user tracking or advertising"
msgstr ""

#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:131
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:133
msgid "Note: This will make your account less secure."
msgstr ""

Expand Down Expand Up @@ -1051,7 +1056,7 @@ msgstr ""
msgid "Please select a file type"
msgstr ""

#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:226
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:228
msgid "Please store your backup codes in a secure location. You can use one of these one-time use codes to login in case you lose access to your authenticator app."
msgstr ""

Expand Down Expand Up @@ -1208,7 +1213,7 @@ msgstr ""
msgid "Save Changes"
msgstr ""

#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:166
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:168
msgid "Scan the QR code below with your authenticator app to setup 2FA on your account."
msgstr ""

Expand Down Expand Up @@ -1260,7 +1265,7 @@ msgstr ""
msgid "Settings"
msgstr ""

#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:157
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:159
msgid "Setup two-factor authentication on your account"
msgstr ""

Expand Down Expand Up @@ -1367,7 +1372,7 @@ msgstr ""
msgid "Store Locally"
msgstr ""

#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:160
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:162
msgid "Store your backup codes securely"
msgstr ""

Expand Down Expand Up @@ -1585,15 +1590,15 @@ msgstr ""
msgid "Validated"
msgstr ""

#: apps/client/src/pages/builder/sidebars/left/sections/custom/section.tsx:55
#: apps/client/src/pages/builder/sidebars/left/sections/custom/section.tsx:81
msgid "Value"
msgstr ""

#: apps/client/src/pages/dashboard/settings/_sections/account.tsx:191
msgid "Verified"
msgstr ""

#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:159
#: apps/client/src/pages/dashboard/settings/_dialogs/two-factor.tsx:161
msgid "Verify that two-factor authentication has been setup correctly"
msgstr ""

Expand Down
Loading

0 comments on commit 73b29f7

Please sign in to comment.