Skip to content

Commit

Permalink
Add reviewed time information to reviewed strings tooltip (mozilla#3263)
Browse files Browse the repository at this point in the history
  • Loading branch information
harmitgoswami authored Jul 2, 2024
1 parent b4c53ea commit cd0a3fd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions translate/public/locale/en-US/translate.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -369,13 +369,13 @@ history-Translation--span-copied =
.title = Copied ({ $machinerySources })
history-translation--approved =
.title = Approved by { $user }
.title = Approved by { $user } on { DATETIME($reviewedDate, dateStyle:"long", timeStyle:"medium") }
history-translation--approved-anonymous =
.title = Approved
.title = Approved on { DATETIME($reviewedDate, dateStyle:"long", timeStyle:"medium") }
history-translation--rejected =
.title = Rejected by { $user }
.title = Rejected by { $user } on { DATETIME($reviewedDate, dateStyle:"long", timeStyle:"medium") }
history-translation--rejected-anonymous =
.title = Rejected
.title = Rejected on { DATETIME($reviewedDate, dateStyle:"long", timeStyle:"medium") }
history-translation--unreviewed =
.title = Not reviewed yet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export function HistoryTranslationBase({

const review = {
id: 'history-translation--unreviewed',
vars: { user: '' },
vars: { user: '', reviewedDate: new Date(translation.dateIso) },
attrs: { title: true },
};
if (translation.approved) {
Expand Down

0 comments on commit cd0a3fd

Please sign in to comment.