Skip to content

Commit

Permalink
[zh-hans] Align ecto/changeset and add zh-hans contributors (elixirsc…
Browse files Browse the repository at this point in the history
  • Loading branch information
kenspirit authored and doomspork committed Feb 14, 2019
1 parent 4b6e727 commit bda9fa8
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions _data/contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -400,3 +400,23 @@
homepage: https://kate-travers.com/
contributions:
- blog

- github: zillou
name: Derrick Zhang
intro:
homepage:
twitter:
contributions:
- translator
languages:
- zh-hans

- github: kenspirit
name: Ken Chen
intro:
homepage:
twitter:
contributions:
- translator
languages:
- zh-hans
2 changes: 1 addition & 1 deletion zh-hans/lessons/ecto/changesets.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ end
iex> User.changeset(%User{}, %{"name" => "Bob"})
#Ecto.Changeset<
action: nil,
changes: %{first_name: "Bob"},
changes: %{name: "Bob"},
errors: [name: {"is not a superhero", []}],
data: #User<>,
valid?: false
Expand Down

0 comments on commit bda9fa8

Please sign in to comment.