Merge branch 'master' of github.com:discourse/discourse
This commit is contained in:
commit
ba600113b0
|
@ -9,7 +9,7 @@
|
|||
Discourse.RestrictedUserRoute = Discourse.Route.extend({
|
||||
|
||||
redirect: function(user) {
|
||||
if (user.get('can_edit') === false) {
|
||||
if (!user.get('can_edit')) {
|
||||
this.transitionTo('user.activity', user);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,41 +13,64 @@
|
|||
nl:
|
||||
js:
|
||||
dates:
|
||||
short_date_no_year: "D MMM"
|
||||
short_date: "D MMM YYYY"
|
||||
long_date: "D MMMM YYYY H:mm"
|
||||
tiny:
|
||||
half_a_minute: "< 1m"
|
||||
less_than_x_seconds:
|
||||
one: "< 1s"
|
||||
other: "< %{count}s"
|
||||
x_seconds:
|
||||
one: "1s"
|
||||
one: 1s
|
||||
other: "%{count}s"
|
||||
less_than_x_minutes:
|
||||
one: "< 1m"
|
||||
other: "< %{count}m"
|
||||
x_minutes:
|
||||
one: "1m"
|
||||
one: 1m
|
||||
other: "%{count}m"
|
||||
about_x_hours:
|
||||
one: "1h"
|
||||
one: 1h
|
||||
other: "%{count}h"
|
||||
x_days:
|
||||
one: "1d"
|
||||
one: 1d
|
||||
other: "%{count}d"
|
||||
about_x_months:
|
||||
one: "1mon"
|
||||
one: 1mnd
|
||||
other: "%{count}mnd"
|
||||
x_months:
|
||||
one: "1mnd"
|
||||
one: mnd
|
||||
other: "%{count}mon"
|
||||
about_x_years:
|
||||
one: "1j"
|
||||
one: 1j
|
||||
other: "%{count}j"
|
||||
over_x_years:
|
||||
one: "> 1j"
|
||||
other: "> %{count}j"
|
||||
almost_x_years:
|
||||
one: "1j"
|
||||
one: 1j
|
||||
other: "%{count}j"
|
||||
medium:
|
||||
x_minutes:
|
||||
one: 1 minuut
|
||||
other: "%{count} minuten"
|
||||
x_hours:
|
||||
one: 1 uur
|
||||
other: "%{count} uren"
|
||||
x_days:
|
||||
one: 1 dag
|
||||
other: "%{count} dagen"
|
||||
medium_with_ago:
|
||||
x_minutes:
|
||||
one: 1 minuut geleden
|
||||
other: "%{count} minuten geleden"
|
||||
x_hours:
|
||||
one: 1 uur geleden
|
||||
other: "%{count} uren geleden"
|
||||
x_days:
|
||||
one: 1 day geleden
|
||||
other: "%{count} dagen geleden"
|
||||
share:
|
||||
topic: Deel een link naar deze topic
|
||||
post: Deel een link naar dit bericht
|
||||
|
|
|
@ -52,6 +52,7 @@ nl:
|
|||
rss_posts_in_topic: "RSS feed van '%{topic}'"
|
||||
rss_topics_in_category: "RSS fees van topics in de categorie '%{category}'"
|
||||
author_wrote: "%{author} schreef:"
|
||||
private_message_abbrev: PB
|
||||
|
||||
groups:
|
||||
default_names:
|
||||
|
@ -583,8 +584,8 @@ nl:
|
|||
email_time_window_mins: "Hoeveel minuten we wachten met het sturen van een e-mail naar een persoon, om ze een kans te geven het eerst op de site te kunnen lezen."
|
||||
flush_timings_secs: "Hoe vaak we timing-data naar de server sturen, in seconden."
|
||||
max_word_length: "De maximumlengte van een woord in een topictitel"
|
||||
title_min_entropy: "De minimale entropie die een topictitel moet bevatten"
|
||||
body_min_entropy: "De minimale entropie die de inhoud van een post moet bevatten"
|
||||
title_min_entropy: "De minimale entropie (unieke tekens) die een topictitel moet bevatten"
|
||||
body_min_entropy: "De minimale entropie (unieke tekens) die de inhoud van een post moet bevatten"
|
||||
|
||||
title_fancy_entities: "Converteer algemene ASCII-tekens naar fancy HTML in topictitels, zoals SmartyPants (http://daringfireball.net/projects/smartypants)"
|
||||
|
||||
|
|
|
@ -9,11 +9,11 @@ task "posts:rebake" => :environment do
|
|||
if cooked != p.cooked
|
||||
Post.exec_sql('update posts set cooked = ? where id = ?', cooked, p.id)
|
||||
p.cooked = cooked
|
||||
TopicLink.extract_from(p)
|
||||
putc "#"
|
||||
else
|
||||
putc "."
|
||||
end
|
||||
TopicLink.extract_from(p)
|
||||
end
|
||||
puts
|
||||
puts
|
||||
|
|
Loading…
Reference in New Issue