Intro Download and install Frequently Asked Questions Tips and tricks

Homepage







© J.C. Kessels 2009
MyDefrag Forum
September 02, 2014, 05:38:43 pm *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: "Stop" in menubar hardcoded?  (Read 1511 times)
HolyMan
JkDefrag Hero
*****
Posts: 166


View Profile
« on: August 01, 2009, 10:18:54 am »

After changing the language script. The text stop in the menubar (Run > Stop) stays there, although I changed it in the script. Is it accidentally hardcoded?
Logged
jeroen
Administrator
JkDefrag Hero
*****
Posts: 7220



View Profile WWW
« Reply #1 on: August 01, 2009, 10:53:25 am »

The "Message("Exit","...")" line occurs 2 times in the Language file, once for the menubar and once for a button on a popup window. I think you only changed the first occurrence?
Logged
HolyMan
JkDefrag Hero
*****
Posts: 166


View Profile
« Reply #2 on: August 01, 2009, 11:15:11 am »

I did. Well, this means that you can only have 1 translation for an english text.
So the bug will be that the "exit" text in that popup window is not right. Maybe that should say something like "Kill this one" (analogous to "Kill the other") or "Stop this one" (and "Stop the other").

Another option is of course to number code the messages. But that will make quite some work for you and will make translating scripts by users a lot more difficult.

By the way: why not put Language("Dutch","Nederlands") in the same format as the other texts?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.5 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!