File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -517,7 +517,7 @@ const Page: NextPage<{ params: { slug: string; id: string } }> = ({
517
517
name = "status"
518
518
render = { ( { field } ) => (
519
519
< FormItem className = "sm:col-span-1" >
520
- < FormLabel > { t ( 'status.title ' ) } </ FormLabel >
520
+ < FormLabel > { t ( 'role.status ' ) } </ FormLabel >
521
521
< FormControl >
522
522
< Input
523
523
{ ...field }
@@ -568,7 +568,7 @@ const Page: NextPage<{ params: { slug: string; id: string } }> = ({
568
568
name = "updatedUser"
569
569
render = { ( { field } ) => (
570
570
< FormItem className = "sm:col-span-1" >
571
- < FormLabel > { t ( 'common .updatedUser' ) } </ FormLabel >
571
+ < FormLabel > { t ( 'user .updatedUser' ) } </ FormLabel >
572
572
< FormControl >
573
573
< Input
574
574
{ ...field }
@@ -601,7 +601,11 @@ const Page: NextPage<{ params: { slug: string; id: string } }> = ({
601
601
< Card className = "mb-6" >
602
602
< CardHeader >
603
603
< div className = "flex items-center" >
604
- < CardTitle > { t ( 'role.permission' ) } </ CardTitle >
604
+ < CardTitle >
605
+ { isRoleEditable
606
+ ? t ( 'role.permissions' )
607
+ : t ( 'role.permission' ) }
608
+ </ CardTitle >
605
609
< Switch
606
610
className = "ml-4"
607
611
disabled = { ! isRoleEditable }
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ const Page = (): JSX.Element => {
184
184
< CardHeader >
185
185
< div className = "flex justify-between items-center" >
186
186
< div className = "flex items-center" >
187
- < CardTitle > { t ( 'role.permission ' ) } </ CardTitle >
187
+ < CardTitle > { t ( 'role.permissions ' ) } </ CardTitle >
188
188
< div className = "ml-4 flex items-center gap-2" >
189
189
< Switch
190
190
checked = { masterPermissionsSwitch }
Original file line number Diff line number Diff line change 134
134
"role" : {
135
135
"title" : " Roles" ,
136
136
"permission" : " Role Permissions" ,
137
+ "permissions" : " Permissions" ,
137
138
"detailsTitle" : " Role Details" ,
138
139
"information" : " Role Information" ,
139
140
"status" : " Role Status" ,
Original file line number Diff line number Diff line change 133
133
},
134
134
"role" : {
135
135
"title" : " Roller" ,
136
- "permission" : " Rol Yetkileri" ,
136
+ "permission" : " Role Ait Yetkiler" ,
137
+ "permissions" : " Yetkiler" ,
137
138
"detailsTitle" : " Rol Detayları" ,
138
139
"information" : " Rol Bilgileri" ,
139
140
"status" : " Rol Durumu" ,
You can’t perform that action at this time.
0 commit comments