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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
add missing i18n keys
ulferts954b211347cf
diff --git a/config/locales/en.yml b/config/locales/en.ymlindex 8f9a29a4c62..ffa99294c53 100644--- a/config/locales/en.yml+++ b/config/locales/en.yml@@ -1691,6 +1691,7 @@ en:derived_due_date: "Derived finish date"derived_estimated_hours: "Total work"derived_start_date: "Derived start date"+ direction: "Direction"display_sums: "Display Sums"due_date: "Finish date"estimated_hours: "Work"@@ -1755,6 +1756,7 @@ en:version: "Version"visible: "Visible"work_package: "Work package"+ work_package_id: "Work package"backup:failed: "Backup failed"diff --git a/modules/bim/config/locales/en.yml b/modules/bim/config/locales/en.ymlindex d8636669aa9..923b2ba14cf 100644--- a/modules/bim/config/locales/en.yml+++ b/modules/bim/config/locales/en.yml@@ -93,6 +93,12 @@ en:ifc_attachment: "IFC file"is_default: "Default model"attachments: "IFC file"+ bim/bcf/issue:+ bcf_comment: "BCF comment"+ bim_snippet: "BIM snippet"+ reference_links: "Reference links"+ stage: "Stage"+ viewpoint: "Viewpoint"errors:models:bim/ifc_models/ifc_model:diff --git a/modules/bim/spec/requests/api/bcf/v2_1/comments_api_spec.rb b/modules/bim/spec/requests/api/bcf/v2_1/comments_api_spec.rbindex c4020cd1c34..2336239b717 100644--- a/modules/bim/spec/requests/api/bcf/v2_1/comments_api_spec.rb+++ b/modules/bim/spec/requests/api/bcf/v2_1/comments_api_spec.rb@@ -297,7 +297,7 @@ RSpec.describe "BCF 2.1 comments resource", content_type: :json doendit_behaves_like "bcf api unprocessable response" do- let(:message) { "Bcf comment does not exist." }+ let(:message) { "BCF comment does not exist." }endendend@@ -345,7 +345,7 @@ RSpec.describe "BCF 2.1 comments resource", content_type: :json doendit_behaves_like "bcf api unprocessable response" do- let(:message) { "Bcf comment does not exist." }+ let(:message) { "BCF comment does not exist." }endend@@ -373,7 +373,7 @@ RSpec.describe "BCF 2.1 comments resource", content_type: :json doendit_behaves_like "bcf api unprocessable response" do- let(:message) { "Multiple field constraints have been violated. Viewpoint does not exist. Bcf comment does not exist." }+ let(:message) { "Multiple field constraints have been violated. Viewpoint does not exist. BCF comment does not exist." }endendend@@ -560,7 +560,7 @@ RSpec.describe "BCF 2.1 comments resource", content_type: :json doendit_behaves_like "bcf api unprocessable response" do- let(:message) { "Bcf comment does not exist." }+ let(:message) { "BCF comment does not exist." }endenddiff --git a/modules/bim/spec/requests/api/bcf/v2_1/topics_api_spec.rb b/modules/bim/spec/requests/api/bcf/v2_1/topics_api_spec.rbindex 12a6e1d6d4c..635270e7dc9 100644--- a/modules/bim/spec/requests/api/bcf/v2_1/topics_api_spec.rb+++ b/modules/bim/spec/requests/api/bcf/v2_1/topics_api_spec.rb@@ -473,7 +473,7 @@ RSpec.describe "BCF 2.1 topics resource", content_type: :json doit_behaves_like "bcf api unprocessable response" dolet(:message) do- "Bim snippet was attempted to be written but is not writable."+ "BIM snippet was attempted to be written but is not writable."endendenddiff --git a/spec/lib/i18n/human_attribute_name_spec.rb b/spec/lib/i18n/human_attribute_name_spec.rbindex 5d9d38e5790..b630c6ed716 100644--- a/spec/lib/i18n/human_attribute_name_spec.rb+++ b/spec/lib/i18n/human_attribute_name_spec.rb@@ -50,7 +50,7 @@ RSpec.describe "I18n human_attribute_name", type: :helper doit "raises an error if the translation is missing" doexpect { test_model.human_attribute_name("weird_attribute_that_does_not_exist") }- .to raise_error(/I18n translation missing for attribute weird/)+ .to raise_error(I18n::MissingTranslationData)endit "returns a valid translation for a model name if corresponding i18n key activerecord.models.<attribute> exists" do