Commit cd42c5d6 authored by Olena Horal-Koretska's avatar Olena Horal-Koretska

Update usages of GlSprintf with dynamic message prop

parent d2820293
......@@ -27,7 +27,7 @@ export default {
<template>
<div class="d-flex">
<gl-sprintf message="by %{user}">
<gl-sprintf :message="__('by %{user}')">
<template #user>
<user-avatar-link
class="prepend-left-4"
......
......@@ -165,7 +165,7 @@ export default {
<gl-icon :name="visibilityLevelIcon" :size="14" />
</div>
<div class="creator">
<gl-sprintf message="Authored %{timeago} by %{author}">
<gl-sprintf :message="__('Authored %{timeago} by %{author}')">
<template #timeago>
<time-ago-tooltip
:time="snippet.createdAt"
......@@ -218,7 +218,7 @@ export default {
errorMessage
}}</gl-alert>
<gl-sprintf message="Are you sure you want to delete %{name}?">
<gl-sprintf :message="__('Are you sure you want to delete %{name}?')">
<template #name
><strong>{{ snippet.title }}</strong></template
>
......
......@@ -25,7 +25,7 @@ export default {
</div>
<small v-if="snippet.updatedAt !== snippet.createdAt" class="edited-text">
<gl-sprintf message="Edited %{timeago}">
<gl-sprintf :message="__('Edited %{timeago}')">
<template #timeago>
<time-ago-tooltip :time="snippet.updatedAt" tooltip-placement="bottom" />
</template>
......
......@@ -82,7 +82,7 @@ export default {
class="daterange-indicator d-flex flex-row flex-lg-row align-items-flex-start align-items-lg-center"
>
<span class="number-of-days pl-2 pr-1">
<gl-sprintf message="%{numberOfDays} days">
<gl-sprintf :message="__('%{numberOfDays} days')">
<template #numberOfDays>{{ numberOfDays }}</template>
</gl-sprintf>
</span>
......
......@@ -89,7 +89,7 @@ export default {
variant="light"
:title="moreTagsTooltip"
class="d-none d-md-block prepend-left-4"
><gl-sprintf message="+%{tags} more">
><gl-sprintf :message="__('+%{tags} more')">
<template #tags>
{{ moreTagsDisplay }}
</template>
......
......@@ -340,6 +340,9 @@ msgstr ""
msgid "%{name}'s avatar"
msgstr ""
msgid "%{numberOfDays} days"
msgstr ""
msgid "%{number_commits_behind} commits behind %{default_branch}, %{number_commits_ahead} commits ahead"
msgstr ""
......@@ -537,6 +540,9 @@ msgstr ""
msgid "+%{extraOptionCount} more"
msgstr ""
msgid "+%{tags} more"
msgstr ""
msgid ", or "
msgstr ""
......@@ -2143,6 +2149,9 @@ msgstr ""
msgid "Are you sure you want to cancel editing this comment?"
msgstr ""
msgid "Are you sure you want to delete %{name}?"
msgstr ""
msgid "Are you sure you want to delete these artifacts?"
msgstr ""
......@@ -2408,6 +2417,9 @@ msgstr ""
msgid "Author"
msgstr ""
msgid "Authored %{timeago} by %{author}"
msgstr ""
msgid "Authorization code:"
msgstr ""
......@@ -6915,6 +6927,9 @@ msgstr ""
msgid "Edit your most recent comment in a thread (from an empty textarea)"
msgstr ""
msgid "Edited %{timeago}"
msgstr ""
msgid "Editing"
msgstr ""
......@@ -22152,6 +22167,9 @@ msgstr ""
msgid "by"
msgstr ""
msgid "by %{user}"
msgstr ""
msgid "cannot be changed if a personal project has container registry tags."
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