From 2bbcd57b9e83c3272178ba9c1e85232df14fb0f2 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 17 Jan 2007 06:48:52 +0000 Subject: [PATCH] Changed [SOURCEMOD] to [SM] --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40311 --- core/CTranslator.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/core/CTranslator.cpp b/core/CTranslator.cpp index 80caa037..8fb074b8 100644 --- a/core/CTranslator.cpp +++ b/core/CTranslator.cpp @@ -63,11 +63,11 @@ void CPhraseFile::ParseWarning(const char *message, ...) if (!m_FileLogged) { - g_Logger.LogError("[SOURCEMOD] Warning(s) encountered in translation file \"%s\"", m_File.c_str()); + g_Logger.LogError("[SM] Warning(s) encountered in translation file \"%s\"", m_File.c_str()); m_FileLogged; } - g_Logger.LogError("[SOURCEMOD] %s", message); + g_Logger.LogError("[SM] %s", message); } void CPhraseFile::ReparseFile() @@ -98,8 +98,8 @@ void CPhraseFile::ReparseFile() msg = m_ParseError.c_str(); } - g_Logger.LogError("[SOURCEMOD] Fatal error encountered parsing translation file \"%s\"", m_File.c_str()); - g_Logger.LogError("[SOURCEMOD] Error (line %d, column %d): %s", line, col, msg); + g_Logger.LogError("[SM] Fatal error encountered parsing translation file \"%s\"", m_File.c_str()); + g_Logger.LogError("[SM] Error (line %d, column %d): %s", line, col, msg); } } @@ -652,13 +652,13 @@ void CTranslator::RebuildLanguageDatabase(const char *lang_header_file) str_err = m_CustomError.c_str(); } - g_Logger.LogError("[SOURCEMOD] Failed to parse language header file: \"%s\"", lang_header_file); - g_Logger.LogError("[SOURCEMOD] Parse error (line %d, column %d): %s", line, col, str_err); + g_Logger.LogError("[SM] Failed to parse language header file: \"%s\"", lang_header_file); + g_Logger.LogError("[SM] Parse error (line %d, column %d): %s", line, col, str_err); } if (!m_Languages.size()) { - g_Logger.LogError("[SOURCEMOD] Fatal error, no languages found! Translation will not work."); + g_Logger.LogError("[SM] Fatal error, no languages found! Translation will not work."); } for (size_t i=0; i