This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

"timeleft" is not translated in SourceMod 1.2.1/1.3.0 Dev.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GEVREKA
Member
Join Date: Sep 2006
Old 07-19-2009 , 13:48   "timeleft" is not translated in SourceMod 1.2.1/1.3.0 Dev.
Reply With Quote #1

Hello,

I've used SourceMode 1.2.1 and latest snapshot from 1.3.0-dev. Also cl_language <own lang>. But whatever language I've typed (German, Russian, Turkish, Romanian, etc. EXCEPT default English), the "timeleft" command is NOT translated in other language (but it HAD translation strings).

Some examples:

Bulgarian (cl_language bulgarian):

[IMG]http://img8.**************/img8/4976/cpfastlane0012.th.jpg[/IMG]

Russian (cl_language russian):

[IMG]http://img41.**************/img41/8966/cpfastlane0013.th.jpg[/IMG]

Turkish (cl_language turkish):

[IMG]http://img8.**************/img8/9538/cpfastlane0014.th.jpg[/IMG]

German (cl_language german):

[IMG]http://img8.**************/img8/469/cpfastlane0015.th.jpg[/IMG]

Romanian (cl_language romanian):

[IMG]http://img8.**************/img8/4430/cpfastlane0016.th.jpg[/IMG]

In lang subfolders, basetriggers.phrases.txt all lines are translated in different languages, as usual, BUT ONLY "timeleft" command, whatever lang you type, it shows... English !?

I've tryid with default, in core.cfg, "en" to "ru", "bg", "de", ... nuthin'. Same. Also plugin basetriggers.sp (1.2.1 & 1.3.0-dev latest) to change some thigs, like:

Code:
#define TIMELEFT_ALL_ALWAYS        0        /* Print to all players */
#define TIMELEFT_ALL_MAYBE        1        /* Print to all players if sm_trigger_show allows */
#define TIMELEFT_ONE            2        /* Print to a single player */
To different values, then compile and start the server again, but... nuthin' again. "timeleft" is in English. In sourcemod.cfg "sm_trigger_show" is "1". Changed to 0, nuthin'.

Where I'm wrong ? Am I wrong or the plugin basetriggers is something wrong in it ? Or... something else ? I've tryid so many variants...
GEVREKA is offline
BAILOPAN
Join Date: Jan 2004
Old 07-20-2009 , 17:14   Re: "timeleft" is not translated in SourceMod 1.2.1/1.3.0 Dev.
Reply With Quote #2

Do other messages translate successfully?
__________________
egg
BAILOPAN is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 07-20-2009 , 17:35   Re: "timeleft" is not translated in SourceMod 1.2.1/1.3.0 Dev.
Reply With Quote #3

I've seen the same bug on the server I usually play. Messages from different plugins are translated correctly but timeleft-phrase is always english. 1.2.1 version of sourcemod.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 07-20-2009 , 17:43   Re: "timeleft" is not translated in SourceMod 1.2.1/1.3.0 Dev.
Reply With Quote #4

It seems that it is a bug of the FormatEx function.
__________________
For admins: My plugins

For developers: Colors library

Last edited by exvel; 07-20-2009 at 17:50.
exvel is offline
Send a message via ICQ to exvel
GEVREKA
Member
Join Date: Sep 2006
Old 07-27-2009 , 21:18   Re: "timeleft" is not translated in SourceMod 1.2.1/1.3.0 Dev.
Reply With Quote #5

Quote:
Originally Posted by BAILOPAN View Post
Do other messages translate successfully?
Yes. Only in basetriggers.phrases.txt these phrases:

Code:
"Timeleft"

"WinLimitAppend"

"WinLimit"

"MaxRoundsAppend"

"MaxRounds"

"FragLimitAppend"

"FragLimit"

"WinLimitAppendPlural"

"WinLimitPlural"

"MaxRoundsAppendPlural"

"MaxRoundsPlural"

"FragLimitAppendPlural"

"FragLimitPlural"
Are 100% not translated.

These:

Code:
"Thetime"

"Friendly Fire On"

"Friendly Fire Off"

"Current Map"

"NoTimelimit"

"Next Map"
Are translated correctly.

These:

Code:
"LastRound"

"Pending Vote"
Not sure.


People and Head Administrators of Source Based Servers can test also.

Also I've tested now with sourcemod-1.3.0-hg2759. Same...

Last edited by GEVREKA; 07-28-2009 at 00:10.
GEVREKA is offline
GEVREKA
Member
Join Date: Sep 2006
Old 08-03-2009 , 11:26   Re: "timeleft" is not translated in SourceMod 1.2.1/1.3.0 Dev.
Reply With Quote #6

Some news about this ? Fix in some new version ?
GEVREKA is offline
BAILOPAN
Join Date: Jan 2004
Old 08-03-2009 , 12:15   Re: "timeleft" is not translated in SourceMod 1.2.1/1.3.0 Dev.
Reply With Quote #7

File a bug...

(Note this would have nothing to do with FormatEx - only its use)
__________________
egg
BAILOPAN is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:09.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode