Updated to rails 3.0.12. remove old gettext code.
This commit is contained in:
parent
5636e200dc
commit
ad508b207b
16 changed files with 235 additions and 192 deletions
2
Gemfile
2
Gemfile
|
@ -1,7 +1,7 @@
|
||||||
# A sample Gemfile
|
# A sample Gemfile
|
||||||
source "http://rubygems.org"
|
source "http://rubygems.org"
|
||||||
|
|
||||||
gem "rails", '3.0.7'
|
gem "rails", '3.0.12'
|
||||||
|
|
||||||
gem 'mysql'
|
gem 'mysql'
|
||||||
gem "fastercsv"
|
gem "fastercsv"
|
||||||
|
|
75
Gemfile.lock
75
Gemfile.lock
|
@ -8,35 +8,35 @@ GEM
|
||||||
remote: http://rubygems.org/
|
remote: http://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
abstract (1.0.0)
|
abstract (1.0.0)
|
||||||
actionmailer (3.0.7)
|
actionmailer (3.0.12)
|
||||||
actionpack (= 3.0.7)
|
actionpack (= 3.0.12)
|
||||||
mail (~> 2.2.15)
|
mail (~> 2.2.19)
|
||||||
actionpack (3.0.7)
|
actionpack (3.0.12)
|
||||||
activemodel (= 3.0.7)
|
activemodel (= 3.0.12)
|
||||||
activesupport (= 3.0.7)
|
activesupport (= 3.0.12)
|
||||||
builder (~> 2.1.2)
|
builder (~> 2.1.2)
|
||||||
erubis (~> 2.6.6)
|
erubis (~> 2.6.6)
|
||||||
i18n (~> 0.5.0)
|
i18n (~> 0.5.0)
|
||||||
rack (~> 1.2.1)
|
rack (~> 1.2.5)
|
||||||
rack-mount (~> 0.6.14)
|
rack-mount (~> 0.6.14)
|
||||||
rack-test (~> 0.5.7)
|
rack-test (~> 0.5.7)
|
||||||
tzinfo (~> 0.3.23)
|
tzinfo (~> 0.3.23)
|
||||||
activemodel (3.0.7)
|
activemodel (3.0.12)
|
||||||
activesupport (= 3.0.7)
|
activesupport (= 3.0.12)
|
||||||
builder (~> 2.1.2)
|
builder (~> 2.1.2)
|
||||||
i18n (~> 0.5.0)
|
i18n (~> 0.5.0)
|
||||||
activerecord (3.0.7)
|
activerecord (3.0.12)
|
||||||
activemodel (= 3.0.7)
|
activemodel (= 3.0.12)
|
||||||
activesupport (= 3.0.7)
|
activesupport (= 3.0.12)
|
||||||
arel (~> 2.0.2)
|
arel (~> 2.0.10)
|
||||||
tzinfo (~> 0.3.23)
|
tzinfo (~> 0.3.23)
|
||||||
activeresource (3.0.7)
|
activeresource (3.0.12)
|
||||||
activemodel (= 3.0.7)
|
activemodel (= 3.0.12)
|
||||||
activesupport (= 3.0.7)
|
activesupport (= 3.0.12)
|
||||||
activesupport (3.0.7)
|
activesupport (3.0.12)
|
||||||
acts_as_configurable (0.0.8)
|
acts_as_configurable (0.0.8)
|
||||||
annotate (2.4.0)
|
annotate (2.4.0)
|
||||||
arel (2.0.9)
|
arel (2.0.10)
|
||||||
builder (2.1.2)
|
builder (2.1.2)
|
||||||
client_side_validations (3.0.4)
|
client_side_validations (3.0.4)
|
||||||
activesupport (~> 3.0.0)
|
activesupport (~> 3.0.0)
|
||||||
|
@ -55,6 +55,7 @@ GEM
|
||||||
jquery-rails (1.0.1)
|
jquery-rails (1.0.1)
|
||||||
railties (~> 3.0)
|
railties (~> 3.0)
|
||||||
thor (~> 0.14)
|
thor (~> 0.14)
|
||||||
|
json (1.6.6)
|
||||||
mail (2.2.19)
|
mail (2.2.19)
|
||||||
activesupport (>= 2.3.6)
|
activesupport (>= 2.3.6)
|
||||||
i18n (>= 0.4.0)
|
i18n (>= 0.4.0)
|
||||||
|
@ -69,9 +70,9 @@ GEM
|
||||||
activerecord (~> 3.0.0)
|
activerecord (~> 3.0.0)
|
||||||
activesupport (~> 3.0.0)
|
activesupport (~> 3.0.0)
|
||||||
arel (~> 2.0.7)
|
arel (~> 2.0.7)
|
||||||
mime-types (1.16)
|
mime-types (1.18)
|
||||||
mysql (2.8.1)
|
mysql (2.8.1)
|
||||||
polyglot (0.3.1)
|
polyglot (0.3.3)
|
||||||
prawn (0.6.3)
|
prawn (0.6.3)
|
||||||
prawn-core (>= 0.6.3, < 0.7)
|
prawn-core (>= 0.6.3, < 0.7)
|
||||||
prawn-format (>= 0.2.3, < 0.3)
|
prawn-format (>= 0.2.3, < 0.3)
|
||||||
|
@ -82,34 +83,38 @@ GEM
|
||||||
prawn-core
|
prawn-core
|
||||||
prawn-layout (0.3.2)
|
prawn-layout (0.3.2)
|
||||||
prawn-security (0.1.1)
|
prawn-security (0.1.1)
|
||||||
rack (1.2.2)
|
rack (1.2.5)
|
||||||
rack-mount (0.6.14)
|
rack-mount (0.6.14)
|
||||||
rack (>= 1.0.0)
|
rack (>= 1.0.0)
|
||||||
rack-test (0.5.7)
|
rack-test (0.5.7)
|
||||||
rack (>= 1.0)
|
rack (>= 1.0)
|
||||||
rails (3.0.7)
|
rails (3.0.12)
|
||||||
actionmailer (= 3.0.7)
|
actionmailer (= 3.0.12)
|
||||||
actionpack (= 3.0.7)
|
actionpack (= 3.0.12)
|
||||||
activerecord (= 3.0.7)
|
activerecord (= 3.0.12)
|
||||||
activeresource (= 3.0.7)
|
activeresource (= 3.0.12)
|
||||||
activesupport (= 3.0.7)
|
activesupport (= 3.0.12)
|
||||||
bundler (~> 1.0)
|
bundler (~> 1.0)
|
||||||
railties (= 3.0.7)
|
railties (= 3.0.12)
|
||||||
rails3_acts_as_paranoid (0.0.9)
|
rails3_acts_as_paranoid (0.0.9)
|
||||||
activerecord (~> 3.0)
|
activerecord (~> 3.0)
|
||||||
railties (3.0.7)
|
railties (3.0.12)
|
||||||
actionpack (= 3.0.7)
|
actionpack (= 3.0.12)
|
||||||
activesupport (= 3.0.7)
|
activesupport (= 3.0.12)
|
||||||
rake (>= 0.8.7)
|
rake (>= 0.8.7)
|
||||||
|
rdoc (~> 3.4)
|
||||||
thor (~> 0.14.4)
|
thor (~> 0.14.4)
|
||||||
rake (0.8.7)
|
rake (0.9.2.2)
|
||||||
|
rdoc (3.12)
|
||||||
|
json (~> 1.4)
|
||||||
responders (0.6.4)
|
responders (0.6.4)
|
||||||
sass (3.1.1)
|
sass (3.1.1)
|
||||||
simple_form (1.3.1)
|
simple_form (1.3.1)
|
||||||
thor (0.14.6)
|
thor (0.14.6)
|
||||||
treetop (1.4.9)
|
treetop (1.4.10)
|
||||||
|
polyglot
|
||||||
polyglot (>= 0.3.1)
|
polyglot (>= 0.3.1)
|
||||||
tzinfo (0.3.27)
|
tzinfo (0.3.33)
|
||||||
wikicloth (0.8.0)
|
wikicloth (0.8.0)
|
||||||
builder
|
builder
|
||||||
expression_parser
|
expression_parser
|
||||||
|
@ -133,7 +138,7 @@ DEPENDENCIES
|
||||||
meta_where
|
meta_where
|
||||||
mysql
|
mysql
|
||||||
prawn (<= 0.6.3)
|
prawn (<= 0.6.3)
|
||||||
rails (= 3.0.7)
|
rails (= 3.0.12)
|
||||||
rails3_acts_as_paranoid (= 0.0.9)
|
rails3_acts_as_paranoid (= 0.0.9)
|
||||||
sass
|
sass
|
||||||
simple_form
|
simple_form
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# encoding: utf-8
|
||||||
class ApplicationController < ActionController::Base
|
class ApplicationController < ActionController::Base
|
||||||
|
|
||||||
protect_from_forgery
|
protect_from_forgery
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# encoding: utf-8
|
||||||
class HomeController < ApplicationController
|
class HomeController < ApplicationController
|
||||||
|
|
||||||
def index
|
def index
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
#
|
||||||
# Methods added to this helper will be available to all templates in the application.
|
# Methods added to this helper will be available to all templates in the application.
|
||||||
module ApplicationHelper
|
module ApplicationHelper
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# encoding: utf-8
|
||||||
module OrdersHelper
|
module OrdersHelper
|
||||||
|
|
||||||
def update_articles_link(order, text, view)
|
def update_articles_link(order, text, view)
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
# encoding: utf-8
|
||||||
|
|
||||||
require 'digest/sha1'
|
require 'digest/sha1'
|
||||||
# specific user rights through memberships (see Group)
|
# specific user rights through memberships (see Group)
|
||||||
class User < ActiveRecord::Base
|
class User < ActiveRecord::Base
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
# encoding: utf-8
|
||||||
class Workgroup < Group
|
class Workgroup < Group
|
||||||
|
|
||||||
has_many :tasks
|
has_many :tasks
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
- users = params[:sort_by_ordergroups] ? @users.sort { |a,b| a.ordergroup.name <=> b.ordergroup.name } : @users
|
- users = params[:sort_by_ordergroups] ? @users.sort { |a,b| a.ordergroup.name <=> b.ordergroup.name } : @users
|
||||||
- for user in users
|
- for user in users
|
||||||
%tr{:class => cycle('even','odd', :name => 'users')}
|
%tr{:class => cycle('even','odd', :name => 'users')}
|
||||||
%td= link_to user.nick, new_message_path(:message => {:mail_to => user.id}), :title => _('Send user an email')
|
%td= link_to user.nick, new_message_path(:message => {:mail_to => user.id}), :title => 'Send user an email'
|
||||||
%td=h user.name if @current_user.role_admin? || user.settings["profile.nameIsPublic"] == '1'
|
%td=h user.name if @current_user.role_admin? || user.settings["profile.nameIsPublic"] == '1'
|
||||||
%td=h user.email if @current_user.role_admin? || user.settings["profile.emailIsPublic"] == '1'
|
%td=h user.email if @current_user.role_admin? || user.settings["profile.emailIsPublic"] == '1'
|
||||||
%td=h user.phone if @current_user.role_admin? || user.settings["profile.phoneIsPublic"] == '1'
|
%td=h user.phone if @current_user.role_admin? || user.settings["profile.phoneIsPublic"] == '1'
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
%td= format_date task.due_date
|
%td= format_date task.due_date
|
||||||
%td
|
%td
|
||||||
%b= task.name
|
%b= task.name
|
||||||
|
|
||||||
- unless @unaccepted_tasks.empty?
|
- unless @unaccepted_tasks.empty?
|
||||||
%h3 Aufgaben übernehmen
|
%h3 Aufgaben übernehmen
|
||||||
Du bis für Aufgaben verantwortlich.
|
Du bis für Aufgaben verantwortlich.
|
||||||
|
@ -74,4 +74,4 @@
|
||||||
- color = ft.amount < 0 ? 'red' : 'black'
|
- color = ft.amount < 0 ? 'red' : 'black'
|
||||||
%td{:style => "color:#{color}; width:5em", :class => "currency"}= number_to_currency(ft.amount)
|
%td{:style => "color:#{color}; width:5em", :class => "currency"}= number_to_currency(ft.amount)
|
||||||
%br/
|
%br/
|
||||||
= link_to _("mehr ..."), my_ordergroup_path
|
= link_to "mehr ...", my_ordergroup_path
|
|
@ -19,4 +19,5 @@
|
||||||
%p
|
%p
|
||||||
= membership.group.name
|
= membership.group.name
|
||||||
- if membership.group.type != 'Ordergroup'
|
- if membership.group.type != 'Ordergroup'
|
||||||
(#{link_to _("Mitgliedschaft beenden"), { :action => 'cancel_membership', :membership_id => membership }, :confirm => _("Bist Du sicher, dass Du Deine Mitgliedschaft beenden willst?"), :method => :post})
|
(#{link_to "Mitgliedschaft beenden", { :action => 'cancel_membership', :membership_id => membership },
|
||||||
|
:confirm => "Bist Du sicher, dass Du Deine Mitgliedschaft beenden willst?", :method => :post})
|
||||||
|
|
|
@ -66,7 +66,7 @@
|
||||||
|
|
|
|
||||||
Faxvorlage:
|
Faxvorlage:
|
||||||
= link_to_pdf(@order, 'faxPdf')
|
= link_to_pdf(@order, 'faxPdf')
|
||||||
= link_to image_tag("text_file.png", :size => "16x16", :border => "0", :alt => "Textdatei erstellen"), { :action => 'text_fax_template', :id => @order }, { :title => _("Download file") }
|
= link_to image_tag("text_file.png", :size => "16x16", :border => "0", :alt => "Textdatei erstellen"), { :action => 'text_fax_template', :id => @order }, { :title => "Download file" }
|
||||||
|
|
|
|
||||||
= link_to 'Kommentare', '#comments'
|
= link_to 'Kommentare', '#comments'
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
= image_tag 'b_user.png' , :size => '7x10', :border => 0, :alt => "Profil"
|
= image_tag 'b_user.png' , :size => '7x10', :border => 0, :alt => "Profil"
|
||||||
= link_to h(@current_user.nick), my_profile_path, { :title => "Profil bearbeiten" }
|
= link_to h(@current_user.nick), my_profile_path, { :title => "Profil bearbeiten" }
|
||||||
- if Foodsoft.config[:homepage]
|
- if Foodsoft.config[:homepage]
|
||||||
%li= link_to Foodsoft.config[:name], Foodsoft.config[:homepage], { :title => _("Go to your FoodCoop-Hompage") }
|
%li= link_to Foodsoft.config[:name], Foodsoft.config[:homepage], { :title => "Go to your FoodCoop-Hompage" }
|
||||||
%li= link_to "Hilfe", 'http://dev.foodcoops.net/wiki/FoodsoftDoku'
|
%li= link_to "Hilfe", 'http://dev.foodcoops.net/wiki/FoodsoftDoku'
|
||||||
%li= link_to "Feedback", new_feedback_path, :title => "Fehler gefunden? Vorschlag? Idee? Kritik?"
|
%li= link_to "Feedback", new_feedback_path, :title => "Fehler gefunden? Vorschlag? Idee? Kritik?"
|
||||||
%li= link_to "Abmelden", logout_path
|
%li= link_to "Abmelden", logout_path
|
|
@ -1,26 +0,0 @@
|
||||||
# Remove this file, when every gettext-method <_("text to translate..")>
|
|
||||||
# is replaced by rails L18n method: L18n.name.name...
|
|
||||||
|
|
||||||
module ActionView
|
|
||||||
class Base
|
|
||||||
def _(text)
|
|
||||||
text
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
module ActiveRecord
|
|
||||||
class Base
|
|
||||||
def _(text)
|
|
||||||
text
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
module ActionController
|
|
||||||
class Base
|
|
||||||
def _(text)
|
|
||||||
text
|
|
||||||
end
|
|
||||||
end
|
|
||||||
end
|
|
|
@ -4,5 +4,5 @@ Foodsoft::Application.config.session_store :cookie_store, :key => '_foodsoft_ses
|
||||||
|
|
||||||
# Use the database for sessions instead of the cookie-based default,
|
# Use the database for sessions instead of the cookie-based default,
|
||||||
# which shouldn't be used to store highly confidential information
|
# which shouldn't be used to store highly confidential information
|
||||||
# (create the session table with "rake db:sessions:create")
|
# (create the session table with "rails generate session_migration")
|
||||||
# FianGroups::Application.config.session_store :active_record_store
|
# Foodsoft::Application.config.session_store :active_record_store
|
||||||
|
|
|
@ -5,152 +5,207 @@ de:
|
||||||
index:
|
index:
|
||||||
title: Startseite
|
title: Startseite
|
||||||
date:
|
date:
|
||||||
|
abbr_day_names:
|
||||||
|
- So
|
||||||
|
- Mo
|
||||||
|
- Di
|
||||||
|
- Mi
|
||||||
|
- Do
|
||||||
|
- Fr
|
||||||
|
- Sa
|
||||||
|
abbr_month_names:
|
||||||
|
-
|
||||||
|
- Jan
|
||||||
|
- Feb
|
||||||
|
- Mär
|
||||||
|
- Apr
|
||||||
|
- Mai
|
||||||
|
- Jun
|
||||||
|
- Jul
|
||||||
|
- Aug
|
||||||
|
- Sep
|
||||||
|
- Okt
|
||||||
|
- Nov
|
||||||
|
- Dez
|
||||||
|
day_names:
|
||||||
|
- Sonntag
|
||||||
|
- Montag
|
||||||
|
- Dienstag
|
||||||
|
- Mittwoch
|
||||||
|
- Donnerstag
|
||||||
|
- Freitag
|
||||||
|
- Samstag
|
||||||
formats:
|
formats:
|
||||||
default: "%d.%m.%Y"
|
default: ! '%d.%m.%Y'
|
||||||
short: "%e. %b"
|
long: ! '%e. %B %Y'
|
||||||
long: "%e. %B %Y"
|
short: ! '%e. %b'
|
||||||
only_day: "%e"
|
month_names:
|
||||||
|
-
|
||||||
day_names: [Sonntag, Montag, Dienstag, Mittwoch, Donnerstag, Freitag, Samstag]
|
- Januar
|
||||||
abbr_day_names: [So, Mo, Di, Mi, Do, Fr, Sa]
|
- Februar
|
||||||
month_names: [~, Januar, Februar, März, April, Mai, Juni, Juli, August, September, Oktober, November, Dezember]
|
- März
|
||||||
abbr_month_names: [~, Jan, Feb, Mär, Apr, Mai, Jun, Jul, Aug, Sep, Okt, Nov, Dez]
|
- April
|
||||||
order: [ :day, :month, :year ]
|
- Mai
|
||||||
|
- Juni
|
||||||
time:
|
- Juli
|
||||||
formats:
|
- August
|
||||||
default: "%A, %d. %B %Y, %H:%M Uhr"
|
- September
|
||||||
short: "%d. %B, %H:%M Uhr"
|
- Oktober
|
||||||
long: "%A, %d. %B %Y, %H:%M Uhr"
|
- November
|
||||||
time: "%H:%M"
|
- Dezember
|
||||||
|
order:
|
||||||
am: "vormittags"
|
- :day
|
||||||
pm: "nachmittags"
|
- :month
|
||||||
|
- :year
|
||||||
datetime:
|
datetime:
|
||||||
distance_in_words:
|
distance_in_words:
|
||||||
half_a_minute: 'eine halbe Minute'
|
|
||||||
less_than_x_seconds:
|
|
||||||
one: 'weniger als eine Sekunde'
|
|
||||||
other: 'weniger als %{count} Sekunden'
|
|
||||||
x_seconds:
|
|
||||||
one: 'eine Sekunde'
|
|
||||||
other: '%{count} Sekunden'
|
|
||||||
less_than_x_minutes:
|
|
||||||
one: 'weniger als eine Minute'
|
|
||||||
other: 'weniger als %{count} Minuten'
|
|
||||||
x_minutes:
|
|
||||||
one: 'eine Minute'
|
|
||||||
other: '%{count} Minuten'
|
|
||||||
about_x_hours:
|
about_x_hours:
|
||||||
one: 'etwa eine Stunde'
|
one: etwa eine Stunde
|
||||||
other: 'etwa %{count} Stunden'
|
other: etwa %{count} Stunden
|
||||||
x_days:
|
|
||||||
one: 'ein Tag'
|
|
||||||
other: '%{count} Tagen'
|
|
||||||
about_x_months:
|
about_x_months:
|
||||||
one: 'etwa ein Monat'
|
one: etwa ein Monat
|
||||||
other: 'etwa %{count} Monaten'
|
other: etwa %{count} Monate
|
||||||
x_months:
|
|
||||||
one: 'ein Monat'
|
|
||||||
other: '%{count} Monaten'
|
|
||||||
almost_x_years:
|
|
||||||
one: 'fast ein Jahr'
|
|
||||||
other: 'fast %{count} Jahre'
|
|
||||||
about_x_years:
|
about_x_years:
|
||||||
one: 'etwa ein Jahr'
|
one: etwa ein Jahr
|
||||||
other: 'etwa %{count} Jahren'
|
other: etwa %{count} Jahre
|
||||||
|
almost_x_years:
|
||||||
|
one: fast ein Jahr
|
||||||
|
other: fast %{count} Jahre
|
||||||
|
half_a_minute: eine halbe Minute
|
||||||
|
less_than_x_minutes:
|
||||||
|
one: weniger als eine Minute
|
||||||
|
other: weniger als %{count} Minuten
|
||||||
|
less_than_x_seconds:
|
||||||
|
one: weniger als eine Sekunde
|
||||||
|
other: weniger als %{count} Sekunden
|
||||||
over_x_years:
|
over_x_years:
|
||||||
one: 'mehr als ein Jahr'
|
one: mehr als ein Jahr
|
||||||
other: 'mehr als %{count} Jahren'
|
other: mehr als %{count} Jahre
|
||||||
|
x_days:
|
||||||
|
one: ein Tag
|
||||||
|
other: ! '%{count} Tage'
|
||||||
|
x_minutes:
|
||||||
|
one: eine Minute
|
||||||
|
other: ! '%{count} Minuten'
|
||||||
|
x_months:
|
||||||
|
one: ein Monat
|
||||||
|
other: ! '%{count} Monate'
|
||||||
|
x_seconds:
|
||||||
|
one: eine Sekunde
|
||||||
|
other: ! '%{count} Sekunden'
|
||||||
prompts:
|
prompts:
|
||||||
second: "Sekunden"
|
day: Tag
|
||||||
minute: "Minuten"
|
hour: Stunden
|
||||||
hour: "Stunden"
|
minute: Minuten
|
||||||
day: "Tag"
|
month: Monat
|
||||||
month: "Monat"
|
second: Sekunden
|
||||||
year: "Jahr"
|
year: Jahr
|
||||||
|
errors: &errors
|
||||||
|
format: ! '%{attribute} %{message}'
|
||||||
|
messages:
|
||||||
|
accepted: muss akzeptiert werden
|
||||||
|
blank: muss ausgefüllt werden
|
||||||
|
confirmation: stimmt nicht mit der Bestätigung überein
|
||||||
|
empty: muss ausgefüllt werden
|
||||||
|
equal_to: muss genau %{count} sein
|
||||||
|
even: muss gerade sein
|
||||||
|
exclusion: ist nicht verfügbar
|
||||||
|
greater_than: muss größer als %{count} sein
|
||||||
|
greater_than_or_equal_to: muss größer oder gleich %{count} sein
|
||||||
|
inclusion: ist kein gültiger Wert
|
||||||
|
invalid: ist nicht gültig
|
||||||
|
less_than: muss kleiner als %{count} sein
|
||||||
|
less_than_or_equal_to: muss kleiner oder gleich %{count} sein
|
||||||
|
not_a_number: ist keine Zahl
|
||||||
|
not_an_integer: muss ganzzahlig sein
|
||||||
|
odd: muss ungerade sein
|
||||||
|
record_invalid: ! 'Gültigkeitsprüfung ist fehlgeschlagen: %{errors}'
|
||||||
|
taken: ist bereits vergeben
|
||||||
|
too_long: ist zu lang (nicht mehr als %{count} Zeichen)
|
||||||
|
too_short: ist zu kurz (nicht weniger als %{count} Zeichen)
|
||||||
|
wrong_length: hat die falsche Länge (muss genau %{count} Zeichen haben)
|
||||||
|
template:
|
||||||
|
body: ! 'Bitte überprüfen Sie die folgenden Felder:'
|
||||||
|
header:
|
||||||
|
one: ! 'Konnte %{model} nicht speichern: ein Fehler.'
|
||||||
|
other: ! 'Konnte %{model} nicht speichern: %{count} Fehler.'
|
||||||
|
helpers:
|
||||||
|
select:
|
||||||
|
prompt: Bitte wählen
|
||||||
|
submit:
|
||||||
|
create: ! '%{model} erstellen'
|
||||||
|
submit: ! '%{model} speichern'
|
||||||
|
update: ! '%{model} aktualisieren'
|
||||||
number:
|
number:
|
||||||
format:
|
|
||||||
precision: 2
|
|
||||||
separator: ','
|
|
||||||
delimiter: '.'
|
|
||||||
currency:
|
currency:
|
||||||
format:
|
format:
|
||||||
unit: '€'
|
delimiter: .
|
||||||
format: '%n %u'
|
format: ! '%n %u'
|
||||||
separator: ','
|
|
||||||
delimiter: '.'
|
|
||||||
precision: 2
|
precision: 2
|
||||||
percentage:
|
separator: ! ','
|
||||||
format:
|
significant: false
|
||||||
delimiter: ""
|
strip_insignificant_zeros: false
|
||||||
precision:
|
unit: €
|
||||||
format:
|
format:
|
||||||
delimiter: ""
|
delimiter: .
|
||||||
|
precision: 2
|
||||||
|
separator: ! ','
|
||||||
|
significant: false
|
||||||
|
strip_insignificant_zeros: false
|
||||||
human:
|
human:
|
||||||
|
decimal_units:
|
||||||
|
format: ! '%n %u'
|
||||||
|
units:
|
||||||
|
billion:
|
||||||
|
one: Milliarde
|
||||||
|
other: Milliarden
|
||||||
|
million: Millionen
|
||||||
|
quadrillion:
|
||||||
|
one: Billiarde
|
||||||
|
other: Billiarden
|
||||||
|
thousand: Tausend
|
||||||
|
trillion: Billionen
|
||||||
|
unit: ''
|
||||||
format:
|
format:
|
||||||
delimiter: ""
|
delimiter: ''
|
||||||
precision: 1
|
precision: 1
|
||||||
|
significant: true
|
||||||
|
strip_insignificant_zeros: true
|
||||||
storage_units:
|
storage_units:
|
||||||
# Storage units output formatting.
|
format: ! '%n %u'
|
||||||
# %u is the storage unit, %n is the number (default: 2 MB)
|
|
||||||
format: "%n %u"
|
|
||||||
units:
|
units:
|
||||||
byte:
|
byte:
|
||||||
one: "Byte"
|
one: Byte
|
||||||
other: "Bytes"
|
other: Bytes
|
||||||
kb: "KB"
|
gb: GB
|
||||||
mb: "MB"
|
kb: KB
|
||||||
gb: "GB"
|
mb: MB
|
||||||
tb: "TB"
|
tb: TB
|
||||||
|
percentage:
|
||||||
|
format:
|
||||||
|
delimiter: ''
|
||||||
|
precision:
|
||||||
|
format:
|
||||||
|
delimiter: ''
|
||||||
support:
|
support:
|
||||||
array:
|
array:
|
||||||
words_connector: ", "
|
last_word_connector: ! ' und '
|
||||||
two_words_connector: " und "
|
two_words_connector: ! ' und '
|
||||||
last_word_connector: " und "
|
words_connector: ! ', '
|
||||||
select:
|
time:
|
||||||
prompt: "Bitte wählen:"
|
am: vormittags
|
||||||
|
formats:
|
||||||
|
default: ! '%A, %d. %B %Y, %H:%M Uhr'
|
||||||
|
long: ! '%A, %d. %B %Y, %H:%M Uhr'
|
||||||
|
short: ! '%d. %B, %H:%M Uhr'
|
||||||
|
pm: nachmittags
|
||||||
|
# remove these aliases after 'activemodel' and 'activerecord' namespaces are removed from Rails repository
|
||||||
activemodel:
|
activemodel:
|
||||||
errors:
|
errors:
|
||||||
template:
|
<<: *errors
|
||||||
header:
|
|
||||||
one: "Konnte %{model} nicht speichern: ein Fehler."
|
|
||||||
other: "Konnte %{model} nicht speichern: %{count} Fehler."
|
|
||||||
body: "Bitte überprüfen Sie die folgenden Felder:"
|
|
||||||
|
|
||||||
activerecord:
|
activerecord:
|
||||||
errors:
|
errors:
|
||||||
template:
|
<<: *errors
|
||||||
header:
|
|
||||||
one: "Konnte %{model} nicht speichern: ein Fehler."
|
|
||||||
other: "Konnte %{model} nicht speichern: %{count} Fehler."
|
|
||||||
body: "Bitte überprüfen Sie die folgenden Felder:"
|
|
||||||
|
|
||||||
messages:
|
|
||||||
inclusion: "ist kein gültiger Wert"
|
|
||||||
exclusion: "ist nicht verfügbar"
|
|
||||||
invalid: "ist nicht gültig"
|
|
||||||
confirmation: "stimmt nicht mit der Bestätigung überein"
|
|
||||||
accepted: "muss akzeptiert werden"
|
|
||||||
empty: "muss ausgefüllt werden"
|
|
||||||
blank: "muss ausgefüllt werden"
|
|
||||||
too_long: "ist zu lang (nicht mehr als %{count} Zeichen)"
|
|
||||||
too_short: "ist zu kurz (nicht weniger als %{count} Zeichen)"
|
|
||||||
wrong_length: "hat die falsche Länge (muss genau %{count} Zeichen haben)"
|
|
||||||
taken: "ist bereits vergeben"
|
|
||||||
not_a_number: "ist keine Zahl"
|
|
||||||
greater_than: "muss größer als %{count} sein"
|
|
||||||
greater_than_or_equal_to: "muss größer oder gleich %{count} sein"
|
|
||||||
equal_to: "muss genau %{count} sein"
|
|
||||||
less_than: "muss kleiner als %{count} sein"
|
|
||||||
less_than_or_equal_to: "muss kleiner oder gleich %{count} sein"
|
|
||||||
odd: "muss ungerade sein"
|
|
||||||
even: "muss gerade sein"
|
|
||||||
record_invalid: "Gültigkeitsprüfung ist fehlgeschlagen: %{errors}"
|
|
||||||
models:
|
models:
|
||||||
article: Artikel
|
article: Artikel
|
||||||
supplier: Lieferant
|
supplier: Lieferant
|
||||||
|
|
Loading…
Reference in a new issue