gitlab-org--gitlab-foss/app/assets/javascripts/batch_comments/mixins/resolved_status.js

16 lines
307 B
JavaScript
Raw Normal View History

import { sprintf, __ } from '~/locale';
export default {
computed: {
resolveButtonTitle() {
let title = __('Mark comment as resolved');
if (this.resolvedBy) {
title = sprintf(__('Resolved by %{name}'), { name: this.resolvedBy.name });
}
return title;
},
},
};