From ec0ef684427ba89cd0c13ca7ade69c03f560d522 Mon Sep 17 00:00:00 2001 From: Pppery Date: Mon, 26 Jan 2026 16:06:19 -0500 Subject: [PATCH] Rm emoji locale Summary: Has never had any translations other than a translation of its own locale name. It's not clear if there was once a translation in some third-party library that I can't find, or if it was one of old upstream's tired jokes. In any event, nobody plans to do anything with this, so, as cool of an idea this is, it has no point to it. Test Plan: Don't see emoji in limited translations (or, this needs a companion arcanist patch, so don't it once both are merged) Reviewers: O1 Blessed Committers, valerio.bozzolan Reviewed By: O1 Blessed Committers, valerio.bozzolan Subscribers: tobiaswiese, valerio.bozzolan, Matthew, Cigaryno Differential Revision: https://we.phorge.it/D26711 --- src/__phutil_library_map__.php | 2 -- .../translation/PhabricatorEmojiTranslation.php | 15 --------------- 2 files changed, 17 deletions(-) delete mode 100644 src/infrastructure/internationalization/translation/PhabricatorEmojiTranslation.php diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 0eddadd389..26ec0f9035 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -3360,7 +3360,6 @@ phutil_register_library_map(array( 'PhabricatorEmbedFileRemarkupRule' => 'applications/files/markup/PhabricatorEmbedFileRemarkupRule.php', 'PhabricatorEmojiDatasource' => 'applications/macro/typeahead/PhabricatorEmojiDatasource.php', 'PhabricatorEmojiRemarkupRule' => 'applications/macro/markup/PhabricatorEmojiRemarkupRule.php', - 'PhabricatorEmojiTranslation' => 'infrastructure/internationalization/translation/PhabricatorEmojiTranslation.php', 'PhabricatorEmptyQueryException' => 'infrastructure/query/exception/PhabricatorEmptyQueryException.php', 'PhabricatorEnterHisecUserLogType' => 'applications/people/userlog/PhabricatorEnterHisecUserLogType.php', 'PhabricatorEnumConfigType' => 'applications/config/type/PhabricatorEnumConfigType.php', @@ -9831,7 +9830,6 @@ phutil_register_library_map(array( 'PhabricatorEmbedFileRemarkupRule' => 'PhabricatorObjectRemarkupRule', 'PhabricatorEmojiDatasource' => 'PhabricatorTypeaheadDatasource', 'PhabricatorEmojiRemarkupRule' => 'PhutilRemarkupRule', - 'PhabricatorEmojiTranslation' => 'PhutilTranslation', 'PhabricatorEmptyQueryException' => 'Exception', 'PhabricatorEnterHisecUserLogType' => 'PhabricatorUserLogType', 'PhabricatorEnumConfigType' => 'PhabricatorTextConfigType', diff --git a/src/infrastructure/internationalization/translation/PhabricatorEmojiTranslation.php b/src/infrastructure/internationalization/translation/PhabricatorEmojiTranslation.php deleted file mode 100644 index 40ea2e8829..0000000000 --- a/src/infrastructure/internationalization/translation/PhabricatorEmojiTranslation.php +++ /dev/null @@ -1,15 +0,0 @@ - "\xF0\x9F\x92\xAC (\xF0\x9F\x8C\x8D)", - ); - } -} -- 2.51.2