This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"message": "Unable to create lockable file: /var/www/cleanbee-laravel/storage/framework/cache/data/23/9f/239fa360217c7e67867b1fe5005ad5bb81f28ba0. Please ensure you have permission to create files in this location.", | |
"exception": "Exception", | |
"file": "/var/www/cleanbee-laravel/vendor/laravel/framework/src/Illuminate/Filesystem/LockableFile.php", | |
"line": 73, | |
"trace": [ | |
{ | |
"file": "/var/www/cleanbee-laravel/vendor/laravel/framework/src/Illuminate/Filesystem/LockableFile.php", | |
"line": 43, | |
"function": "createResource", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** Example json containing translate strings and variables */ | |
const json = { | |
"The house costs {{amount}} and not {{amount}}": { | |
en: "The house costs {{amount}} and not {{amount}}", | |
fr: "La maison coûte {{amount}} et non {{amount}}", | |
}, | |
}; | |
type locale = "en" | "fr"; | |
type translation_variables = "{{amount}}" | "{{...whatever}}"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// According to https://gist.github.com/tadas-subonis/6e23811db350a440cd47e2e5dd40e2cb | |
const numToText = (num) => { | |
const units = [ | |
"", | |
"vienas", | |
"du", | |
"trys", | |
"keturi", | |
"penki", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// According to https://gist.github.com/tadas-subonis/6e23811db350a440cd47e2e5dd40e2cb | |
const numToText = (num: number) => { | |
const units = [ | |
"", | |
"vienas", | |
"du", | |
"trys", | |
"keturi", | |
"penki", |