Revert "L10n: Improve the work of exporting a language to JS with includes"

I got a little confused then, it turned out to be unnecessary
This commit is contained in:
Maxim Leshchenko 2021-12-23 13:19:54 +02:00
parent 869873d225
commit 54963cfafc
No known key found for this signature in database
GPG key ID: BB9C44A8733FBEEE

View file

@ -75,7 +75,7 @@ final class AboutPresenter extends OpenVKPresenter
if(is_null($lg))
$this->throwError(404, "Not found", "Language is not found");
header("Content-Type: application/javascript");
echo "window.lang = " . json_encode(array_unique($localizer->export($lang))) . ";"; // привет хардкод :DDD
echo "window.lang = " . json_encode($localizer->export($lang)) . ";"; // привет хардкод :DDD
exit;
}