ember-validations-rails-ja 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +15 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +31 -0
- data/Rakefile +2 -0
- data/assets/javascripts/ember-i18n-plurals.js +240 -0
- data/assets/javascripts/ember-i18n.js +159 -0
- data/assets/javascripts/ember-validations-latest.js +779 -0
- data/assets/javascripts/ember-validations-rails-ja.js.coffee +4 -0
- data/assets/javascripts/ember-validations-rails-ja/i18n/errors-ja.js.coffee +44 -0
- data/ember-validations-rails-ja.gemspec +23 -0
- data/lib/ember-validations-rails-ja.rb +5 -0
- data/lib/ember-validations-rails-ja/engine.rb +9 -0
- data/lib/ember-validations-rails-ja/version.rb +3 -0
- metadata +86 -0
@@ -0,0 +1,44 @@
|
|
1
|
+
Ember.I18n.translations or= {}
|
2
|
+
Ember.I18n.translations.errors =
|
3
|
+
# inclusion: "is not included in the list",
|
4
|
+
inclusion: "リストに含まれていません"
|
5
|
+
# exclusion: "is reserved",
|
6
|
+
exclusion: "この値は使えません"
|
7
|
+
# invalid: "is invalid",
|
8
|
+
invalid: "不正な値です"
|
9
|
+
# confirmation: "doesn't match {{attribute}}",
|
10
|
+
confirmation: "一致していません"
|
11
|
+
# accepted: "must be accepted",
|
12
|
+
accepted: "同意が必要です"
|
13
|
+
# empty: "can't be empty",
|
14
|
+
empty: "空欄は許可されていません"
|
15
|
+
# blank: "can't be blank",
|
16
|
+
blank: "必須項目です"
|
17
|
+
# present: "must be blank",
|
18
|
+
present: "空欄でなければいけません"
|
19
|
+
# tooLong: "is too long (maximum is {{count}} characters)",
|
20
|
+
tooLong: "長過ぎます(最大{{count}}文字)"
|
21
|
+
# tooShort: "is too short (minimum is {{count}} characters)",
|
22
|
+
tooShort: "短すぎます(最小{{count}}文字)"
|
23
|
+
# wrongLength: "is the wrong length (should be {{count}} characters)",
|
24
|
+
wrongLength: "文字数は許可されていません({{count}}文字でなければいけません)"
|
25
|
+
# notANumber: "is not a number",
|
26
|
+
notANumber: "数値ではありません"
|
27
|
+
# notAnInteger: "must be an integer",
|
28
|
+
notAnInteger: "数値でなければいけません"
|
29
|
+
# greaterThan: "must be greater than {{count}}",
|
30
|
+
greaterThan: "{{count}}を超えていなければいけません"
|
31
|
+
# greaterThanOrEqualTo: "must be greater than or equal to {{count}}",
|
32
|
+
greaterThanOrEqualTo: "{{count}}以上でなければいけません"
|
33
|
+
# equalTo: "must be equal to {{count}}",
|
34
|
+
equalTo: "{{count}}と同じでなければいけません"
|
35
|
+
# lessThan: "must be less than {{count}}",
|
36
|
+
lessThan: "{{count}}未満でなければいけません"
|
37
|
+
# lessThanOrEqualTo: "must be less than or equal to {{count}}",
|
38
|
+
lessThanOrEqualTo: "{{count}}以下でなければいけません"
|
39
|
+
# otherThan: "must be other than {{count}}",
|
40
|
+
otherThan: "{{count}}以外でなければいけません"
|
41
|
+
# odd: "must be odd",
|
42
|
+
odd: "奇数でなければいけません"
|
43
|
+
# even: "must be even"
|
44
|
+
even: "偶数でなければいけません"
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'ember-validations-rails-ja/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "ember-validations-rails-ja"
|
8
|
+
spec.version = EmberValidationsRailsJa::VERSION
|
9
|
+
spec.authors = ["kozo yamagata"]
|
10
|
+
spec.email = ["tune002@gmail.com"]
|
11
|
+
spec.summary = %q{Ember.js validation (ja i18n)}
|
12
|
+
spec.description = %q{Ember.js validation add on (hai18n)}
|
13
|
+
spec.homepage = "https://github.com/halenohi/ember-validations-rails-ja"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
22
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
23
|
+
end
|
metadata
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: ember-validations-rails-ja
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- kozo yamagata
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2015-01-12 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bundler
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.7'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.7'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '10.0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '10.0'
|
41
|
+
description: Ember.js validation add on (hai18n)
|
42
|
+
email:
|
43
|
+
- tune002@gmail.com
|
44
|
+
executables: []
|
45
|
+
extensions: []
|
46
|
+
extra_rdoc_files: []
|
47
|
+
files:
|
48
|
+
- ".gitignore"
|
49
|
+
- Gemfile
|
50
|
+
- LICENSE.txt
|
51
|
+
- README.md
|
52
|
+
- Rakefile
|
53
|
+
- assets/javascripts/ember-i18n-plurals.js
|
54
|
+
- assets/javascripts/ember-i18n.js
|
55
|
+
- assets/javascripts/ember-validations-latest.js
|
56
|
+
- assets/javascripts/ember-validations-rails-ja.js.coffee
|
57
|
+
- assets/javascripts/ember-validations-rails-ja/i18n/errors-ja.js.coffee
|
58
|
+
- ember-validations-rails-ja.gemspec
|
59
|
+
- lib/ember-validations-rails-ja.rb
|
60
|
+
- lib/ember-validations-rails-ja/engine.rb
|
61
|
+
- lib/ember-validations-rails-ja/version.rb
|
62
|
+
homepage: https://github.com/halenohi/ember-validations-rails-ja
|
63
|
+
licenses:
|
64
|
+
- MIT
|
65
|
+
metadata: {}
|
66
|
+
post_install_message:
|
67
|
+
rdoc_options: []
|
68
|
+
require_paths:
|
69
|
+
- lib
|
70
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - ">="
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: '0'
|
80
|
+
requirements: []
|
81
|
+
rubyforge_project:
|
82
|
+
rubygems_version: 2.2.2
|
83
|
+
signing_key:
|
84
|
+
specification_version: 4
|
85
|
+
summary: Ember.js validation (ja i18n)
|
86
|
+
test_files: []
|