Skip to content

Commit

Permalink
avoid adding unnecessary translation
Browse files Browse the repository at this point in the history
  • Loading branch information
ornicar committed Dec 18, 2024
1 parent 0c12c47 commit 3c2aed5
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion modules/clas/src/main/ui/DashboardUi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ final class DashboardUi(helpers: Helpers, ui: ClasUi)(using NetDomain):
td(momentFromNow(i.created.at)),
td:
postForm(action := routes.Clas.invitationRevoke(i.id)):
submitButton(cls := "button button-red button-empty")(trans.clas.revoke())
submitButton(cls := "button button-red button-empty")(trans.site.delete())
)
)
val archivedBox =
Expand Down
1 change: 0 additions & 1 deletion modules/coreI18n/src/main/key.scala
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ object I18nKey:
val `clickToViewInvitation`: I18nKey = "class:clickToViewInvitation"
val `pending`: I18nKey = "class:pending"
val `declined`: I18nKey = "class:declined"
val `revoke`: I18nKey = "class:revoke"
val `onlyVisibleToTeachers`: I18nKey = "class:onlyVisibleToTeachers"
val `lastActiveDate`: I18nKey = "class:lastActiveDate"
val `managed`: I18nKey = "class:managed"
Expand Down
1 change: 0 additions & 1 deletion translation/source/class.xml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ Here is the link to access the class.</string>
</plurals>
<string name="pending">Pending</string>
<string name="declined">Declined</string>
<string name="revoke">Revoke</string>
<string name="onlyVisibleToTeachers">Only visible to the class teachers</string>
<string name="lastActiveDate">Active</string>
<string name="managed">Managed</string>
Expand Down
2 changes: 0 additions & 2 deletions ui/@types/lichess/i18n.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -593,8 +593,6 @@ interface I18n {
reopen: string;
/** Reset password */
resetPassword: string;
/** Revoke */
revoke: string;
/** Send a message to all students. */
sendAMessage: string;
/** Student: %1$s */
Expand Down

0 comments on commit 3c2aed5

Please sign in to comment.