dashboard show redis version

This commit is contained in:
xiaomlove
2024-10-20 23:47:40 +08:00
parent ed100302a8
commit a514ed57f8
8 changed files with 46 additions and 8 deletions
+6 -1
View File
@@ -45,7 +45,12 @@ abstract class BasePlugin extends BaseRepository
public function trans($name): string
{
return nexus_trans(sprintf("%s::%s", static::ID, $name));
return nexus_trans($this->getTransKey($name));
}
public function getTransKey($name): string
{
return sprintf("%s::%s", static::ID, $name);
}
public static function getInstance(): static