import { sprintf, s__ } from '../../../locale';
export default {
name: 'time-tracking-help-state',
props: {
rootPath: {
type: String,
required: true,
},
},
computed: {
href() {
return `${this.rootPath}help/workflow/time_tracking.md`;
},
estimateText() {
return sprintf(
s__('estimateCommand|%{slash_command} will update the estimated time with the latest command.'), {
slash_command: '/estimate
',
}, false,
);
},
spendText() {
return sprintf(
s__('spendCommand|%{slash_command} will update the sum of the time spent.'), {
slash_command: '/spend
',
}, false,
);
},
},
template: `
{{ __('Quick actions can be used in the issues description and comment boxes.') }}
{{ __('Learn more') }}