Page MenuHomePhabricator

D7345.id16546.diff
No OneTemporary

D7345.id16546.diff

Index: src/applications/differential/view/DifferentialChangesetListView.php
===================================================================
--- src/applications/differential/view/DifferentialChangesetListView.php
+++ src/applications/differential/view/DifferentialChangesetListView.php
@@ -107,11 +107,7 @@
$changesets = $this->changesets;
- Javelin::initBehavior('differential-toggle-files', array(
- 'pht' => array(
- 'undo' => pht('Undo'),
- 'collapsed' => pht('This file content has been collapsed.'))
- ));
+ Javelin::initBehavior('differential-toggle-files');
Javelin::initBehavior(
'differential-dropdown-menus',
array());
Index: src/applications/pholio/controller/PholioMockEditController.php
===================================================================
--- src/applications/pholio/controller/PholioMockEditController.php
+++ src/applications/pholio/controller/PholioMockEditController.php
@@ -273,12 +273,6 @@
'orderID' => $order_id,
'uploadURI' => '/file/dropupload/',
'renderURI' => $this->getApplicationURI('image/upload/'),
- 'pht' => array(
- 'uploading' => pht('Uploading Image...'),
- 'uploaded' => pht('Upload Complete...'),
- 'undo' => pht('Undo'),
- 'removed' => pht('This image will be removed from the mock.'),
- ),
));
require_celerity_resource('pholio-edit-css');
Index: src/infrastructure/javelin/Javelin.php
===================================================================
--- src/infrastructure/javelin/Javelin.php
+++ src/infrastructure/javelin/Javelin.php
@@ -20,6 +20,13 @@
);
break;
+ case 'differential-toggle-files':
+ $config['pht'] = array(
+ 'undo' => pht('Undo'),
+ 'collapsed' => pht('This file content has been collapsed.'),
+ );
+ break;
+
case 'phabricator-remarkup-assist':
$config['pht'] = array(
'bold text' => pht('bold text'),
@@ -31,6 +38,15 @@
'URL' => pht('URL'),
);
break;
+
+ case 'pholio-mock-edit':
+ $config['pht'] = array(
+ 'uploading' => pht('Uploading Image...'),
+ 'uploaded' => pht('Upload Complete...'),
+ 'undo' => pht('Undo'),
+ 'removed' => pht('This image will be removed from the mock.'),
+ );
+ break;
}
$response = CelerityAPI::getStaticResourceResponse();

File Metadata

Mime Type
text/plain
Expires
May 11 2024, 10:32 AM (5 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6285423
Default Alt Text
D7345.id16546.diff (2 KB)

Event Timeline