Skip to content

feat(person): add job titles for fr#2531

Merged
ST-DDT merged 4 commits intofaker-js:nextfrom
matthewmayer:fr_jobs
Nov 17, 2023
Merged

feat(person): add job titles for fr#2531
ST-DDT merged 4 commits intofaker-js:nextfrom
matthewmayer:fr_jobs

Conversation

@matthewmayer
Copy link
Copy Markdown
Contributor

This uses the new job_title_pattern to add job titles with a logical order for French e.g.

Coordinateur en chef de la tactique
Executif central des facteurs
Stagiaire corporate des marchés

Due to the need to translate “of” in French to de, de la, des, du, etc depending on the number and gender of the noun, this is incorporated into the level definitions.

The fr_BE and fe_CH definitions are deleted so the standard fr ones can fall through.

This uses the new job_title_pattern to add job titles with a logical order for French e.g.

```
Coordinateur en chef de la tactique
Executif central des facteurs
Stagiaire corporate des marchés
```

Due to the need to translate “of” in French to de, de la, des, du, etc depending on the number and gender of the noun, this is incorporated into the level definitions.

The fr_BE and fe_CH definitions are deleted so the standard fr ones can fall through.
@matthewmayer matthewmayer requested a review from a team as a code owner November 8, 2023 00:23
@matthewmayer matthewmayer self-assigned this Nov 8, 2023
@matthewmayer matthewmayer added m: person Something is referring to the person module p: 1-normal Nothing urgent labels Nov 8, 2023
@matthewmayer
Copy link
Copy Markdown
Contributor Author

@makhtar-sarr if you're available to help review this (i'm not a native French speaker) that would be appreciated!

@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 8, 2023

Codecov Report

Merging #2531 (a1f94e2) into next (d53c7ac) will increase coverage by 0.00%.
Report is 1 commits behind head on next.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##             next    #2531   +/-   ##
=======================================
  Coverage   99.57%   99.57%           
=======================================
  Files        2806     2805    -1     
  Lines      250060   250069    +9     
  Branches     1100     1098    -2     
=======================================
+ Hits       248993   249002    +9     
  Misses       1039     1039           
  Partials       28       28           
Files Coverage Δ
src/locales/fr/person/index.ts 100.00% <100.00%> (ø)
src/locales/fr/person/job_title_pattern.ts 100.00% <100.00%> (ø)
src/locales/fr/person/title.ts 100.00% <100.00%> (ø)
src/locales/fr_BE/person/index.ts 100.00% <ø> (ø)
src/locales/fr_CH/person/index.ts 100.00% <ø> (ø)

... and 1 file with indirect coverage changes

@matthewmayer matthewmayer added this to the v8.x milestone Nov 8, 2023
Comment thread src/locales/fr/person/title.ts Outdated
Comment thread src/locales/fr/person/title.ts
Comment thread src/locales/fr/person/title.ts
@ST-DDT ST-DDT requested review from a team November 10, 2023 16:37
@ST-DDT ST-DDT modified the milestones: v8.x, vAnytime Nov 14, 2023
@ST-DDT
Copy link
Copy Markdown
Member

ST-DDT commented Nov 15, 2023

@matthewmayer Is this ready for merge?

@matthewmayer
Copy link
Copy Markdown
Contributor Author

Yes

@ST-DDT ST-DDT enabled auto-merge (squash) November 17, 2023 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

m: person Something is referring to the person module p: 1-normal Nothing urgent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants