raise(SanityCheckError,"Multiple model types found: #{model_types}")unlessmodel_types.count==1
raise(SanityCheckError,_("Multiple model types found: %{model_types}")%{model_types: model_types})unlessmodel_types.count==1
raise(SanityCheckError,"Mount point #{mounted_as} not found in #{model_class}.")unlessmodel_has_mount
raise(SanityCheckError,_("Mount point %{mounted_as} not found in %{model_class}.")%{mounted_as: mounted_as,model_class: model_class})unlessmodel_has_mount
end
end
# rubocop: disable CodeReuse/ActiveRecord
# rubocop: disable CodeReuse/ActiveRecord
...
@@ -110,9 +110,9 @@ module ObjectStorage
...
@@ -110,9 +110,9 @@ module ObjectStorage
returnifargs.count==4
returnifargs.count==4
caseargs.count
caseargs.count
when3thenraiseSanityCheckError,"Job is missing the `model_type` argument."
when3thenraiseSanityCheckError,_("Job is missing the `model_type` argument.")
else
else
raiseSanityCheckError,"Job has wrong arguments format."
raiseSanityCheckError,_("Job has wrong arguments format.")
msgid "The review stage shows the time from creating the merge request to merging it. The data will automatically be added after you merge your first merge request."
msgid "The review stage shows the time from creating the merge request to merging it. The data will automatically be added after you merge your first merge request."
msgstr ""
msgstr ""
msgid "The schedule time must be in the future!"
msgstr ""
msgid "The snippet can be accessed without any authentication."
msgid "The snippet can be accessed without any authentication."
All [supported environment variables are here](https://gitlab.com/gitlab-org/gitlab-qa/blob/master/docs/what_tests_can_be_run.md#supported-environment-variables).
All [supported environment variables are here](https://gitlab.com/gitlab-org/gitlab-qa/blob/master/docs/what_tests_can_be_run.md#supported-environment-variables).
...
@@ -121,7 +123,7 @@ tests that are expected to fail while a fix is in progress (similar to how
...
@@ -121,7 +123,7 @@ tests that are expected to fail while a fix is in progress (similar to how