>[] */ protected $translations = array(); // key is language code /** Get plain text plugin description; empty string means to use the first line of class doc-comment * @return string */ function description() { return $this->lang(''); } /** Get URL of plugin screenshot * @return string */ function screenshot() { return ""; } /** Translate a string from static::$translations; use Adminer\lang() for strings used by Adminer * @param literal-string $idf * @param float|string $number */ protected function lang(string $idf, $number = null): string { $args = func_get_args(); $args[0] = idx($this->translations[LANG], $idf) ?: $idf; return call_user_func_array('Adminer\lang_format', $args); } }