Перевод адмики нужен.

RUSTIC

Участник
Сообщения
147
Реакции
3
Если я переведу в sourcebans.cfg,админскую часть и сохраню в utf-8 закину на сервер, тобудет показывать причины бана на русском?
 

RUSTIC

Участник
Сообщения
147
Реакции
3
Сделайте пожалуйста перевод в sourceban.cfg для админке, вот он ниже:

/**
* sourcebans.cfg
*
* This file contains settings for the SourceBans Source Server Plugin
* @author SteamFriends Development Team
* @version 0.0.0.$Rev: 74 $
* @copyright SteamFriends (www.steamfriends.com)
* @package SourceBans
*/

"SourceBans"
{
"Config"
{
// Website address to tell where the player to go for unban, etc
"Website" "http://www.yourwebsite.net/"

// Allow or disallow admins access to addban command
"Addban" "1"

// Allow or disallow admins access to unban command
"Unban" "1"

// The Tableprefix you set while installing the webpanel. (default: "sb")
"DatabasePrefix" "sb"

// How many seconds to wait before retrying when a players ban fails to be checked. Min = 15.0 Max = 60.0
"RetryTime" "45.0"

// How often should we process the failed ban queue in minutes
"ProcessQueueTime" "5"

// Should the plugin automaticaly add the server to sourcebans
// (servers without -ip being set on startup need this set to 0)
"AutoAddServer" "0"

// Enable backing up config files after getting admins from database (1 = enabled, 0 = disabled)
"BackupConfigs" "1"

// Enable admin part of the plugin (1 = enabled, 0 = disabled)
"EnableAdmins" "1"

// Require the admin to login once into website
"RequireSiteLogin" "0"

// This is the ID of this server (Check in the admin panel -> servers to find the ID of this server)
"ServerID" "-1"
}

/*
* Generic menu options for if a reason isn't supplied in a ban
* Without a supplied reason the ban will never be written to the database
*/
"BanReasons"
{
"Hacking" "Hacking"
"Exploit" "General Exploit of Game/Map/Server"
"TK" "Team Killing"
"TF" "Team Flashing"
"CommSpam" "Spamming Mic/Chat"
"BadSpray" "Inappropriate Spray"
"BadLang" "Inappropriate Language"
"BadName" "Inappropriate Name"
"IgnoreAdmin" "Ignoring Admins"
"Stacking" "Team Stacking"
"Own Reason" "Own Reason"
}

/*
* Submenu options for when "Hacking" is selected
* If "Hacking" is removed from the menu above this will not be accessable
*/
"HackingReasons"
{
"Aimbot" "Aimbot"
"Antirecoil" "Anti Recoil"
"Wallhack" "Wallhack"
"Spinhack" "Spinhack"
"Speedhack" "Speedhack"
"Multi-Hack" "Multi-Hack"
"No Smoke" "No Smoke"
"No Flash" "No Flash"
}
}
 

LEII4A

Участник
Сообщения
741
Реакции
135
PHP:
/**
* sourcebans.cfg
*
* This file contains settings for the SourceBans Source Server Plugin
* @author SteamFriends Development Team
* @version 0.0.0.$Rev: 74 $
* @copyright SteamFriends (www.steamfriends.com)
* @package SourceBans
*/

"SourceBans"
{
	"Config"
	{
		// Website address to tell where the player to go for unban, etc
		"Website"			"url.ru/bans"

		// Allow or disallow admins access to addban command
		"Addban"			"1"

		// Allow or disallow admins access to unban command
		"Unban"				"1"
        
        // The Tableprefix you set while installing the webpanel. (default: "sb")
		"DatabasePrefix"	"sb"

		// How many seconds to wait before retrying when a players ban fails to be checked. Min = 15.0 Max = 60.0
		"RetryTime"			"45.0"
		
		// How often should we process the failed ban queue in minutes
		"ProcessQueueTime"	"5"

		// Should the plugin automaticaly add the server to sourcebans 
		// (servers without -ip being set on startup need this set to 0)
		"AutoAddServer"		"0"

		// Enable backing up config files after getting admins from database (1 = enabled, 0 = disabled)
		"BackupConfigs"	"1"

		// Enable admin part of the plugin (1 = enabled, 0 = disabled)
		"EnableAdmins"	"1"
        
		// Require the admin to login once into website
		"RequireSiteLogin"	"0"

		// This is the ID of this server (Check in the admin panel -> servers to find the ID of this server)
		"ServerID"		"2"
	}

	/*
	 * Generic menu options for if a reason isn't supplied in a ban
	 * Without a supplied reason the ban will never be written to the database
	 */
	"BanReasons"
	{
		"Hacking"	"Читерство"
		"Exploit"	"General Exploit of Game/Map/Server"
		"Scripting"	"Скрипты/Распрыжка"
		"Scripting"	"Скрипты/AWP быстр. перезарядка"
		"TK"	"Team Killing"
		"TF"	"Team Flashing"
		"CommSpam"	"Спам микрофон/чат"
		"BadSpray"	"Не нормативный спрэй"
		"BadLang"	"Мат/Оскорбления"
		"BadName"	"Не нормативный ник"
		"IgnoreAdmin"	"Игнорирование админов"
        "InsultAdmin"	"Осокрбление администрации"
		"Stacking"	"Team Stacking"
		"Own Reason"	"Другое..."
	}
	
	/*
	 * Submenu options for when "Hacking" is selected
	 * If "Hacking" is removed from the menu above this will not be accessable
	 */
	"HackingReasons"
	{
		"Aimbot"	"Читерство/Aimbot"
		"Antirecoil"	"Читерство/Anti Recoil"
		"Wallhack"	"Читерство/Wallhack"
		"ESP"	"Читерство/ESP"
		"Spinhack"	"Читерство/Spinhack"
		"Speedhack"	"Читерство/Speedhack"
		"Multi-Hack"	"Читерство/Multi-Hack"
		"No Smoke"	"Читерство/No Smoke"
		"No Flash"	"Читерство/No Flash"
	}
}
 

Enclave

hladm.ru welcom))
Сообщения
106
Реакции
20
Смотри,ты перевёл,но на сайте у тебя будет причина показана парабалой какой то,ну не на русском не на английском а вопще чёрт знаешь что там будет на писано,так што лучше на англ оставь просто добавь свои и всё
 

RUSTIC

Участник
Сообщения
147
Реакции
3
LEII4A,не перевелась у меня. Скопировал сорсбан кфг на рабочий стол, открыл нотепад ++, перевел сохранил в утф-8, закинул на сервер, а он не перевелся в утф-8. Пробовал сохранять утф-8 без бом, такая же штука,на серве показывает на русском, обычно когда кидаешь что то на русском сохраненным в утф-8, показывать должно кракозябры.
Enclave, если знаешь как перевести админскую часть сорс бан как перевести или дай если есть как это делать.
 

Vaio

Участник
Сообщения
625
Реакции
215
Оффтоп
RUSTIC, держи :beer:
 

Вложения

  • sourcebans.cfg
    2.7 КБ · Просмотры: 121
Сверху Снизу