mirror of
https://github.com/rendercv/rendercv.git
synced 2026-02-05 11:01:40 -05:00
feat(locale): add Dutch (NL) locale (#585)
* feat(locale): add Dutch (NL) locale * Fix locale Dutch requested by maintainer
This commit is contained in:
100
schema.json
100
schema.json
@@ -421,6 +421,100 @@
|
||||
"title": "DanishLocale",
|
||||
"type": "object"
|
||||
},
|
||||
"DutchLocale": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"language": {
|
||||
"const": "dutch",
|
||||
"default": "dutch",
|
||||
"description": "The language for your CV. The default value is `dutch`.",
|
||||
"title": "Language",
|
||||
"type": "string"
|
||||
},
|
||||
"last_updated": {
|
||||
"default": "Laatst bijgewerkt",
|
||||
"description": "Translation of \"Last updated in\". The default value is `Laatst bijgewerkt`.",
|
||||
"title": "Last Updated",
|
||||
"type": "string"
|
||||
},
|
||||
"month": {
|
||||
"default": "maand",
|
||||
"description": "Translation of \"month\" (singular). The default value is `maand`.",
|
||||
"title": "Month",
|
||||
"type": "string"
|
||||
},
|
||||
"months": {
|
||||
"default": "maanden",
|
||||
"description": "Translation of \"months\" (plural). The default value is `maanden`.",
|
||||
"title": "Months",
|
||||
"type": "string"
|
||||
},
|
||||
"year": {
|
||||
"default": "jaar",
|
||||
"description": "Translation of \"year\" (singular). The default value is `jaar`.",
|
||||
"title": "Year",
|
||||
"type": "string"
|
||||
},
|
||||
"years": {
|
||||
"default": "jaren",
|
||||
"description": "Translation of \"years\" (plural). The default value is `jaren`.",
|
||||
"title": "Years",
|
||||
"type": "string"
|
||||
},
|
||||
"present": {
|
||||
"default": "heden",
|
||||
"description": "Translation of \"present\" for ongoing dates. The default value is `heden`.",
|
||||
"title": "Present",
|
||||
"type": "string"
|
||||
},
|
||||
"month_abbreviations": {
|
||||
"default": [
|
||||
"Jan",
|
||||
"Feb",
|
||||
"Mrt",
|
||||
"Apr",
|
||||
"Mei",
|
||||
"Jun",
|
||||
"Jul",
|
||||
"Aug",
|
||||
"Sep",
|
||||
"Okt",
|
||||
"Nov",
|
||||
"Dec"
|
||||
],
|
||||
"description": "Month abbreviations (Jan-Dec).",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Month Abbreviations",
|
||||
"type": "array"
|
||||
},
|
||||
"month_names": {
|
||||
"default": [
|
||||
"Januari",
|
||||
"Februari",
|
||||
"Maart",
|
||||
"April",
|
||||
"Mei",
|
||||
"Juni",
|
||||
"Juli",
|
||||
"Augustus",
|
||||
"September",
|
||||
"Oktober",
|
||||
"November",
|
||||
"December"
|
||||
],
|
||||
"description": "Full month names (January-December).",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Month Names",
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"title": "DutchLocale",
|
||||
"type": "object"
|
||||
},
|
||||
"EngineeringclassicTheme": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
@@ -1333,6 +1427,7 @@
|
||||
"discriminator": {
|
||||
"mapping": {
|
||||
"danish": "#/$defs/DanishLocale",
|
||||
"dutch": "#/$defs/DutchLocale",
|
||||
"english": "#/$defs/EnglishLocale",
|
||||
"french": "#/$defs/FrenchLocale",
|
||||
"german": "#/$defs/GermanLocale",
|
||||
@@ -1356,6 +1451,9 @@
|
||||
{
|
||||
"$ref": "#/$defs/DanishLocale"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/DutchLocale"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/FrenchLocale"
|
||||
},
|
||||
@@ -5672,7 +5770,7 @@
|
||||
"required": [],
|
||||
"title": "RenderCV",
|
||||
"type": "object",
|
||||
"description": "Write your CV or resume as YAML and get PDF. Built for academics and engineers.",
|
||||
"description": "Typst-based CV/resume generator for academics and engineers.",
|
||||
"$id": "https://raw.githubusercontent.com/rendercv/rendercv/main/schema.json",
|
||||
"$schema": "http://json-schema.org/draft-07/schema#"
|
||||
}
|
||||
@@ -96,6 +96,7 @@ class EnglishLocale(BaseModelWithoutExtraKeys):
|
||||
"""
|
||||
return {
|
||||
"danish": "da",
|
||||
"dutch": "nl",
|
||||
"english": "en",
|
||||
"french": "fr",
|
||||
"german": "de",
|
||||
|
||||
35
src/rendercv/schema/models/locale/other_locales/dutch.yaml
Normal file
35
src/rendercv/schema/models/locale/other_locales/dutch.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
# yaml-language-server: $schema=../../../../../../schema.json
|
||||
locale:
|
||||
language: dutch
|
||||
last_updated: "Laatst bijgewerkt"
|
||||
month: "maand"
|
||||
months: "maanden"
|
||||
year: "jaar"
|
||||
years: "jaren"
|
||||
present: "heden"
|
||||
month_abbreviations:
|
||||
- Jan
|
||||
- Feb
|
||||
- Mrt
|
||||
- Apr
|
||||
- Mei
|
||||
- Jun
|
||||
- Jul
|
||||
- Aug
|
||||
- Sep
|
||||
- Okt
|
||||
- Nov
|
||||
- Dec
|
||||
month_names:
|
||||
- Januari
|
||||
- Februari
|
||||
- Maart
|
||||
- April
|
||||
- Mei
|
||||
- Juni
|
||||
- Juli
|
||||
- Augustus
|
||||
- September
|
||||
- Oktober
|
||||
- November
|
||||
- December
|
||||
Reference in New Issue
Block a user