@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Remove product literal strings in "pht()", part 25

Summary: Ref T13658.

Test Plan: Static checks only.

Maniphest Tasks: T13658

Differential Revision: https://secure.phabricator.com/D21791

+21 -18
+2 -1
src/infrastructure/storage/management/workflow/PhabricatorStorageManagementDestroyWorkflow.php
··· 47 47 } else { 48 48 $warning = pht( 49 49 'Are you completely sure you really want to permanently destroy '. 50 - 'all storage for Phabricator data on host "%s"? This operation '. 50 + 'all storage for %s data on host "%s"? This operation '. 51 51 'can not be undone and your data will not be recoverable if '. 52 52 'you proceed.', 53 + PlatformSymbols::getPlatformServerName(), 53 54 $host_display); 54 55 55 56 echo tsprintf(
+1 -1
src/infrastructure/storage/management/workflow/PhabricatorStorageManagementDumpWorkflow.php
··· 161 161 throw new PhutilArgumentUsageException( 162 162 pht( 163 163 'Database "%s" is unknown. This script can only dump '. 164 - 'databases known to the current version of Phabricator. '. 164 + 'databases known to the current version of this software. '. 165 165 'Valid databases are: %s.', 166 166 $filter, 167 167 implode(', ', array_keys($internal_names))));
+1 -1
src/infrastructure/storage/management/workflow/PhabricatorStorageManagementQuickstartWorkflow.php
··· 10 10 ->setSynopsis( 11 11 pht( 12 12 'Generate a new quickstart database dump. This command is mostly '. 13 - 'useful when developing Phabricator.')) 13 + 'useful for internal development.')) 14 14 ->setArguments( 15 15 array( 16 16 array(
+2 -2
src/infrastructure/storage/management/workflow/PhabricatorStorageManagementUpgradeWorkflow.php
··· 46 46 phutil_console_wrap( 47 47 pht( 48 48 'Before running storage upgrades, you should take down the '. 49 - 'Phabricator web interface and stop any running Phabricator '. 50 - 'daemons (you can disable this warning with %s).', 49 + 'web interface and stop any running daemons (you can disable '. 50 + 'this warning with %s).', 51 51 '--force'))); 52 52 53 53 if (!phutil_console_confirm(pht('Are you ready to continue?'))) {
+13 -11
src/infrastructure/storage/management/workflow/PhabricatorStorageManagementWorkflow.php
··· 47 47 48 48 throw new PhutilArgumentUsageException( 49 49 pht( 50 - 'Phabricator is configured in cluster mode, with multiple database '. 50 + 'This server is configured in cluster mode, with multiple database '. 51 51 'hosts. Use "--host" to specify which host you want to operate on.')); 52 52 } 53 53 ··· 98 98 } else { 99 99 throw new PhutilArgumentUsageException( 100 100 pht( 101 - 'Phabricator is currently in read-only mode. Use --force to '. 101 + 'This server is currently in read-only mode. Use --force to '. 102 102 'override this mode.')); 103 103 } 104 104 } ··· 189 189 "You can exit this workflow, update MySQL now, and then run this ". 190 190 "workflow again. This is recommended, but may cause a lot of downtime ". 191 191 "right now.\n\n". 192 - "You can exit this workflow, continue using Phabricator without ". 192 + "You can exit this workflow, continue using this software without ". 193 193 "applying adjustments, update MySQL at a later date, and then run ". 194 194 "this workflow again. This is also a good approach, and will let you ". 195 195 "delay downtime until later.\n\n". ··· 826 826 $message = array(); 827 827 if ($all_surplus) { 828 828 $message[] = pht( 829 - 'You have surplus schemata (extra tables or columns which Phabricator '. 830 - 'does not expect). For information on resolving these '. 829 + 'You have surplus schemata (extra tables or columns which this '. 830 + 'software does not expect). For information on resolving these '. 831 831 'issues, see the "Surplus Schemata" section in the "Managing Storage '. 832 832 'Adjustments" article in the documentation.'); 833 833 } else if ($all_access) { ··· 844 844 $message[] = pht( 845 845 'Some of these errors are caused by access control problems. '. 846 846 'The user you are connecting with does not have permission to see '. 847 - 'all of the database or tables that Phabricator uses. You need to '. 847 + 'all of the database or tables that this software uses. You need to '. 848 848 'GRANT the user more permission, or use a different user.'); 849 849 } 850 850 851 851 if ($any_surplus) { 852 852 $message[] = pht( 853 853 'Some of these errors are caused by surplus schemata (extra '. 854 - 'tables or columns which Phabricator does not expect). These are '. 854 + 'tables or columns which this software does not expect). These are '. 855 855 'not serious. For information on resolving these issues, see the '. 856 856 '"Surplus Schemata" section in the "Managing Storage Adjustments" '. 857 857 'article in the documentation.'); 858 858 } 859 859 860 860 $message[] = pht( 861 - 'If you are not developing Phabricator itself, report this issue to '. 862 - 'the upstream.'); 861 + 'If you are not developing %s itself, report this issue to '. 862 + 'the upstream.', 863 + PlatformSymbols::getPlatformServerName()); 863 864 864 865 $message[] = pht( 865 - 'If you are developing Phabricator, these errors usually indicate '. 866 + 'If you are developing %s, these errors usually indicate '. 866 867 'that your schema specifications do not agree with the schemata your '. 867 - 'code actually builds.'); 868 + 'code actually builds.', 869 + PlatformSymbols::getPlatformServerName()); 868 870 } 869 871 $message = implode("\n\n", $message); 870 872
+1 -1
src/infrastructure/util/password/PhabricatorPasswordHasher.php
··· 307 307 throw new PhabricatorPasswordHasherUnavailableException( 308 308 pht( 309 309 'Attempting to compare a password saved with the "%s" hash. No such '. 310 - 'hasher is known to Phabricator.', 310 + 'hasher is known.', 311 311 $name)); 312 312 } 313 313
+1 -1
src/view/page/PhabricatorStandardPageView.php
··· 276 276 'doc_name' => pht('See Documentation'), 277 277 'doc_href' => $doc_href, 278 278 'message' => pht( 279 - 'Phabricator thinks you are using %s, but your '. 279 + 'This server thinks you are using %s, but your '. 280 280 'client is convinced that it is using %s. This is a serious '. 281 281 'misconfiguration with subtle, but significant, consequences.', 282 282 $server_protocol, $client_protocol),