Can I change radio button text?

  • I have a radio button Enable Javascript on my bar. To save space, can I reword it somewhere to say, Jscript?

    [Edit: I'm using Opera 12.16]

  • If you're comfortable editing the file, you can change it to anything at all. Perhaps a simple JS - standard abbreviation for javascript, I figure the Enable part is obvious.

    In your profile folder (see Help > About Opera for location) there will be a folder named "toolbar" containing a file "standard_toolbar.ini". It is just a specialized text file and can be edited in most text editors (though if your native language is not English you may need to identify it as UTF-8 encoded without byte order marker - if you have only unaccented letters and other characters on a US keyboard on your toolbars it won't matter). If the button uses actual text you could search for "Enable Javascript" with your text editor's Find feature (usually on the Edit menu) and then type whatever you want in place of it. Though note - only edit the file while Opera is closed, otherwise you'll lose your changes when Opera shuts down.

  • Thanks, sgunhouse. I had no luck with that particular file but got me searching and eventually found it in the main Opera folder where language texts are stored, which for English is:

    [Opera program folder]\locale\en\en.lng

    I guess they were never meant to be 'official' user preferences, which makes sense, but can be changed anyway.

  • If they issued an update, the updated file would need to be fixed afterwards - but they probably won't. Also, changing the language file would change the text in Preferences as well. I didn't realize you were talking about a button that uses a language string.

  • Maybe the easiest is to add a new button with the title you want.

    The first one is "Jscript" as you asked, the second one is just "JS".

    opera:/button/Enable%20javascript,,,%22Jscript%22,%22Checkbox%20skin%22%20%7C%20Disable%20javascript,,,,%22Checkbox%20skin.selected%22

    opera:/button/Enable%20javascript,,,%22JS22,%22Checkbox%20skin%22%20%7C%20Disable%20javascript,,,,%22Checkbox%20skin.selected%22

    (Copy & paste the code in your URL field, then click on the link of the error page to add the button)

Log in to reply
 

Looks like your connection to Opera forums was lost, please wait while we try to reconnect.