Page MenuHomePhabricator

D17847.diff
No OneTemporary

D17847.diff

diff --git a/src/applications/macro/controller/PhabricatorMacroAudioController.php b/src/applications/macro/controller/PhabricatorMacroAudioController.php
--- a/src/applications/macro/controller/PhabricatorMacroAudioController.php
+++ b/src/applications/macro/controller/PhabricatorMacroAudioController.php
@@ -50,7 +50,9 @@
if ($file) {
if (!$file->isAudio()) {
- $errors[] = pht('You must upload audio.');
+ $errors[] = pht(
+ 'The file you uploaded is invalid: it is not recognizable as '.
+ 'a valid audio file.');
$e_file = pht('Invalid');
} else {
$xactions[] = id(new PhabricatorMacroTransaction())
@@ -59,7 +61,9 @@
->setNewValue($file->getPHID());
}
} else {
- $errors[] = pht('You must upload an audio file.');
+ $errors[] = pht(
+ 'To change the audio for a macro, you must upload an audio '.
+ 'file.');
$e_file = pht('Required');
}
}

File Metadata

Mime Type
text/plain
Expires
May 19 2024, 11:02 PM (5 w, 2 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6275420
Default Alt Text
D17847.diff (1 KB)

Event Timeline