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

specific i18n key for invalid filter values

ulfertscf5d955042d1
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 1cfc542b9b4..a8a4155cc4e 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -664,6 +664,11 @@ en:
custom_fields:
inexistent: "There is no custom field for the filter."
invalid: "The custom field is not valid in the given context."
+ queries/filters/base:
+ attributes:
+ values:
+ inclusion: "filter has invalid values."
+ format: "%{message}"
relation:
typed_dag:
circular_dependency: "The relationship creates a circle of relationships."
diff --git a/modules/boards/spec/services/copy_service_integration_spec.rb b/modules/boards/spec/services/copy_service_integration_spec.rb
index 9f660637747..f9e802ece63 100644
--- a/modules/boards/spec/services/copy_service_integration_spec.rb
+++ b/modules/boards/spec/services/copy_service_integration_spec.rb
@@ -78,7 +78,7 @@ describe Projects::CopyService, 'integration', type: :model do
end
let(:expected_error) do
- "Widget contained in Grid Board 'Subproject board': Only subproject Values is not set to one of the allowed values."
+ "Widget contained in Grid Board 'Subproject board': Only subproject filter has invalid values."
end
it 'will succeed to copy, but add an error for the missing subproject column (Regression #34550)' do