alchemy_cms 2.2.rc13 → 2.2.rc14

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. data/Rakefile +3 -0
  2. data/alchemy_cms.gemspec +1 -0
  3. data/app/assets/javascripts/alchemy/alchemy.base.js +95 -94
  4. data/app/assets/javascripts/alchemy/alchemy.buttons.js +15 -11
  5. data/app/assets/javascripts/alchemy/alchemy.datepicker.js +18 -18
  6. data/app/assets/javascripts/alchemy/alchemy.dirty.js +20 -20
  7. data/app/assets/javascripts/alchemy/alchemy.dragndrop.js +50 -44
  8. data/app/assets/javascripts/alchemy/alchemy.element_editor_selector.js +15 -12
  9. data/app/assets/javascripts/alchemy/alchemy.elements_window.js +47 -43
  10. data/app/assets/javascripts/alchemy/alchemy.file_progress.js +27 -17
  11. data/app/assets/javascripts/alchemy/alchemy.growler.js +19 -15
  12. data/app/assets/javascripts/alchemy/alchemy.html5.js +1 -2
  13. data/app/assets/javascripts/alchemy/alchemy.image_cropper.js +10 -11
  14. data/app/assets/javascripts/alchemy/alchemy.jquery_loader.js +6 -6
  15. data/app/assets/javascripts/alchemy/alchemy.js_extensions.js +4 -6
  16. data/app/assets/javascripts/alchemy/alchemy.menubar.js +16 -20
  17. data/app/assets/javascripts/alchemy/alchemy.page_sorter.js +18 -16
  18. data/app/assets/javascripts/alchemy/alchemy.preview.js +30 -30
  19. data/app/assets/javascripts/alchemy/alchemy.preview_window.js +50 -42
  20. data/app/assets/javascripts/alchemy/alchemy.routes.js.erb +11 -11
  21. data/app/assets/javascripts/alchemy/alchemy.swf_upload.js +83 -86
  22. data/app/assets/javascripts/alchemy/alchemy.uploader.js +106 -112
  23. data/app/assets/javascripts/alchemy/alchemy.windows.js +158 -130
  24. data/app/assets/stylesheets/alchemy/base.css.scss +7 -1
  25. data/app/assets/stylesheets/alchemy/buttons.css.scss +31 -25
  26. data/app/assets/stylesheets/alchemy/elements.css.scss +4 -0
  27. data/app/controllers/alchemy/admin/base_controller.rb +5 -1
  28. data/app/helpers/alchemy/admin/base_helper.rb +21 -13
  29. data/app/helpers/alchemy/admin/contents_helper.rb +52 -11
  30. data/app/helpers/alchemy/admin/elements_helper.rb +0 -1
  31. data/app/helpers/alchemy/admin/essences_helper.rb +5 -5
  32. data/app/helpers/alchemy/essences_helper.rb +1 -0
  33. data/app/models/alchemy/content.rb +102 -91
  34. data/app/models/alchemy/essence_boolean.rb +8 -0
  35. data/app/models/alchemy/essence_select.rb +7 -0
  36. data/app/sweepers/alchemy/content_sweeper.rb +2 -4
  37. data/app/views/alchemy/admin/clipboard/clear.js.erb +3 -2
  38. data/app/views/alchemy/admin/clipboard/index.html.erb +2 -2
  39. data/app/views/alchemy/admin/contents/create.js.erb +2 -0
  40. data/app/views/alchemy/admin/contents/destroy.js.coffee +4 -0
  41. data/app/views/alchemy/admin/contents/new.html.erb +1 -1
  42. data/app/views/alchemy/admin/elements/_element_foot.html.erb +3 -2
  43. data/app/views/alchemy/admin/elements/create.js.coffee +31 -0
  44. data/app/views/alchemy/admin/elements/fold.js.coffee +37 -0
  45. data/app/views/alchemy/admin/essence_pictures/assign.js.coffee +15 -0
  46. data/app/views/alchemy/admin/essence_pictures/destroy.js.coffee +19 -0
  47. data/app/views/alchemy/admin/essence_pictures/edit.html.erb +12 -2
  48. data/app/views/alchemy/admin/layoutpages/_layoutpage.html.erb +1 -1
  49. data/app/views/alchemy/admin/pages/_page.html.erb +1 -1
  50. data/app/views/alchemy/admin/pages/destroy.js.coffee +19 -0
  51. data/app/views/alchemy/admin/pages/edit.html.erb +5 -5
  52. data/app/views/alchemy/admin/pages/update.js.coffee +36 -0
  53. data/app/views/alchemy/admin/resources/_form.html.erb +12 -1
  54. data/app/views/alchemy/admin/resources/_resource.html.erb +6 -3
  55. data/app/views/alchemy/admin/resources/_table.html.erb +1 -1
  56. data/app/views/alchemy/admin/trash/clear.js.coffee +4 -0
  57. data/app/views/alchemy/admin/trash/index.html.erb +4 -4
  58. data/app/views/alchemy/elements/_article_editor.html.erb +4 -2
  59. data/app/views/alchemy/elements/_article_view.html.erb +7 -7
  60. data/app/views/alchemy/elements/_download_editor.html.erb +4 -1
  61. data/app/views/alchemy/elements/_download_view.html.erb +7 -3
  62. data/app/views/alchemy/elements/_image_mosaic_editor.html.erb +1 -0
  63. data/app/views/alchemy/elements/_image_mosaic_view.html.erb +11 -9
  64. data/app/views/alchemy/essences/_essence_boolean_editor.html.erb +14 -0
  65. data/app/views/alchemy/essences/_essence_boolean_view.html.erb +1 -0
  66. data/app/views/alchemy/essences/_essence_date_editor.html.erb +1 -1
  67. data/app/views/alchemy/essences/_essence_file_editor.html.erb +1 -0
  68. data/app/views/alchemy/essences/_essence_html_editor.html.erb +1 -1
  69. data/app/views/alchemy/essences/_essence_richtext_editor.html.erb +1 -1
  70. data/app/views/alchemy/essences/_essence_select_editor.html.erb +35 -0
  71. data/app/views/alchemy/essences/_essence_select_view.html.erb +1 -0
  72. data/app/views/alchemy/essences/_essence_text_editor.html.erb +29 -77
  73. data/app/views/alchemy/essences/_essence_text_view.html.erb +2 -2
  74. data/config/alchemy/elements.yml +72 -44
  75. data/config/locales/alchemy.de.yml +46 -45
  76. data/config/locales/alchemy.en.yml +90 -89
  77. data/db/migrate/20120608085509_create_alchemy_essence_selects.rb +11 -0
  78. data/db/migrate/20120611221734_create_alchemy_essence_booleans.rb +11 -0
  79. data/lib/alchemy/authentication_helpers.rb +3 -7
  80. data/lib/alchemy/engine.rb +3 -4
  81. data/lib/alchemy/essence.rb +24 -16
  82. data/lib/alchemy/resource.rb +22 -3
  83. data/lib/alchemy/resources_helper.rb +8 -0
  84. data/lib/alchemy/seeder.rb +26 -1
  85. data/lib/alchemy/upgrader.rb +70 -1
  86. data/lib/alchemy/version.rb +1 -1
  87. data/lib/alchemy_cms.rb +1 -0
  88. data/spec/controllers/admin/clipboard_controller_spec.rb +16 -4
  89. data/spec/controllers/admin/contents_controller_spec.rb +21 -4
  90. data/spec/dummy/app/models/event.rb +1 -1
  91. data/spec/dummy/db/schema.rb +18 -1
  92. data/spec/helpers/admin/contents_helper_spec.rb +3 -2
  93. data/spec/models/clipboard_spec.rb +14 -3
  94. data/spec/models/essence_boolean_spec.rb +15 -0
  95. data/spec/models/essence_select_spec.rb +15 -0
  96. data/spec/models/resource_spec.rb +113 -0
  97. metadata +40 -12
  98. data/app/views/alchemy/admin/contents/destroy.js.erb +0 -7
  99. data/app/views/alchemy/admin/elements/create.js.erb +0 -36
  100. data/app/views/alchemy/admin/elements/fold.js.erb +0 -41
  101. data/app/views/alchemy/admin/essence_pictures/assign.js.erb +0 -16
  102. data/app/views/alchemy/admin/essence_pictures/destroy.js.erb +0 -20
  103. data/app/views/alchemy/admin/pages/destroy.js.erb +0 -12
  104. data/app/views/alchemy/admin/pages/update.js.erb +0 -40
  105. data/app/views/alchemy/admin/trash/clear.js.erb +0 -3
  106. data/spec/dummy/app/models/.gitkeep +0 -0
@@ -1,37 +1,37 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  de:
4
-
4
+
5
5
  # = Alchemy Translations
6
6
  # All translations used in Alchemy CMS are inside this alchemy namespace.
7
7
  alchemy:
8
-
8
+
9
9
  # == Translations for page_layout names
10
10
  # Just use the page_layouts name like defined inside the config/alchemy/page_layouts.yml file and translate it.
11
- #
11
+ #
12
12
  # Example:
13
13
  # de:
14
14
  # alchemy:
15
15
  # page_layout_names:
16
16
  # contact: Kontakt
17
17
  # search: Suche
18
- #
18
+ #
19
19
  page_layout_names:
20
20
  contact: Kontakt
21
21
  search: Suche
22
22
  layout_header: 'Header Bereich'
23
23
  layout_footer: 'Footer Bereich'
24
-
24
+
25
25
  # == Translations for element names
26
26
  # Just use the elements name like defined inside the config/alchemy/elements.yml file and translate it.
27
- #
27
+ #
28
28
  # Example:
29
29
  # de:
30
30
  # alchemy:
31
31
  # element_names:
32
32
  # article: Artikel
33
33
  # intro_image_text: Intro Artikel
34
- #
34
+ #
35
35
  element_names:
36
36
  article: Artikel
37
37
  intro_image_text: Intro Artikel
@@ -49,10 +49,10 @@ de:
49
49
  news: News
50
50
  searchresult: Suchergebnisse
51
51
  contactform: Kontaktformular
52
-
52
+
53
53
  # == Translated names for contents in elements.
54
54
  # Used for the content editor label inside the element editor view (The elements window)
55
- #
55
+ #
56
56
  # Tip: You can translate content names globally for all contents of this name, or specificly for an element.
57
57
  # To do so, just place the content_name under the element name
58
58
  content_names:
@@ -70,6 +70,7 @@ de:
70
70
  news_headline: "News Überschrift"
71
71
  image_mosaic:
72
72
  caption: "Mosaik Bildunterschrift"
73
+ show_caption: "Bildunterschrift anzeigen"
73
74
  file: Datei
74
75
  contactform:
75
76
  success_page: 'Folgeseite'
@@ -81,13 +82,13 @@ de:
81
82
  errors:
82
83
  blank: '%{field} darf nicht leer sein.'
83
84
  wrong_format: '%{field} hat das falsche Format.'
84
-
85
+
85
86
  essence_pictures:
86
87
  css_classes:
87
88
  left: 'Links vom Text'
88
89
  right: 'Rechts vom Text'
89
90
  no_float: 'Über dem Text'
90
-
91
+
91
92
  # == Translations for the build in full text search.
92
93
  search_result_page:
93
94
  no_results: 'Ihre Suche ergab kein Ergebnis.'
@@ -96,7 +97,7 @@ de:
96
97
  zero: "Ergab keine Ergebnisse"
97
98
  one: "Ergab ein Ergebnis"
98
99
  other: "Ergab %{count} Ergebnisse"
99
-
100
+
100
101
  # == Contactform translations
101
102
  contactform:
102
103
  labels:
@@ -116,7 +117,7 @@ de:
116
117
  # The flash message shown after succesfully sending the message.
117
118
  messages:
118
119
  success: 'Ihre Nachricht wurde erfolgreich übermittelt.'
119
-
120
+
120
121
  # == Translations for the mailer templates
121
122
  mailer:
122
123
  # The mail the user gets after registering for alchemy
@@ -127,19 +128,19 @@ de:
127
128
  username: 'Ihr Benutzername'
128
129
  password: 'Ihr Passwort'
129
130
  greeting: 'Einen schönen Tag noch'
130
-
131
+
131
132
  # == Translated language names for translation select
132
133
  translations:
133
134
  de: 'Deutsch'
134
135
  en: 'Englisch'
135
-
136
+
136
137
  # == User roles translations
137
138
  user_roles:
138
139
  registered: "Registriert"
139
140
  author: "Author"
140
141
  editor: "Redakteur"
141
142
  admin: "Administrator"
142
-
143
+
143
144
  # == Mime Types translations
144
145
  # These are human readable mime types used for the document-type row in archive files.
145
146
  mime_types:
@@ -168,12 +169,12 @@ de:
168
169
  image/tiff: 'TIFF-Bild'
169
170
  'text/x-vcard': 'vCard'
170
171
  application/vcard: 'vCard'
171
-
172
+
172
173
  link_target_options:
173
174
  default: gleichem Fenster
174
175
  blank: neuem Fenster/Tab
175
176
  overlay: einem Overlay
176
-
177
+
177
178
  create_tree_as_new_language: "%{language} als neuen Sprachbaum anlegen"
178
179
  "<a href=\"http://get.adobe.com/flashplayer\" target=\"_blank\">%{value}</a>": ""
179
180
  "Active Pages": "Aktive Seiten"
@@ -542,9 +543,9 @@ de:
542
543
  complete: 'Abgeschlossen'
543
544
  "Uploading": "Hochladen"
544
545
  "Uploaded x files": "x Dateien hochgeladen."
545
-
546
+
546
547
  # END of Alchemy translation
547
-
548
+
548
549
  # == Rails translations
549
550
  # Below are Rails specific translations for date, time, number, currency, error messages and so on.
550
551
  date:
@@ -664,53 +665,53 @@ de:
664
665
  phone: Telefon
665
666
  email: E-Mail
666
667
  message: Nachricht
667
-
668
+
668
669
  # Translations for active record database models and error messages.
669
670
  activerecord:
670
-
671
+
671
672
  models:
672
-
673
+
673
674
  alchemy/attachment:
674
675
  one: "Datei"
675
676
  other: "Dateien"
676
-
677
+
677
678
  alchemy/element:
678
679
  one: "Element"
679
680
  other: "Elemente"
680
-
681
+
681
682
  alchemy/language:
682
683
  one: "Sprache"
683
684
  other: "Sprachen"
684
-
685
+
685
686
  alchemy/page:
686
687
  one: "Seite"
687
688
  other: "Seiten"
688
-
689
+
689
690
  alchemy/picture:
690
691
  one: Bild
691
692
  other: Bilder
692
-
693
+
693
694
  alchemy/user:
694
695
  one: Benutzer
695
696
  other: Benutzer
696
-
697
+
697
698
  attributes:
698
-
699
+
699
700
  alchemy/attachment:
700
701
  content_type: "Dateityp"
701
702
  created_at: "Erstellt Am"
702
703
  filename: "Dateiname"
703
704
  name: "Name"
704
705
  size: "Dateigröße"
705
-
706
+
706
707
  alchemy/element:
707
708
  display_name: "Name"
708
709
  name: "Name"
709
710
  public: "sichtbar"
710
-
711
+
711
712
  alchemy/essence_file:
712
713
  css_class: Textanordnung
713
-
714
+
714
715
  alchemy/essence_picture:
715
716
  caption: "Untertitel"
716
717
  title: "Titel"
@@ -724,7 +725,7 @@ de:
724
725
  crop_from: Bildmaskenursprung
725
726
  crop_size: Bildmaskenausmaß
726
727
  picture_id: Bild
727
-
728
+
728
729
  alchemy/language:
729
730
  country_code: "Länderkürzel"
730
731
  language_code: "Sprachkürzel"
@@ -733,7 +734,7 @@ de:
733
734
  name: "Name"
734
735
  page_layout: "Seitentyp der Startseite"
735
736
  public: "Sprache veröffentlichen"
736
-
737
+
737
738
  alchemy/page:
738
739
  created_at: "Erstellt am"
739
740
  language: "Sprache"
@@ -752,13 +753,13 @@ de:
752
753
  updated_at: "Aktualisiert am"
753
754
  urlname: "URL-Name"
754
755
  visible: "in der Navigation sichtbar"
755
-
756
+
756
757
  alchemy/picture:
757
758
  image_filename: "Dateiname"
758
759
  image_height: "Bildhöhe"
759
760
  image_width: "Bildbreite"
760
761
  name: "Name"
761
-
762
+
762
763
  alchemy/user:
763
764
  email: "Email"
764
765
  firstname: "Vorname"
@@ -770,13 +771,13 @@ de:
770
771
  password: "Passwort"
771
772
  password_confirmation: "Passwort Bestätigung"
772
773
  role: "Benutzerrolle"
773
-
774
+
774
775
  errors:
775
776
  template:
776
-
777
+
777
778
  header: "Prüfung fehlgeschlagen"
778
779
  body: ""
779
-
780
+
780
781
  messages:
781
782
  inclusion: "ist kein gültiger Wert"
782
783
  exclusion: "ist nicht verfügbar"
@@ -798,7 +799,7 @@ de:
798
799
  less_than_or_equal_to: "muss kleiner oder gleich %{count} sein"
799
800
  odd: "muss ungerade sein"
800
801
  even: "muss gerade sein"
801
-
802
+
802
803
  models:
803
804
  alchemy/content:
804
805
  attributes:
@@ -823,10 +824,10 @@ de:
823
824
  too_short: "^Der URL-Name der Seite ist zu kurz (min. 3 Zeichen)"
824
825
  taken: "^Der URL-Name ist bereits vergeben."
825
826
  exclusion: "^Der URL-Name der Seite kann nicht benutzt werden."
826
-
827
+
827
828
  # Translations for the authentication system used in alchemy.
828
829
  authlogic:
829
-
830
+
830
831
  error_messages:
831
832
  login_blank: "^Es wurde kein Benutzername angeben."
832
833
  login_not_found: "^Dieser Benutzername existiert nicht."
@@ -841,10 +842,10 @@ de:
841
842
  no_authentication_details: 'Sie haben keinen Benutzernamen und/oder Passwort eingegeben.'
842
843
  login_not_valid: "^Der Benutzername darf nur aus Buchstaben, Zahlen, Leerzeichen und .-_@ bestehen."
843
844
  login_too_short: "^Der Benutzername ist zu kurz. Bitte mindestens 3 Zeichen verwenden."
844
-
845
+
845
846
  models:
846
847
  alchemy/user_session: 'Sitzung'
847
-
848
+
848
849
  attributes:
849
850
  alchemy/user_session:
850
851
  login: Benutzername
@@ -1,35 +1,35 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  en:
4
-
4
+
5
5
  # = Alchemy Translations
6
6
  # All translations used in Alchemy CMS are inside this alchemy namespace.
7
7
  alchemy:
8
-
8
+
9
9
  # == Translations for page_layout names
10
10
  # Just use the page_layouts name like defined inside the config/alchemy/page_layouts.yml file and translate it.
11
- #
11
+ #
12
12
  # Example:
13
13
  # de:
14
14
  # alchemy:
15
15
  # page_layout_names:
16
16
  # contact: Kontakt
17
17
  # search: Suche
18
- #
18
+ #
19
19
  page_layout_names:
20
20
  layout_header: 'Header Part'
21
21
  layout_footer: 'Footer Part'
22
-
22
+
23
23
  # == Translations for element names
24
24
  # Just use the elements name like defined inside the config/alchemy/elements.yml file and translate it.
25
- #
25
+ #
26
26
  # Example:
27
27
  # de:
28
28
  # alchemy:
29
29
  # element_names:
30
30
  # article: Artikel
31
31
  # intro_image_text: Intro Artikel
32
- #
32
+ #
33
33
  element_names:
34
34
  article: Article
35
35
  intro_image_text: Intro Article
@@ -47,10 +47,10 @@ en:
47
47
  news: News
48
48
  searchresult: Searchresults
49
49
  contactform: Contactform
50
-
50
+
51
51
  # == Translated names for contents in elements.
52
52
  # Used for the content editor label inside the element editor view (The elements window)
53
- #
53
+ #
54
54
  # Tip: You can translate content names globally for all contents of this name, or specificly for an element.
55
55
  # To do so, just place the content_name under the element name
56
56
  content_names:
@@ -68,6 +68,7 @@ en:
68
68
  news_headline: "News Headline"
69
69
  image_mosaic:
70
70
  caption: "Mosaic Caption"
71
+ show_caption: "Show Caption"
71
72
  contactform:
72
73
  success_page: 'Followup page'
73
74
 
@@ -79,7 +80,7 @@ en:
79
80
  zero: 'Offers no results'
80
81
  one: 'Offers one result'
81
82
  other: 'Offers %{count} results'
82
-
83
+
83
84
  # == Contactform translations
84
85
  contactform:
85
86
  labels:
@@ -110,19 +111,19 @@ en:
110
111
  username: 'Your username'
111
112
  password: 'Your password'
112
113
  greeting: 'Have a nice day'
113
-
114
+
114
115
  # == Translated language names for translation select
115
116
  translations:
116
117
  de: 'German'
117
118
  en: 'English'
118
-
119
+
119
120
  # == User roles translations
120
121
  user_roles:
121
122
  registered: "Registered"
122
123
  author: "Author"
123
124
  editor: "Editor"
124
125
  admin: "Administrator"
125
-
126
+
126
127
  # == Mime Types translations
127
128
  # These are human readable mime types used for the document-type row in archive files.
128
129
  mime_types:
@@ -150,12 +151,12 @@ en:
150
151
  image/tiff: 'TIFF-Image'
151
152
  'text/x-vcard': 'vCard'
152
153
  application/vcard: 'vCard'
153
-
154
+
154
155
  link_target_options:
155
156
  default: Same Window
156
157
  blank: New Window/Tab
157
158
  overlay: Overlay
158
-
159
+
159
160
  create_tree_as_new_language: "Create %{language} as a new language tree"
160
161
  "Delete image": "Remove this image"
161
162
  "Image size": "Imagesize"
@@ -362,7 +363,7 @@ en:
362
363
  zoom_image: "Zoom this image"
363
364
  "Nothing found": "Nothing found"
364
365
  "Validation failed": "Validation failed"
365
-
366
+
366
367
  # END of Alchemy translation
367
368
 
368
369
  # == Rails translations
@@ -374,8 +375,8 @@ en:
374
375
  # You can provide other formats here if you like!
375
376
  default: "%Y-%m-%d"
376
377
  datepicker: "%Y-%m-%d"
377
- short: "%b %d"
378
- long: "%B %d, %Y"
378
+ short: "%b %d"
379
+ long: "%B %d, %Y"
379
380
  day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]
380
381
  abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat]
381
382
  # Don't forget the nil at the beginning; there's no such thing as a 0th month
@@ -388,13 +389,13 @@ en:
388
389
  - :day
389
390
  time:
390
391
  formats:
391
- default: "%a, %d %b %Y %H:%M:%S %z"
392
- short: "%d %b %H:%M"
393
- long: "%B %d, %Y %H:%M"
392
+ default: "%a, %d %b %Y %H:%M:%S %z"
393
+ short: "%d %b %H:%M"
394
+ long: "%B %d, %Y %H:%M"
394
395
  date: "%Y-%m-%d"
395
396
  datepicker: "%Y-%m-%d"
396
- am: "am"
397
- pm: "pm"
397
+ am: "am"
398
+ pm: "pm"
398
399
  support:
399
400
  array:
400
401
  sentence_connector: "and"
@@ -404,82 +405,82 @@ en:
404
405
  # These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
405
406
  format:
406
407
  # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
407
- separator: "."
408
+ separator: "."
408
409
  # Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
409
- delimiter: ","
410
+ delimiter: ","
410
411
  # Number of decimals, behind the separator (1 with a precision of 2 gives: 1.00)
411
412
  precision: 3
412
-
413
+
413
414
  # Used in number_to_currency()
414
415
  currency:
415
416
  format:
416
417
  # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
417
- format: "%u%n"
418
- unit: "$"
418
+ format: "%u%n"
419
+ unit: "$"
419
420
  # These three are to override number.format and are optional
420
- separator: "."
421
- delimiter: ","
421
+ separator: "."
422
+ delimiter: ","
422
423
  precision: 2
423
-
424
+
424
425
  # Used in number_to_percentage()
425
426
  percentage:
426
427
  format:
427
428
  # These three are to override number.format and are optional
428
- # separator:
429
- delimiter: ""
430
- # precision:
429
+ # separator:
430
+ delimiter: ""
431
+ # precision:
431
432
 
432
433
  # Used in number_to_precision()
433
434
  precision:
434
435
  format:
435
436
  # These three are to override number.format and are optional
436
437
  # separator:
437
- delimiter: ""
438
+ delimiter: ""
438
439
  # precision:
439
440
 
440
441
  # Used in number_to_human_size()
441
442
  human:
442
443
  format:
443
444
  # These three are to override number.format and are optional
444
- # separator:
445
- delimiter: ""
445
+ # separator:
446
+ delimiter: ""
446
447
  precision: 1
447
448
 
448
449
  # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
449
450
  datetime:
450
451
  distance_in_words:
451
- half_a_minute: "half a minute"
452
+ half_a_minute: "half a minute"
452
453
  less_than_x_seconds:
453
- one: "less than 1 second"
454
- many: "less than %{count} seconds"
454
+ one: "less than 1 second"
455
+ many: "less than %{count} seconds"
455
456
  x_seconds:
456
- one: "1 second"
457
- many: "%{count} seconds"
457
+ one: "1 second"
458
+ many: "%{count} seconds"
458
459
  less_than_x_minutes:
459
- one: "less than a minute"
460
- many: "less than %{count} minutes"
460
+ one: "less than a minute"
461
+ many: "less than %{count} minutes"
461
462
  x_minutes:
462
- one: "1 minute"
463
- many: "%{count} minutes"
463
+ one: "1 minute"
464
+ many: "%{count} minutes"
464
465
  about_x_hours:
465
- one: "about 1 hour"
466
- many: "about %{count} hours"
466
+ one: "about 1 hour"
467
+ many: "about %{count} hours"
467
468
  x_days:
468
- one: "1 day"
469
- many: "%{count} days"
469
+ one: "1 day"
470
+ many: "%{count} days"
470
471
  about_x_months:
471
- one: "about 1 month"
472
- many: "about %{count} months"
472
+ one: "about 1 month"
473
+ many: "about %{count} months"
473
474
  x_months:
474
- one: "1 month"
475
- many: "%{count} months"
475
+ one: "1 month"
476
+ many: "%{count} months"
476
477
  about_x_years:
477
- one: "about 1 year"
478
+ one: "about 1 year"
478
479
  many: "about %{count} years"
479
480
  over_x_years:
480
- one: "over 1 year"
481
+ one: "over 1 year"
481
482
  many: "over %{count} years"
482
-
483
+
483
484
  activemodel:
484
485
  attributes:
485
486
  alchemy/message:
@@ -494,30 +495,30 @@ en:
494
495
 
495
496
  # Translations for active record database models and error messages.
496
497
  activerecord:
497
-
498
+
498
499
  models:
499
-
500
+
500
501
  alchemy/attachment:
501
502
  one: File
502
503
  other: Files
503
-
504
+
504
505
  attributes:
505
-
506
+
506
507
  alchemy/attachment:
507
508
  content_type: Filetype
508
509
  created_at: "Created at"
509
510
  filename: Filename
510
511
  name: Name
511
512
  size: Filesize
512
-
513
+
513
514
  alchemy/element:
514
515
  display_name: "Name"
515
516
  name: "Name"
516
517
  public: "visible"
517
-
518
+
518
519
  alchemy/essence_file:
519
520
  css_class: CSS Class
520
-
521
+
521
522
  alchemy/language:
522
523
  code: "Languagecode"
523
524
  default: "Default"
@@ -525,7 +526,7 @@ en:
525
526
  name: "Name"
526
527
  page_layout: "Pagetype of frontpage"
527
528
  public: "Public"
528
-
529
+
529
530
  alchemy/page:
530
531
  created_at: "Created at"
531
532
  language: "Language"
@@ -544,13 +545,13 @@ en:
544
545
  updated_at: "Updated at"
545
546
  urlname: "Urlname"
546
547
  visible: "visible in navigation"
547
-
548
+
548
549
  alchemy/picture:
549
550
  image_filename: "Filename"
550
551
  image_height: "Imageheight"
551
552
  image_width: "Imagewidth"
552
553
  name: "Name"
553
-
554
+
554
555
  alchemy/user:
555
556
  email: "Email"
556
557
  firstname: "Firstname"
@@ -562,32 +563,32 @@ en:
562
563
  password: "Password"
563
564
  password_confirmation: "Password confirmation"
564
565
  role: "Userrole"
565
-
566
+
566
567
  errors:
567
568
  template:
568
569
  header: "Validation failed"
569
570
  body: ""
570
-
571
+
571
572
  messages:
572
- inclusion: "is not included in the list"
573
- exclusion: "is reserved"
574
- invalid: "is invalid"
575
- confirmation: "doesn't match confirmation"
576
- accepted: "must be accepted"
577
- empty: "can't be empty"
578
- blank: "can't be blank"
579
- too_long: "is too long (maximum is %{count} characters)"
580
- too_short: "is too short (minimum is %{count} characters)"
581
- wrong_length: "is the wrong length (should be %{count} characters)"
582
- taken: "has already been taken"
583
- not_a_number: "is not a number"
584
- greater_than: "must be greater than %{count}"
585
- greater_than_or_equal_to: "must be greater than or equal to %{count}"
586
- equal_to: "must be equal to %{count}"
587
- less_than: "must be less than %{count}"
588
- less_than_or_equal_to: "must be less than or equal to %{count}"
589
- odd: "must be odd"
590
- even: "must be even"
573
+ inclusion: "is not included in the list"
574
+ exclusion: "is reserved"
575
+ invalid: "is invalid"
576
+ confirmation: "doesn't match confirmation"
577
+ accepted: "must be accepted"
578
+ empty: "can't be empty"
579
+ blank: "can't be blank"
580
+ too_long: "is too long (maximum is %{count} characters)"
581
+ too_short: "is too short (minimum is %{count} characters)"
582
+ wrong_length: "is the wrong length (should be %{count} characters)"
583
+ taken: "has already been taken"
584
+ not_a_number: "is not a number"
585
+ greater_than: "must be greater than %{count}"
586
+ greater_than_or_equal_to: "must be greater than or equal to %{count}"
587
+ equal_to: "must be equal to %{count}"
588
+ less_than: "must be less than %{count}"
589
+ less_than_or_equal_to: "must be less than or equal to %{count}"
590
+ odd: "must be odd"
591
+ even: "must be even"
591
592
  models:
592
593
  alchemy/content:
593
594
  attributes:
@@ -628,7 +629,7 @@ en:
628
629
  no_authentication_details: 'You did not provide any details for authentication'
629
630
  login_not_valid: "is invalid. Please use letters, numbers, spaces and .-_@ only"
630
631
  login_too_short: "is too short. Please use 3 characters ar least"
631
-
632
+
632
633
  models:
633
634
  alchemy/user_session: 'Session'
634
635
  attributes: