mirror of
https://github.com/grocy/grocy.git
synced 2025-08-20 04:12:59 +00:00
Updated localizations & improved some special and demo translation string data handling
This commit is contained in:
@@ -214,3 +214,9 @@ function IsValidFileName($fileName)
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function IsJsonString($text)
|
||||
{
|
||||
json_decode($text);
|
||||
return (json_last_error() == JSON_ERROR_NONE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user