Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/models/story.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def source
end

def pretty_date
self.published.strftime("%A, %B %d")
I18n.l(self.published)
end

def as_json(options = {})
Expand Down
4 changes: 2 additions & 2 deletions app/views/partials/_feed.erb
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<span class="last-updated"><%= t('partials.feed.last_updated') %></span>
<span class="last-updated-time">
<% if feed.last_fetched %>
<%= feed.last_fetched.strftime("%b %d, %H:%M") %>
<%= I18n.l(feed.last_fetched) %>
<% else %>
Never
<%= t("partials.feed.last_fetched.never") %>
<% end %>
</span>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/partials/_story.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<div class="row-fluid story-actions-container">
<div class="pull-left">
<span class="story-published">
<%= story.published.strftime("%A, %B %d") %>
<%= I18n.l(story.published) %>
</span>
</div>
<div class="pull-right story-actions">
Expand Down
36 changes: 34 additions & 2 deletions config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ de:
index:
add_some_feeds: "Hey, du solltest ein paar Feeds %{add}."
add: "hinzufügen"
stories:
keep_unread: "Als ungelesen behalten"
first_run:
password:
title: 'Stringer ist'
Expand All @@ -31,21 +33,27 @@ de:
refresh: "Aktualisieren"
view_feeds: "Zeige Feeds an"
add_feed: "Füge einen Feed hinzu"
archived_stories: "Archivierte Geschichten"
feed:
last_updated: "Zuletzt aktualisiert um"
status_bubble:
green: "Erfolg!"
yellow: "Fehler beim analysieren der (wahrscheinlich temporäre)"
red: "Fehler beim analysieren (und es funktionierte nie vor, entweder)"
yellow: "Fehler beim Analysieren der (wahrscheinlich temporäre)"
red: "Fehler beim Analysieren (und es funktionierte nie vor, entweder)"
last_fetched:
never: "Nie"
feed_action_bar:
home: "Zurück zu den Geschichten"
feeds: "Zeige Feeds an"
add_feed: "Füge einen Feed hinzu"
archived_stories: "Archivierte Geschichten"
shortcuts:
title: "Tastaturkürzel"
keys:
jk: "Nächste/vorherige Geschichte"
np: "Hoch/runter bewegen"
oenter: "Klappe Geschichte aus/ein"
m: "Markiere Geschichte als gelesen/ungelesen"
or: "oder"
v: "Öffne die URL der Geschichte"
shifta: "Alle als gelesen markieren"
Expand All @@ -54,6 +62,7 @@ de:
zero: "Du hast RSS Zero&trade; erreicht"
gtfo: 'Jetzt hör auf Blogs zu lesen und'
go_make: 'geh und mach etwas'
archive: "alle Einträge anzeigen"
sessions:
new:
title: 'Stringer sagt'
Expand Down Expand Up @@ -96,3 +105,26 @@ de:
description: "Wir besorgen dir Geschichten zum Lesen, gib uns eine Sekunde."
start: "Fang an zu lesen"
ready: "Okay, es ist bereit!"
archive:
next: "Nächste"
previous: "Vorherige"
of: "von"
sorry: "Entschuldigung, du hast noch keine Geschichten gelesen."
time:
formats:
default: "%e. %b, %H:%M Uhr"
date:
abbr_month_names:
-
- Jan
- Feb
- Mär
- Apr
- Mai
- Jun
- Jul
- Aug
- Sep
- Okt
- Nov
- Dez
20 changes: 20 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ en:
green: "Success!"
yellow: "Error parsing (probably temporary)"
red: "Error parsing (and it ain't never worked before, either)"
last_fetched:
never: "Never"
feed_action_bar:
home: "Return to Stories"
feeds: "View feeds"
Expand Down Expand Up @@ -108,3 +110,21 @@ en:
previous: "Previous"
of: "of"
sorry: "Sorry, you haven't read any stories yet!"
time:
formats:
default: "%b %d, %H:%M"
date:
abbr_month_names:
-
- Jan
- Feb
- Mar
- Apr
- May
- Jun
- Jul
- Aug
- Sep
- Oct
- Nov
- Dec
18 changes: 18 additions & 0 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,21 @@ es:
next: "Next"
previous: "Previous"
sorry: "Sorry, you haven't read any stories yet!"
time:
formats:
default: "%d de %b %H:%M"
date:
abbr_month_names:
-
- ene
- feb
- mar
- abr
- may
- jun
- jul
- ago
- sep
- oct
- nov
- dic
19 changes: 19 additions & 0 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,22 @@ fr:
previous: "Précédent"
of: "de"
sorry: "Désolé, vous n'avez encore lu aucun article !"
time:
formats:
default: "%d %b %H:%M"
date:
abbr_month_names:
-
- jan.
- fév.
- mar.
- avr.
- mai
- juin
- juil.
- août
- sept.
- oct.
- nov.
- déc.

19 changes: 19 additions & 0 deletions config/locales/gr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,22 @@ gr:
previous: "Προηγούμενο"
of: "απο"
sorry: "Λυπάμαι, δεν διάβασε καμία είδηση ακόμη."
time:
formats:
default: "%d %b %H:%M"
date:
abbr_month_names:
-
- Ιαν
- Φεβ
- Μαρ
- Απρ
- Μαϊ
- Ιουν
- Ιουλ
- Αυγ
- Σεπ
- Οκτ
- Νοε
- Δεκ

19 changes: 19 additions & 0 deletions config/locales/it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,23 @@ it:
description: "Stiamo importando alcune storie da leggere, dacci un secondo."
start: "Inizia a leggere"
ready: "Okay, è pronto!"
time:
formats:
default: "%d %b, %H:%M"
date:
abbr_month_names:
-
- gen
- feb
- mar
- apr
- mag
- giu
- lug
- ago
- set
- ott
- nov
- dic


20 changes: 19 additions & 1 deletion config/locales/nl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,26 @@ nl:
description: "We zijn je artikelen aan het ophalen, geef ons even."
start: "Je kunt beginnen met lezen"
ready: "Okay, klaar!"
archive:
archive:
next: "Volgende"
previous: "Vorige"
of: "van"
sorry: "Sorry, je hebt nog geen artikelen gelezen!"
time:
formats:
default: "%d %b, %H:%M"
date:
abbr_month_names:
-
- jan
- feb
- mar
- apr
- mei
- jun
- jul
- aug
- sep
- okt
- nov
- dec
18 changes: 18 additions & 0 deletions config/locales/pt-BR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,21 @@
previous: "Anterior"
of: "de"
sorry: "Desculpe, você não leu alguma história ainda!"
time:
formats:
default: "%d de %b, %H:%M"
date:
abbr_month_names:
-
- Jan
- Fev
- Mar
- Abr
- Mai
- Jun
- Jul
- Ago
- Set
- Out
- Nov
- Dez
18 changes: 18 additions & 0 deletions config/locales/sv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,3 +104,21 @@ sv:
previous: "Föregående"
of: "av"
sorry: "Tyvärr, du har inte läst några berättelser än!"
time:
formats:
default: "%e %berättelser %H:%M"
date:
abbr_month_names:
-
- jan
- feb
- mar
- apr
- maj
- jun
- jul
- aug
- sep
- okt
- nov
- dec
19 changes: 19 additions & 0 deletions config/locales/zh_CN.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,22 @@ zh_CN:
previous: "上一页"
of: "of"
sorry: "呃,你现在还没有已经读过的故事"
time:
formats:
default: "%b%d日 %H:%M"
date:
abbr_month_names:
-
- 一月
- 二月
- 三月
- 四月
- 五月
- 六月
- 七月
- 八月
- 九月
- 十月
- 十一月
- 十二月