File tree Expand file tree Collapse file tree
ui/src/components/APIKeys Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' @clerk/localizations ' : patch
3+ ' @clerk/shared ' : patch
4+ ' @clerk/ui ' : patch
5+ ---
6+
7+ Localize API keys table headers
Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ export const enUS: LocalizationResource = {
4141 formHint : 'Are you sure you want to delete this Secret key?' ,
4242 formTitle : 'Revoke "{{apiKeyName}}" secret key?' ,
4343 } ,
44+ tableHeader__name : 'Name' ,
45+ tableHeader__lastUsed : 'Last used' ,
46+ tableHeader__actions : 'Actions' ,
4447 } ,
4548 backButton : 'Back' ,
4649 badge__activePlan : 'Active' ,
Original file line number Diff line number Diff line change @@ -52,6 +52,9 @@ export const koKR: LocalizationResource = {
5252 formHint : '이 시크릿 키를 삭제할까요?' ,
5353 formTitle : '"{{apiKeyName}}" 시크릿 키를 폐기할까요?' ,
5454 } ,
55+ tableHeader__name : '이름' ,
56+ tableHeader__lastUsed : '마지막 사용' ,
57+ tableHeader__actions : '동작' ,
5558 } ,
5659 backButton : '돌아가기' ,
5760 badge__activePlan : '활성' ,
Original file line number Diff line number Diff line change @@ -1304,6 +1304,9 @@ export type __internal_LocalizationResource = {
13041304 menuAction__revoke : LocalizationValue ;
13051305 action__search : LocalizationValue ;
13061306 action__add : LocalizationValue ;
1307+ tableHeader__name : LocalizationValue ;
1308+ tableHeader__lastUsed : LocalizationValue ;
1309+ tableHeader__actions : LocalizationValue ;
13071310 detailsTitle__emptyRow : LocalizationValue ;
13081311 revokeConfirmation : {
13091312 formTitle : LocalizationValue < 'apiKeyName' > ;
Original file line number Diff line number Diff line change @@ -40,9 +40,14 @@ export const APIKeysTable = ({
4040 >
4141 < Thead >
4242 < Tr >
43- < Th > Name</ Th >
44- < Th > Last used</ Th >
45- { canManageAPIKeys && < Th sx = { { textAlign : 'end' } } > Actions</ Th > }
43+ < Th localizationKey = { localizationKeys ( 'apiKeys.tableHeader__name' ) } />
44+ < Th localizationKey = { localizationKeys ( 'apiKeys.tableHeader__lastUsed' ) } />
45+ { canManageAPIKeys && (
46+ < Th
47+ localizationKey = { localizationKeys ( 'apiKeys.tableHeader__actions' ) }
48+ sx = { { textAlign : 'end' } }
49+ />
50+ ) }
4651 </ Tr >
4752 </ Thead >
4853 < Tbody >
You can’t perform that action at this time.
0 commit comments