ecm_cms_core 0.0.6 → 0.0.7

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,8 @@
1
+ en:
2
+ formtastic:
3
+ hints:
4
+ ecm/cms_core/template:
5
+ basename: "Please choose a unique name for your page."
6
+ titles:
7
+ ecm/cms_core/template:
8
+ advanced: "Advanced settings"
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module CmsCore
3
- VERSION = "0.0.6"
3
+ VERSION = "0.0.7"
4
4
  end
5
5
  end
@@ -2,13 +2,20 @@ module Ecm
2
2
  module CmsCore
3
3
  module Generators
4
4
  class LocalesGenerator < ::Rails::Generators::Base
5
- source_root File.expand_path('../templates', __FILE__)
5
+ source_root File.expand_path('../../../../../../config/locales', __FILE__)
6
6
  desc "Installs the needed locales"
7
7
 
8
8
 
9
9
  def generate_locales
10
- copy_file "ecm.cms-core.en.yml", "config/locales/ecm.cms-core.en.yml"
11
- copy_file "ecm.cms-core.de.yml", "config/locales/ecm.cms-core.de.yml"
10
+ copy_file "ecm.cms_core.en.yml", "config/locales/ecm.cms_core.en.yml"
11
+ copy_file "ecm.cms_core.forms.en.yml", "config/locales/ecm.cms_core.forms.en.yml"
12
+ copy_file "ecm.cms_core.folder.en.yml", "config/locales/ecm.cms_core.folder.en.yml"
13
+ copy_file "ecm.cms_core.template.en.yml", "config/locales/ecm.cms_core.template.en.yml"
14
+
15
+ copy_file "ecm.cms_core.de.yml", "config/locales/ecm.cms_core.de.yml"
16
+ copy_file "ecm.cms_core.forms.de.yml", "config/locales/ecm.cms_core.forms.de.yml"
17
+ copy_file "ecm.cms_core.folder.de.yml", "config/locales/ecm.cms_core.folder.de.yml"
18
+ copy_file "ecm.cms_core.template.de.yml", "config/locales/ecm.cms_core.template.de.yml"
12
19
  end
13
20
  end
14
21
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_cms_core
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 6
10
- version: 0.0.6
9
+ - 7
10
+ version: 0.0.7
11
11
  platform: ruby
12
12
  authors:
13
13
  - Roberto Vasquez Angel
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-08-08 00:00:00 Z
18
+ date: 2012-09-18 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rails
@@ -146,11 +146,11 @@ dependencies:
146
146
  requirements:
147
147
  - - ~>
148
148
  - !ruby/object:Gem::Version
149
- hash: 7
149
+ hash: 15
150
150
  segments:
151
- - 3
151
+ - 1
152
152
  - 0
153
- version: "3.0"
153
+ version: "1.0"
154
154
  type: :development
155
155
  version_requirements: *id009
156
156
  - !ruby/object:Gem::Dependency
@@ -246,6 +246,7 @@ files:
246
246
  - config/locales/ecm.cms_core.template.de.yml
247
247
  - config/locales/ecm.cms_core.de.yml
248
248
  - config/locales/ecm.cms_core.folder.de.yml
249
+ - config/locales/ecm.cms_core.forms.en.yml
249
250
  - config/locales/ecm.cms_core.forms.de.yml
250
251
  - config/locales/ecm.cms_core.en.yml
251
252
  - config/locales/ecm.cms_core.folder.en.yml
@@ -262,8 +263,6 @@ files:
262
263
  - lib/generators/ecm/cms_core/models/templates/folder.rb
263
264
  - lib/generators/ecm/cms_core/models/templates/template.rb
264
265
  - lib/generators/ecm/cms_core/locales/locales_generator.rb
265
- - lib/generators/ecm/cms_core/locales/templates/ecm.cms-core.en.yml
266
- - lib/generators/ecm/cms_core/locales/templates/ecm.cms-core.de.yml
267
266
  - lib/generators/ecm/cms_core/install/install_generator.rb
268
267
  - lib/generators/ecm/cms_core/controller/controller_generator.rb
269
268
  - lib/generators/ecm/cms_core/controller/templates/page_controller.rb
@@ -311,3 +310,4 @@ specification_version: 3
311
310
  summary: Database backed templates and partials.
312
311
  test_files: []
313
312
 
313
+ has_rdoc:
@@ -1,48 +0,0 @@
1
- de:
2
- :false: "nein"
3
- :true: "ja"
4
- active_admin:
5
- scopes:
6
- all: "Alle"
7
- templates: "Seiten"
8
- root_folders: "Wurzelordner"
9
- partials: "Fragmente"
10
- activerecord:
11
- attributes:
12
- ecm/cms_core/folder:
13
- basename: "Name"
14
- parent: "Übergeordneter Ordner"
15
- pathname: "Pfad"
16
- templates_count: "Seiten"
17
- tree_label: "Pfad"
18
- ecm/cms_core/template:
19
- basename: "Name"
20
- body: "Inhalt"
21
- layout: "Layout"
22
- locale: "Sprache"
23
- filename: "Dateiname"
24
- folder: "Ordner"
25
- formatted_partial_flag: "Fragment"
26
- format: "Format"
27
- handler: "Handler"
28
- meta_description: "Meta Description"
29
- partial: "Fragment"
30
- pathname: "Pfad"
31
- title: "Titel"
32
- models:
33
- ecm/cms_core/folder:
34
- one: "Ordner"
35
- other: "Ordner"
36
- ecm/cms_core/template:
37
- one: "Seite"
38
- other: "Seiten"
39
- attributes:
40
- created_at: "Erstellt"
41
- updated_at: "Aktualisiert"
42
- formtastic:
43
- :yes: 'Ja'
44
- :no: 'Nein'
45
- :create: '%{model} erstellen'
46
- :update: '%{model} aktualisieren'
47
- :submit: '%{model} speichern'
48
- :required: 'benötigt'
@@ -1,48 +0,0 @@
1
- en:
2
- :false: "nein"
3
- :true: "ja"
4
- active_admin:
5
- scopes:
6
- all: "All"
7
- templates: "Templates"
8
- root_folders: "Root folders"
9
- partials: "Partials"
10
- activerecord:
11
- attributes:
12
- ecm/cms_core/folder:
13
- basename: "Name"
14
- parent: "Parent Folder"
15
- pathname: "Path"
16
- templates_count: "Pages"
17
- tree_label: "Path"
18
- ecm/cms_core/template:
19
- basename: "Name"
20
- body: "Content"
21
- layout: "Layout"
22
- locale: "Language"
23
- filename: "Filename"
24
- folder: "Folder"
25
- formatted_partial_flag: "Partial"
26
- format: "Format"
27
- handler: "Handler"
28
- meta_description: "Meta Description"
29
- partial: "Partial"
30
- pathname: "Path"
31
- title: "Title"
32
- models:
33
- ecm/cms_core/folder:
34
- one: "Folder"
35
- other: "Folders"
36
- ecm/cms_core/template:
37
- one: "Page"
38
- other: "Pages"
39
- attributes:
40
- created_at: "Created"
41
- updated_at: "Updated"
42
- formtastic:
43
- :yes: 'Yes'
44
- :no: 'No'
45
- :create: 'create %{model}'
46
- :update: 'update %{model}'
47
- :submit: 'submit %{model}'
48
- :required: 'required'