diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 20af41e7..a70e5cfe 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -968,6 +968,7 @@ phutil_register_library_map(array( '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 index 5a075a57..1d9a2f7b 100644 --- a/src/internationalization/pht.php +++ b/src/internationalization/pht.php @@ -44,3 +44,7 @@ function phutil_count($countable) { function phutil_person(PhutilPerson $person) { return $person; } + +function pht_list(array $items) { + return implode(', ', $items); +}