<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>xibbar</author_name>
  <author_url>https://blog.hatena.ne.jp/xibbar/</author_url>
  <blog_title>福島餃子Ruby親方</blog_title>
  <blog_url>https://xibbar.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Rails</anon>
  </categories>
  <description>gettext化するとvalidateのメッセージも日本語化されます。 大体はそのまま使えたりしますが、訳が微妙に変なのもあります。 validates_confirmation_ofは Password doesn't match confirmation なのですが、これが パスワードは確認されませんでした になってしまいます。 ちょっと訳が変だと思うので調べたところ、 po/ja/xxx.po に ## validates message msgid &quot;%{fn} doesn't match confirmation&quot; msgstr &quot;%{fn}が一致しません。&quot; を追加すると、見事に …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxibbar.hatenablog.com%2Fentry%2F20070928%2F1190966932&quot; title=&quot;validates_confirmation_ofのメッセージを変更する - 福島餃子Ruby親方&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2007-09-28 17:08:52</published>
  <title>validates_confirmation_ofのメッセージを変更する</title>
  <type>rich</type>
  <url>https://xibbar.hatenablog.com/entry/20070928/1190966932</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
