« Return to Thread: Use of variables in t()

Re: Use of variables in t()

by Fernando P. García :: Rate this Message:

Reply to Author | View in Thread

 
But if someone happens to install two modules that define the same
tr() function, they get PHP errors on duplicate function definitions.
For this to be a viable work-around, it needs to be in your module's
namespace, such as mymodule_tr().  I'm not sure that's fundamentally
more readable than just doing:

What I mean is to include that function in the Drupal core. That's it.

Blessings!

--
Fernando P. García, http://www.develcuy.com
Developer - Analista de Sistemas
+51 1 9 8991 7871, Mz. P Lt. 30 1et Urb. Pachacamac - VES, Lima - Perú

_______________________________________________
translations mailing list
translations@...
http://lists.drupal.org/mailman/listinfo/translations

 « Return to Thread: Use of variables in t()