Serbian translation:
Code:
[sr]
USP_CONNECT = Ovaj server koristi %d v%d napravljen od strane wreckeda.
USP_RULES = %s Ukucaj usprules ili /usprules da vidis kako da igras ovo!
USP_RULES_NOTFOUND = %s Zao mi je! Ovaj server nema instalirana pravila!
USP_KILLED_NOSILENCE = %s %s je ubijen jer je ubio %s bez prigusivaca!
Quote:
Originally Posted by wrecked_
Any translations would be appreciated. Every one of the first %s strings are the prefixes, don't worry about those.
|
Well I worry. Try making it like this:
Quote:
Originally Posted by vilaemail
Additional info:
Consider not having [Battlefield] in each ML string. Try calling function like this:
Code:
//global variables/constants/defines
new const ML_PREFIX[] = "[BattleField] %L"
//somewhere in code
client_print(id, print_chat, ML_PREFIX, id, "DROP_BLOCK")
Even better define a constant look up table which will greatly improve your codes performance and reduce usage of memory:
Code:
//global variables/constants/defines
new const ML_PREFIX[] = "[BattleField] %L"
new const g_MessagesTable[2][] = {
"DROP_BLOCK",
"ONE_CALL_LEFT"
//etc.
};
//where 2 must be replaced with number of your constants
//Note: array is zero based so when you want to call DROP_BLOCK you use g_MessagesTable[0]
//somewhere in code
client_print(id, print_chat, ML_PREFIX, id, g_MessagesTable[0])
|
__________________
If you are putting me to credits of some kind please put "Filip Vilicic" instead of "vilaemail". Or put both. Thanks.