Add ability for jump to be translated into other languages

This commit is contained in:
Dale Davies
2023-04-06 17:49:27 +01:00
parent 5414f2b644
commit 0c2c320c75
26 changed files with 267 additions and 37 deletions

View File

@@ -22,7 +22,7 @@ class Unsplash extends AbstractAPI {
$unsplashdata = $this->cache->load(cachename: 'unsplash');
if ($unsplashdata == null) {
$unsplashdata = \Jump\Unsplash::load_cache_unsplash_data($this->config);
$unsplashdata = \Jump\Unsplash::load_cache_unsplash_data($this->config, $this->language);
$this->cache->save(cachename: 'unsplash', data: $unsplashdata);
}