diff --git a/Gemfile.lock b/Gemfile.lock index c66f6ea1e..bcec5dc3f 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -260,10 +260,10 @@ GEM net-smtp (0.5.0) net-protocol nio4r (2.7.4) - nokogiri (1.16.7) + nokogiri (1.16.8) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.16.7-x86_64-linux) + nokogiri (1.16.8-x86_64-linux) racc (~> 1.4) oauth2 (2.0.9) faraday (>= 0.17.3, < 3.0) @@ -348,9 +348,9 @@ GEM activesupport (>= 5.0.0) minitest nokogiri (>= 1.6) - rails-html-sanitizer (1.6.0) + rails-html-sanitizer (1.6.1) loofah (~> 2.21) - nokogiri (~> 1.14) + nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0) rails-i18n (7.0.10) i18n (>= 0.7, < 2) railties (>= 6.0.0, < 8) diff --git a/app/javascript/locales.json b/app/javascript/locales.json index d2393a396..c1d58f05b 100644 --- a/app/javascript/locales.json +++ b/app/javascript/locales.json @@ -6629,8 +6629,7 @@ } } }, - "nth": { - }, + "nth": {}, "percentage": { "format": { "delimiter": "", @@ -16600,8 +16599,7 @@ } } }, - "nth": { - }, + "nth": {}, "percentage": { "format": { "delimiter": "", @@ -16884,8 +16882,7 @@ } } }, - "nth": { - }, + "nth": {}, "percentage": { "format": { "delimiter": "", @@ -17168,8 +17165,7 @@ } } }, - "nth": { - }, + "nth": {}, "percentage": { "format": { "delimiter": "", @@ -17452,8 +17448,7 @@ } } }, - "nth": { - }, + "nth": {}, "percentage": { "format": { "delimiter": "", @@ -18048,8 +18043,7 @@ } } }, - "nth": { - }, + "nth": {}, "percentage": { "format": { "delimiter": "", @@ -19130,28 +19124,28 @@ }, "date": { "abbr_day_names": [ - "ned", - "pon", - "uto", - "sri", - "čet", - "pet", - "sub" + "ned.", + "pon.", + "uto.", + "sri.", + "čet.", + "pet.", + "sub." ], "abbr_month_names": [ null, - "sij", - "velj", - "ožu", - "tra", - "svi", - "lip", - "srp", - "kol", - "ruj", - "lis", - "stu", - "pro" + "sij.", + "velj.", + "ožu.", + "tra.", + "svi.", + "lip.", + "srp.", + "kol.", + "ruj.", + "lis.", + "stu.", + "pro." ], "day_names": [ "nedjelja", @@ -19169,18 +19163,18 @@ }, "month_names": [ null, - "siječanj", - "veljača", - "ožujak", - "travanj", - "svibanj", - "lipanj", - "srpanj", - "kolovoz", - "rujan", - "listopad", - "studeni", - "prosinac" + "siječnja", + "veljače", + "ožujka", + "travnja", + "svibnja", + "lipnja", + "srpnja", + "kolovoza", + "rujna", + "listopada", + "studenoga", + "prosinca" ], "order": [ "day", @@ -22429,9 +22423,11 @@ "format": "%n%u", "units": { "byte": "바이트", + "eb": "EB", "gb": "GB", "kb": "KB", "mb": "MB", + "pb": "PB", "tb": "TB" } } @@ -23073,6 +23069,11 @@ "few": "%{count} sekundės", "one": "%{count} sekundė", "other": "%{count} sekundžių" + }, + "x_years": { + "few": "%{count} metai", + "one": "%{count} metai", + "other": "%{count} metai" } }, "prompts": { @@ -23096,15 +23097,18 @@ "exclusion": "yra rezervuotas", "greater_than": "turi būti didesnis už %{count}", "greater_than_or_equal_to": "turi būti didesnis arba lygus %{count}", + "in": "turi būti skaičiuje %{count}", "inclusion": "nenumatyta reikšmė", "invalid": "neteisingas", "less_than": "turi būti mažesnis už %{count}", "less_than_or_equal_to": "turi būti mažesnis arba lygus %{count}", + "model_invalid": "Tikrinimo klaida: %{errors}", "not_a_number": "ne skaičius", "not_an_integer": "privalo būti sveikas skaičius", "odd": "turi būti nelyginis skaičius", "other_than": "privalo būti kitoks nei %{count}", "present": "turi būti tuščias", + "required": "turi egzistuoti", "taken": "jau užimtas", "too_long": { "few": "per ilgas (daugiausiai %{count} simboliai)", @@ -23161,6 +23165,7 @@ "format": { "delimiter": " ", "precision": 3, + "round_mode": "default", "separator": ",", "significant": false, "strip_insignificant_zeros": false @@ -23191,9 +23196,11 @@ "one": "Baitas", "other": "Baitų" }, + "eb": "EB", "gb": "GB", "kb": "KB", "mb": "MB", + "pb": "PB", "tb": "TB" } } @@ -28261,7 +28268,7 @@ "submit": { "create": "Criar %{model}", "submit": "Gravar %{model}", - "update": "Actualizar %{model}" + "update": "Atualizar %{model}" } }, "i18n": { @@ -28304,7 +28311,7 @@ "currency": { "format": { "delimiter": ".", - "format": "%u %n", + "format": "%n %u", "precision": 2, "separator": ",", "significant": false, @@ -29525,8 +29532,7 @@ "other" ] }, - "transliterate": { - } + "transliterate": {} }, "i18n_tasks": { "add_missing": { @@ -33589,7 +33595,7 @@ ], "formats": { "default": "%d.%m.%Y", - "long": "%e %B %Y, %A", + "long": "%e %B %Y %A", "short": "%e %b" }, "month_names": [ @@ -34698,8 +34704,7 @@ "other" ] }, - "transliterate": { - } + "transliterate": {} }, "number": { "currency": { diff --git a/test/system/routing_test.rb b/test/system/routing_test.rb index 4c0fa748e..c632ab342 100644 --- a/test/system/routing_test.rb +++ b/test/system/routing_test.rb @@ -3,13 +3,13 @@ # Confirm that logging in sends you to the sign in path class RoutingTest < ApplicationSystemTestCase before do - create :line + create :line visit root_path end it 'should have a root with a login form' do assert_equal current_path, new_user_session_path - refute has_text? 'You need to sign in or sign up before continuing' + assert_not has_text? 'You need to sign in or sign up before continuing' assert has_field? 'Email' assert has_field? 'Password' assert has_button? 'Sign in' @@ -17,10 +17,10 @@ class RoutingTest < ApplicationSystemTestCase it 'should not display navigation partial on sign in' do @user = create :user - refute has_text? "DARIA - #{ActsAsTenant.current_tenant.full_name} - Development" + assert_not has_text? "DARIA - #{ActsAsTenant.current_tenant.full_name}" visit root_path log_in_as @user visit authenticated_root_path - assert has_text? "DARIA - #{ActsAsTenant.current_tenant.full_name} - Development" + assert has_text? "DARIA - #{ActsAsTenant.current_tenant.full_name}" end end