[Phpmyadmin-devel] .gitignore /locale/ for external libraries

Marc Delisle marc at infomarc.info
Sun Jun 5 12:35:16 CEST 2011


Le 2011-06-05 06:24, Dieter Adriaenssens a écrit :
> 2011/6/5 Marc Delisle <marc at infomarc.info>:
>> Le 2011-06-05 05:45, Dieter Adriaenssens a écrit :
>>> 2011/6/5 Marc Delisle <marc at infomarc.info>:
>>>> Le 2011-06-04 08:19, Dieter Adriaenssens a écrit :
>>>>> Hi,
>>>>>
>>>>> With commit 78b6f3d6 by Michal, /locale/ gets ignored in master.
>>>>> For the PHPExcel library this means the /locale/ directory is no
>>>>> longer under sourcecontrol.
>>>>> I don't think we use the translations for PHPExcel, and they probably
>>>>> can be removed (during the planned process of stripping the parts of
>>>>> that library we don't use), but maybe we should keep them for now?
>>>>> Or not, as it probably doesn't break exporting and it only affects
>>>>> master and should be solved by the release of 3.5
>>>>>
>>>>
>>>> Looking at the code even before this commit, I see no "locale" in
>>>> phpMyAdmin's PHPExcel.
>>>
>>> Then it never got checked in when upgrading to the latest PHPExcel
>>> version (and was still hanging around in my local pma directory, being
>>> ignored by git).
>>>
>>> I understand why, now : before Michal's commit 'locale' was being
>>> ignored, and thus the locale directory of PHPExcel. Now '/locale/' is
>>> being ignored, which only applies to the locale directory in the root
>>> directory, and not anymore to the PHPExcel locale dir, which explains
>>> why git reports to add the PHPExcel locale directory.
>>>
>>> I will test if PHPExcel works without the locale dir, and if not, add
>>> it. But I guess it works without as we haven't had reports of Excel
>>> exports not working anymore (or did we?)
>>>
>>> Kind regards,
>>>
>>> Dieter
>>
>> I don't remember such bug reports.
> 
> Basic export/import seems to work without the locale dir. :)

With this directory present and switching phpMyAdmin to a language which
is supported in PHPExcel, are the messages translated?

-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list