Welcome to mirror list, hosted at ThFree Co, Russian Federation.

resolved_status.js « mixins « batch_comments « javascripts « assets « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3bbbaa86b516949176ee625d1335107c04f63351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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;
    },
  },
};