diff options
author | antony liu <sun_apollo@yeah.net> | 2019-07-10 13:25:43 +0300 |
---|---|---|
committer | Bob Van Landuyt <bob@gitlab.com> | 2019-07-10 13:25:43 +0300 |
commit | c9f63f272fb9fefa9e061fc237ccadb364cd1dc0 (patch) | |
tree | 72f017325a74296d07503f07b73cfa4e2609811f /qa | |
parent | 0cd59a756cdee7aac8915f3e96ba4f065e5cbc9c (diff) |
Some improvement about text translation
Fix symbol '&' display.
Remove unnecessary calls of `.html_safe`
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/page/project/new.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/qa/page/project/new.rb b/qa/qa/page/project/new.rb index defd85a5740..0918445d119 100644 --- a/qa/qa/page/project/new.rb +++ b/qa/qa/page/project/new.rb @@ -18,7 +18,7 @@ module QA element :project_name, 'text_field :name' # rubocop:disable QA/ElementWithPattern element :project_path, 'text_field :path' # rubocop:disable QA/ElementWithPattern element :project_description, 'text_area :description' # rubocop:disable QA/ElementWithPattern - element :project_create_button, "submit 'Create project'" # rubocop:disable QA/ElementWithPattern + element :project_create_button, "submit _('Create project')" # rubocop:disable QA/ElementWithPattern element :visibility_radios, 'visibility_level:' # rubocop:disable QA/ElementWithPattern end |