Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15367983
D17847.id42937.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D17847.id42937.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 12, 10:57 PM (1 w, 3 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7350579
Default Alt Text
D17847.id42937.diff (1 KB)
Attached To
Mode
D17847: Make macro audio errors more clear
Attached
Detach File
Event Timeline
Log In to Comment