Merge pull request #437 from yapb/russian_language_update

cfg: ru_lang.cfg: translated new strings
This commit is contained in:
Владислав Сухов 2023-04-19 12:55:13 +06:00 committed by GitHub
commit dc7ccb2408
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 38 additions and 20 deletions

View file

@ -1852,7 +1852,7 @@ Specifies whether bot should not 'fix' camp directions of camp waypoints when lo
Legt fest, ob der Bot beim Laden des alten PWF-Formats die Camping-Richtungen der Camping-Wegpunkte nicht 'beheben' soll. Legt fest, ob der Bot beim Laden des alten PWF-Formats die Camping-Richtungen der Camping-Wegpunkte nicht 'beheben' soll.
[ORIGINAL] [ORIGINAL]
Specifies the URL from bots will be able to download graph in case of missing local one. Set to empty, if no downloads needed. Specifies the URL from which bots will be able to download graph in case of missing local one. Set to empty, if no downloads needed.
[TRANSLATED] [TRANSLATED]
Gibt die URL an, von der Bots den Graph herunterladen können, falls eine lokale URL fehlt. Leer lassen, wenn keine Downloads benötigt werden. Gibt die URL an, von der Bots den Graph herunterladen können, falls eine lokale URL fehlt. Leer lassen, wenn keine Downloads benötigt werden.
@ -1942,7 +1942,7 @@ Upper bound of random difficulty on bot creation. Only affects newly created bot
Obere Grenze der zufälligen Schwierigkeit bei der Bot-Erstellung. Betrifft nur neu erstellte Bots. -1 bedeutet, dass nur yb_difficulty verwendet wird. Obere Grenze der zufälligen Schwierigkeit bei der Bot-Erstellung. Betrifft nur neu erstellte Bots. -1 bedeutet, dass nur yb_difficulty verwendet wird.
[ORIGINAL] [ORIGINAL]
Enables each bot balances own difficulty based kd-ratio of team. Allows each bot to balance their own difficulty based kd-ratio of team.
[TRANSLATED] [TRANSLATED]
Ermöglicht es jedem Bot, seine eigene Schwierigkeit auf Basis des KD-Verhältnisses des Teams auszugleichen. Ermöglicht es jedem Bot, seine eigene Schwierigkeit auf Basis des KD-Verhältnisses des Teams auszugleichen.

View file

@ -541,13 +541,13 @@ Warning: Graph data is probably not for this map. Please check bots behaviour.
Successfully saved Bots %s data. Successfully saved Bots %s data.
[TRANSLATED] [TRANSLATED]
Успешно сохранены данные %s ботов. Успешно сохранены %s данные ботов.
[ORIGINAL] [ORIGINAL]
Loaded Bots %s data v%d (%d/%.2fMB). Loaded Bots %s data v%d (%d/%.2fMB).
[TRANSLATED] [TRANSLATED]
Успешно загружены данные %s ботов v%d (%d/%.2fМБ). Загружены %s данные ботов v%d (%d/%.2fМБ).
[ORIGINAL] [ORIGINAL]
Bot CVAR '%s' differs from the stored in the config (%s/%s). Ignoring. Bot CVAR '%s' differs from the stored in the config (%s/%s). Ignoring.
@ -1953,6 +1953,12 @@ Allows or disallows the ability for random knife attacks when bot is rushing and
[TRANSLATED] [TRANSLATED]
Разрешает или запрещает возможность случайных атак ножом, когда бот спешит и поблизости нет врагов. Разрешает или запрещает возможность случайных атак ножом, когда бот спешит и поблизости нет врагов.
[ORIGINAL]
Maximum number for path length, to predict the enemy.
[TRANSLATED]
Максимальное число длины пути, для предугадывания противника.
[ORIGINAL] [ORIGINAL]
Enables or disables bots chat functionality. Enables or disables bots chat functionality.
@ -2054,10 +2060,16 @@ Specifies whether bot should not 'fix' camp directions of camp waypoints when lo
Определяет, должен ли бот 'исправлять' направления кемперских вэйпоинтов при загрузке старого формата PWF. Определяет, должен ли бот 'исправлять' направления кемперских вэйпоинтов при загрузке старого формата PWF.
[ORIGINAL] [ORIGINAL]
Specifies the URL from bots will be able to download graph in case of missing local one. Set to empty, if no downloads needed. Specifies the URL from which bots will be able to download graph in case of missing local one. Set to empty, if no downloads needed.
[TRANSLATED] [TRANSLATED]
Указывает URL-адрес для скачивания graph файлов если они отсутствуют. Задайте пустое значение, если вам не нужны загрузки. Указывает URL-адрес для скачивания graph файлов если они отсутствуют. Задайте пустое значение, если вы не хотите их скачивать.
[ORIGINAL]
Specifies the URL to which bots will try to upload the graph file to database.
[TRANSLATED]
Указывает URL-адрес, по которому боты будут пытаться загружать graph файл в базу данных.
[ORIGINAL] [ORIGINAL]
Every N graph nodes placed on map, the graph will be saved automatically (without checks). Every N graph nodes placed on map, the graph will be saved automatically (without checks).
@ -2162,11 +2174,17 @@ Upper bound of random difficulty on bot creation. Only affects newly created bot
Верхняя граница случайной сложности при создании бота. Действует только на вновь созданных ботов. -1 означает, что используется только yb_difficulty. Верхняя граница случайной сложности при создании бота. Действует только на вновь созданных ботов. -1 означает, что используется только yb_difficulty.
[ORIGINAL] [ORIGINAL]
Enables each bot balances own difficulty based kd-ratio of team. Allows each bot to balance their own difficulty based kd-ratio of team.
[TRANSLATED] [TRANSLATED]
Позволяет каждому боту уравновесить собственную сложность на основе коэффициента убийств/смертей команды. Позволяет каждому боту уравновесить собственную сложность на основе коэффициента убийств/смертей команды.
[ORIGINAL]
Interval in which bots will balance their difficulty.
[TRANSLATED]
Интервал, в котором боты будут балансировать свою сложность.
[ORIGINAL] [ORIGINAL]
Enables or disables displaying bot avatars in front of their names in scoreboard. Note, that is currently you can see only avatars of your steam friends. Enables or disables displaying bot avatars in front of their names in scoreboard. Note, that is currently you can see only avatars of your steam friends.

View file

@ -325,7 +325,7 @@ yb_breakable_health_limit "500.0"
yb_graph_fixcamp "0" yb_graph_fixcamp "0"
// //
// Specifies the URL from bots will be able to download graph in case of missing local one. Set to empty, if no downloads needed. // Specifies the URL from which bots will be able to download graph in case of missing local one. Set to empty, if no downloads needed.
// --- // ---
// Default: "yapb.jeefo.net" // Default: "yapb.jeefo.net"
// //
@ -447,7 +447,7 @@ yb_difficulty_min "-1"
yb_difficulty_max "-1" yb_difficulty_max "-1"
// //
// Enables each bot balances own difficulty based kd-ratio of team. // Allows each bot to balance their own difficulty based kd-ratio of team.
// --- // ---
// Default: "0", Min: "0", Max: "1" // Default: "0", Min: "0", Max: "1"
// //

View file

@ -1074,7 +1074,7 @@ public:
void pushMsgQueue (int message); void pushMsgQueue (int message);
void prepareChatMessage (StringRef message); void prepareChatMessage (StringRef message);
void checkForChat (); void checkForChat ();
void showChaterIcon (bool show, bool disconnect = false); void showChatterIcon (bool show, bool disconnect = false);
void clearSearchNodes (); void clearSearchNodes ();
void checkBreakable (edict_t *touch); void checkBreakable (edict_t *touch);
void checkBreakablesAround (); void checkBreakablesAround ();

View file

@ -770,7 +770,7 @@ Vector Bot::getCampDirection (const Vector &dest) {
return nullptr; return nullptr;
} }
void Bot::showChaterIcon (bool show, bool disconnect) { void Bot::showChatterIcon (bool show, bool disconnect) {
// this function depending on show boolen, shows/remove chatter, icon, on the head of bot. // this function depending on show boolen, shows/remove chatter, icon, on the head of bot.
if (!game.is (GameFlags::HasBotVoice) || cv_radio_mode.int_ () != 2) { if (!game.is (GameFlags::HasBotVoice) || cv_radio_mode.int_ () != 2) {
@ -814,7 +814,7 @@ void Bot::instantChatter (int type) {
const auto &painSound = conf.pickRandomFromChatterBank (Chatter::DiePain); const auto &painSound = conf.pickRandomFromChatterBank (Chatter::DiePain);
if (m_notKilled) { if (m_notKilled) {
showChaterIcon (true); showChatterIcon (true);
} }
MessageWriter msg; MessageWriter msg;
int ownIndex = index (); int ownIndex = index ();
@ -2811,7 +2811,7 @@ void Bot::frame () {
checkBreakablesAround (); checkBreakablesAround ();
if (game.is (GameFlags::HasBotVoice)) { if (game.is (GameFlags::HasBotVoice)) {
showChaterIcon (false); // end voice feedback showChatterIcon (false); // end voice feedback
} }
// kick the bot if stay time is over, the quota maintain will add new bot for us later // kick the bot if stay time is over, the quota maintain will add new bot for us later

View file

@ -886,9 +886,9 @@ void Bot::selectWeapons (float distance, int index, int id, int choosen) {
if (distance < kSprayDistance || m_blindTime > game.time () || usesKnife ()) { if (distance < kSprayDistance || m_blindTime > game.time () || usesKnife ()) {
if (id == Weapon::Knife) { if (id == Weapon::Knife) {
if (distance < 64.0f) { if (distance < 64.0f) {
const auto primaryAtackChance = (m_oldButtons & IN_ATTACK2) ? 80 : 40; const auto primaryAttackChance = (m_oldButtons & IN_ATTACK2) ? 80 : 40;
if (rg.chance (primaryAtackChance) || hasShield ()) { if (rg.chance (primaryAttackChance) || hasShield ()) {
pev->button |= IN_ATTACK; // use primary attack pev->button |= IN_ATTACK; // use primary attack
} }
else { else {

View file

@ -8,8 +8,8 @@
#include <yapb.h> #include <yapb.h>
ConVar cv_graph_fixcamp ("yb_graph_fixcamp", "0", "Specifies whether bot should not 'fix' camp directions of camp waypoints when loading old PWF format."); ConVar cv_graph_fixcamp ("yb_graph_fixcamp", "0", "Specifies whether bot should not 'fix' camp directions of camp waypoints when loading old PWF format.");
ConVar cv_graph_url ("yb_graph_url", product.download.chars (), "Specifies the URL from bots will be able to download graph in case of missing local one. Set to empty, if no downloads needed.", false, 0.0f, 0.0f); ConVar cv_graph_url ("yb_graph_url", product.download.chars (), "Specifies the URL from which bots will be able to download graph in case of missing local one. Set to empty, if no downloads needed.", false, 0.0f, 0.0f);
ConVar cv_graph_url_upload ("yb_graph_url_upload", "http://yapb.jeefo.net/upload", "Specifies the URL to bots will try to upload te graph file to database.", false, 0.0f, 0.0f); ConVar cv_graph_url_upload ("yb_graph_url_upload", "http://yapb.jeefo.net/upload", "Specifies the URL to which bots will try to upload the graph file to database.", false, 0.0f, 0.0f);
ConVar cv_graph_auto_save_count ("yb_graph_auto_save_count", "15", "Every N graph nodes placed on map, the graph will be saved automatically (without checks).", true, 0.0f, kMaxNodes); ConVar cv_graph_auto_save_count ("yb_graph_auto_save_count", "15", "Every N graph nodes placed on map, the graph will be saved automatically (without checks).", true, 0.0f, kMaxNodes);
ConVar cv_graph_draw_distance ("yb_graph_draw_distance", "400", "Maximum distance to draw graph nodes from editor viewport.", true, 64.0f, 3072.0f); ConVar cv_graph_draw_distance ("yb_graph_draw_distance", "400", "Maximum distance to draw graph nodes from editor viewport.", true, 64.0f, 3072.0f);

View file

@ -25,8 +25,8 @@ ConVar cv_difficulty ("yb_difficulty", "3", "All bots difficulty level. Changing
ConVar cv_difficulty_min ("yb_difficulty_min", "-1", "Lower bound of random difficulty on bot creation. Only affects newly created bots. -1 means yb_difficulty only used.", true, -1.0f, 4.0f); ConVar cv_difficulty_min ("yb_difficulty_min", "-1", "Lower bound of random difficulty on bot creation. Only affects newly created bots. -1 means yb_difficulty only used.", true, -1.0f, 4.0f);
ConVar cv_difficulty_max ("yb_difficulty_max", "-1", "Upper bound of random difficulty on bot creation. Only affects newly created bots. -1 means yb_difficulty only used.", true, -1.0f, 4.0f); ConVar cv_difficulty_max ("yb_difficulty_max", "-1", "Upper bound of random difficulty on bot creation. Only affects newly created bots. -1 means yb_difficulty only used.", true, -1.0f, 4.0f);
ConVar cv_difficulty_auto ("yb_difficulty_auto", "0", "Enables each bot balances own difficulty based kd-ratio of team.", true, 0.0f, 1.0f); ConVar cv_difficulty_auto ("yb_difficulty_auto", "0", "Allows each bot to balance their own difficulty based kd-ratio of team.", true, 0.0f, 1.0f);
ConVar cv_difficulty_auto_balance_interval ("yb_difficulty_auto_balance_interval", "30", "Interval in which bots will balance theird difficulty.", true, 30.0f, 240.0f); ConVar cv_difficulty_auto_balance_interval ("yb_difficulty_auto_balance_interval", "30", "Interval in which bots will balance their difficulty.", true, 30.0f, 240.0f);
ConVar cv_show_avatars ("yb_show_avatars", "1", "Enables or disables displaying bot avatars in front of their names in scoreboard. Note, that is currently you can see only avatars of your steam friends."); ConVar cv_show_avatars ("yb_show_avatars", "1", "Enables or disables displaying bot avatars in front of their names in scoreboard. Note, that is currently you can see only avatars of your steam friends.");
ConVar cv_show_latency ("yb_show_latency", "2", "Enables latency display in scoreboard.\nAllowed values: '0', '1', '2'.\nIf '0', there is nothing displayed.\nIf '1', there is a 'BOT' is displayed.\nIf '2' fake ping is displayed.", true, 0.0f, 2.0f); ConVar cv_show_latency ("yb_show_latency", "2", "Enables latency display in scoreboard.\nAllowed values: '0', '1', '2'.\nIf '0', there is nothing displayed.\nIf '1', there is a 'BOT' is displayed.\nIf '2' fake ping is displayed.", true, 0.0f, 2.0f);
@ -1506,7 +1506,7 @@ void Bot::kick () {
} }
void Bot::markStale () { void Bot::markStale () {
showChaterIcon (false, true); showChatterIcon (false, true);
// clear the bot name // clear the bot name
conf.clearUsedName (this); conf.clearUsedName (this);