Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to "verify" your details, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.
 Entire forum ➜ MUSHclient ➜ General ➜ GUI display problem

GUI display problem

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Cocobear   (10 posts)  Bio
Date Tue 16 Aug 2011 08:28 AM (UTC)
Message
http://www.flickr.com/photos/cocobears/6021808210/in/photostream/

you can see a lot of words didn't show completely.

Like Label(show as able), Script(show as cript)

OS: Windows XP SP3
Top

Posted by Daniel P   USA  (97 posts)  Bio
Date Reply #1 on Tue 16 Aug 2011 03:36 PM (UTC)

Amended on Tue 16 Aug 2011 03:40 PM (UTC) by Daniel P

Message
Odd..though it MAY be a combination of the Chinese language pack -and- your usage of the Classic appearance.

There are a bunch of topics floating around the Google Chrome help forums saying that things like radio buttons and checkboxes disappear in Chrome when users have the Classic appearance enabled and are on XP SP3.

May try using an XP appearance (with a reboot), and see if that helps. Although Nick'll probably come back with a better solution ;).

Edit: Actually what it LOOKS like is the Roman character set in your language pack is overflowing the programmed bounds of the caption box next to the inputs. I know in VB, when setting up the GUI portion of any program, the dimensions of these can be easily changed and the text within is usually expected to remain below a certain pixel width.
Top

Posted by Nick Gammon   Australia  (23,057 posts)  Bio   Forum Administrator
Date Reply #2 on Tue 16 Aug 2011 08:40 PM (UTC)

Amended on Tue 16 Aug 2011 11:28 PM (UTC) by Nick Gammon

Message
Daniel P is right, the messages are not fitting into the fixed-space boxes in the resources DLL.

The quick fix is to change your "system" font so that they do, if possible.

The better change (since you seem to speak Chinese or similar) is to make an improved resource DLL.

There is a lot of detail here:

http://www.gammon.com.au/forum/bbshowpost.php?id=7953

The important point is that the resources are all in the file en.dll (shipped with MUSHclient) and that this file changes contents extremely rarely (by design).

To support another language you can make a copy of it (eg. as cn.dll for Chinese) and then edit that. Once edited change the "Locale Code" in the File -> Global Preferences -> General to be "CN". Then restart MUSHclient.

Since this file will not be in the download it will persist over new versions of MUSHclient.

To edit the file either get some "binary" resource editor and directly edit cn.dll or get the source of the resource file and edit that and recompile it.

To recompile you can probably use the resource editor which ships as part of Microsoft's Visual Studio "Lite" which is free (although I haven't tried that). Otherwise grab a copy of Visual Studio 6 from somewhere (which is what I use).

The source of the current resource file is here:

https://github.com/nickgammon/mushclient_resources

The main advantage of doing this is you can change all the wording to be in Chinese rather than English (eg. configuration screen, dialogs, menus).

If you are keen you can also edit en.lua (and make it into cn.lua) which is all the internal error and information messages and change those as well, as described in the web post above.



- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


13,173 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.