Commit d61c72a0 authored by Brandon Labuschagne's avatar Brandon Labuschagne

I18N of batch_comments directory

This is one of many MRs opened in order to improve the overall
internationalisation of the GitLab codebase.

This commit only targets Vanilla JS files.

i18n documentation
https://docs.gitlab.com/ee/development/i18n/externalization.html
parent 5ae293e3
import { sprintf, __ } from '~/locale';
export default { export default {
computed: { computed: {
resolveButtonTitle() { resolveButtonTitle() {
let title = 'Mark comment as resolved'; let title = __('Mark comment as resolved');
if (this.resolvedBy) { if (this.resolvedBy) {
title = `Resolved by ${this.resolvedBy.name}`; title = sprintf(__('Resolved by %{name}'), { name: this.resolvedBy.name });
} }
return title; return title;
......
...@@ -5773,6 +5773,9 @@ msgstr "" ...@@ -5773,6 +5773,9 @@ msgstr ""
msgid "Mark as resolved" msgid "Mark as resolved"
msgstr "" msgstr ""
msgid "Mark comment as resolved"
msgstr ""
msgid "Mark this issue as a duplicate of another issue" msgid "Mark this issue as a duplicate of another issue"
msgstr "" msgstr ""
...@@ -8167,6 +8170,9 @@ msgstr "" ...@@ -8167,6 +8170,9 @@ msgstr ""
msgid "Resolved all discussions." msgid "Resolved all discussions."
msgstr "" msgstr ""
msgid "Resolved by %{name}"
msgstr ""
msgid "Resolved by %{resolvedByName}" msgid "Resolved by %{resolvedByName}"
msgstr "" 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