Hello everybody,
I'm working on an easy update of GroceryCRUD : Grocery_CRUD.php->_load_date_format() (line 4000)
@todo ui_day, ui_month, ui_year has to be lang strings
so I replace :
list($ui_day, $ui_month, $ui_year) = array('dd','mm','yyyy');
by
list($ui_day, $ui_month, $ui_year) = array($this->l('ui_day'), $this->l('ui_month'), $this->l('ui_year'));
And I add this new lines
english.php
$lang['ui_day'] = 'dd'; $lang['ui_month'] = 'mm'; $lang['ui_year'] = 'yyyy';
french.php
$lang['ui_day'] = 'jj'; $lang['ui_month'] = 'mm'; $lang['ui_year'] = 'aaaa';
Everything is Ok I'm ready to make the pull-request on github.
My only question is about the good way ...
Does I have to add this new language line to the others files languages ?
And if yes, how ? Does I have to copy the english one ?
Notes : You can send me your languages, I will add them.
Thanks