Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion game/addons/sourcemod/scripting/include/sourcecomms.inc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

#define SBPPComms_VERSION_MAJOR "1"
#define SBPPComms_VERSION_MINOR "8"
#define SBPPComms_VERSION_PATCH "4"
#define SBPPComms_VERSION_PATCH "5"

#define SBPPComms_VERSION SBPPComms_VERSION_MAJOR..."."...SBPPComms_VERSION_MINOR..."."...SBPPComms_VERSION_PATCH

Expand Down
6 changes: 3 additions & 3 deletions game/addons/sourcemod/scripting/sbpp_checker.sp
Original file line number Diff line number Diff line change
Expand Up @@ -263,13 +263,13 @@ public void OnConnectBanCheck(Database db, DBResultSet results, const char[] err
return;

if ( bancount && commcount ) {
PrintToBanAdmins("%s%t", Prefix, "Ban and Comm Warning", client, bancount, ((bancount > 1 || bancount == 0) ? "s":""), commcount, ((commcount > 1 || commcount == 0) ? "s":""));
PrintToBanAdmins("%s%t", Prefix, "Ban and Comm Warning", client, bancount, commcount);
}
else if ( commcount ) {
PrintToBanAdmins("%s%t", Prefix, "Comm Warning", client, commcount, ((commcount > 1 || commcount == 0) ? "s":""));
PrintToBanAdmins("%s%t", Prefix, "Comm Warning", client, commcount);
}
else if ( bancount ) {
PrintToBanAdmins("%s%t", Prefix, "Ban Warning", client, bancount, ((bancount > 1 || bancount == 0) ? "s":""));
PrintToBanAdmins("%s%t", Prefix, "Ban Warning", client, bancount);
}
}

Expand Down
75 changes: 45 additions & 30 deletions game/addons/sourcemod/translations/sbpp_checker.phrases.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,56 @@
{
"Ban Warning"
{
"#format" "{1:N},{2:d},{3:s}"
"en" "Warning: \"{1:N}\" has {2} previous ban{3}."
"ru" "Внимание: \"{1:N}\" ранее был забанен {2} раз{3}."
"hu" "Figyelem: \"{1:N}\" van {2} korábbi kitiltása{3}."
"chi" "警告: \"{1:N}\" 之前有 {2} 次封禁{3}."
"pl" "Uwaga: \"{1:N}\" posiada {2} poprzednie bany{3}."
"pt" "Aviso: \"{1:N}\" tem {2} banimento(s) registrado{3}."
"de" "Warnung: \"{1:N}\" hatte bisher {2} ban{3}."
"tr" "Uyarı: \"{1:N}\" daha önceden {2} defa yasaklandı{3}."
"fr" "Attention: \"{1:N}\" a déjà reçu {2} ban{3}."
"#format" "{1:N},{2:d}"
"en" "Warning: \"{1:N}\" has previous bans: {2}."
"ru" "Внимание: у \"{1:N}\" предыдущих банов: {2}."
"hu" "Figyelem: \"{1:N}\" korábbi kitiltásai: {2}."
"chi" "警告: \"{1:N}\" 之前的封禁次数: {2}."
"pl" "Uwaga: \"{1:N}\" ma wcześniejsze bany: {2}."
"pt" "Aviso: \"{1:N}\" tem banimentos anteriores: {2}."
"de" "Warnung: \"{1:N}\" hat frühere Banns: {2}."
"tr" "Uyarı: \"{1:N}\" önceki yasak sayısı: {2}."
"fr" "Attention: \"{1:N}\" a des bans précédents: {2}."
"da" "Advarsel: \"{1:N}\" har tidligere udelukkelser: {2}."
"es" "Aviso: \"{1:N}\" tiene baneos anteriores: {2}."
"nl" "Waarschuwing: \"{1:N}\" heeft eerdere bans: {2}."
"no" "Advarsel: \"{1:N}\" har tidligere utestengelser: {2}."
"sv" "Varning: \"{1:N}\" har tidigare bannlysningar: {2}."
}
"Comm Warning"
{
"#format" "{1:N},{2:d},{3:s}"
"en" "Warning: \"{1:N}\" has {2} previous comm block{3}."
"ru" "Внимание: \"{1:N}\" ранее отключали чат или микрофон {2} раз{3}."
"hu" "Figyelem: \"{1:N}\" van {2} korábbi kommunikációs tiltása{3}."
"chi" "警告: \"{1:N}\" 之前有 {2} 次禁言{3}."
"pl" "Uwaga: \"{1:N}\" posiada {2} poprzednie blokady czatu{3}."
"pt" "Aviso: \"{1:N}\" tem {2} bloqueio{3} de comunicação registrado."
"de" "Warnung: \"{1:N}\" hatte bisher {2} Sprachchat ban{3}."
"tr" "Uyarı: \"{1:N}\" daha önceden {2} defa iletişim yasağı aldı{3}."
"fr" "Attention: \"{1:N}\" a déjà reçu {2} blocage{3} de communication."
"#format" "{1:N},{2:d}"
"en" "Warning: \"{1:N}\" has previous comm blocks: {2}."
"ru" "Внимание: у \"{1:N}\" предыдущих блокировок чата или микрофона: {2}."
"hu" "Figyelem: \"{1:N}\" korábbi kommunikációs tiltásai: {2}."
"chi" "警告: \"{1:N}\" 之前的禁言次数: {2}."
"pl" "Uwaga: \"{1:N}\" ma wcześniejsze blokady czatu: {2}."
"pt" "Aviso: \"{1:N}\" tem bloqueios de comunicação anteriores: {2}."
"de" "Warnung: \"{1:N}\" hat frühere Kommunikationssperren: {2}."
"tr" "Uyarı: \"{1:N}\" önceki iletişim yasağı sayısı: {2}."
"fr" "Attention: \"{1:N}\" a des blocages de communication précédents: {2}."
"da" "Advarsel: \"{1:N}\" har tidligere kommunikationsblokeringer: {2}."
"es" "Aviso: \"{1:N}\" tiene bloqueos de comunicación anteriores: {2}."
"nl" "Waarschuwing: \"{1:N}\" heeft eerdere communicatieblokkades: {2}."
"no" "Advarsel: \"{1:N}\" har tidligere kommunikasjonsblokkeringer: {2}."
"sv" "Varning: \"{1:N}\" har tidigare kommunikationsblockeringar: {2}."
}
"Ban and Comm Warning"
{
"#format" "{1:N},{2:d},{3:s},{4:d},{5:s}"
"en" "Warning: \"{1:N}\" has {2} previous ban{3} and {4} previous comm block{5}."
"ru" "Внимание: \"{1:N}\" ранее был забанен {2} раз и ему отключали чат или микрофон {4} раз{5}."
"hu" "Figyelem: \"{1:N}\" van {2} korábbi kitiltása és {4} korábbi kommunikációs tiltása{5}."
"chi" "警告: \"{1:N}\" 之前有 {2} 次封禁和 {4} 次禁言{5}."
"pl" "Uwaga: \"{1:N}\" posiada {2} poprzednie bany{3} oraz {4} poprzednie blokady czatu{5}."
"pt" "Aviso: \"{1:N}\" tem {2} banimento{3} e {4} bloqueio{5} de comunicação registrado."
"de" "Warnung: \"{1:N}\" hatte bisher {2} ban{3} und {4} Sprachchat ban{5}."
"tr" "Uyarı: \"{1:N}\" daha önceden {2} defa yasaklandı ve {4} defa iletişim yasağı aldı{5}."
"fr" "Attention: \"{1:N}\" a déjà reçu {2} ban{3} et {4} blocage{5} de communication."
"#format" "{1:N},{2:d},{3:d}"
"en" "Warning: \"{1:N}\" has previous bans: {2}, previous comm blocks: {3}."
"ru" "Внимание: у \"{1:N}\" предыдущих банов: {2}, блокировок чата или микрофона: {3}."
"hu" "Figyelem: \"{1:N}\" korábbi kitiltásai: {2}, korábbi kommunikációs tiltásai: {3}."
"chi" "警告: \"{1:N}\" 之前的封禁次数: {2}, 禁言次数: {3}."
"pl" "Uwaga: \"{1:N}\" ma wcześniejsze bany: {2}, blokady czatu: {3}."
"pt" "Aviso: \"{1:N}\" tem banimentos anteriores: {2}, bloqueios de comunicação anteriores: {3}."
"de" "Warnung: \"{1:N}\" hat frühere Banns: {2}, frühere Kommunikationssperren: {3}."
"tr" "Uyarı: \"{1:N}\" önceki yasak sayısı: {2}, önceki iletişim yasağı sayısı: {3}."
"fr" "Attention: \"{1:N}\" a des bans précédents: {2}, des blocages de communication précédents: {3}."
"da" "Advarsel: \"{1:N}\" har tidligere udelukkelser: {2}, tidligere kommunikationsblokeringer: {3}."
"es" "Aviso: \"{1:N}\" tiene baneos anteriores: {2}, bloqueos de comunicación anteriores: {3}."
"nl" "Waarschuwing: \"{1:N}\" heeft eerdere bans: {2}, eerdere communicatieblokkades: {3}."
"no" "Advarsel: \"{1:N}\" har tidligere utestengelser: {2}, tidligere kommunikasjonsblokkeringer: {3}."
"sv" "Varning: \"{1:N}\" har tidigare bannlysningar: {2}, tidigare kommunikationsblockeringar: {3}."
}
}
Loading
Loading