feat(locale): add Dutch (NL) locale (#585)

* feat(locale): add Dutch (NL) locale

* Fix locale Dutch requested by maintainer
This commit is contained in:
Mattia
2025-12-25 12:33:00 +01:00
committed by GitHub
parent 2276102233
commit c9cefc167a
3 changed files with 135 additions and 1 deletions

View File

@@ -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#"
}

View File

@@ -96,6 +96,7 @@ class EnglishLocale(BaseModelWithoutExtraKeys):
"""
return {
"danish": "da",
"dutch": "nl",
"english": "en",
"french": "fr",
"german": "de",

View 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