Language editor refactoring part 2 (backend + frontend)

This commit is contained in:
Peter Papp
2021-03-28 14:06:16 +02:00
parent ec51440c3a
commit 6ac6528243
44 changed files with 595 additions and 3380 deletions
+2 -2
View File
@@ -104,7 +104,7 @@ class Folder 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'));
}
/**
@@ -116,7 +116,7 @@ class Folder 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'));
}
/**