Commit graph

36 commits

Author SHA1 Message Date
Pierre Rudloff
de8c5e5dc7 Convert SessionManager to a factory class 2020-10-21 22:48:05 +02:00
Pierre Rudloff
15636aa435 Stop using a singleton for LocaleManager (#298) 2020-10-17 22:36:03 +02:00
Pierre Rudloff
8d15fbdda2 Lint 2020-09-27 16:06:49 +02:00
Pierre Rudloff
280618bb6b Use a factory to Config and LocaleManager (see #298) 2020-07-15 23:05:41 +02:00
Pierre Rudloff
ad77d029d3 fixup! Detect locales automatically 2020-05-28 00:33:07 +02:00
Pierre Rudloff
cb20f4e51d Detect locales automatically 2020-05-28 00:22:30 +02:00
Pierre Rudloff
6adc1df213 phpstan update
Better typying
2020-05-13 22:28:05 +02:00
Pierre Rudloff
71d49ad74f Lint 2020-05-13 21:18:32 +02:00
Pierre Rudloff
d910c2b47f New Turkish locale (provided by @urasbey) 2020-03-19 10:30:57 +01:00
jagub2
c5a8ec7697
add Polish translation 2020-01-25 01:36:09 +01:00
Pierre Rudloff
2f3ab77e8b Stop using grunt and use grumphp and robo instead 2019-11-30 16:34:35 +01:00
Pierre Rudloff
850fc80622 Add support for variables in translation (#250) 2019-11-29 22:13:11 +01:00
Pierre Rudloff
7772de5394 Fix tests (#250) 2019-11-28 00:04:05 +01:00
Pierre Rudloff
a5bd827d21 Switch to symfony/translation for translations (#250) 2019-11-27 23:15:49 +01:00
Pierre Rudloff
44bf858c35 style(phpcs): Switch to PSR-12
https://www.php-fig.org/psr/psr-12/
2019-10-03 21:24:12 +02:00
Pierre Rudloff
1387d836dc refactor: New Session class
So that session is shared between classes and does not get overwritten
2019-04-22 17:03:54 +02:00
Pierre Rudloff
5835bd67a5 refactor(phpstan): Various code improvements 2019-03-30 18:21:45 +01:00
Pierre Rudloff
59aeb753ed feat: Add support for Arabic locale 2018-12-07 18:19:00 +01:00
dadosch
dcd0237262 add german translation files to Grunt, LocaleManager 2018-10-01 13:55:17 +02:00
Pierre Rudloff
26a5380f45 fix: Always load the UTF-8 locale variant when possible 2018-05-28 12:00:27 +02:00
Pierre Rudloff
04fe43a1ca style: Declare imported classes at the top of the file 2018-02-05 17:16:41 +01:00
Pierre Rudloff
986dad5100 feat: Make strings in PHP files translatable
Meaningful strings are now parsed through the getext() function and the "composer update-locales"
script now parses PHP files.

Fixes #143
2018-01-26 11:37:56 +01:00
Pierre Rudloff
e7c5037fa9 New (empty) portuguese translation 2018-01-02 16:47:48 +01:00
Pierre Rudloff
4c33c309a0 ProcessBuilder is deprecated (fixes #144) 2017-12-23 14:35:14 +01:00
Pierre Rudloff
6b73026194 Fix cookie settings in tests 2017-12-05 15:43:35 +01:00
Pierre Rudloff
21aedb08f0 Remove useless argument 2017-11-12 16:34:14 +01:00
Pierre Rudloff
8848a8dbf3 Improve LocaleMiddlewareTest
Add a way to unset the current locale
2017-11-10 12:18:20 +01:00
Pierre Rudloff
e315d602f2 Hotfix: detect installed UTF-8 locales 2017-10-12 23:28:54 +02:00
Pierre Rudloff
092f139d96 New Spanish translation 2017-09-24 12:44:04 +02:00
Pierre Rudloff
4343edcdbb Merge branch 'master' into develop 2017-07-03 10:40:13 +02:00
Pierre Rudloff
b4f0cf7a38 Use HttpOnly session cookies 2017-07-03 10:35:28 +02:00
Pierre Rudloff
b14df412c1 Only display locales that are installed on the system 2017-06-01 23:40:36 +02:00
Pierre Rudloff
68525c9dd8 We don't need to call sessionSegment->get() twice 2017-05-31 00:51:11 +02:00
Pierre Rudloff
3ead8dd458 Undeclared properties 2017-05-30 23:49:38 +02:00
Pierre Rudloff
0f80cbd333 Improve locale handling 2017-05-30 23:31:12 +02:00
Pierre Rudloff
b4dd0aeb29 Basic locale switcher 2017-05-30 22:21:27 +02:00