contact_us 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +2 -1
- data/config/locales/contact_us.zh.yml +17 -0
- data/lib/contact_us/version.rb +1 -1
- data/spec/dummy/config/locales/contact_us.de.yml +1 -0
- data/spec/dummy/config/locales/contact_us.es.yml +1 -0
- data/spec/dummy/config/locales/contact_us.it.yml +1 -0
- data/spec/dummy/config/locales/contact_us.pt-BR.yml +1 -0
- data/spec/dummy/log/test.log +2826 -0
- data/spec/integration/contact_us_lint_spec.rb +2 -1
- data/spec/lib/install_spec.rb +1 -2
- metadata +60 -67
- data/spec/dummy/config/locales/en.yml +0 -5
data/README.md
CHANGED
@@ -22,7 +22,7 @@ If you don't want to have Formtastic as a dependency there is a fork of this pro
|
|
22
22
|
|
23
23
|
In your `Gemfile`, add the following dependencies:
|
24
24
|
|
25
|
-
gem 'contact_us', '~> 0.1.
|
25
|
+
gem 'contact_us', '~> 0.1.5'
|
26
26
|
|
27
27
|
From `Rails.root` run:
|
28
28
|
|
@@ -77,5 +77,6 @@ Here are some ways *you* can contribute:
|
|
77
77
|
## TODO
|
78
78
|
|
79
79
|
* Add new language translations
|
80
|
+
* Make requested configurations in branches, and document how to reference within your Gemfile rather than the version. Configurations todo: with name, with subject, with name & subject
|
80
81
|
|
81
82
|
Copyright (c) 2011 Jeff Dutil, released under the [MIT license](https://github.com/jdutil/contact_us/tree/master/MIT-LICENSE).
|
@@ -0,0 +1,17 @@
|
|
1
|
+
# Sample localization file for English. Add more files in this directory for other locales.
|
2
|
+
# See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
|
3
|
+
|
4
|
+
zh:
|
5
|
+
contact_us:
|
6
|
+
contact_mailer:
|
7
|
+
contact_email:
|
8
|
+
sent_by_contact_form: "由contact form发送。"
|
9
|
+
contacts:
|
10
|
+
new:
|
11
|
+
contact_us: "联系我们"
|
12
|
+
email: "邮箱"
|
13
|
+
message: "消息"
|
14
|
+
submit: "发送"
|
15
|
+
notices:
|
16
|
+
error: "请正确输入邮箱与信息。"
|
17
|
+
success: "邮件已成功发送。"
|
data/lib/contact_us/version.rb
CHANGED