feat: lang middleware and filament translations
This commit is contained in:
@@ -0,0 +1,50 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'users' => [
|
||||
'navigation' => [
|
||||
'label' => 'Users',
|
||||
'singular' => 'User',
|
||||
'plural' => 'Users',
|
||||
],
|
||||
'sections' => [
|
||||
'account' => 'Account',
|
||||
'profile' => 'Profile',
|
||||
'nutrition_goals' => 'Nutrition goals',
|
||||
'activity' => 'Activity',
|
||||
'metadata' => 'Metadata',
|
||||
],
|
||||
'fields' => [
|
||||
'id' => 'ID',
|
||||
'name' => 'Name',
|
||||
'email' => 'Email address',
|
||||
'email_verified_at' => 'Email verified at',
|
||||
'account_verified_at' => 'Account verified at',
|
||||
'avatar' => 'Avatar',
|
||||
'password' => 'Password',
|
||||
'bio' => 'Bio',
|
||||
'height' => 'Height',
|
||||
'date_of_birth' => 'Date of birth',
|
||||
'sex' => 'Sex',
|
||||
'daily_calorie_goal' => 'Calories',
|
||||
'daily_protein_goal' => 'Protein',
|
||||
'daily_carbs_goal' => 'Carbs',
|
||||
'daily_fats_goal' => 'Fats',
|
||||
'physical_activity_level' => 'Activity level',
|
||||
'physical_activity_level_short' => 'Activity',
|
||||
'weight_goal' => 'Weight goal',
|
||||
'weight_goal_short' => 'Weight goal',
|
||||
'pace_preference' => 'Pace',
|
||||
'created_at' => 'Created at',
|
||||
'updated_at' => 'Updated at',
|
||||
],
|
||||
'filters' => [
|
||||
'email_verified' => 'Email verified',
|
||||
'account_verified' => 'Account verified',
|
||||
],
|
||||
'placeholders' => [
|
||||
'not_verified' => 'Not verified',
|
||||
'empty' => '-',
|
||||
],
|
||||
],
|
||||
];
|
||||
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'pace_preference' => [
|
||||
'slow' => 'Slow',
|
||||
'normal' => 'Normal',
|
||||
'fast' => 'Fast',
|
||||
],
|
||||
'physical_activity_level' => [
|
||||
'sedentary' => 'Sedentary',
|
||||
'lightly_active' => 'Lightly active',
|
||||
'moderately_active' => 'Moderately active',
|
||||
'very_active' => 'Very active',
|
||||
'athlete' => 'Athlete',
|
||||
],
|
||||
'user_sex' => [
|
||||
'man' => 'Man',
|
||||
'woman' => 'Woman',
|
||||
'other' => 'Other',
|
||||
'unknown' => 'Not specified',
|
||||
],
|
||||
'weight_goal' => [
|
||||
'lose_weight' => 'Lose weight',
|
||||
'maintain_weight' => 'Maintain weight',
|
||||
'gain_weight' => 'Gain weight',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user