File translations.ts
has 881 lines of code (exceeds 250 allowed). Consider refactoring.
const translations: Record<string, {'add-sub-item': string; name: string; 'name-plural': string; 'new-item': string}> =
{
1: {
'add-sub-item': $localize`Add sub-vehicle`,
name: $localize`Vehicle`,
Similar blocks of code found in 2 locations. Consider refactoring.
const vehicleTypesRp: Record<string, string> = {
'car-type-rp/2-floor-bus': $localize`:Vehicle type in context of "most fastest among Roadsters"@@car-type-rp/2-floor-bus:2-floor buses`,
'car-type-rp/2door-hardtop': $localize`:Vehicle type in context of "most fastest among Roadsters"@@car-type-rp/2door-hardtop:2-door hardtops`,
'car-type-rp/4door-hardtop': $localize`:Vehicle type in context of "most fastest among Roadsters"@@car-type-rp/4door-hardtop:4-door hardtops`,
'car-type-rp/barchetta': $localize`:Vehicle type in context of "most fastest among Roadsters"@@car-type-rp/barchetta:Barchettas`,
Similar blocks of code found in 2 locations. Consider refactoring.
const vehicleTypes: Record<string, string> = {
'car-type/2-floor-bus': $localize`2-floor bus`,
'car-type/2door-hardtop': $localize`2-door hardtop`,
'car-type/4door-hardtop': $localize`4-door hardtop`,
'car-type/barchetta': $localize`Barchetta`,
Similar blocks of code found in 2 locations. Consider refactoring.
const mostsRatingsParam: Record<string, string> = {
'most/air/param': $localize`drag coefficients`,
'most/antiair/param': $localize`drag coefficients`,
'most/big-engine/param': $localize`engine volume`,
'most/bigbrakes/param': $localize`brakes size`,
Similar blocks of code found in 2 locations. Consider refactoring.
const mostsRatings: Record<string, string> = {
'most/air': $localize`air`,
'most/antiair': $localize`anti air`,
'most/big-engine': $localize`big engine`,
'most/bigbrakes': $localize`big brakes`,
Similar blocks of code found in 9 locations. Consider refactoring.
2: {
'add-sub-item': $localize`Add sub-engine`,
name: $localize`Engine`,
'name-plural': $localize`Engines`,
'new-item': $localize`New engine`,
Similar blocks of code found in 9 locations. Consider refactoring.
4: {
'add-sub-item': $localize`Add sub-twins`,
name: $localize`Twins`,
'name-plural': $localize`Twins`,
'new-item': $localize`New twins group`,
Similar blocks of code found in 9 locations. Consider refactoring.
5: {
'add-sub-item': $localize`Add sub-brand`,
name: $localize`Brand`,
'name-plural': $localize`Brands`,
'new-item': $localize`New brand`,
Similar blocks of code found in 9 locations. Consider refactoring.
1: {
'add-sub-item': $localize`Add sub-vehicle`,
name: $localize`Vehicle`,
'name-plural': $localize`Vehicles`,
'new-item': $localize`New vehicle`,
Similar blocks of code found in 9 locations. Consider refactoring.
7: {
'add-sub-item': $localize`Add sub-museum`,
name: $localize`Museum`,
'name-plural': $localize`Museums`,
'new-item': $localize`New museum`,
Similar blocks of code found in 9 locations. Consider refactoring.
8: {
'add-sub-item': $localize`Add sub-person`,
name: $localize`Person`,
'name-plural': $localize`Persons`,
'new-item': $localize`New person`,
Similar blocks of code found in 9 locations. Consider refactoring.
3: {
'add-sub-item': $localize`Add sub-category`,
name: $localize`Category`,
'name-plural': $localize`Categories`,
'new-item': $localize`New category`,
Similar blocks of code found in 9 locations. Consider refactoring.
6: {
'add-sub-item': $localize`Add sub-factory`,
name: $localize`Factory`,
'name-plural': $localize`Factories`,
'new-item': $localize`New factory`,
Similar blocks of code found in 9 locations. Consider refactoring.
9: {
'add-sub-item': $localize`Add sub copyright block`,
name: $localize`Copyright block`,
'name-plural': $localize`Copyright blocks`,
'new-item': $localize`New copyright block`,
There are no issues that match your filters.