padrino-helpers 0.9.18 → 0.9.19

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,92 @@
1
+ "no":
2
+ number:
3
+ format:
4
+ separator: ","
5
+ delimiter: "."
6
+ precision: 3
7
+ currency:
8
+ format:
9
+ format: "%u %n"
10
+ unit: "NOK"
11
+ separator: ","
12
+ delimiter: "."
13
+ precision: 2
14
+ precision:
15
+ format:
16
+ # separator:
17
+ delimiter: ""
18
+ # precision:
19
+ human:
20
+ format:
21
+ # separator:
22
+ delimiter: ""
23
+ precision: 1
24
+ storage_units:
25
+ # Storage units output formatting.
26
+ # %u is the storage unit, %n is the number (default: 2 MB)
27
+ format: "%n %u"
28
+ units:
29
+ byte:
30
+ one: "Byte"
31
+ other: "Bytes"
32
+ kb: "KB"
33
+ mb: "MB"
34
+ gb: "GB"
35
+ tb: "TB"
36
+ percentage:
37
+ format:
38
+ # separator:
39
+ delimiter: ""
40
+ # precision:
41
+
42
+ datetime:
43
+ distance_in_words:
44
+ half_a_minute: "et halvt minutt"
45
+ less_than_x_seconds:
46
+ one: "mindre enn et sekund"
47
+ other: "mindre enn %{count} sekunder"
48
+ x_seconds:
49
+ one: "ett sekund"
50
+ other: "%{count} sekunder"
51
+ less_than_x_minutes:
52
+ one: "mindre enn et minutt"
53
+ other: "mindre enn %{count} minutter"
54
+ x_minutes:
55
+ one: "ett minutt"
56
+ other: "%{count} minutter"
57
+ about_x_hours:
58
+ one: "cirka en time"
59
+ other: "cirka %{count} timer"
60
+ x_days:
61
+ one: "en dag"
62
+ other: "%{count} dager"
63
+ about_x_months:
64
+ one: "cirka en måned"
65
+ other: "cirka %{count} måneder"
66
+ x_months:
67
+ one: "en måned"
68
+ other: "%{count} måneder"
69
+ about_x_years:
70
+ one: "cirka et år"
71
+ other: "cirka %{count} år"
72
+ over_x_years:
73
+ one: "mer enn ett år"
74
+ other: "mer enn %{count} år"
75
+ almost_x_years:
76
+ one: "nesten et år"
77
+ other: "nesten %{count} år"
78
+ prompts:
79
+ second: "Sekund"
80
+ minute: "Minutt"
81
+ hour: "Time"
82
+ day: "Dag"
83
+ month: "Måned"
84
+ year: "År"
85
+ models:
86
+ errors:
87
+ template:
88
+ header:
89
+ one: "En feil forhindrer %{model} å bli lagret"
90
+ other: "%{count} feil forhindrer denne %{model} i å bli lagret"
91
+ body: "Det er problemer med følgende felter:"
92
+
@@ -22,13 +22,13 @@ class TestFormHelpers < Test::Unit::TestCase
22
22
 
23
23
  should "display correct form with remote" do
24
24
  actual_html = form_tag('/update', :"accept-charset" => "utf-8", :class => 'put-form', :remote => true) { "Demo" }
25
- assert_has_tag(:form, :class => "put-form", :"accept-charset" => "utf-8", "data-remote" => 'true') { actual_html }
25
+ assert_has_tag(:form, :class => "put-form", :"accept-charset" => "utf-8", :"data-remote" => 'true') { actual_html }
26
26
  assert_has_no_tag(:form, "data-method" => 'post') { actual_html }
27
27
  end
28
28
 
29
29
  should "display correct form with remote and method is put" do
30
30
  actual_html = form_tag('/update', :"accept-charset" => "utf-8", :method => 'put', :remote => true) { "Demo" }
31
- assert_has_tag(:form, "data-remote" => 'true', :"accept-charset" => "utf-8", "data-method" => 'put') { actual_html }
31
+ assert_has_tag(:form, "data-remote" => 'true', :"accept-charset" => "utf-8", :"data-method" => 'put') { actual_html }
32
32
  assert_has_tag('form input', :type => 'hidden', :name => "_method", :value => 'put') { actual_html }
33
33
  end
34
34
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: padrino-helpers
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 9
9
- - 18
10
- version: 0.9.18
9
+ - 19
10
+ version: 0.9.19
11
11
  platform: ruby
12
12
  authors:
13
13
  - Padrino Team
@@ -18,7 +18,7 @@ autorequire:
18
18
  bindir: bin
19
19
  cert_chain: []
20
20
 
21
- date: 2010-10-05 00:00:00 -07:00
21
+ date: 2010-11-17 00:00:00 +01:00
22
22
  default_executable:
23
23
  dependencies:
24
24
  - !ruby/object:Gem::Dependency
@@ -29,12 +29,12 @@ dependencies:
29
29
  requirements:
30
30
  - - "="
31
31
  - !ruby/object:Gem::Version
32
- hash: 31
32
+ hash: 29
33
33
  segments:
34
34
  - 0
35
35
  - 9
36
- - 18
37
- version: 0.9.18
36
+ - 19
37
+ version: 0.9.19
38
38
  type: :runtime
39
39
  version_requirements: *id001
40
40
  - !ruby/object:Gem::Dependency
@@ -82,6 +82,7 @@ files:
82
82
  - lib/padrino-helpers/locale/fr.yml
83
83
  - lib/padrino-helpers/locale/it.yml
84
84
  - lib/padrino-helpers/locale/nl.yml
85
+ - lib/padrino-helpers/locale/no.yml
85
86
  - lib/padrino-helpers/locale/pl.yml
86
87
  - lib/padrino-helpers/locale/pt_br.yml
87
88
  - lib/padrino-helpers/locale/ru.yml