[squeak-dev] Questions regarding translations
christoph.thiede at student.hpi.uni-potsdam.de
christoph.thiede at student.hpi.uni-potsdam.de
Mon Jan 3 17:21:48 UTC 2022
Hi all!
I have some quick questions regarding proper use of #translated & friends:
1. When should you use #translatedNoop rather than #translated?
2. Should you only use #translated right after a string literal literal or it is also fine to write things such as:
(aBoolean ifTrue: ['on'] ifFalse: ['off']) translated.
#('yes' 'no' 'cancel') collect: #translated.
menu addTranslatedList: ...
Some examples like the above are already in the Trunk, but on the other hand, I do not know how the translator engine should find the locale strings in this case.
Thanks in advance!
Best,
Christoph
---
Sent from Squeak Inbox Talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220103/01e7adea/attachment.html>
More information about the Squeak-dev
mailing list
|