提交 0f4df5b6 编写于 作者: J Josh Soref 提交者: Oleg Nenashev

Revoke and revoked token (#3524)

* i18n: include RevokedToken translation

Note: This message is shown in the "Legacy API Token" field after the user has revoked their legacy token.

* Include alt text so that at least blind users can figure out how to revoke tokens

As a sighted user, I could not figure it out. This gives the blind a chance.
上级 20d94312
......@@ -108,7 +108,7 @@ THE SOFTWARE.
data-message-if-legacy-revoked="${%RevokedToken}"
data-confirm="${%ConfirmRevokeSingle}"
data-target-url="${descriptor.descriptorFullUrl}/revoke">
<l:icon class="icon-text-error icon-sm"/>
<l:icon class="icon-text-error icon-sm" alt="${%RevokeToken}" />
</a>
</span>
</div>
......
TokenDisplayedOnce=Copy this token now, because it cannot be recovered in the future.
AddNewToken=Add new Token
GenerateNewToken=Generate
RevokeToken=Revoke this token
NoTokenYet=There is no registered token for this user
TokenLastUse=Used <b>{0}</b> time(s), last time was <b>{1}</b> day(s) ago
StatisticsDisabled=No statistics available
......@@ -14,5 +15,6 @@ TokenCreation=Created {0} day(s) ago
RenameToken=Save the new name of the token
LegacyToken=We strongly recommend that you revoke this legacy token and replace it with a newly generated token for increased security.
NoLegacyToken=The user does not have a legacy token
RevokedToken=The legacy token has been revoked
NoCreationDate=There is no creation date for that token
NoCreationDateValue=Unknown
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册