mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-01-23 02:35:23 +00:00
Refactored translation of exception messages
This commit is contained in:
parent
3e6f1733f9
commit
3a23117ebf
24 changed files with 186 additions and 110 deletions
|
|
@ -162,6 +162,7 @@ class I18n
|
|||
*
|
||||
* @access public
|
||||
* @static
|
||||
* @throws JsonException
|
||||
*/
|
||||
public static function loadTranslations()
|
||||
{
|
||||
|
|
@ -270,6 +271,7 @@ class I18n
|
|||
* @access public
|
||||
* @static
|
||||
* @param array $languages
|
||||
* @throws JsonException
|
||||
* @return array
|
||||
*/
|
||||
public static function getLanguageLabels($languages = array())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue