cahng laravel translation, move route for languages from api to web, fix contact formular

This commit is contained in:
Milos Holba
2021-03-23 21:00:25 +01:00
parent df5d5cb75f
commit 4142f829be
17 changed files with 152 additions and 196 deletions

View File

@@ -102,7 +102,7 @@ class FileManagerFile extends Model
*/
public function getCreatedAtAttribute()
{
return format_date(set_time_by_user_timezone($this->attributes['created_at']), __('vuefilemanager.time'));
return format_date(set_time_by_user_timezone($this->attributes['created_at']), __t('time'));
}
/**
@@ -114,7 +114,7 @@ class FileManagerFile extends Model
{
if (!$this->attributes['deleted_at']) return null;
return format_date(set_time_by_user_timezone($this->attributes['deleted_at']), __('vuefilemanager.time'));
return format_date(set_time_by_user_timezone($this->attributes['deleted_at']), __t('time'));
}
/**