merrycms 0.1.2 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/app/controllers/admin/base_controller.rb +1 -0
- data/app/controllers/admin/categories_controller.rb +1 -1
- data/app/controllers/admin/documents_controller.rb +49 -0
- data/app/controllers/admin/images_controller.rb +49 -0
- data/app/controllers/admin/pages_controller.rb +0 -1
- data/app/controllers/admin/translations_controller.rb +1 -1
- data/app/controllers/admin/videos_controller.rb +56 -0
- data/app/helpers/admin/base_helper.rb +15 -0
- data/app/helpers/admin/categories_helper.rb +3 -7
- data/app/helpers/admin/documents_helper.rb +4 -0
- data/app/helpers/admin/images_helper.rb +14 -0
- data/app/helpers/admin/videos_helper.rb +53 -0
- data/app/models/document.rb +7 -0
- data/app/models/image.rb +9 -0
- data/app/models/source.rb +8 -0
- data/app/models/video.rb +7 -0
- data/app/views/admin/categories/index.html.erb +1 -1
- data/app/views/admin/documents/_form.erb +22 -0
- data/app/views/admin/documents/_search.erb +15 -0
- data/app/views/admin/documents/_subnav.erb +7 -0
- data/app/views/admin/documents/edit.html.erb +7 -0
- data/app/views/admin/documents/index.html.erb +24 -0
- data/app/views/admin/documents/new.html.erb +3 -0
- data/app/views/admin/images/_form.erb +22 -0
- data/app/views/admin/images/_search.erb +15 -0
- data/app/views/admin/images/_subnav.erb +7 -0
- data/app/views/admin/images/edit.html.erb +7 -0
- data/app/views/admin/images/index.html.erb +26 -0
- data/app/views/admin/images/new.html.erb +3 -0
- data/app/views/admin/pages/index.html.erb +6 -12
- data/app/views/admin/shared/_nav.erb +11 -0
- data/app/views/admin/shared/_subnav.erb +0 -0
- data/app/views/{shared/_toplinks.html.erb → admin/shared/_toplinks.erb} +4 -4
- data/app/views/admin/videos/_form.erb +38 -0
- data/app/views/admin/videos/_head_info.erb +13 -0
- data/app/views/admin/videos/_search.erb +15 -0
- data/app/views/admin/videos/_subnav.erb +7 -0
- data/app/views/admin/videos/edit.html.erb +3 -0
- data/app/views/admin/videos/index.html.erb +24 -0
- data/app/views/admin/videos/new.html.erb +3 -0
- data/app/views/admin/videos/show.html.erb +8 -0
- data/app/views/layouts/admin.html.erb +8 -6
- data/config/locales/de/de.yml +193 -0
- data/config/locales/en/en-US.yml +182 -0
- data/config/locales/fr/admin/admin.fr.yml +11 -3
- data/config/locales/fr/admin/documents.fr.yml +38 -0
- data/config/locales/fr/admin/images.fr.yml +54 -0
- data/config/locales/fr/admin/toplinks.fr.yml +7 -8
- data/config/locales/fr/admin/videos.fr.yml +42 -0
- data/config/locales/fr/fr.yml +182 -0
- data/lib/generators/merrycms/install_documents_generator.rb +26 -0
- data/lib/generators/merrycms/install_images_generator.rb +30 -0
- data/lib/generators/merrycms/install_videos_generator.rb +26 -0
- data/lib/generators/merrycms/templates/create_documents_migration.rb +16 -0
- data/lib/generators/merrycms/templates/create_images_migration.rb +16 -0
- data/lib/generators/merrycms/templates/create_videos_migration.rb +25 -0
- data/lib/generators/merrycms/templates/paperclip_initializer.rb +6 -0
- data/lib/merrycms/engine.rb +6 -0
- data/lib/merrycms/rails/routes.rb +5 -0
- data/lib/merrycms/railties/merrycms_tasks.rake +3 -0
- data/lib/merrycms/validates_as_image.rb +20 -0
- data/lib/merrycms.rb +2 -1
- data/lib/paperclip_processors/poster.rb +38 -0
- data/lib/paperclip_processors/video_thumbnail.rb +42 -0
- metadata +92 -5
- data/app/views/admin/_nav.html.erb +0 -10
@@ -0,0 +1,24 @@
|
|
1
|
+
<h1><%= t('videos.index.title') %></h1>
|
2
|
+
|
3
|
+
<p>
|
4
|
+
<%= link_to t('videos.links.new'), new_admin_video_path, :class => 'button' %>
|
5
|
+
</p>
|
6
|
+
|
7
|
+
<%= render "search" %>
|
8
|
+
|
9
|
+
<%= paginate @videos %>
|
10
|
+
|
11
|
+
<table>
|
12
|
+
<tr>
|
13
|
+
<th><%= t('videos.title') %></th>
|
14
|
+
<th><%= t('videos.file_size') %></th>
|
15
|
+
<th></th>
|
16
|
+
</tr>
|
17
|
+
<% for video in @videos %>
|
18
|
+
<tr>
|
19
|
+
<td><%= link_to video.title, admin_video_path(video) %></td>
|
20
|
+
<td><%= display_video_size(video) %></td>
|
21
|
+
<td><%= link_to t('videos.links.edit'), edit_admin_video_path(video) %></td>
|
22
|
+
</tr>
|
23
|
+
<% end %>
|
24
|
+
</table>
|
@@ -10,13 +10,15 @@
|
|
10
10
|
</head>
|
11
11
|
<body>
|
12
12
|
<div id="container"><div id="wrapper">
|
13
|
-
<%= render 'shared/toplinks' %>
|
14
|
-
<%= render 'admin/nav' %>
|
15
|
-
|
16
|
-
|
17
|
-
|
13
|
+
<%= render 'admin/shared/toplinks' %>
|
14
|
+
<%= render 'admin/shared/nav' %>
|
15
|
+
<%= render_subnav %>
|
16
|
+
|
17
|
+
<div id="main"><div id="m">
|
18
|
+
<%= render 'shared/flashbox' %>
|
18
19
|
<%= yield %>
|
19
|
-
</div>
|
20
|
+
</div></div>
|
21
|
+
|
20
22
|
</div></div>
|
21
23
|
</body>
|
22
24
|
</html>
|
@@ -0,0 +1,193 @@
|
|
1
|
+
# German translations for Ruby on Rails
|
2
|
+
# by Clemens Kofler (clemens@railway.at)
|
3
|
+
# contributors:
|
4
|
+
# - Alexander Dreher - http://github.com/alexdreher - Rails 3 update
|
5
|
+
|
6
|
+
de:
|
7
|
+
date:
|
8
|
+
formats:
|
9
|
+
default: "%d.%m.%Y"
|
10
|
+
short: "%e. %b"
|
11
|
+
long: "%e. %B %Y"
|
12
|
+
only_day: "%e"
|
13
|
+
|
14
|
+
day_names: [Sonntag, Montag, Dienstag, Mittwoch, Donnerstag, Freitag, Samstag]
|
15
|
+
abbr_day_names: [So, Mo, Di, Mi, Do, Fr, Sa]
|
16
|
+
month_names: [~, Januar, Februar, März, April, Mai, Juni, Juli, August, September, Oktober, November, Dezember]
|
17
|
+
abbr_month_names: [~, Jan, Feb, Mär, Apr, Mai, Jun, Jul, Aug, Sep, Okt, Nov, Dez]
|
18
|
+
order:
|
19
|
+
- :day
|
20
|
+
- :month
|
21
|
+
- :year
|
22
|
+
|
23
|
+
time:
|
24
|
+
formats:
|
25
|
+
default: "%A, %d. %B %Y, %H:%M Uhr"
|
26
|
+
short: "%d. %B, %H:%M Uhr"
|
27
|
+
long: "%A, %d. %B %Y, %H:%M Uhr"
|
28
|
+
time: "%H:%M"
|
29
|
+
|
30
|
+
am: "vormittags"
|
31
|
+
pm: "nachmittags"
|
32
|
+
|
33
|
+
datetime:
|
34
|
+
distance_in_words:
|
35
|
+
half_a_minute: 'eine halbe Minute'
|
36
|
+
less_than_x_seconds:
|
37
|
+
one: 'weniger als eine Sekunde'
|
38
|
+
other: 'weniger als %{count} Sekunden'
|
39
|
+
x_seconds:
|
40
|
+
one: 'eine Sekunde'
|
41
|
+
other: '%{count} Sekunden'
|
42
|
+
less_than_x_minutes:
|
43
|
+
one: 'weniger als eine Minute'
|
44
|
+
other: 'weniger als %{count} Minuten'
|
45
|
+
x_minutes:
|
46
|
+
one: 'eine Minute'
|
47
|
+
other: '%{count} Minuten'
|
48
|
+
about_x_hours:
|
49
|
+
one: 'etwa eine Stunde'
|
50
|
+
other: 'etwa %{count} Stunden'
|
51
|
+
x_days:
|
52
|
+
one: 'ein Tag'
|
53
|
+
other: '%{count} Tage'
|
54
|
+
about_x_months:
|
55
|
+
one: 'etwa ein Monat'
|
56
|
+
other: 'etwa %{count} Monate'
|
57
|
+
x_months:
|
58
|
+
one: 'ein Monat'
|
59
|
+
other: '%{count} Monate'
|
60
|
+
almost_x_years:
|
61
|
+
one: 'fast ein Jahr'
|
62
|
+
other: 'fast %{count} Jahre'
|
63
|
+
about_x_years:
|
64
|
+
one: 'etwa ein Jahr'
|
65
|
+
other: 'etwa %{count} Jahre'
|
66
|
+
over_x_years:
|
67
|
+
one: 'mehr als ein Jahr'
|
68
|
+
other: 'mehr als %{count} Jahre'
|
69
|
+
prompts:
|
70
|
+
second: "Sekunden"
|
71
|
+
minute: "Minuten"
|
72
|
+
hour: "Stunden"
|
73
|
+
day: "Tag"
|
74
|
+
month: "Monat"
|
75
|
+
year: "Jahr"
|
76
|
+
|
77
|
+
number:
|
78
|
+
format:
|
79
|
+
precision: 2
|
80
|
+
separator: ','
|
81
|
+
delimiter: '.'
|
82
|
+
significant: false
|
83
|
+
strip_insignificant_zeros: false
|
84
|
+
currency:
|
85
|
+
format:
|
86
|
+
unit: '€'
|
87
|
+
format: '%n%u'
|
88
|
+
separator: ","
|
89
|
+
delimiter: ""
|
90
|
+
precision: 2
|
91
|
+
significant: false
|
92
|
+
strip_insignificant_zeros: false
|
93
|
+
percentage:
|
94
|
+
format:
|
95
|
+
delimiter: ""
|
96
|
+
precision:
|
97
|
+
format:
|
98
|
+
delimiter: ""
|
99
|
+
human:
|
100
|
+
format:
|
101
|
+
delimiter: ""
|
102
|
+
precision: 1
|
103
|
+
significant: true
|
104
|
+
strip_insignificant_zeros: true
|
105
|
+
storage_units:
|
106
|
+
# Storage units output formatting.
|
107
|
+
# %u is the storage unit, %n is the number (default: 2 MB)
|
108
|
+
format: "%n %u"
|
109
|
+
units:
|
110
|
+
byte:
|
111
|
+
one: "Byte"
|
112
|
+
other: "Bytes"
|
113
|
+
kb: "KB"
|
114
|
+
mb: "MB"
|
115
|
+
gb: "GB"
|
116
|
+
tb: "TB"
|
117
|
+
decimal_units:
|
118
|
+
format: "%n %u"
|
119
|
+
units:
|
120
|
+
unit: ""
|
121
|
+
thousand: Tausend
|
122
|
+
million: Millionen
|
123
|
+
billion:
|
124
|
+
one: Milliarde
|
125
|
+
others: Milliarden
|
126
|
+
trillion: Billionen
|
127
|
+
quadrillion:
|
128
|
+
one: Billiarde
|
129
|
+
others: Billiarden
|
130
|
+
|
131
|
+
support:
|
132
|
+
array:
|
133
|
+
words_connector: ", "
|
134
|
+
two_words_connector: " und "
|
135
|
+
last_word_connector: " und "
|
136
|
+
select:
|
137
|
+
prompt: "Bitte wählen:"
|
138
|
+
|
139
|
+
activemodel:
|
140
|
+
errors:
|
141
|
+
template:
|
142
|
+
header:
|
143
|
+
one: "Konnte %{model} nicht speichern: ein Fehler."
|
144
|
+
other: "Konnte %{model} nicht speichern: %{count} Fehler."
|
145
|
+
body: "Bitte überprüfen Sie die folgenden Felder:"
|
146
|
+
helpers:
|
147
|
+
select:
|
148
|
+
prompt: "Bitte wählen"
|
149
|
+
|
150
|
+
submit:
|
151
|
+
create: '%{model} erstellen'
|
152
|
+
update: '%{model} aktualisieren'
|
153
|
+
submit: '%{model} speichern'
|
154
|
+
|
155
|
+
errors:
|
156
|
+
format: "%{attribute} %{message}"
|
157
|
+
|
158
|
+
messages: &errors_messages
|
159
|
+
inclusion: "ist kein gültiger Wert"
|
160
|
+
exclusion: "ist nicht verfügbar"
|
161
|
+
invalid: "ist nicht gültig"
|
162
|
+
confirmation: "stimmt nicht mit der Bestätigung überein"
|
163
|
+
accepted: "muss akzeptiert werden"
|
164
|
+
empty: "muss ausgefüllt werden"
|
165
|
+
blank: "muss ausgefüllt werden"
|
166
|
+
too_long: "ist zu lang (nicht mehr als %{count} Zeichen)"
|
167
|
+
too_short: "ist zu kurz (nicht weniger als %{count} Zeichen)"
|
168
|
+
wrong_length: "hat die falsche Länge (muss genau %{count} Zeichen haben)"
|
169
|
+
not_a_number: "ist keine Zahl"
|
170
|
+
greater_than: "muss größer als %{count} sein"
|
171
|
+
greater_than_or_equal_to: "muss größer oder gleich %{count} sein"
|
172
|
+
equal_to: "muss genau %{count} sein"
|
173
|
+
less_than: "muss kleiner als %{count} sein"
|
174
|
+
less_than_or_equal_to: "muss kleiner oder gleich %{count} sein"
|
175
|
+
odd: "muss ungerade sein"
|
176
|
+
even: "muss gerade sein"
|
177
|
+
not_an_integer: "muss ganzzahlig sein"
|
178
|
+
|
179
|
+
activerecord:
|
180
|
+
errors:
|
181
|
+
template:
|
182
|
+
header:
|
183
|
+
one: "Konnte %{model} nicht speichern: ein Fehler."
|
184
|
+
other: "Konnte %{model} nicht speichern: %{count} Fehler."
|
185
|
+
body: "Bitte überprüfen Sie die folgenden Felder:"
|
186
|
+
|
187
|
+
messages:
|
188
|
+
taken: "ist bereits vergeben"
|
189
|
+
record_invalid: "Gültigkeitsprüfung ist fehlgeschlagen: %{errors}"
|
190
|
+
<<: *errors_messages
|
191
|
+
|
192
|
+
full_messages:
|
193
|
+
format: "%{attribute}%{message}"
|
@@ -0,0 +1,182 @@
|
|
1
|
+
# US English translations for Ruby on Rails
|
2
|
+
#
|
3
|
+
# Use this as the base for the locale file of your language.
|
4
|
+
|
5
|
+
"en-US":
|
6
|
+
date:
|
7
|
+
formats:
|
8
|
+
default: "%Y-%m-%d"
|
9
|
+
short: "%b %d"
|
10
|
+
long: "%B %d, %Y"
|
11
|
+
|
12
|
+
day_names: [Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday]
|
13
|
+
abbr_day_names: [Sun, Mon, Tue, Wed, Thu, Fri, Sat]
|
14
|
+
|
15
|
+
month_names: [~, January, February, March, April, May, June, July, August, September, October, November, December]
|
16
|
+
abbr_month_names: [~, Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec]
|
17
|
+
order:
|
18
|
+
- :year
|
19
|
+
- :month
|
20
|
+
- :day
|
21
|
+
|
22
|
+
time:
|
23
|
+
formats:
|
24
|
+
default: "%a, %d %b %Y %H:%M:%S %z"
|
25
|
+
short: "%d %b %H:%M"
|
26
|
+
long: "%B %d, %Y %H:%M"
|
27
|
+
am: "am"
|
28
|
+
pm: "pm"
|
29
|
+
|
30
|
+
support:
|
31
|
+
array:
|
32
|
+
words_connector: ", "
|
33
|
+
two_words_connector: " and "
|
34
|
+
last_word_connector: ", and "
|
35
|
+
|
36
|
+
select:
|
37
|
+
prompt: "Please select"
|
38
|
+
|
39
|
+
number:
|
40
|
+
format:
|
41
|
+
separator: "."
|
42
|
+
delimiter: ","
|
43
|
+
precision: 3
|
44
|
+
significant: false
|
45
|
+
strip_insignificant_zeros: false
|
46
|
+
|
47
|
+
currency:
|
48
|
+
format:
|
49
|
+
format: "%u%n"
|
50
|
+
unit: "$"
|
51
|
+
separator: "."
|
52
|
+
delimiter: ","
|
53
|
+
precision: 2
|
54
|
+
significant: false
|
55
|
+
strip_insignificant_zeros: false
|
56
|
+
|
57
|
+
percentage:
|
58
|
+
format:
|
59
|
+
delimiter: ""
|
60
|
+
|
61
|
+
precision:
|
62
|
+
format:
|
63
|
+
delimiter: ""
|
64
|
+
|
65
|
+
human:
|
66
|
+
format:
|
67
|
+
delimiter: ""
|
68
|
+
precision: 3
|
69
|
+
significant: true
|
70
|
+
strip_insignificant_zeros: true
|
71
|
+
storage_units:
|
72
|
+
format: "%n %u"
|
73
|
+
units:
|
74
|
+
byte:
|
75
|
+
one: "Byte"
|
76
|
+
other: "Bytes"
|
77
|
+
kb: "KB"
|
78
|
+
mb: "MB"
|
79
|
+
gb: "GB"
|
80
|
+
tb: "TB"
|
81
|
+
decimal_units:
|
82
|
+
format: "%n %u"
|
83
|
+
units:
|
84
|
+
unit: ""
|
85
|
+
thousand: Thousand
|
86
|
+
million: Million
|
87
|
+
billion: Billion
|
88
|
+
trillion: Trillion
|
89
|
+
quadrillion: Quadrillion
|
90
|
+
|
91
|
+
datetime:
|
92
|
+
distance_in_words:
|
93
|
+
half_a_minute: "half a minute"
|
94
|
+
less_than_x_seconds:
|
95
|
+
one: "less than 1 second"
|
96
|
+
other: "less than %{count} seconds"
|
97
|
+
x_seconds:
|
98
|
+
one: "1 second"
|
99
|
+
other: "%{count} seconds"
|
100
|
+
less_than_x_minutes:
|
101
|
+
one: "less than a minute"
|
102
|
+
other: "less than %{count} minutes"
|
103
|
+
x_minutes:
|
104
|
+
one: "1 minute"
|
105
|
+
other: "%{count} minutes"
|
106
|
+
about_x_hours:
|
107
|
+
one: "about 1 hour"
|
108
|
+
other: "about %{count} hours"
|
109
|
+
x_days:
|
110
|
+
one: "1 day"
|
111
|
+
other: "%{count} days"
|
112
|
+
about_x_months:
|
113
|
+
one: "about 1 month"
|
114
|
+
other: "about %{count} months"
|
115
|
+
x_months:
|
116
|
+
one: "1 month"
|
117
|
+
other: "%{count} months"
|
118
|
+
about_x_years:
|
119
|
+
one: "about 1 year"
|
120
|
+
other: "about %{count} years"
|
121
|
+
over_x_years:
|
122
|
+
one: "over 1 year"
|
123
|
+
other: "over %{count} years"
|
124
|
+
almost_x_years:
|
125
|
+
one: "almost 1 year"
|
126
|
+
other: "almost %{count} years"
|
127
|
+
prompts:
|
128
|
+
year: "Year"
|
129
|
+
month: "Month"
|
130
|
+
day: "Day"
|
131
|
+
hour: "Hour"
|
132
|
+
minute: "Minute"
|
133
|
+
second: "Seconds"
|
134
|
+
|
135
|
+
helpers:
|
136
|
+
select:
|
137
|
+
prompt: "Please select"
|
138
|
+
|
139
|
+
submit:
|
140
|
+
create: 'Create %{model}'
|
141
|
+
update: 'Update %{model}'
|
142
|
+
submit: 'Save %{model}'
|
143
|
+
|
144
|
+
errors:
|
145
|
+
format: "%{attribute} %{message}"
|
146
|
+
|
147
|
+
messages: &errors_messages
|
148
|
+
inclusion: "is not included in the list"
|
149
|
+
exclusion: "is reserved"
|
150
|
+
invalid: "is invalid"
|
151
|
+
confirmation: "doesn't match confirmation"
|
152
|
+
accepted: "must be accepted"
|
153
|
+
empty: "can't be empty"
|
154
|
+
blank: "can't be blank"
|
155
|
+
too_long: "is too long (maximum is %{count} characters)"
|
156
|
+
too_short: "is too short (minimum is %{count} characters)"
|
157
|
+
wrong_length: "is the wrong length (should be %{count} characters)"
|
158
|
+
not_a_number: "is not a number"
|
159
|
+
not_an_integer: "must be an integer"
|
160
|
+
greater_than: "must be greater than %{count}"
|
161
|
+
greater_than_or_equal_to: "must be greater than or equal to %{count}"
|
162
|
+
equal_to: "must be equal to %{count}"
|
163
|
+
less_than: "must be less than %{count}"
|
164
|
+
less_than_or_equal_to: "must be less than or equal to %{count}"
|
165
|
+
odd: "must be odd"
|
166
|
+
even: "must be even"
|
167
|
+
|
168
|
+
activerecord:
|
169
|
+
errors:
|
170
|
+
template:
|
171
|
+
header:
|
172
|
+
one: "1 error prohibited this %{model} from being saved"
|
173
|
+
other: "%{count} errors prohibited this %{model} from being saved"
|
174
|
+
body: "There were problems with the following fields:"
|
175
|
+
|
176
|
+
messages:
|
177
|
+
taken: "has already been taken"
|
178
|
+
record_invalid: "Validation failed: %{errors}"
|
179
|
+
<<: *errors_messages
|
180
|
+
|
181
|
+
full_messages:
|
182
|
+
format: "%{attribute}%{message}"
|
@@ -4,6 +4,14 @@ fr:
|
|
4
4
|
pages: Pages
|
5
5
|
users: Utilisateurs
|
6
6
|
categories: Catégories
|
7
|
-
|
8
|
-
|
9
|
-
|
7
|
+
media: Media
|
8
|
+
|
9
|
+
toplinks:
|
10
|
+
sign_in: "Se connecter"
|
11
|
+
sign_up: "Créer un compte"
|
12
|
+
signed_in_as: "Connecté en tant que %{user}"
|
13
|
+
sign_out: "Se deconnecter"
|
14
|
+
or: "ou"
|
15
|
+
site: "Accueil"
|
16
|
+
website_home: Site
|
17
|
+
signed_in_as: "%{user}"
|
@@ -0,0 +1,38 @@
|
|
1
|
+
fr:
|
2
|
+
activerecord:
|
3
|
+
errors:
|
4
|
+
models:
|
5
|
+
document:
|
6
|
+
attributes:
|
7
|
+
title:
|
8
|
+
blank: Vous devez donner un titre à ce document
|
9
|
+
doc:
|
10
|
+
blank: Vous oubliez le fichier
|
11
|
+
|
12
|
+
documents:
|
13
|
+
subnav: Documents
|
14
|
+
|
15
|
+
title: Titre
|
16
|
+
link: Lien
|
17
|
+
file_size: Taille
|
18
|
+
doc_field: Fichier
|
19
|
+
file_name: Nom du fichier
|
20
|
+
submit: Envoyer
|
21
|
+
delete: Supprimer ce document
|
22
|
+
|
23
|
+
search:
|
24
|
+
title: Rechercher
|
25
|
+
document_title: Titre du document
|
26
|
+
submit: Rechercher
|
27
|
+
|
28
|
+
links:
|
29
|
+
new: Ajouter un document
|
30
|
+
|
31
|
+
index:
|
32
|
+
title: Documents
|
33
|
+
|
34
|
+
new:
|
35
|
+
title: Ajouter un document
|
36
|
+
edit:
|
37
|
+
title: Modifier le document
|
38
|
+
|
@@ -0,0 +1,54 @@
|
|
1
|
+
fr:
|
2
|
+
|
3
|
+
activerecord:
|
4
|
+
errors:
|
5
|
+
models:
|
6
|
+
image:
|
7
|
+
attributes:
|
8
|
+
title:
|
9
|
+
blank: Vous devez donner un titre à cette image
|
10
|
+
image:
|
11
|
+
blank: Vous oubliez le fichier
|
12
|
+
wrong_format: Ce fichier n'est pas une image
|
13
|
+
|
14
|
+
admin:
|
15
|
+
nav:
|
16
|
+
images: Media
|
17
|
+
|
18
|
+
images:
|
19
|
+
|
20
|
+
title: Titre
|
21
|
+
link: Lien
|
22
|
+
image_field: Fichier image
|
23
|
+
file_size: Taille
|
24
|
+
thumb: Vignette
|
25
|
+
|
26
|
+
subnav: Images
|
27
|
+
|
28
|
+
search:
|
29
|
+
title: Rechercher
|
30
|
+
image_title: Titre de l'image
|
31
|
+
submit: Rechercher
|
32
|
+
|
33
|
+
styles:
|
34
|
+
original: original
|
35
|
+
medium: taille moyenne
|
36
|
+
thumb: vignette
|
37
|
+
|
38
|
+
delete: Supprimer l'image
|
39
|
+
submit: Envoyer
|
40
|
+
|
41
|
+
|
42
|
+
no_image: pas d'image
|
43
|
+
|
44
|
+
links:
|
45
|
+
new: Ajouter une image
|
46
|
+
|
47
|
+
index:
|
48
|
+
title: Images
|
49
|
+
|
50
|
+
new:
|
51
|
+
title: Ajouter une image
|
52
|
+
|
53
|
+
edit:
|
54
|
+
title: Modifier l'image
|
@@ -1,9 +1,8 @@
|
|
1
1
|
fr:
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
site: "Accueil"
|
2
|
+
toplinks:
|
3
|
+
sign_in: "Se connecter"
|
4
|
+
sign_up: "Créer un compte"
|
5
|
+
signed_in_as: "Connecté en tant que %{user}"
|
6
|
+
sign_out: "Se deconnecter"
|
7
|
+
or: "ou"
|
8
|
+
site: "Accueil"
|
@@ -0,0 +1,42 @@
|
|
1
|
+
fr:
|
2
|
+
activerecord:
|
3
|
+
errors:
|
4
|
+
models:
|
5
|
+
video:
|
6
|
+
attributes:
|
7
|
+
title:
|
8
|
+
blank: Vous devez donner un titre à cette vidéo
|
9
|
+
|
10
|
+
videos:
|
11
|
+
title: Titre
|
12
|
+
link: Lien
|
13
|
+
file_size: Taille
|
14
|
+
submit: Envoyer
|
15
|
+
delete: Supprimer cette vidéo
|
16
|
+
no_source: aucune source
|
17
|
+
|
18
|
+
sources:
|
19
|
+
title: Sources
|
20
|
+
file: Fichier
|
21
|
+
container_type: Type
|
22
|
+
instruct: "<div class='instruct'><p class='nomargin'>Il est recommandé d'ajouter plusieurs sources de video afin d'assurer le maximum de compatibilité entre les navigateurs web. Le MP4 est obligatoire puisqu'il sera utilisé par le lecteur de secours. Ainsi :</p><ul><li>MP4 : Lecteur Flash de secours, Safari, iPhone, iPad</li><li>WebM : Firefox, Chrome et Opera</li><li>Theora : Ancienne version de Firefox, Chrome et Opera</li></ul></div>"
|
23
|
+
|
24
|
+
subnav: Videos
|
25
|
+
|
26
|
+
links:
|
27
|
+
new: Ajouter une video
|
28
|
+
back_to_index: "« toutes les videos"
|
29
|
+
edit: modifier
|
30
|
+
|
31
|
+
search:
|
32
|
+
title: Rechercher
|
33
|
+
submit: Rechercher
|
34
|
+
video_title: Titre de la video
|
35
|
+
|
36
|
+
|
37
|
+
index:
|
38
|
+
title: Videos
|
39
|
+
new:
|
40
|
+
title: Ajouter une video
|
41
|
+
edit:
|
42
|
+
title: Modifier la vidéo
|