Shorten no ASIO error message#1569
Conversation
01dbf8e to
1f9f779
Compare
windows/sound.cpp
Outdated
| "is recommended) or you might want to use alternative drivers like " | ||
| "the ASIO4All driver." ) ); | ||
| throw CGenErr ( "<b>" + tr ( "No audio device with ASIO driver detected" ) + "</b><br><br>" + | ||
| tr ( "To use " ) + APP_NAME + tr ( ", you need to install an ASIO driver first. " |
There was a problem hiding this comment.
I wonder if this construct makes translations harder. Previously, it was just an article ("The"), now it's an infinitive construction. This works for German, but I'm not sure about other languages.
The following may be more flexible, but I'm not sure if it's better overall. Maybe someone else can comment as well. I think @pljones once mentioned this pattern.
QString ( tr ( "The %1 software requires..." ) ).arg ( APP_NAME )
(Hrm, I'm pretty sure I had already typed this once, but somehow it got lost!?)
There was a problem hiding this comment.
Ah yes - this format does make it clearer for the translators. I'd forgotten about it, too! This way, they get more of the context, it's not so broken up, and thus also more allows flexibility in how it's translated.
windows/sound.cpp
Outdated
| "required. Either your sound card has a native ASIO driver (which " | ||
| "is recommended) or you might want to use alternative drivers like " | ||
| "the ASIO4All driver." ) ); | ||
| throw CGenErr ( "<b>" + tr ( "No audio device with ASIO driver detected" ) + "</b><br><br>" + |
There was a problem hiding this comment.
I prefer the original No ASIO audio device (driver) found., to be honest, for the first line. (It's got a full stop, too :) .) Maybe remove the () around driver, though...
There was a problem hiding this comment.
Yes, this is shorter but maybe not that clear for a new user who doesn’t know anything about ASIO.
Tagging @mulyaj here who proposed this exact wording.
There was a problem hiding this comment.
Whether they know about ASIO doesn't make one preferable to the other, as both describe the problem as being with something to do with ASIO. The point is, it's not the device, it's the _driver. Your phrasing changes the emphasis. Indeed, the original (with the ()) had it wrong, in my view. But it had a full stop...
There was a problem hiding this comment.
My initial thought was "Install an ASIO driver to use Jamulus" which empathises the solution rather then the error. I think muljay didn’t like it because it doesn’t clearly explain the error. Not sure if that’s good/Bad in an UX point of view.
There was a problem hiding this comment.
Your phrasing changes the emphasis
That's right, I agree with @pljones here.
windows/sound.cpp
Outdated
| "is recommended) or you might want to use alternative drivers like " | ||
| "the ASIO4All driver." ) ); | ||
| throw CGenErr ( "<b>" + tr ( "No audio device with ASIO driver detected" ) + "</b><br><br>" + | ||
| tr ( "To use " ) + APP_NAME + tr ( ", you need to install an ASIO driver first. " |
There was a problem hiding this comment.
I think the following is an easier read:
tr ( "You need to install an ASIO driver before running" ) + " " APP_NAME + ". "
Edit: or, indeed, per @hoffie's comment, using QString().arg().
There was a problem hiding this comment.
Instead of
You need to install an ASIO driver ....
Perhaps we can use
Please install an ASIO driver ...
You need to, and moreso, require can be read as demanding to the user.
There was a problem hiding this comment.
True. "Thou shalt ... else ..!" might have been going too far, so I held back from that... :)
Multiple error messages in Jamulus are rather lengthy and probably not read by users. This changes one of the first messages a new and inexperienced user might see. See: jamulussoftware#1568 (comment)
windows/sound.cpp
Outdated
| throw CGenErr ( "<b>" + tr ( "No ASIO audio device driver found." ) + "</b><br><br>" + | ||
| QString ( tr ( "Please install an ASIO driver before running %1. " | ||
| "If you own a device with ASIO support, install its official ASIO driver. " | ||
| "If not, you'll need to use a driver like ASIO4ALL." ) ).arg ( APP_NAME ) ); |
There was a problem hiding this comment.
Approving but I wonder if this should say "...a universal driver like..."?
|
If everybody is ok with it, I'd merge this PR. The error could be more user friendly by adding a "more information" button to open jamulus.io but that's out of scope here (and not yet possible). Edit: Also changed "use" to download and install. |
Multiple error messages in Jamulus are rather lengthy and probably not read by users. This changes one of the first messages a new and inexperienced user might see.
See: #1568 (comment)