diff options
author | Ezekiel Kigbo <ekigbo@gitlab.com> | 2019-06-25 15:13:24 +1000 |
---|---|---|
committer | Ezekiel Kigbo <ekigbo@gitlab.com> | 2019-06-26 00:02:36 +1000 |
commit | 0279131d94876de425128961ac529d2c4b90cf4d (patch) | |
tree | a9d9e9f41364b5695029ca9faed52ad7a0bfe631 | |
parent | 09d7caa6d84e10c536639e68bf86f5ec3ef4f406 (diff) | |
download | gitlab-ce-vue-i18n-js-diffs-directory.tar.gz |
Correctly interpolate string with urlvue-i18n-js-diffs-directory
-rw-r--r-- | app/assets/javascripts/diffs/components/diff_file.vue | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/app/assets/javascripts/diffs/components/diff_file.vue b/app/assets/javascripts/diffs/components/diff_file.vue index 43953361a77..63350fafefa 100644 --- a/app/assets/javascripts/diffs/components/diff_file.vue +++ b/app/assets/javascripts/diffs/components/diff_file.vue @@ -151,11 +151,10 @@ export default { <div v-if="forkMessageVisible" class="js-file-fork-suggestion-section file-fork-suggestion"> <span class="file-fork-suggestion-note"> - {{ sprintf(__("You're not allowed to %{edit} files in this project directly. Please fork - this project, make your changes there, and submit a merge request."), { edit: '<span - class="js-file-fork-suggestion-section-action" - >edit</span - >' }) }} + {{ sprintf(__("You're not allowed to %{tag_start}edit%{tag_end} files in this project + directly. Please fork this project, make your changes there, and submit a merge request."), + { tag_start: '<span class="js-file-fork-suggestion-section-action">', tag_end: '</span>' }) + }} </span> <a :href="file.fork_path" |