I18n: tlumaczenie nazw slownikowych w panelu admina (pole 'Nazwa (EN)' w katalogach cwiczen/sprzetu/stref + podglad nazwy EN i render wg jezyka, lista/postepy/historia/lancuch priorytetow)
This commit is contained in:
@@ -43,6 +43,7 @@ export interface User {
|
||||
export interface FocusArea {
|
||||
id: string;
|
||||
name: string;
|
||||
nameEn?: string | null;
|
||||
muscle: string;
|
||||
description: string | null;
|
||||
setsMin: number | null;
|
||||
@@ -56,7 +57,8 @@ export interface FocusArea {
|
||||
export interface FocusChainEntry {
|
||||
muscle: string;
|
||||
name: string;
|
||||
exercises: { id: string; name: string }[];
|
||||
nameEn?: string | null;
|
||||
exercises: { id: string; name: string; nameEn?: string | null }[];
|
||||
}
|
||||
|
||||
export interface FocusChain {
|
||||
@@ -89,6 +91,7 @@ export interface EquipmentSpec {
|
||||
export interface Equipment {
|
||||
id: string;
|
||||
name: string;
|
||||
nameEn?: string | null;
|
||||
kind: EquipmentKind;
|
||||
spec: EquipmentSpec | null;
|
||||
description: string | null;
|
||||
@@ -126,6 +129,7 @@ export interface Exercise {
|
||||
id: string;
|
||||
slug: string;
|
||||
name: string;
|
||||
nameEn?: string | null;
|
||||
primaryMuscle: string;
|
||||
secondaryMuscles: string[];
|
||||
equipment: Equipment[];
|
||||
@@ -297,6 +301,7 @@ export interface ExerciseComment {
|
||||
export interface HistoryExercise {
|
||||
id: string;
|
||||
name: string;
|
||||
nameEn?: string | null;
|
||||
muscle: string;
|
||||
isExtra: boolean;
|
||||
comments: ExerciseComment[];
|
||||
@@ -328,6 +333,7 @@ export interface ExerciseProgressPoint {
|
||||
export interface ExerciseProgress {
|
||||
exerciseId: string;
|
||||
name: string;
|
||||
nameEn?: string | null;
|
||||
muscle: string;
|
||||
points: ExerciseProgressPoint[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user