Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

end enterprise only error with dot

Ivan Kuchinb7459830ce92
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 827381032e8..0f7e33be58e 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -1374,7 +1374,7 @@ en:
confirmation: "doesn't match %{attribute}."
could_not_be_copied: "%{dependency} could not be (fully) copied."
does_not_exist: "does not exist."
- error_enterprise_only: "%{action} is only available in the OpenProject Enterprise edition"
+ error_enterprise_only: "%{action} is only available in the OpenProject Enterprise edition."
error_unauthorized: "may not be accessed."
error_readonly: "was attempted to be written but is not writable."
error_conflict: "Information has been updated by at least one other user in the meantime."
diff --git a/spec/contracts/user_preferences/params_contract_spec.rb b/spec/contracts/user_preferences/params_contract_spec.rb
index 086ac0105e8..c7ad60d862d 100644
--- a/spec/contracts/user_preferences/params_contract_spec.rb
+++ b/spec/contracts/user_preferences/params_contract_spec.rb
@@ -104,7 +104,7 @@ RSpec.describe UserPreferences::ParamsContract do
it "displays the error message containing the feature name" do
contract.validate
expect(contract.errors.full_messages)
- .to eq(["Date Alerts is only available in the OpenProject Enterprise edition"])
+ .to eq(["Date Alerts is only available in the OpenProject Enterprise edition."])
end
end
end
diff --git a/spec/requests/api/v3/placeholder_users/create_shared_examples.rb b/spec/requests/api/v3/placeholder_users/create_shared_examples.rb
index 291de400b1c..f73c7b24639 100644
--- a/spec/requests/api/v3/placeholder_users/create_shared_examples.rb
+++ b/spec/requests/api/v3/placeholder_users/create_shared_examples.rb
@@ -96,7 +96,7 @@ RSpec.shared_examples "create placeholder user request flow" do
expect(last_response).to have_http_status(:unprocessable_entity)
expect(parsed_response["message"])
- .to eq("Placeholder Users is only available in the OpenProject Enterprise edition")
+ .to eq("Placeholder Users is only available in the OpenProject Enterprise edition.")
expect(last_response.body)
.to be_json_eql("urn:openproject-org:api:v3:errors:PropertyConstraintViolation".to_json)