Skip to content

Commit

Permalink
Add Hebrew and Hungarian (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheFes authored Dec 9, 2024
1 parent fb16249 commit eaf0b99
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ Current supported languages:
|Finish|`fi`|[samhaa](https://github.com/samhaa)|
|French|`fr`|[Pulpyyyy](https://github.com/Pulpyyyy)|
|German|`de`|[fastlane086](https://github.com/fastlane086)|
|Hebrew|`he`|[Ofir Manor](https://github.com/ofirmanor)|
|Hungarian|`hu`|[terba](https://github.com/terba)|
|Italian|`it`|[SiriosDev](https://github.com/SiriosDev)|
|Norwegian (bokmål)|`nb`|[bendikrb](https://github.com/bendikrb)|
|Norwegian (nynorsk)|`nn`|[bendikrb](https://github.com/bendikrb)|
Expand Down
34 changes: 33 additions & 1 deletion relative_time_plus.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,39 @@
'combine': 'y',
'error': 'Fecha inválida',
}
},
},
{
'language': 'he',
'plural_form': 'english',
'phrases': {
'year': ['שנה', 'שנה', 'שנים'],
'month': ['חודש', 'חודש', 'חודשים'],
'week': ['שבוע', 'שבוע', 'שבועות'],
'day': ['יום', 'יום', 'ימים'],
'hour': ['שעה', 'שעה', 'שעות'],
'minute': ['דקה', 'דקה', 'דקות'],
'second': ['שניה', 'שניה', 'שניות'],
'millisecond': ['מילי', 'מילישניה', 'מילישניות'],
'combine': 'ו',
'error': 'תאריך לא חוקי',
}
},
{
'language': 'hu',
'plural_form': 'english',
'phrases': {
'year': ['é', 'év', 'év'],
'month': ['hó', 'hónap', 'hónap'],
'week': ['hét', 'hét', 'hét'],
'day': ['n', 'nap', 'nap'],
'hour': ['ó', 'óra', 'óra'],
'minute': ['p', 'perc', 'perc'],
'second': ['mp', 'másodperc', 'másodperc'],
'millisecond': ['ms', 'ezredmásodperc', 'ezredmásodperc'],
'combine': 'és',
'error': 'Érvénytelen dátum',
}
},
] -%}

{# macro to convert the abbreviated input for the not_use and always_show lists to the full time part names #}
Expand Down

0 comments on commit eaf0b99

Please sign in to comment.