Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
cd42c5d6
Commit
cd42c5d6
authored
Feb 03, 2020
by
Olena Horal-Koretska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update usages of GlSprintf with dynamic message prop
parent
d2820293
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
24 additions
and
6 deletions
+24
-6
app/assets/javascripts/releases/list/components/release_block_author.vue
...scripts/releases/list/components/release_block_author.vue
+1
-1
app/assets/javascripts/snippets/components/snippet_header.vue
...assets/javascripts/snippets/components/snippet_header.vue
+2
-2
app/assets/javascripts/snippets/components/snippet_title.vue
app/assets/javascripts/snippets/components/snippet_title.vue
+1
-1
ee/app/assets/javascripts/analytics/shared/components/daterange.vue
...ets/javascripts/analytics/shared/components/daterange.vue
+1
-1
ee/app/assets/javascripts/packages/shared/components/package_tags.vue
...s/javascripts/packages/shared/components/package_tags.vue
+1
-1
locale/gitlab.pot
locale/gitlab.pot
+18
-0
No files found.
app/assets/javascripts/releases/list/components/release_block_author.vue
View file @
cd42c5d6
...
...
@@ -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"
...
...
app/assets/javascripts/snippets/components/snippet_header.vue
View file @
cd42c5d6
...
...
@@ -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
>
...
...
app/assets/javascripts/snippets/components/snippet_title.vue
View file @
cd42c5d6
...
...
@@ -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
>
...
...
ee/app/assets/javascripts/analytics/shared/components/daterange.vue
View file @
cd42c5d6
...
...
@@ -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>
...
...
ee/app/assets/javascripts/packages/shared/components/package_tags.vue
View file @
cd42c5d6
...
...
@@ -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
>
...
...
locale/gitlab.pot
View file @
cd42c5d6
...
...
@@ -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 ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment