Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
02a5c0b4
Commit
02a5c0b4
authored
May 11, 2021
by
Paul Kaplan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixup usernames
parent
4e580054
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
17 deletions
+18
-17
src/views/studio/l10n.json
src/views/studio/l10n.json
+1
-1
src/views/studio/studio-activity.jsx
src/views/studio/studio-activity.jsx
+17
-16
No files found.
src/views/studio/l10n.json
View file @
02a5c0b4
...
...
@@ -29,6 +29,6 @@
"studio.activityAddProjectToStudio"
:
"{profileLink} added the project {projectLink}"
,
"studio.activityRemoveProjectStudio"
:
"{profileLink} removed the project {projectLink}"
,
"studio.activityUpdateStudio"
:
"{profileLink} made edits to the title, thumbnail, or description"
,
"studio.activityBecomeCurator"
:
"{
promotedProfileLink} accepted an invitation from {promoto
rProfileLink} to curate this studio"
,
"studio.activityBecomeCurator"
:
"{
newCuratorProfileLink} accepted an invitation from {invite
rProfileLink} to curate this studio"
,
"studio.activityBecomeOwner"
:
"{promotedProfileLink} was promoted to manager by {promotorProfileLink}"
}
src/views/studio/studio-activity.jsx
View file @
02a5c0b4
...
...
@@ -28,8 +28,8 @@ const getComponentForItem = item => {
id=
"studio.activityAddProjectToStudio"
values=
{
{
profileLink
:
(
<
a
href=
{
`/users/${item.actor_
id
}`
}
>
username
<
a
href=
{
`/users/${item.actor_
username
}`
}
>
{
item
.
actor_username
}
</
a
>
),
projectLink
:
(
...
...
@@ -54,8 +54,8 @@ const getComponentForItem = item => {
id=
"studio.activityRemoveProjectStudio"
values=
{
{
profileLink
:
(
<
a
href=
{
`/users/${item.actor_
id
}`
}
>
username
<
a
href=
{
`/users/${item.actor_
username
}`
}
>
{
item
.
actor_username
}
</
a
>
),
projectLink
:
(
...
...
@@ -80,8 +80,8 @@ const getComponentForItem = item => {
id=
"studio.activityUpdateStudio"
values=
{
{
profileLink
:
(
<
a
href=
{
`/users/${item.actor_
id
}`
}
>
username
<
a
href=
{
`/users/${item.actor_
username
}`
}
>
{
item
.
actor_username
}
</
a
>
)
}
}
...
...
@@ -100,14 +100,15 @@ const getComponentForItem = item => {
<
FormattedMessage
id=
"studio.activityBecomeCurator"
values=
{
{
promotedProfileLink
:
(
<
a
href=
{
`/users/${item.actor_id}`
}
>
username
// Beware, DB seems to think actor is new curator and username is inviter
newCuratorProfileLink
:
(
<
a
href=
{
`/users/${item.actor_username}`
}
>
{
item
.
actor_username
}
</
a
>
),
promoto
rProfileLink
:
(
<
a
href=
{
`/users/${item.
actor_id
}`
}
>
username
invite
rProfileLink
:
(
<
a
href=
{
`/users/${item.
username
}`
}
>
{
item
.
username
}
</
a
>
)
}
}
...
...
@@ -127,13 +128,13 @@ const getComponentForItem = item => {
id=
"studio.activityBecomeOwner"
values=
{
{
promotedProfileLink
:
(
<
a
href=
{
`/users/${item.
actor_id
}`
}
>
username
<
a
href=
{
`/users/${item.
recipient_username
}`
}
>
{
item
.
recipient_username
}
</
a
>
),
promotorProfileLink
:
(
<
a
href=
{
`/users/${item.actor_
id
}`
}
>
username
<
a
href=
{
`/users/${item.actor_
username
}`
}
>
{
item
.
actor_username
}
</
a
>
)
}
}
...
...
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