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
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down
105 changes: 55 additions & 50 deletions app/javascript/locales.json
Original file line number Diff line number Diff line change
Expand Up @@ -6629,8 +6629,7 @@
}
}
},
"nth": {
},
"nth": {},
"percentage": {
"format": {
"delimiter": "",
Expand Down Expand Up @@ -16600,8 +16599,7 @@
}
}
},
"nth": {
},
"nth": {},
"percentage": {
"format": {
"delimiter": "",
Expand Down Expand Up @@ -16884,8 +16882,7 @@
}
}
},
"nth": {
},
"nth": {},
"percentage": {
"format": {
"delimiter": "",
Expand Down Expand Up @@ -17168,8 +17165,7 @@
}
}
},
"nth": {
},
"nth": {},
"percentage": {
"format": {
"delimiter": "",
Expand Down Expand Up @@ -17452,8 +17448,7 @@
}
}
},
"nth": {
},
"nth": {},
"percentage": {
"format": {
"delimiter": "",
Expand Down Expand Up @@ -18048,8 +18043,7 @@
}
}
},
"nth": {
},
"nth": {},
"percentage": {
"format": {
"delimiter": "",
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -22429,9 +22423,11 @@
"format": "%n%u",
"units": {
"byte": "바이트",
"eb": "EB",
"gb": "GB",
"kb": "KB",
"mb": "MB",
"pb": "PB",
"tb": "TB"
}
}
Expand Down Expand Up @@ -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": {
Expand All @@ -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)",
Expand Down Expand Up @@ -23161,6 +23165,7 @@
"format": {
"delimiter": " ",
"precision": 3,
"round_mode": "default",
"separator": ",",
"significant": false,
"strip_insignificant_zeros": false
Expand Down Expand Up @@ -23191,9 +23196,11 @@
"one": "Baitas",
"other": "Baitų"
},
"eb": "EB",
"gb": "GB",
"kb": "KB",
"mb": "MB",
"pb": "PB",
"tb": "TB"
}
}
Expand Down Expand Up @@ -28261,7 +28268,7 @@
"submit": {
"create": "Criar %{model}",
"submit": "Gravar %{model}",
"update": "Actualizar %{model}"
"update": "Atualizar %{model}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this is Spanish, Actualizar was correct.

}
},
"i18n": {
Expand Down Expand Up @@ -28304,7 +28311,7 @@
"currency": {
"format": {
"delimiter": ".",
"format": "%u %n",
"format": "%n %u",
"precision": 2,
"separator": ",",
"significant": false,
Expand Down Expand Up @@ -29525,8 +29532,7 @@
"other"
]
},
"transliterate": {
}
"transliterate": {}
},
"i18n_tasks": {
"add_missing": {
Expand Down Expand Up @@ -33589,7 +33595,7 @@
],
"formats": {
"default": "%d.%m.%Y",
"long": "%e %B %Y, %A",
"long": "%e %B %Y %A",
"short": "%e %b"
},
"month_names": [
Expand Down Expand Up @@ -34698,8 +34704,7 @@
"other"
]
},
"transliterate": {
}
"transliterate": {}
},
"number": {
"currency": {
Expand Down
8 changes: 4 additions & 4 deletions test/system/routing_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@
# 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'
end

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
Loading