[Scilab-users] Behavior of gettext
Federico Miyara
fmiyara at fceia.unr.edu.ar
Wed Mar 13 01:56:22 CET 2019
Thank you Samuel, this one does work!
I understand the verbosity issue (it's the age of SMS's and WhatsApp's).
However, the "orthogonality", in spite of being a good idea to avoid
many instances of similar messages, would be really useful if some way
to combine short messages did exist. But I'm afraid it is a very hard
problem since the way things combine in different languages may be quite
different, particularly word order.
Federico
On 12/03/2019 21:19, Samuel Gougeon wrote:
> Le 12/03/2019 à 21:31, Federico Miyara a écrit :
>>
>> Dear All,
>>
>> I try to get this error message translated:
>>
>> msprintf(gettext("%s: Argument #%d: Vector expected.\n"),
>> "bandfilter", 1)
>>
>> Any idea of what's wrong?
>
> The long historical form is
> gettext("%s: Wrong size for argument #%d: Vector expected.\n")
>
> When some students or colleagues ask me for help, i have noticed that
> quite often they did not really read the error message, and i wondered
> why.
> Often, IMO error messages are uselessly verbosy. This is why i proposed
> a series of shorter, more straightforward, and more orthogonal ones.
>
> Samuel
>
>
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
> Libre de virus. www.avg.com
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>
>
>
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20190312/30e26cd9/attachment.htm>
More information about the users
mailing list