projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f98cf0
)
fixed style error
author
B. Endres
<endres@systopia.de>
Mon, 7 Oct 2019 10:07:18 +0000
(12:07 +0200)
committer
B. Endres
<endres@systopia.de>
Mon, 7 Oct 2019 10:07:18 +0000
(12:07 +0200)
CRM/Core/I18n.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Core/I18n.php
b/CRM/Core/I18n.php
index 04ccf88a56cfe920ce91e79756568840cfa8fe29..12cf9620786b98071e6f486bfe7324a91927431f 100644
(file)
--- a/
CRM/Core/I18n.php
+++ b/
CRM/Core/I18n.php
@@
-798,7
+798,8
@@
function ts($text, $params = []) {
// which would be a waste if we have custom translate function
global $tsLocale;
$current_locale = $tsLocale;
- $tsLocale = 'en_US'; // fixme:: use variable?
+ // fixme:: use variable?
+ $tsLocale = 'en_US';
// run translation purely for escape/param replacement/etc.
$text = CRM_Core_I18n::singleton()->crm_translate($text, $params);