diff --git a/.env b/.env new file mode 100644 index 00000000..4f3fdbd2 --- /dev/null +++ b/.env @@ -0,0 +1 @@ +LOCALEAPP_API_KEY=er8FvnNKfLcb4g6d7oro5vFOiehLLclitbpo8lrk4g4SwfeD6d diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 00000000..a4dd9dba --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +2.7.4 diff --git a/Gemfile b/Gemfile index c78400b0..28e75d1b 100644 --- a/Gemfile +++ b/Gemfile @@ -8,6 +8,7 @@ gemspec group :development, :test do gem 'pg', '~> 0.18' gem 'factory_bot' + gem 'localeapp' end # Declare any dependencies that are still in development here instead of in # your gemspec. These might include edge Rails or gems from your path or diff --git a/Gemfile.lock b/Gemfile.lock index 47b7eb27..5498080d 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -117,6 +117,8 @@ GEM delocalize (1.2.0) rails (>= 2) descriptive_statistics (2.5.1) + domain_name (0.5.20190701) + unf (>= 0.0.5, < 1.0.0) email_validator (2.2.2) activemodel erubi (1.10.0) @@ -127,6 +129,7 @@ GEM fast_xs (0.8.0) ffi (1.13.1) formatador (0.2.5) + gli (2.20.1) globalid (0.4.2) activesupport (>= 4.2.0) guard (2.16.2) @@ -158,6 +161,9 @@ GEM haml (>= 4.0, < 6) nokogiri (>= 1.6.0) ruby_parser (~> 3.5) + http-accept (1.7.0) + http-cookie (1.0.4) + domain_name (~> 0.5) httpi (2.4.5) rack socksify @@ -169,6 +175,7 @@ GEM rails-dom-testing (>= 1, < 3) railties (>= 4.2.0) thor (>= 0.14, < 2.0) + json (2.6.1) jsonb_accessor (1.1.0) activerecord (>= 5.0) activesupport (>= 5.0) @@ -188,6 +195,11 @@ GEM listen (3.3.3) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) + localeapp (3.2.0) + gli + i18n (>= 0.7, < 2) + json (>= 1.7.7) + rest-client (>= 1.8.0) loofah (2.10.0) crass (~> 1.0.2) nokogiri (>= 1.5.9) @@ -197,6 +209,9 @@ GEM marcel (0.3.3) mimemagic (~> 0.3.2) method_source (1.0.0) + mime-types (3.3.1) + mime-types-data (~> 3.2015) + mime-types-data (3.2021.0901) mimemagic (0.3.10) nokogiri (~> 1) rake @@ -213,7 +228,8 @@ GEM i18n (>= 0.6.10, < 2) request_store (~> 1.0) nenv (0.3.0) - nio4r (2.5.7) + netrc (0.11.0) + nio4r (2.5.8) nokogiri (1.11.7) mini_portile2 (~> 2.5.0) racc (~> 1.4) @@ -238,7 +254,7 @@ GEM coderay (~> 1.1) method_source (~> 1.0) public_suffix (4.0.6) - puma (5.3.2) + puma (5.5.2) nio4r (~> 2.0) racc (1.5.2) rack (2.2.3) @@ -282,6 +298,11 @@ GEM regexp_parser (1.8.2) request_store (1.5.0) rack (>= 1.4) + rest-client (2.1.0) + http-accept (>= 1.7.0, < 2.0) + http-cookie (>= 1.0.2, < 2.0) + mime-types (>= 1.16, < 4.0) + netrc (~> 0.8) rqrcode (1.2.0) chunky_png (~> 1.0) rqrcode_core (~> 0.2) @@ -352,6 +373,9 @@ GEM turbolinks-source (5.2.0) tzinfo (1.2.8) thread_safe (~> 0.1) + unf (0.1.4) + unf_ext + unf_ext (0.0.8) valvat (1.0.1) savon (>= 2.3.0) wasabi (3.6.1) @@ -375,6 +399,7 @@ DEPENDENCIES factory_bot guard guard-minitest + localeapp minitest-reporters pg (~> 0.18) puma @@ -382,4 +407,4 @@ DEPENDENCIES spina-shop! BUNDLED WITH - 1.17.2 + 1.17.3 diff --git a/config/locales/de.yml b/config/locales/de.yml index 68c6bc93..3de6ea7d 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -83,7 +83,7 @@ de: billing_street2: Straße 2 business: company: Unternehmen - credit_invoice: + credit_invoice: Gutschrift date_of_birth: Geburtsdatum delivered_at: geliefert auf delivery_address: Lieferadresse