Skip to content

Comments

Shorten no ASIO error message#1569

Merged
ann0see merged 3 commits intojamulussoftware:masterfrom
ann0see:errorMsg
Apr 29, 2021
Merged

Shorten no ASIO error message#1569
ann0see merged 3 commits intojamulussoftware:masterfrom
ann0see:errorMsg

Conversation

@ann0see
Copy link
Member

@ann0see ann0see commented Apr 27, 2021

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)

@ann0see ann0see force-pushed the errorMsg branch 3 times, most recently from 01dbf8e to 1f9f779 Compare April 27, 2021 20:28
"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. "
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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!?)

Copy link
Collaborator

@pljones pljones Apr 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

"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>" +
Copy link
Collaborator

@pljones pljones Apr 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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...

Copy link
Member Author

@ann0see ann0see Apr 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your phrasing changes the emphasis

That's right, I agree with @pljones here.

"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. "
Copy link
Collaborator

@pljones pljones Apr 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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().

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link
Collaborator

@pljones pljones Apr 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

True. "Thou shalt ... else ..!" might have been going too far, so I held back from that... :)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

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)
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 ) );
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving but I wonder if this should say "...a universal driver like..."?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. That's better.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@ann0see
Copy link
Member Author

ann0see commented Apr 29, 2021

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.

Copy link
Contributor

@mulyaj mulyaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@ann0see ann0see merged commit 6560b68 into jamulussoftware:master Apr 29, 2021
@ann0see ann0see deleted the errorMsg branch April 29, 2021 19:42
@pljones pljones added this to the Release 3.8.0 milestone Feb 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants