Discuss Scratch

shahrul-it
Scratcher
3 posts

Translating Scratch editor into Malay: What does % and @ means?

Hi all,

I am currently translating the scratch editor into Malay language and having problem understanding strings which have “@” and “%” in them. My understanding is that “%” representing a placeholder, e.g. :“turn video %m.videoState”. But what does it means when there's a number in front of the “%”, e.g. “turn %m.motor on for 1%n secs” ?

Also what does “@” represent in “turn @turnLeft 1%n degrees ” ? Appreciate your help on this. Thanks
chrisg
Scratch Team
35 posts

Translating Scratch editor into Malay: What does % and @ means?

Thanks for helping to translate Scratch into Malay. You are correct in assuming that “%” is the prefix for a placeholder and placeholders shouldn't be translated. “@” is a different type of placeholder. In some blocks there are icons - for example, the arrow on the turn left block. The @turnLeft is the arrow icon. You can move where the icon appears in your translation by putting the “@turnLeft” in a different location within the string.

I'm not sure where you're seeing the “1%n”, as I only see “%n”. Could you add a comment within Transifex and flag it as an issue if you see that again. Number placeholders should be “%n” without any prefix.
GunChleoc
Scratcher
100+ posts

Translating Scratch editor into Malay: What does % and @ means?

Transifex has a new feature that automatically adds number to all placeholders in the UI.

repeat until <not <(language) = [English]>>
set (language) to [Gàidhlig]
end

Powered by DjangoBB

Standard | Mobile