mirror of
https://github.com/rendercv/rendercv.git
synced 2025-12-23 21:47:55 -05:00
feat(locale): add Danish locale (#556)
* Fix smokeshow for PRs * feat(locale): add Danish locale Add Danish locale file with translations for month names, abbreviations, and other locale-specific strings. Danish language code 'da' is supported as a valid ISO 639-1 code through the LanguageAlpha2 type. The locale file can be used with the --locale-catalog option or included inline in CV YAML files. * fix: moved danish locale to correct location * Fix minor issues * Fix Indonesian --------- Co-authored-by: Sina Atalay <79940989+sinaatalay@users.noreply.github.com> Co-authored-by: Jakob Guldberg Aaes <jakob1379@gmali.com>
This commit is contained in:
committed by
GitHub
parent
83114b0b54
commit
3360db357a
112
schema.json
112
schema.json
@@ -327,6 +327,100 @@
|
||||
"title": "Cv",
|
||||
"type": "object"
|
||||
},
|
||||
"DanishLocale": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"language": {
|
||||
"const": "danish",
|
||||
"default": "danish",
|
||||
"description": "The language for your CV. The default value is `danish`.",
|
||||
"title": "Language",
|
||||
"type": "string"
|
||||
},
|
||||
"last_updated": {
|
||||
"default": "Senest opdateret",
|
||||
"description": "Translation of \"Last updated in\". The default value is `Senest opdateret`.",
|
||||
"title": "Last Updated",
|
||||
"type": "string"
|
||||
},
|
||||
"month": {
|
||||
"default": "måned",
|
||||
"description": "Translation of \"month\" (singular). The default value is `måned`.",
|
||||
"title": "Month",
|
||||
"type": "string"
|
||||
},
|
||||
"months": {
|
||||
"default": "måneder",
|
||||
"description": "Translation of \"months\" (plural). The default value is `måneder`.",
|
||||
"title": "Months",
|
||||
"type": "string"
|
||||
},
|
||||
"year": {
|
||||
"default": "år",
|
||||
"description": "Translation of \"year\" (singular). The default value is `år`.",
|
||||
"title": "Year",
|
||||
"type": "string"
|
||||
},
|
||||
"years": {
|
||||
"default": "år",
|
||||
"description": "Translation of \"years\" (plural). The default value is `år`.",
|
||||
"title": "Years",
|
||||
"type": "string"
|
||||
},
|
||||
"present": {
|
||||
"default": "nuværende",
|
||||
"description": "Translation of \"present\" for ongoing dates. The default value is `nuværende`.",
|
||||
"title": "Present",
|
||||
"type": "string"
|
||||
},
|
||||
"month_abbreviations": {
|
||||
"default": [
|
||||
"Jan",
|
||||
"Feb",
|
||||
"Mar",
|
||||
"Apr",
|
||||
"Maj",
|
||||
"Jun",
|
||||
"Jul",
|
||||
"Aug",
|
||||
"Sep",
|
||||
"Okt",
|
||||
"Nov",
|
||||
"Dec"
|
||||
],
|
||||
"description": "Month abbreviations (Jan-Dec).",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Month Abbreviations",
|
||||
"type": "array"
|
||||
},
|
||||
"month_names": {
|
||||
"default": [
|
||||
"Januar",
|
||||
"Februar",
|
||||
"Marts",
|
||||
"April",
|
||||
"Maj",
|
||||
"Juni",
|
||||
"Juli",
|
||||
"August",
|
||||
"September",
|
||||
"Oktober",
|
||||
"November",
|
||||
"December"
|
||||
],
|
||||
"description": "Full month names (January-December).",
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": "Month Names",
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"title": "DanishLocale",
|
||||
"type": "object"
|
||||
},
|
||||
"EngineeringclassicTheme": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
@@ -801,13 +895,13 @@
|
||||
"title": "HindiLocale",
|
||||
"type": "object"
|
||||
},
|
||||
"IndonesiaLocale": {
|
||||
"IndonesianLocale": {
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"language": {
|
||||
"const": "indonesia",
|
||||
"default": "indonesia",
|
||||
"description": "The language for your CV. The default value is `indonesia`.",
|
||||
"const": "indonesian",
|
||||
"default": "indonesian",
|
||||
"description": "The language for your CV. The default value is `indonesian`.",
|
||||
"title": "Language",
|
||||
"type": "string"
|
||||
},
|
||||
@@ -892,7 +986,7 @@
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"title": "IndonesiaLocale",
|
||||
"title": "IndonesianLocale",
|
||||
"type": "object"
|
||||
},
|
||||
"ItalianLocale": {
|
||||
@@ -1238,11 +1332,12 @@
|
||||
"Locale": {
|
||||
"discriminator": {
|
||||
"mapping": {
|
||||
"danish": "#/$defs/DanishLocale",
|
||||
"english": "#/$defs/EnglishLocale",
|
||||
"french": "#/$defs/FrenchLocale",
|
||||
"german": "#/$defs/GermanLocale",
|
||||
"hindi": "#/$defs/HindiLocale",
|
||||
"indonesia": "#/$defs/IndonesiaLocale",
|
||||
"indonesian": "#/$defs/IndonesianLocale",
|
||||
"italian": "#/$defs/ItalianLocale",
|
||||
"japanese": "#/$defs/JapaneseLocale",
|
||||
"korean": "#/$defs/KoreanLocale",
|
||||
@@ -1258,6 +1353,9 @@
|
||||
{
|
||||
"$ref": "#/$defs/EnglishLocale"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/DanishLocale"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/FrenchLocale"
|
||||
},
|
||||
@@ -1268,7 +1366,7 @@
|
||||
"$ref": "#/$defs/HindiLocale"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/IndonesiaLocale"
|
||||
"$ref": "#/$defs/IndonesianLocale"
|
||||
},
|
||||
{
|
||||
"$ref": "#/$defs/ItalianLocale"
|
||||
|
||||
Reference in New Issue
Block a user