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