From 0279131d94876de425128961ac529d2c4b90cf4d Mon Sep 17 00:00:00 2001 From: Ezekiel Kigbo Date: Tue, 25 Jun 2019 15:13:24 +1000 Subject: Correctly interpolate string with url --- app/assets/javascripts/diffs/components/diff_file.vue | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'app') 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 {
- {{ 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: 'edit' }) }} + {{ 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: '', tag_end: '' }) + }}