Page MenuHomePhabricator

D11121.id26699.diff
No OneTemporary

D11121.id26699.diff

diff --git a/src/internationalization/PhutilTranslator.php b/src/internationalization/PhutilTranslator.php
--- a/src/internationalization/PhutilTranslator.php
+++ b/src/internationalization/PhutilTranslator.php
@@ -98,6 +98,10 @@
$result = phutil_safe_html($result);
}
+ if(empty($result)) {
+ $result = vsprintf($text, $args);
+ }
+
return $result;
}

File Metadata

Mime Type
text/plain
Expires
Fri, Apr 4, 10:48 PM (13 h, 35 m ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7387119
Default Alt Text
D11121.id26699.diff (388 B)

Event Timeline