88ab76c480
[CORE][TemporaryFile] Add option to specify attempts and better handle when reaching the attemp limit without being able to create a file
2021-08-03 19:14:56 +00:00
477518abf7
[DOCS][Dev] Add Internationalisation
2021-08-03 16:07:32 +01:00
051720a686
[TESTS] Add tests to all relevant methods under App\Util and fix errors that popup
2021-04-14 15:37:24 +00:00
256169a3c4
[GIT] Change my email to the new one in all files and bump copyright year
2021-04-14 15:37:23 +00:00
Hugo Sales
5cced1c9ed
[DOCUMENTATION][REFACTOR] Add documentation to all flagged function and do some small cleanup
2021-04-14 15:37:23 +00:00
Hugo Sales
a7715fc9c3
[I18N] Remove support for context until it proves necessary, as it broke the code
2021-04-14 15:37:21 +00:00
Hugo Sales
7b00ab4699
[CORE][I18n][DEFAULTS] Remove I18nHelper
2021-04-14 15:37:21 +00:00
Hugo Sales
15cf498e75
[I18N] Fix implementation of I18nHelper::formatICU
2021-04-14 15:37:21 +00:00
Hugo Sales
c9b0e994c1
[I18N] Small fixes. Still broken, though :')
2021-04-14 15:37:21 +00:00
Hugo Sales
26be897578
[I18N] Overhaul _m() implementation to support ICU message formats
2021-04-14 15:37:21 +00:00
Hugo Sales
3108d82a4d
[I18N] Added ability to call _m_dynamic
from any class, allowing it to define translations for dynamic-valued calls to _m
2021-04-14 15:37:21 +00:00
Hugo Sales
a8cd9034ff
[I18N] Custom translation extractor based on Symfony's PhpExtractor, since we use instead of
2021-04-14 15:37:21 +00:00
Hugo Sales
d73840352b
[I18N] Refactor since rfc/use-static-function is not implemented
...
As the above mentioned RFC is not implemented, `_m` needs to be
outside of the I18n class, otherwise it would have to always be called
with `I18n::_m`.
2021-04-14 15:37:21 +00:00