Commit 6ada4245 authored by JeremyWuuuuu's avatar JeremyWuuuuu

Fix follow-up ZenTao string issue

Add namespace for ZenTao user to prevent potential error
parent 05914949
......@@ -2,7 +2,7 @@
import Assignee from 'ee/external_issues_show/components/sidebar/assignee.vue';
import IssueDueDate from 'ee/external_issues_show/components/sidebar/issue_due_date.vue';
import IssueField from 'ee/external_issues_show/components/sidebar/issue_field.vue';
import { __ } from '~/locale';
import { s__, __ } from '~/locale';
import LabelsSelect from '~/vue_shared/components/sidebar/labels_select_vue/labels_select_root.vue';
export default {
......@@ -31,7 +31,7 @@ export default {
i18n: {
statusTitle: __('Status'),
referenceName: __('Reference'),
avatarSubLabel: __('Zentao user'),
avatarSubLabel: s__('ZenTaoIntegration|ZenTao user'),
},
};
</script>
......
......@@ -44,7 +44,7 @@ describe('ZentaoIssuesSidebar', () => {
const assignee = findAssignee();
expect(assignee.props('assignee')).toBe(mockZentaoIssue.assignees[0]);
expect(assignee.props('avatarSubLabel')).toBe('Zentao user');
expect(assignee.props('avatarSubLabel')).toBe('ZenTao user');
});
it('renders IssueDueDate', () => {
......
......@@ -39678,9 +39678,6 @@ msgstr ""
msgid "Zentao issues"
msgstr ""
msgid "Zentao user"
msgstr ""
msgid "ZentaoIntegration|An error occurred while requesting data from the ZenTao service."
msgstr ""
......
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