# |
Feb 11th 2020, 15:19 |
sebastian.krzewinski. |
https://i.imgur.com/W8j3d0Q.png |
# |
Feb 11th 2020, 15:19 |
sebastian.krzewinski. |
yea but i dont know .. i can do something wrong there |
# |
Feb 11th 2020, 15:13 |
pieceof |
symfony is waitin 4 you |
# |
Feb 11th 2020, 15:08 |
challgren |
If you are using an IDE you can always “Go to declaration” and inspect the code from there. |
# |
Feb 11th 2020, 15:07 |
challgren |
Your acting like nothing is documented. If you feel something isn’t documented well please open an issue and/or PR |
# |
Feb 11th 2020, 15:06 |
damiano |
@challgren i try there is no documentation |
# |
Feb 11th 2020, 15:00 |
challgren |
They dont know theres errors unless their reported |
# |
Feb 11th 2020, 14:59 |
challgren |
Any errors you should report at https://github.com/cakephp/docs and if you can PR the fix |
# |
Feb 11th 2020, 14:54 |
sebastian.krzewinski. |
i cant do anything without errors |
# |
Feb 11th 2020, 14:53 |
sebastian.krzewinski. |
omg this docs have so many errors |
# |
Feb 11th 2020, 14:48 |
challgren |
@damiano I think its `$this->components()->unload(' |
# |
Feb 11th 2020, 14:39 |
lpj145 |
the answer is, i cannot put simple i18n (default) message for each rule ? |
# |
Feb 11th 2020, 14:39 |
damiano |
https://book.cakephp.org/4/en/controllers/components.html there is no doc |
# |
Feb 11th 2020, 14:38 |
lpj145 |
if i need to put i18n messages on validator i need to install and modify my table to you plugin. |
# |
Feb 11th 2020, 14:38 |
damiano |
:,( |
# |
Feb 11th 2020, 14:37 |
admad |
adios |
# |
Feb 11th 2020, 14:37 |
admad |
try stuff and figure it out |
# |
Feb 11th 2020, 14:37 |
damiano |
if i do not know one ? :) |
# |
Feb 11th 2020, 14:36 |
admad |
@damiano that one that works for you |
# |
Feb 11th 2020, 14:36 |
damiano |
@admad what is the correct wait to unload a component ? |
# |
Feb 11th 2020, 14:36 |
admad |
not sure what to make of your question |
# |
Feb 11th 2020, 14:35 |
dereuromark |
The same way a black car never can and will be. |
# |
Feb 11th 2020, 14:35 |
dereuromark |
Any sane person would know the actual meaning of the word, thus the meaning and why it cannot be racist by definition. |
# |
Feb 11th 2020, 14:35 |
lpj145 |
validator have problem to support locale ? |
# |
Feb 11th 2020, 14:34 |
dereuromark |
Black driving also isnt. |
# |
Feb 11th 2020, 14:34 |
dereuromark |
its not. then that person doesnt understand basic things in life. |
# |
Feb 11th 2020, 14:33 |
admad |
then set table's `$_validatorClass` prpoerty to my class :) |
# |
Feb 11th 2020, 14:32 |
admad |
@lpj145 https://github.com/ADmad/cakephp-i18n/blob/master/src/Validation/Validator.php |
# |
Feb 11th 2020, 14:31 |
neon1024 |
I saw a tweet saying that calling it black and white lists is racist. |
# |
Feb 11th 2020, 14:29 |
lpj145 |
see: https://book.cakephp.org/3/en/controllers.html |
# |
Feb 11th 2020, 14:29 |
slackebot |
<lpj145> |
# |
Feb 11th 2020, 14:27 |
lpj145 |
looking for code, i understand what have one message for all entire rules. |
# |
Feb 11th 2020, 14:26 |
damiano |
same thing ? |
# |
Feb 11th 2020, 14:26 |
damiano |
should i unload it inside initialize() of PagesCOntroller or beforeFilter ? |
# |
Feb 11th 2020, 14:26 |
lpj145 |
@admad the validation lib have way to put default locale string ? |
# |
Feb 11th 2020, 14:25 |
damiano |
got it! |
# |
Feb 11th 2020, 14:25 |
dereuromark |
whitelist instead of blacklist :) |
# |
Feb 11th 2020, 14:25 |
damiano |
ok, makes sense |
# |
Feb 11th 2020, 14:24 |
admad |
it's always safer to secure the app globally and then disable it where not needed |
# |
Feb 11th 2020, 14:24 |
damiano |
ok |
# |
Feb 11th 2020, 14:24 |
damiano |
:) |