@@ -37,7 +37,7 @@ export const CatalogDetails = ({
3737 ) ;
3838 setThemes ( data ) ;
3939 } catch ( err ) {
40- setError ( t ( "staff. catalogs. errorFetchingCatalogs" ) ) ;
40+ setError ( t ( "admin: catalogs: errorFetchingCatalogs" ) ) ;
4141 console . error ( err ) ;
4242 } finally {
4343 setLoading ( false ) ;
@@ -72,7 +72,7 @@ export const CatalogDetails = ({
7272 icon = "pi pi-eye"
7373 className = "p-button-rounded p-button-outlined p-button-sm"
7474 onClick = { ( ) => setSelectedPuzzle ( puzzle ) }
75- tooltip = { t ( "staff. catalogs. viewPuzzle" ) }
75+ tooltip = { t ( "admin: catalogs: viewPuzzle" ) }
7676 />
7777 ) ;
7878 } ;
@@ -99,7 +99,7 @@ export const CatalogDetails = ({
9999 </ div >
100100 < Button
101101 icon = "pi pi-arrow-left"
102- label = { t ( "staff. catalogs. back" ) }
102+ label = { t ( "admin: catalogs: back" ) }
103103 className = "p-button-primary"
104104 onClick = { onBack }
105105 />
@@ -110,13 +110,13 @@ export const CatalogDetails = ({
110110 < Divider />
111111
112112 < h3 className = "text-xl font-semibold text-gray-800 mb-4" >
113- { t ( "staff. catalogs. themes" ) }
113+ { t ( "admin: catalogs: themes" ) }
114114 </ h3 >
115115
116116 { loading && (
117117 < div className = "flex flex-col items-center justify-center p-6" >
118118 < ProgressSpinner style = { { width : "50px" , height : "50px" } } />
119- < p className = "mt-4 text-gray-600" > { t ( "staff. catalogs. loading" ) } </ p >
119+ < p className = "mt-4 text-gray-600" > { t ( "admin: catalogs: loading" ) } </ p >
120120 </ div >
121121 ) }
122122
@@ -132,7 +132,7 @@ export const CatalogDetails = ({
132132 { ! loading && ! error && ( ! themes || themes . length === 0 ) && (
133133 < div className = "flex flex-col items-center justify-center p-6 bg-gray-50 rounded" >
134134 < i className = "pi pi-folder-open text-5xl text-gray-400 mb-4" > </ i >
135- < p className = "text-gray-600" > { t ( "staff. catalogs. noThemes" ) } </ p >
135+ < p className = "text-gray-600" > { t ( "admin: catalogs: noThemes" ) } </ p >
136136 </ div >
137137 ) }
138138
@@ -146,7 +146,7 @@ export const CatalogDetails = ({
146146 < span > { theme . name } </ span >
147147 < Tag
148148 value = { `${ theme . enigmes_count } ${ t (
149- "staff. catalogs. puzzlesCount"
149+ "admin: catalogs: puzzlesCount"
150150 ) } `}
151151 className = "ml-2"
152152 />
@@ -159,32 +159,32 @@ export const CatalogDetails = ({
159159 rows = { 5 }
160160 rowsPerPageOptions = { [ 5 , 10 , 25 ] }
161161 tableStyle = { { minWidth : "50rem" } }
162- emptyMessage = { t ( "staff. catalogs. notFound" ) }
162+ emptyMessage = { t ( "admin: catalogs: notFound" ) }
163163 >
164164 < Column
165165 field = "name"
166- header = { t ( "common. fields.name" ) }
166+ header = { t ( "common: fields.name" ) }
167167 sortable
168168 />
169169 < Column
170170 field = "author"
171- header = { t ( "staff. catalogs. author" ) }
171+ header = { t ( "admin: catalogs: author" ) }
172172 sortable
173173 />
174174 < Column
175175 field = "difficulty"
176- header = { t ( "staff. catalogs. difficulty" ) }
176+ header = { t ( "admin: catalogs: difficulty" ) }
177177 body = { difficultyTemplate }
178178 sortable
179179 />
180180 < Column
181181 field = "language"
182- header = { t ( "staff. catalogs. language" ) }
182+ header = { t ( "admin: catalogs: language" ) }
183183 sortable
184184 />
185185 < Column
186186 field = "createdAt"
187- header = { t ( "staff. catalogs. createdAt" ) }
187+ header = { t ( "admin: catalogs: createdAt" ) }
188188 body = { ( rowData ) => dateTemplate ( rowData , "createdAt" ) }
189189 sortable
190190 />
0 commit comments