Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable translation: French #1

Open
wants to merge 80 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
80 commits
Select commit Hold shift + click to select a range
081f9a0
fix : correct eslint error unsafe assignement of an any value
Randy-RM Mar 16, 2022
ee4f73d
refactor : refactor challenge layout (desktop and mobile)
Randy-RM Mar 16, 2022
d08786e
style: change the login button style
Randy-RM Mar 17, 2022
c539b97
feat : add heroku deployment
Randy-RM Mar 17, 2022
6a7a2e4
feat: translate add-a-submit-button-to-a-form
josephmadras Mar 17, 2022
05a36dd
feat: translate add-images-to-your-website challenge
josephmadras Mar 17, 2022
00334a0
fix : add exact version of node and npm
Randy-RM Mar 17, 2022
679d8c0
fix : add heroku deployment
Randy-RM Mar 17, 2022
4ce6b16
fix : remove heroku deployment Procfile
Randy-RM Mar 18, 2022
ec7cebf
feat: translate add-placeholder-text-to-a-text-field challenge
josephmadras Mar 19, 2022
209dac4
feat: translate to french check-radio-buttons-and-checkboxes-by-defau…
josephmadras Mar 19, 2022
a0c8bb9
feat: translate in french comment-ou-html challenge
josephmadras Mar 19, 2022
18128b0
feat: translate in french create-bulleted-unordered-list challenge
josephmadras Mar 19, 2022
2d5d6c0
feat: translate in french the create-form-element challenge
josephmadras Mar 20, 2022
d5b62b6
feat: translate in french create-a-set-of-checkboxes challenge
josephmadras Mar 21, 2022
3338efd
feat: translate in french the create-set-of-radio-buttons challenge
josephmadras Mar 21, 2022
97be00a
feat: translate create-a-text-field challenge
josephmadras Mar 21, 2022
0785f19
feat: translate the create-an-ordered-list challenge
josephmadras Mar 21, 2022
4d5da99
feat: translate declare-the-doctype-of-an-html-document challenge
josephmadras Mar 21, 2022
7d2b594
feat: translate in french the define-head-and-body challenge
josephmadras Mar 21, 2022
306d41f
feat: translate delete-html-elements challenge
josephmadras Mar 21, 2022
a09dcd9
feat: translate the challenge fill-in-the-blank-with-placeholder-text
josephmadras Mar 21, 2022
cbce147
feat: translate the challenge headline-with-the-h2-element
josephmadras Mar 21, 2022
caa848b
feat: translate the challenge inform-with-paragraph-element
josephmadras Mar 21, 2022
5c23e6c
feat: translate the challenge introduction-to-html5-elements
josephmadras Mar 21, 2022
b271f81
feat: translate the challenge link-to-external-pages-with-anchor-elem…
josephmadras Mar 21, 2022
67db1f8
feat: translate challenge link-to-external-sections-of-a-page-with-an…
josephmadras Mar 21, 2022
1823c23
feat: translate challenge make-dead-links-using-the-hash-symbol
josephmadras Mar 21, 2022
da7b897
feat: translate the challenge nest-an-anchor-element-within-a-paragraph
josephmadras Mar 21, 2022
e24351e
feat: translate the challenge nest-many-elements-within-a-single-div-…
josephmadras Mar 21, 2022
e6d91fa
feat: translate in french say-hello-to-html-elements
josephmadras Mar 22, 2022
844a2c9
feat: translate in french turn-an-image-into-link challenge
josephmadras Mar 22, 2022
812bcc8
feat: translate the uncomment-html challenge
josephmadras Mar 22, 2022
26956ee
feat: translate the challenge use-html5-to-require-a-field
josephmadras Mar 22, 2022
149a6aa
feat: change the challenge heading
josephmadras Mar 22, 2022
a645aae
feat: translate use-the-value-attribute-with-radio-buttons challenge
josephmadras Mar 22, 2022
90ae21e
style: refactor challenge list
Randy-RM Mar 22, 2022
d640025
refactor: remove npm-run-all from dev-dep and add it to prod-dep
Randy-RM Mar 22, 2022
68bddd7
feat: translate the challenge add-a-negative-margin-to-an-element
josephmadras Mar 23, 2022
53a6892
feat: translate add-borders-around-your-elements challenge
josephmadras Mar 23, 2022
3fd1d23
Merge branch 'feat/translate-responsive-design' into develop
josephmadras Mar 24, 2022
a924325
fix : add heroku deployment Procfile
Randy-RM Mar 22, 2022
0a9c4da
fix : add heroku deployment Procfile
Randy-RM Mar 22, 2022
aefd26b
feat: add a challenge tracker
Randy-RM Mar 23, 2022
ccab460
style: refactor block challenges style
Randy-RM Mar 25, 2022
8485451
style: refactor challenges code editor style
Randy-RM Mar 29, 2022
8ce719e
style: refactor last challenge visited section style
Randy-RM Apr 1, 2022
97ed0c7
feat : add global progress bar
Randy-RM Apr 5, 2022
c39d58e
style : redesign donation-modal and completion-modal style
Randy-RM Apr 5, 2022
9410664
refactor : remove project module from block
Randy-RM Apr 5, 2022
793cdc5
fix : fix the calculation bug on the progress bar
Randy-RM Apr 7, 2022
92c1029
refactor : add block-last-visited to super-block-intro
Randy-RM Apr 7, 2022
5b52a35
refactor: refactor user model
Randy-RM Apr 11, 2022
72104c0
style : change progress bar color in completion modal
Randy-RM Apr 11, 2022
cdeb57e
style : change global progress bar color in dashboard
Randy-RM Apr 11, 2022
ed9bf1a
style : change text color and button style in reset modal
Randy-RM Apr 11, 2022
8a19291
feat : add new field to user model and all the management functions o…
Randy-RM Apr 21, 2022
761039c
feat: add landing page and his components
Randy-RM Apr 26, 2022
1c19366
work in progress : style landing page and debuging auth
Randy-RM May 13, 2022
e44710d
fix : fix about setings input and flash error message background
Randy-RM May 19, 2022
f542e62
style : add border top to desktop layout code editor
Randy-RM May 19, 2022
48b2d3d
style : add responsive rules for tablet nav bar
Randy-RM May 19, 2022
cbf6fd3
style : add new favicon
Randy-RM May 19, 2022
057a6fa
empty commit
Randy-RM May 20, 2022
94f2881
fix : remove procfil heroku
Randy-RM May 20, 2022
aecd09e
empty commit
Randy-RM May 20, 2022
72c6ffd
fix : remove procfil heroku
Randy-RM May 20, 2022
67087e4
fix : remove procfil heroku
Randy-RM May 20, 2022
abcac15
fix : remove build script in package.json
Randy-RM May 20, 2022
f5d21da
fix : add build script in package.json
Randy-RM May 20, 2022
414c62c
fix : add procfil heroku
Randy-RM May 21, 2022
3a71a15
fix : add procfil utf-8 heroku
Randy-RM May 22, 2022
fe0eabb
fix : add title on pages and social medias on footer
Randy-RM May 30, 2022
ab1ea7a
renovate : add page title on show settings page
Randy-RM Jun 23, 2022
d81eb9c
fix : add node and npm version to package.json
Randy-RM Jul 22, 2022
9c16516
refactor : remove unused variable
Randy-RM Aug 25, 2022
96ffd0f
feat: translate meta-tags
Randy-RM Aug 25, 2022
df0d4eb
refactor : add new meta tags
Randy-RM Aug 25, 2022
f44bb3e
feat: make french as the default language for challenges
Bam92 Sep 13, 2022
f837dab
Merge branch 'develop' into feat/enable-translation
Bam92 Sep 15, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
web: npm run start
1 change: 1 addition & 0 deletions api-server/src/common/models/user.js
Original file line number Diff line number Diff line change
Expand Up @@ -977,6 +977,7 @@ export default function initializeUser(User) {
return user.progressTimestamps;
});
};

User.prototype.getCompletedChallenges$ = function getCompletedChallenges$() {
if (
Array.isArray(this.completedChallenges) &&
Expand Down
28 changes: 28 additions & 0 deletions api-server/src/common/models/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,34 @@
"type": "string",
"default": ""
},
"gender": {
"type": "string",
"default": ""
},
"codeTime": {
"type": "string",
"default": ""
},
"fieldOfStudy": {
"type": "string",
"default": ""
},
"levelOfStudy": {
"type": "string",
"default": ""
},
"employedWhere": {
"type": "string",
"default": ""
},
"sinceWhen": {
"type": "string",
"default": ""
},
"position": {
"type": "string",
"default": ""
},
"location": {
"type": "string",
"default": ""
Expand Down
Loading