Skip to content

Commit

Permalink
Added weekdays and months in French.
Browse files Browse the repository at this point in the history
  • Loading branch information
Theo Junge committed Jan 28, 2021
1 parent 589266a commit 06b4185
Show file tree
Hide file tree
Showing 5 changed files with 113 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/locales/de/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ de.internet = require("./internet");
de.lorem = require("./lorem");
de.name = require("./name");
de.phone_number = require("./phone_number");
de.cell_phone = require("./cell_phone");
de.cell_phone = require("./cell_phone");
de.date = require("./date");
4 changes: 4 additions & 0 deletions lib/locales/fr/date/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
var date = {};
module["exports"] = date;
date.month = require("./month");
date.weekday = require("./weekday");
63 changes: 63 additions & 0 deletions lib/locales/fr/date/month.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
// Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1799
module['exports'] = {
wide: [
'janvier',
'février',
'mars',
'avril',
'mai',
'juin',
'juillet',
'août',
'septembre',
'octobre',
'novembre',
'décembre',
],
// Property "wide_context" is optional, if not set then "wide" will be used instead
// It is used to specify a word in context, which may differ from a stand-alone word
wide_context: [
'janvier',
'février',
'mars',
'avril',
'mai',
'juin',
'juillet',
'août',
'septembre',
'octobre',
'novembre',
'décembre',
],
abbr: [
'janv.',
'févr.',
'mars',
'avril',
'mai',
'juin',
'juil.',
'août',
'sept.',
'oct.',
'nov.',
'déc.',
],
// Property "abbr_context" is optional, if not set then "abbr" will be used instead
// It is used to specify a word in context, which may differ from a stand-alone word
abbr_context: [
'janv.',
'févr.',
'mars',
'avril',
'mai',
'juin',
'juil.',
'août',
'sept.',
'oct.',
'nov.',
'déc.',
],
};
43 changes: 43 additions & 0 deletions lib/locales/fr/date/weekday.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
// Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1847
module["exports"] = {
wide: [
"Dimanche",
"Lundi",
"Mardi",
"Mercredi",
"Jeudi",
"Vendredi",
"Samedi"
],
// Property "wide_context" is optional, if not set then "wide" will be used instead
// It is used to specify a word in context, which may differ from a stand-alone word
wide_context: [
"Dimanche",
"Lundi",
"Mardi",
"Mercredi",
"Jeudi",
"Vendredi",
"Samedi"
],
abbr: [
"Dim",
"Lun",
"Mar",
"Mer",
"Jeu",
"Ven",
"Sam"
],
// Property "abbr_context" is optional, if not set then "abbr" will be used instead
// It is used to specify a word in context, which may differ from a stand-alone word
abbr_context: [
"Dim",
"Lun",
"Mar",
"Mer",
"Jeu",
"Ven",
"Sam"
]
};
1 change: 1 addition & 0 deletions lib/locales/fr/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ fr.internet = require("./internet");
fr.lorem = require("./lorem");
fr.name = require("./name");
fr.phone_number = require("./phone_number");
fr.date = require("./date");

0 comments on commit 06b4185

Please sign in to comment.