Skip to content

Commit

Permalink
feat(locale): integrate Romanian translation. v8.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rluiten committed Sep 2, 2016
1 parent 0784986 commit 64d29d0
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
3 changes: 2 additions & 1 deletion elm-package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "8.0.0",
"version": "8.1.0",
"summary": "Date Extra library add/subtract/diff/format etc dates.",
"repository": "https://github.com/rluiten/elm-date-extra.git",
"license": "BSD3",
Expand Down Expand Up @@ -27,6 +27,7 @@
"Date.Extra.Config.Config_fi_fi",
"Date.Extra.Config.Config_fr_fr",
"Date.Extra.Config.Config_pl_pl",
"Date.Extra.Config.Config_ro_ro",
"Date.Extra.Field"
],
"dependencies": {
Expand Down
2 changes: 2 additions & 0 deletions src/Date/Extra/Config/Configs.elm
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import Date.Extra.Config.Config_en_gb as Config_en_gb
import Date.Extra.Config.Config_fr_fr as Config_fr_fr
import Date.Extra.Config.Config_pl_pl as Config_pl_pl
import Date.Extra.Config.Config_fi_fi as Config_fi_fi
import Date.Extra.Config.Config_ro_ro as Config_ro_ro


{-| Built in configurations. -}
Expand All @@ -34,6 +35,7 @@ configs =
, ("fr_fr", Config_fr_fr.config)
, ("pl_pl", Config_pl_pl.config)
, ("fi_fi", Config_fi_fi.config)
, ("ro_ro", Config_ro_ro.config)
]


Expand Down
12 changes: 12 additions & 0 deletions tests/Date/Extra/ConfigTests.elm
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@ import Date.Extra.Config.Config_en_au as Config_en_au
import Date.Extra.Config.Config_en_us as Config_en_us
import Date.Extra.Config.Config_fr_fr as Config_en_gb
import Date.Extra.Config.Config_fr_fr as Config_fr_fr
import Date.Extra.Config.Config_pl_pl as Config_pl_pl
import Date.Extra.Config.Config_ro_ro as Config_ro_ro
import Date.Extra.Config.Configs as Configs


config_en_au = Config_en_au.config
config_en_us = Config_en_us.config
config_en_gb = Config_en_gb.config
config_fr_fr = Config_fr_fr.config
config_pl_pl = Config_pl_pl.config
config_ro_ro = Config_ro_ro.config


tests : Test
Expand Down Expand Up @@ -43,4 +47,12 @@ tests =
assertEqual
config_fr_fr.format
(Configs.getConfig "fr_fr").format
, test "getConfig ro_ro" <|
assertEqual
config_pl_pl.format
(Configs.getConfig "pl_pl").format
, test "getConfig pl_pl" <|
assertEqual
config_ro_ro.format
(Configs.getConfig "ro_ro").format
]

0 comments on commit 64d29d0

Please sign in to comment.