Commit 048f78e9 authored by Kushal Pandya's avatar Kushal Pandya

Change `Backlog` list title to `Open`

parent bea52d82
/* eslint-disable no-underscore-dangle, class-methods-use-this, consistent-return, no-shadow, no-param-reassign, max-len */ /* eslint-disable no-underscore-dangle, class-methods-use-this, consistent-return, no-shadow, no-param-reassign, max-len */
/* global ListIssue */ /* global ListIssue */
import { __ } from '~/locale';
import ListLabel from '~/vue_shared/models/label'; import ListLabel from '~/vue_shared/models/label';
import ListAssignee from '~/vue_shared/models/assignee'; import ListAssignee from '~/vue_shared/models/assignee';
import queryData from '../utils/query_data'; import queryData from '../utils/query_data';
...@@ -30,7 +31,7 @@ class List { ...@@ -30,7 +31,7 @@ class List {
this.id = obj.id; this.id = obj.id;
this._uid = this.guid(); this._uid = this.guid();
this.position = obj.position; this.position = obj.position;
this.title = obj.title; this.title = obj.list_type === 'backlog' ? __('Open') : obj.title;
this.type = obj.list_type; this.type = obj.list_type;
const typeInfo = this.getTypeInfo(this.type); const typeInfo = this.getTypeInfo(this.type);
......
...@@ -3848,6 +3848,9 @@ msgstr "" ...@@ -3848,6 +3848,9 @@ msgstr ""
msgid "Oops, are you sure?" msgid "Oops, are you sure?"
msgstr "" msgstr ""
msgid "Open"
msgstr ""
msgid "Open in Xcode" msgid "Open in Xcode"
msgstr "" msgstr ""
......
...@@ -44,7 +44,7 @@ describe 'Issue Boards', :js do ...@@ -44,7 +44,7 @@ describe 'Issue Boards', :js do
end end
it 'creates default lists' do it 'creates default lists' do
lists = ['Backlog', 'To Do', 'Doing', 'Closed'] lists = ['Open', 'To Do', 'Doing', 'Closed']
page.within(find('.board-blank-state')) do page.within(find('.board-blank-state')) do
click_button('Add default lists') click_button('Add default lists')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment