Skip to content

Commit

Permalink
Merge branch 'master' of github.com:cuc-project/db into games
Browse files Browse the repository at this point in the history
  • Loading branch information
minivan committed Mar 10, 2015
2 parents f68c247 + c2df0e7 commit ccf8436
Show file tree
Hide file tree
Showing 2 changed files with 111 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
include ActionView::Helpers::DateHelper

class ApplicationController < ActionController::Base
# Prevent CSRF attacks by raising an exception.
# For APIs, you may want to use :null_session instead.
Expand All @@ -11,6 +13,6 @@ def question_count
end

def last_sync_date
Question.first.created_at
time_ago_in_words Question.first.created_at
end
end
109 changes: 108 additions & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,111 @@ en:
one: "A fost găsită o singură întrebare"
other: "Toate întrebările"
more_pages:
display_entries: "Întrebările <b>%{first}&nbsp;-&nbsp;%{last}</b> din <b>%{total}</b> total"
display_entries: "Întrebările <b>%{first}&nbsp;-&nbsp;%{last}</b> din <b>%{total}</b> total"
date:
abbr_day_names:
- Dum
- Lun
- Mar
- Mie
- Joi
- Vin
- Sâm
abbr_month_names:
-
- Ian
- Feb
- Mar
- Apr
- Mai
- Iun
- Iul
- Aug
- Sep
- Oct
- Noi
- Dec
day_names:
- Duminică
- Luni
- Marți
- Miercuri
- Joi
- Vineri
- Sâmbată
formats:
default: "%d-%m-%Y"
long: "%d %B %Y"
short: "%d %b"
month_names:
-
- Ianuarie
- Februarie
- Martie
- Aprilie
- Mai
- Iunie
- Iulie
- August
- Septembrie
- Octombrie
- Noiembrie
- Decembrie
order:
- :day
- :month
- :year
datetime:
distance_in_words:
about_x_hours:
one: aproximativ o oră
few: aproximativ %{count} ore
other: aproximativ %{count} ore
about_x_months:
one: aproximativ o lună
few: aproximativ %{count} luni
other: aproximativ %{count} luni
about_x_years:
one: aproximativ un an
few: aproximativ %{count} ani
other: aproximativ %{count} ani
almost_x_years:
one: aproape 1 an
few: aproape %{count} ani
other: aproape %{count} ani
half_a_minute: jumătate de minut
less_than_x_minutes:
one: mai puțin de un minut
few: mai puțin de %{count} minute
other: mai puțin de %{count} minute
less_than_x_seconds:
one: mai puțin de o secundă
few: mai puțin de %{count} secunde
other: mai puțin de %{count} secunde
over_x_years:
one: mai mult de un an
few: mai mult de %{count} ani
other: mai mult de %{count} ani
x_days:
one: 1 zi
few: "%{count} zile"
other: "%{count} zile"
x_minutes:
one: 1 minut
few: "%{count} minute"
other: "%{count} minute"
x_months:
one: 1 lună
few: "%{count} luni"
other: "%{count} luni"
x_seconds:
one: 1 secundă
few: "%{count} secunde"
other: "%{count} secunde"
prompts:
day: Ziua
hour: Ora
minute: Minutul
month: Luna
second: Secunda
year: Anul

0 comments on commit ccf8436

Please sign in to comment.