Napalm Posted August 13, 2016 Share Posted August 13, 2016 (edited) Hello, I found the following issue: Sometimes the macro {{flag}} returns values which have no coresponding png-files in 'res\icons\flags' (e.g: 'CS'). I think the flag is not set for the player on xvm site so the macro returns client language. But abbreviations for languages are not allways equal to the countrys abbreviation (e.g: Czech Republic = 'CZ'; Czech ='CS'). I think there are two simple ways to solve it: 1. Copy the png-files (cz.png -> cs.png) 2. Establish a new variable in config for default name if png file is not found ( e.g: "flag_default": "unknown" ) Best regards Napalm Edited August 13, 2016 by Napalm @ Quote Link to comment Short link Share on other sites More sharing options...
iBat Posted August 14, 2016 Share Posted August 14, 2016 Hi, Thanks for reporting. I fixed records in DB with incorrect abbreviations for Czech Republic. @ Quote Link to comment Short link Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.