1 | <?php |
||
11 | class JarvisLanguage { |
||
12 | |||
13 | private static $data = array(); |
||
|
|||
14 | |||
15 | /** |
||
16 | * Load core translations |
||
17 | */ |
||
18 | public static function loadCoreTranslation() { |
||
27 | |||
28 | /** |
||
29 | * Load the translations of a plugin (plugin name) |
||
30 | * @param string $plugin |
||
31 | */ |
||
32 | public static function loadPluginTranslation($plugin) { |
||
44 | |||
45 | /** |
||
46 | * Translate a string |
||
47 | * @param string $text |
||
48 | * @param string $plugin |
||
49 | * @return string |
||
50 | */ |
||
51 | public static function translate($text, $plugin='core') { |
||
58 | |||
59 | } |
||
60 |
This check marks private properties in classes that are never used. Those properties can be removed.