Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14078250
D21814.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
846 B
Referenced Files
None
Subscribers
None
D21814.diff
View Options
diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php
--- a/src/__phutil_library_map__.php
+++ b/src/__phutil_library_map__.php
@@ -968,6 +968,7 @@
'nonempty' => 'utils/utils.php',
'phlog' => 'error/phlog.php',
'pht' => 'internationalization/pht.php',
+ 'pht_list' => 'internationalization/pht.php',
'phutil_build_http_querystring' => 'utils/utils.php',
'phutil_build_http_querystring_from_pairs' => 'utils/utils.php',
'phutil_censor_credentials' => 'utils/utils.php',
diff --git a/src/internationalization/pht.php b/src/internationalization/pht.php
--- a/src/internationalization/pht.php
+++ b/src/internationalization/pht.php
@@ -44,3 +44,7 @@
function phutil_person(PhutilPerson $person) {
return $person;
}
+
+function pht_list(array $items) {
+ return implode(', ', $items);
+}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 2:58 AM (17 h, 10 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6776912
Default Alt Text
D21814.diff (846 B)
Attached To
Mode
D21814: Add "pht_list()", a translation wrapper for lists of items
Attached
Detach File
Event Timeline
Log In to Comment