Laurent Destailleur
53661e1e4f
Merge pull request #6211 from GPCsolutions/optimizetranslate
...
[Qual] Optimize language file loading
2017-02-03 11:55:29 +01:00
Laurent Destailleur
6ab9ba3284
Fix management of alternative language for Greek (el_CY)
2017-01-21 21:52:42 +01:00
Laurent Destailleur
3a2d9c8610
Fix for rtl languages
2017-01-21 16:12:25 +01:00
Raphaël Doursenaud
ac92e23b59
[Qual] Optimize language file loading
...
Using fscanf() and the proper format is about twice as fast as
using fgets() followed by explode() and trim().
This is a small optimization per se but since this code is
called often it yields about 33% rendering time improvement on
the homepage where about 50% of the time is spent on loading the
translation files.
2016-12-23 01:11:50 +01:00
Laurent Destailleur
d24045d831
NEW Editing translation GUI become easier with search translation tool.
2016-09-04 14:45:43 +02:00
Laurent Destailleur
8505c5db09
Code comment
2016-07-06 13:26:49 +02:00
Laurent Destailleur
5aa561598f
Fix exit into functions
2016-06-28 02:22:01 +02:00
Laurent Destailleur
e6a78739bd
Fix translation from a key that is a numeric
2016-05-19 21:12:09 +02:00
Laurent Destailleur
97bf91cc5d
Show both currency symbol and code
2016-04-30 14:09:00 +02:00
Laurent Destailleur
28b8258acb
Fix in most cases, we don't need translated value of languages, jsut
...
list of language code.
Fix cost price was not updated.
2016-02-23 19:50:33 +01:00
Laurent Destailleur
18725b554b
Option MAIN_REPLACE_TRANS_xx_XX is now completely implemented.
2015-10-19 13:23:45 +02:00
Laurent Destailleur
9f0c0bfc92
NEW Introduce hidden option MAIN_REPLACE_TRANS_xx_XX to allow simple
...
replacement of translated string on the fly.
2015-10-13 13:27:44 +02:00
Laurent Destailleur
b1168d223a
NEW Introduce table llx_overwrite_trans to be able to overwrite
...
translations by simple database edition.
2015-09-17 18:44:42 +02:00
Laurent Destailleur
8ff41a8ded
Enhance performance of option MAIN_OVERWRITE_TRANS_
2015-09-17 15:35:51 +02:00
Laurent Destailleur
0a6451d72c
Fix memcached effect was lost because init was done each time.
2015-09-07 20:17:05 +02:00
Laurent Destailleur
39cbd7629f
Fix error message during import
2015-08-27 23:49:25 +02:00
Laurent Destailleur
ae5b779652
Uniformize code
2015-06-30 01:34:17 +02:00
Raphaël Doursenaud
3f9270ea78
Qual: added deprecation hinting
...
Added deprecation hinting for class properties
Added syslog warning events for deprecated functions, methods and/or their parameters
Added hinting for some constants
2015-06-01 11:00:11 +02:00
Scrutinizer Auto-Fixer
27e99793a3
Scrutinizer Auto-Fixes
...
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2015-03-06 02:10:01 +00:00
Laurent Destailleur
608fa5eaed
Fix: Avoid to load language when we can not.
2014-11-12 10:25:56 +01:00
Laurent Destailleur
47ebe21f7b
Fix: Removed unused property
2014-11-11 23:38:56 +01:00
Laurent Destailleur
c8dd0383d8
New: Function getCurrencyAmount is marked as deprecated. Use function
...
price to output a price including currency symbol.
2014-10-16 01:26:44 +02:00
aspangaro
1a87d98357
Qual: Renamed table llx_c_civilite into llx_c_civility
...
field civilite into label in the same table and field civilite into civility in other table
2014-08-12 06:03:27 +02:00
Laurent Destailleur
4922071af9
New: When a translation is not available we always jump to en_US and
...
only en_US.
2014-08-08 10:50:37 +02:00
Laurent Destailleur
bb8ec0c8f9
Fix: Too many parameter
2014-08-01 14:26:13 +02:00
Marcos García de La Fuente
7e1cf124b8
Merge branch 'develop' into syslog
...
Conflicts:
htdocs/commande/class/commande.class.php
htdocs/compta/facture/class/facture.class.php
htdocs/core/class/commonobject.class.php
htdocs/fourn/class/fournisseur.commande.class.php
htdocs/product/class/product.class.php
htdocs/product/stock/lib/replenishment.lib.php
htdocs/societe/soc.php
2014-07-02 21:20:02 +02:00
Laurent Destailleur
2dc3e5b104
Fix: [ bug #1471 ] Several PHP warnings when intercepting USER_CREATE
...
trigger (Add a protection to avoid multiple errors).
2014-06-20 16:20:39 +02:00
Marcos García de La Fuente
56abf1cd72
Removed duplicated SQL error logging
2014-06-13 02:28:30 +02:00
Marcos García de La Fuente
ca0a6cb307
Removed SQL string from call debug log
2014-06-13 01:34:39 +02:00
Laurent Destailleur
15796ec592
Fix: checkstyle errors
2014-05-14 12:19:45 +02:00
Florian HENRY
1f1a9e46fd
Fix warning
2014-05-13 19:12:14 +02:00
Laurent Destailleur
c2c0a9b4bb
Merge pull request #1568 from GPCsolutions/closingtagremoval
...
Qual: Remove the closing PHP tag
2014-05-04 18:08:37 +02:00
Raphaël Doursenaud
f8f502d013
Removed closing php tag
...
http://php.net/manual/en/language.basic-syntax.phptags.php
2014-05-03 18:18:44 +02:00
Marcos García de La Fuente
105d892d27
Corrected Translate::getLabelFromKey doc
2014-05-03 13:42:34 +02:00
Laurent Destailleur
ee6cac8294
Doc
2014-05-01 16:11:29 +02:00
Raphaël Doursenaud
43606c8ac4
Qual: Fixed typo
2014-04-23 18:23:58 +02:00
Laurent Destailleur
b0e38f7619
Fix: Manage strange language code reported bu chrome browsers.
2013-10-11 10:01:47 +02:00
Maxime Kohlhaas
845deb9a63
Add multilang management in ODT models
2013-10-08 09:17:04 +02:00
Laurent Destailleur
7f660302e2
Fix: Inconsistency arrays into php function
2013-06-19 23:46:18 +02:00
Laurent Destailleur
bae17bc39b
Fix: Removed warning
2013-05-16 12:37:46 +02:00
Laurent Destailleur
df6c796413
Fix: [ bug #889 ] Titre civilité ne s'affiche
2013-05-12 17:09:48 +02:00
Laurent Destailleur
a0851ba99f
More complete log.
2013-04-14 18:10:02 +02:00
fhenry
c109467d20
Qual : Review code after intalling PHPUnit, CodeSniffer on Eclipse...
2013-04-04 13:58:33 +02:00
Laurent Destailleur
c86f3ef4b4
Merge remote-tracking branch 'origin/3.3' into develop
...
Conflicts:
htdocs/commande/fiche.php
htdocs/core/modules/facture/doc/pdf_crabe.modules.php
2013-03-08 01:57:32 +01:00
Laurent Destailleur
44698fcde0
Fix: dol_is_dir may not be loaded, so call fails
2013-03-08 01:53:41 +01:00
Laurent Destailleur
d786e8ca6e
Code comment
2013-02-24 02:42:37 +01:00
Laurent Destailleur
abb6daf2dc
Merge remote-tracking branch 'origin/3.3' into develop
...
Conflicts:
htdocs/core/boxes/box_activity.php
2013-01-19 16:29:16 +01:00
Laurent Destailleur
a5b174eccc
Fix: Architecture of getCurrency was wrong. Cache was not stored
...
correctly and dict file loaded several times. There was also bug on PHP
without mb_string function.
Now function is a method of $langs object. All bug fixes.
2013-01-18 15:57:11 +01:00
Laurent Destailleur
6091f74b13
New: First changes to simplify/optimize menu management.
2013-01-17 18:39:15 +01:00
Laurent Destailleur
d11cee399a
Merge remote-tracking branch 'origin/3.3' into develop
...
Conflicts:
COPYRIGHT
htdocs/core/tpl/freeproductline_create.tpl.php
htdocs/core/tpl/predefinedproductline_create.tpl.php
htdocs/install/mysql/tables/llx_c_availability.sql
2013-01-16 15:45:17 +01:00