monologue 0.2.0.beta3 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +3 -3
- data/app/assets/stylesheets/monologue/blog/monologue.css +7 -2
- data/app/models/monologue/post.rb +2 -2
- data/app/views/layouts/monologue/application.html.erb +5 -4
- data/app/views/layouts/monologue/application/_disqus.html.erb +1 -1
- data/app/views/layouts/monologue/application/_disqus_embed.html.erb +1 -1
- data/app/views/monologue/admin/comments/show.html.erb +1 -1
- data/app/views/monologue/posts/_social_sharing.html.erb +1 -1
- data/config/locales/ro.yml +179 -0
- data/lib/monologue/version.rb +1 -1
- metadata +6 -5
data/README.md
CHANGED
|
@@ -6,9 +6,9 @@ Monologue is a basic mountable blogging engine in Rails built to be easily mount
|
|
|
6
6
|
|
|
7
7
|
## Questions? Problems? Documentation?
|
|
8
8
|
|
|
9
|
-
[Questions here please](http://groups.google.com/forum/#!forum/monologue-rb)
|
|
10
|
-
[Issues and bugs](http://github.com/jipiboily/monologue/issues)
|
|
11
|
-
[Wiki](https://github.com/jipiboily/monologue/wiki/_pages)
|
|
9
|
+
- [Questions here please](http://groups.google.com/forum/#!forum/monologue-rb)
|
|
10
|
+
- [Issues and bugs](http://github.com/jipiboily/monologue/issues)
|
|
11
|
+
- [Wiki](https://github.com/jipiboily/monologue/wiki/_pages)
|
|
12
12
|
|
|
13
13
|
## Here are a few features
|
|
14
14
|
- Rails mountable engine (fully named spaced and mountable in an already existing app)
|
|
@@ -158,14 +158,19 @@ a.social {
|
|
|
158
158
|
line-height: 32px;
|
|
159
159
|
margin-bottom: 4px;
|
|
160
160
|
}
|
|
161
|
-
|
|
161
|
+
|
|
162
162
|
/* footer */
|
|
163
163
|
|
|
164
|
-
.content article footer
|
|
164
|
+
.content article footer .social-tagline {
|
|
165
165
|
margin-bottom: 10px;
|
|
166
166
|
font-size: 16px;
|
|
167
167
|
text-transform: uppercase;
|
|
168
168
|
text-align: center;
|
|
169
|
+
font-weight: bold;
|
|
170
|
+
line-height: 50px;
|
|
171
|
+
color: #181818;
|
|
172
|
+
font-family: "Georgia", "Times New Roman", Helvetica, Arial, sans-serif;
|
|
173
|
+
display: block;
|
|
169
174
|
}
|
|
170
175
|
|
|
171
176
|
.monologue-social-sharing {
|
|
@@ -7,8 +7,8 @@ class Monologue::Post < ActiveRecord::Base
|
|
|
7
7
|
attr_writer :tag_list
|
|
8
8
|
attr_accessible :posts_revisions_attributes, :published, :tag_list
|
|
9
9
|
|
|
10
|
-
scope :default, includes(:posts_revisions).where("posts_revision_id = monologue_posts_revisions.id").order("published_at DESC")
|
|
11
|
-
scope :published, default.where(:published => true).where("published_at <= ?", DateTime.now)
|
|
10
|
+
scope :default, includes(:posts_revisions).where("posts_revision_id = monologue_posts_revisions.id").order("published_at DESC, monologue_posts.created_at DESC, monologue_posts.updated_at DESC")
|
|
11
|
+
scope :published, lambda { default.where(:published => true).where("published_at <= ?", DateTime.now) }
|
|
12
12
|
|
|
13
13
|
default_scope includes(:tags)
|
|
14
14
|
|
|
@@ -27,10 +27,11 @@
|
|
|
27
27
|
|
|
28
28
|
<%= render 'layouts/monologue/application/sidebar' %>
|
|
29
29
|
</div>
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
30
|
+
<% if content_for?(:footer) %>
|
|
31
|
+
<footer>
|
|
32
|
+
<%= yield :footer %>
|
|
33
|
+
</footer>
|
|
34
|
+
<% end %>
|
|
34
35
|
<%= render 'layouts/monologue/application/disqus' %>
|
|
35
36
|
<%= render 'layouts/monologue/application/gauge_analytics' %>
|
|
36
37
|
</body>
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
(function () {
|
|
12
12
|
var s = document.createElement('script'); s.async = true;
|
|
13
13
|
s.type = 'text/javascript';
|
|
14
|
-
s.src = '
|
|
14
|
+
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
|
|
15
15
|
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
|
|
16
16
|
}());
|
|
17
17
|
</script>
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
var dsq = document.createElement('script');
|
|
12
12
|
dsq.type = 'text/javascript';
|
|
13
13
|
dsq.async = true;
|
|
14
|
-
dsq.src = '
|
|
14
|
+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
|
|
15
15
|
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
|
|
16
16
|
})();
|
|
17
17
|
</script>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
<div id="recentcomments" class="dsq-widget">
|
|
2
2
|
<h1 class="dsq-widget-title"><%= t(".recent_comments") %></h1>
|
|
3
|
-
<script type="text/javascript" src="
|
|
3
|
+
<script type="text/javascript" src="//<%= Monologue.disqus_shortname%>.disqus.com/recent_comments_widget.js?num_items=20&hide_avatars=0&avatar_size=48&excerpt_length=500"></script>
|
|
4
4
|
</div>
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
ro:
|
|
2
|
+
monologue:
|
|
3
|
+
posts:
|
|
4
|
+
pagination:
|
|
5
|
+
older_posts:
|
|
6
|
+
"Articole mai vechi"
|
|
7
|
+
newer_posts:
|
|
8
|
+
"Articole mai noi"
|
|
9
|
+
social_sharing:
|
|
10
|
+
tagline:
|
|
11
|
+
"V-a placut articolul ? Dati mai departe."
|
|
12
|
+
post:
|
|
13
|
+
readmore:
|
|
14
|
+
"Cititi articolul"
|
|
15
|
+
"404":
|
|
16
|
+
title:
|
|
17
|
+
"Pagina pe care o cautati nu exista."
|
|
18
|
+
message:
|
|
19
|
+
"Este posibil sa fi gresit adresa sau pagina sa se fi mutat la alta adresa."
|
|
20
|
+
sidebar:
|
|
21
|
+
categories:
|
|
22
|
+
title:
|
|
23
|
+
"Categorii"
|
|
24
|
+
latest_posts:
|
|
25
|
+
title:
|
|
26
|
+
"Ultimele articole"
|
|
27
|
+
latest_tweets:
|
|
28
|
+
title:
|
|
29
|
+
"Ultimele tweet-uri"
|
|
30
|
+
tag_cloud:
|
|
31
|
+
title:
|
|
32
|
+
"Tag-uri"
|
|
33
|
+
tags:
|
|
34
|
+
show:
|
|
35
|
+
showing_post_with_tag:
|
|
36
|
+
"Articole cu tag-ul"
|
|
37
|
+
show_all_posts:
|
|
38
|
+
"Toate articolele"
|
|
39
|
+
admin:
|
|
40
|
+
login:
|
|
41
|
+
need_auth:
|
|
42
|
+
"Pentru a accesa aceasta pagina, trebuie sa va autentificati."
|
|
43
|
+
users:
|
|
44
|
+
edit:
|
|
45
|
+
header: "Modificare cont"
|
|
46
|
+
email: "Email"
|
|
47
|
+
name: "Nume"
|
|
48
|
+
password: "Parola"
|
|
49
|
+
confirmation: "Confirmare parola"
|
|
50
|
+
save: "Salvati"
|
|
51
|
+
posts:
|
|
52
|
+
index:
|
|
53
|
+
title:
|
|
54
|
+
"Titlu"
|
|
55
|
+
edit:
|
|
56
|
+
"Modificati"
|
|
57
|
+
delete:
|
|
58
|
+
"Stergeti"
|
|
59
|
+
published:
|
|
60
|
+
"Da"
|
|
61
|
+
not_published:
|
|
62
|
+
"Nu e publicat"
|
|
63
|
+
status:
|
|
64
|
+
"Publicat ?"
|
|
65
|
+
new:
|
|
66
|
+
header:
|
|
67
|
+
"Articol nou"
|
|
68
|
+
create:
|
|
69
|
+
created:
|
|
70
|
+
"Articol creeat"
|
|
71
|
+
created_with_future_date_and_cache:
|
|
72
|
+
"Articol creeat: articolele cu data publicarii in viitor nu vor aparea decat daca stergeti cache-ul in acea zi. Cache-ul va fi generat mai devreme si nu va fi actualizat automat."
|
|
73
|
+
edit:
|
|
74
|
+
header:
|
|
75
|
+
"Modificati"
|
|
76
|
+
update:
|
|
77
|
+
saved_with_future_date_and_cache:
|
|
78
|
+
"Articol salvat: articolele cu data publicarii in viitor nu vor aparea decat daca stergeti cache-ul in acea zi. Cache-ul va fi generat mai devreme si nu va fi actualizat automat."
|
|
79
|
+
saved:
|
|
80
|
+
"Articol salvat"
|
|
81
|
+
delete:
|
|
82
|
+
removed:
|
|
83
|
+
"Articol sters"
|
|
84
|
+
fail:
|
|
85
|
+
"Articolul nu a putut fi sters!"
|
|
86
|
+
form:
|
|
87
|
+
title:
|
|
88
|
+
"Titlu"
|
|
89
|
+
content:
|
|
90
|
+
"Continut"
|
|
91
|
+
url:
|
|
92
|
+
caption:
|
|
93
|
+
"URL<br/><i> Va fi completat automat cu '%s'. Puteti alege un URL personalizat. Nu adaugati '%s' la inceputul URL-ului.</i>"
|
|
94
|
+
generated_title:
|
|
95
|
+
"titlul-articolului"
|
|
96
|
+
published_at:
|
|
97
|
+
"Publicat la data de"
|
|
98
|
+
published:
|
|
99
|
+
"Publicat"
|
|
100
|
+
save:
|
|
101
|
+
"Salvati"
|
|
102
|
+
preview:
|
|
103
|
+
"Vizualizare"
|
|
104
|
+
tags:
|
|
105
|
+
"Tag-uri <br/><i>Separate prin virgula</i>"
|
|
106
|
+
comments:
|
|
107
|
+
show:
|
|
108
|
+
recent_comments:
|
|
109
|
+
"Comentarii recente"
|
|
110
|
+
cache:
|
|
111
|
+
show:
|
|
112
|
+
title: "Gestionare cache"
|
|
113
|
+
description: "Aici puteti sterge cache-ul."
|
|
114
|
+
files_in_cache: "Fisiere cache-uite:"
|
|
115
|
+
no_files_are_cached: "Nu exista nici un fisier in cache."
|
|
116
|
+
delete: "Stergeti cache-ul?"
|
|
117
|
+
confirm: 'Sigur doriti sa stergeti cache-ul?'
|
|
118
|
+
cache_wiped: "Cache-ul a fost sters!"
|
|
119
|
+
how_to_enable:
|
|
120
|
+
warning: "Nu puteti gestiona cache-ul!"
|
|
121
|
+
explanations: "Anumite setari sunt incorecte pentru a putea folosi cache-ul din Monologue. Va rugam sa citit documentatia."
|
|
122
|
+
sessions:
|
|
123
|
+
new:
|
|
124
|
+
title:
|
|
125
|
+
"Autentificare"
|
|
126
|
+
email:
|
|
127
|
+
"Email"
|
|
128
|
+
password:
|
|
129
|
+
"Parola"
|
|
130
|
+
button:
|
|
131
|
+
"Autentificare"
|
|
132
|
+
messages:
|
|
133
|
+
invalid:
|
|
134
|
+
"Email sau parola gresita."
|
|
135
|
+
logged_in:
|
|
136
|
+
"Autentificat!"
|
|
137
|
+
logged_out:
|
|
138
|
+
"La revedere!"
|
|
139
|
+
layouts:
|
|
140
|
+
monologue:
|
|
141
|
+
admin:
|
|
142
|
+
nav_bar:
|
|
143
|
+
add_a_monologue:
|
|
144
|
+
"Adaugati articol"
|
|
145
|
+
list_monologues:
|
|
146
|
+
"Lista articole"
|
|
147
|
+
comments:
|
|
148
|
+
"Comentarii"
|
|
149
|
+
cache: "Gestionati cache"
|
|
150
|
+
edit_user_info: "Contul meu"
|
|
151
|
+
settings: "Preferinte"
|
|
152
|
+
log_out:
|
|
153
|
+
"Iesire"
|
|
154
|
+
activerecord:
|
|
155
|
+
errors:
|
|
156
|
+
format: "%{message}"
|
|
157
|
+
errors:
|
|
158
|
+
full_messages: "%{message}"
|
|
159
|
+
errors:
|
|
160
|
+
models:
|
|
161
|
+
full_messages: "%{message}"
|
|
162
|
+
monologue/posts_revision:
|
|
163
|
+
blank:
|
|
164
|
+
"%{attribute} este necesar"
|
|
165
|
+
attributes:
|
|
166
|
+
published_at:
|
|
167
|
+
blank:
|
|
168
|
+
"'Published at' este necesar"
|
|
169
|
+
url:
|
|
170
|
+
start_with_slash:
|
|
171
|
+
"URL-ul nu poate incepe cu slash ('/')"
|
|
172
|
+
unique:
|
|
173
|
+
"URL-ul este deja folosit"
|
|
174
|
+
monologue/user:
|
|
175
|
+
blank:
|
|
176
|
+
"%{attribute} este necesar"
|
|
177
|
+
attributes:
|
|
178
|
+
password:
|
|
179
|
+
confirmation: "Parola si confirmarea acesteia nu sunt identice."
|
data/lib/monologue/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: monologue
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.0
|
|
5
|
-
prerelease:
|
|
4
|
+
version: 0.2.0
|
|
5
|
+
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Jean-Philippe Boily | @jipiboily
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-10-
|
|
12
|
+
date: 2012-10-18 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|
|
@@ -330,6 +330,7 @@ files:
|
|
|
330
330
|
- app/views/monologue/tags/show.html.erb
|
|
331
331
|
- config/locales/en.yml
|
|
332
332
|
- config/locales/fr.yml
|
|
333
|
+
- config/locales/ro.yml
|
|
333
334
|
- config/routes.rb
|
|
334
335
|
- db/migrate/20120114001001_create_monologue_users.rb
|
|
335
336
|
- db/migrate/20120120193858_create_monologue_posts_revisions.rb
|
|
@@ -379,9 +380,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
379
380
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
380
381
|
none: false
|
|
381
382
|
requirements:
|
|
382
|
-
- - ! '
|
|
383
|
+
- - ! '>='
|
|
383
384
|
- !ruby/object:Gem::Version
|
|
384
|
-
version:
|
|
385
|
+
version: '0'
|
|
385
386
|
requirements: []
|
|
386
387
|
rubyforge_project:
|
|
387
388
|
rubygems_version: 1.8.24
|