This function must not be correct
I would think that "connectspectate.phrases" should be replaced with path and "translations/connectspectate.phrases.txt" with szTranslationsPath.
PHP Code:
stock File_LoadTranslations(const String:path[])
{
new String:szTranslationsPath[PLATFORM_MAX_PATH];
Format(szTranslationsPath,sizeof(szTranslationsPath),"translations/%s",path);
BuildPath(Path_SM, szTranslationsPath, sizeof(szTranslationsPath), "translations/connectspectate.phrases.txt");
if (FileExists(szTranslationsPath)){
LoadTranslations("connectspectate.phrases");
}
else {
SetFailState("[%s] Unable to locate translation file (%s).",g_sPlugin_Name,szTranslationsPath);
}