This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2009-07-23 22:18:45

Hong1818
Scratcher
Registered: 2009-06-30
Posts: 33

Changing the naming of the function buttons in Scratch

Hi. I am new to scratch. I am trying to do some small modification on the scratch image file for some personal use in Education too.

I would like to simplify some of the naming of the top left function buttons on the Scratch which are Motion, Looks, Sound, Pen, Control, Sensing, Numbers and Variables.

So I would like to know is there a way I can change the naming for the above 8 buttons or else can I hide some of the buttons? Let say I would just like to show 4 out of 8? Is it possible?

Your help and replies are highly appreciated.
Thank you in advance for the replies.

Offline

 

#2 2009-07-24 01:46:41

Chrischb
Scratcher
Registered: 2008-07-24
Posts: 1000+

Re: Changing the naming of the function buttons in Scratch

I don't know any way to change it... but if I find out I'll tell you.  smile


I fall: It's a tragedy. You fall: It's comedy.
Hmph enjoy your fall - I get a lovely spring... without pans of new leaves.

Offline

 

#3 2009-07-27 21:12:32

billyedward
Scratcher
Registered: 2008-01-03
Posts: 500+

Re: Changing the naming of the function buttons in Scratch

Absolutely!!!
To begin, ensure that programmer facilities are enabled. (if they are not, copy

Code:

Preferences enableProgrammerFacilities

into a workspace, then press alt+a followed by alt+d.
Next, triple-middle-click on the category selector you want to change. (triple-alt+click works, too).
To delete it, press the red encircled X above it.
To resize it, drag the yellow circle below it.
To change the text, quintuple-middle-click the text label on the category button.
click the red menu circle.
From the debug menu (8th from the top) choose 'inspect morph.'
Now, in the new yellow window, select 'contents' (6th from the bottom) from the top left pane.
Now, change it to what you like. Ensure that you leave the single quotes surrounding it.
When finished, right-click the top right pane, and select 'accept.' (4th from the bottom).
You can now exit the yellow window.

NOTE: the change is not immediate. But if you switch to/from, that category, you will see it.


"I'd love to change the world, but they haven't released the source code yet."
Check out the latest version of Streak --> http://billy.scienceontheweb.net/Streak

Offline

 

#4 2009-07-29 04:13:47

Hong1818
Scratcher
Registered: 2009-06-30
Posts: 33

Re: Changing the naming of the function buttons in Scratch

thx,
but i am facing some problem.

when the yellow box"resizabletogglebutton2" opened,
i cannot find the "contents" button, why???

Offline

 

#5 2009-07-29 16:32:25

billyedward
Scratcher
Registered: 2008-01-03
Posts: 500+

Re: Changing the naming of the function buttons in Scratch

"resizabletogglebutton2" is a button.
You need 'StringMorph'.
Make sure that you click 5 times, on the text label.
It will work once the purple label at the bottom says 'string' or 'stringMorph.'


"I'd love to change the world, but they haven't released the source code yet."
Check out the latest version of Streak --> http://billy.scienceontheweb.net/Streak

Offline

 

#6 2009-07-30 02:49:46

Hong1818
Scratcher
Registered: 2009-06-30
Posts: 33

Re: Changing the naming of the function buttons in Scratch

Yes....i can change now...
but...why the number of words is limited?
e.g. when i change "Looks" to "Conversation", it displayed "Conve" only.
where can change this limit......

thanks a lot for all of you....

Offline

 

#7 2009-07-30 06:11:03

filo5
Scratcher
Registered: 2008-01-08
Posts: 1000+

Re: Changing the naming of the function buttons in Scratch

There is simplier way: Go to the "locale" directory, find [your language here].po file, open in text editor and look for the button names, then change them.


Converting my Scratch projects to Python!

Offline

 

#8 2009-08-03 02:58:34

Hong1818
Scratcher
Registered: 2009-06-30
Posts: 33

Re: Changing the naming of the function buttons in Scratch

I got the answer now!!!
the "bounds" in StringMorph will restrict the content.
eg. 40@85 corner: 93@99
"40@85" is the inital horzontal and vertical position;
"93@99" is the end position
control this 4 value to put your string in the right position

Offline

 

#9 2009-08-04 03:56:26

Hong1818
Scratcher
Registered: 2009-06-30
Posts: 33

Re: Changing the naming of the function buttons in Scratch

EXCUSE ME, problems again.
i've changed the name of icon, accept and save it and "save image in user mode".
when i open the scratch again. it changed back to the originally one. No change is displayed for me...WHY?? anyone can help me??

Offline

 

#10 2009-09-26 15:40:22

dkrrrunner
Scratcher
Registered: 2009-09-24
Posts: 7

Re: Changing the naming of the function buttons in Scratch

I have the same problem. I can make the changes and they show up. However, after I save the image, close, and the restart, the changes are no longer there. Can anyone help?

Offline

 

#11 2009-09-26 22:26:23

billyedward
Scratcher
Registered: 2008-01-03
Posts: 500+

Re: Changing the naming of the function buttons in Scratch

I don't quite understand the problem...
Could you explain a bit more about it?


"I'd love to change the world, but they haven't released the source code yet."
Check out the latest version of Streak --> http://billy.scienceontheweb.net/Streak

Offline

 

#12 2009-09-27 14:27:45

dkrrrunner
Scratcher
Registered: 2009-09-24
Posts: 7

Re: Changing the naming of the function buttons in Scratch

I want to change the name of the category blocks in the upper left hand category ("motion", "looks", etc.). I followed all the steps (inspecting the morph and changing the content properties) that was suggested in an early post, and it does then change the name of the block, at least temporarily. The probem is that when I save the image, close Scratch, and then reopen the program, the changes that I made before are no longer there.  So is there another way to change the block category names? Thanks for all your help.

Offline

 

#13 2009-10-01 11:39:47

dkrrrunner
Scratcher
Registered: 2009-09-24
Posts: 7

Re: Changing the naming of the function buttons in Scratch

Does anyone have an answer?

Offline

 

#14 2009-10-01 11:49:03

JSO
Community Moderator
Registered: 2007-06-23
Posts: 1000+

Re: Changing the naming of the function buttons in Scratch

Yes, copy a .po file in the locale directiory and start editing  smile


http://oi48.tinypic.com/2v1q0e9.jpg

Offline

 

#15 2009-10-01 19:41:59

dkrrrunner
Scratcher
Registered: 2009-09-24
Posts: 7

Re: Changing the naming of the function buttons in Scratch

I know this is a dumb question, but which one do I edit for English? I was expecting to find an "en.po" or a "us.po" but none of those exists. Thanks so much for your help.

Offline

 

#16 2009-10-01 20:21:11

gershmer
Scratcher
Registered: 2009-02-12
Posts: 1000+

Re: Changing the naming of the function buttons in Scratch

dkrrrunner wrote:

I know this is a dumb question, but which one do I edit for English? I was expecting to find an "en.po" or a "us.po" but none of those exists. Thanks so much for your help.

There is no English *.po file. You have to create your own / modify an existing one, then set THAT to the default language, instead of the built-in English strings.


(i believe this is correct)


Visit my site, Gershmer.net
Leave me a voicemail at my Google Voice number, [removed]

Offline

 

#17 2009-10-02 14:42:35

dkrrrunner
Scratcher
Registered: 2009-09-24
Posts: 7

Re: Changing the naming of the function buttons in Scratch

Thanks. That worked.

Offline

 

Board footer