debian-mirror-gitlab/app/assets/javascripts/batch_comments/mixins/resolved_status.js
2019-09-04 21:01:54 +05:30

15 lines
307 B
JavaScript

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;
},
},
};