Commit graph

9 commits

Author SHA1 Message Date
Hypolite Petovan b0a258cd0e Use byjg/uri dependency instead of adding new URL-handling library in PHPRenderer 2020-06-14 15:13:18 -04:00
Hypolite Petovan a402fbdf5d Add Utils\Url class 2020-06-13 13:16:25 -04:00
Hypolite Petovan 10edbea99e Update author email address in file headers 2020-06-13 13:15:53 -04:00
Hypolite Petovan e8752c7631 Restore full local name in settings
- Fallback to two-letter language code for translation if locale isn't found
- Rename L10n::langToString to L10n::localeToLanguageString
- Use setlocale() with the selected locale
2018-11-18 10:38:17 -05:00
Hypolite Petovan 5b7bb030de Add Internationalization
- Add Utils/L10n class
- Add translator functions to PHP Renderer
- Refactor web controllers to prevent duplicated code
- Add locale middleware
- Add translation file loading
- Add i18n settings
2018-11-15 23:59:00 -05:00
Hypolite Petovan d231a9bc80 Improve Network::isPublicHost 2018-11-13 21:51:58 -05:00
Hypolite Petovan 6797eb72cb Add new Network::testURL method
- Remove obsolete intval() call in Network::fetchURL
2018-11-12 21:50:31 -05:00
Hypolite Petovan 5207196e1a Fix wrong Network::fetchUrl call in Utils\Scrape 2018-11-12 21:49:06 -05:00
Hypolite Petovan 201edf2e4a First commit 2018-11-11 21:08:33 -05:00