From dc97e18955f295fbfea2c4f139606d750b015438 Mon Sep 17 00:00:00 2001 From: Borja Ferrer Date: Wed, 15 Feb 2006 19:44:34 +0000 Subject: [PATCH] fixes for % stuff in statsx and its lang file --- plugins/cstrike/statsx.sma | 12 ++++++------ plugins/lang/statsx.txt | 26 +++++++++++++------------- plugins/lang/time.txt | 2 +- 3 files changed, 20 insertions(+), 20 deletions(-) diff --git a/plugins/cstrike/statsx.sma b/plugins/cstrike/statsx.sma index 9f070a13..9bb6ece5 100755 --- a/plugins/cstrike/statsx.sma +++ b/plugins/cstrike/statsx.sma @@ -366,7 +366,7 @@ get_attackers(id, sBuffer[MAX_BUFFER_LENGTH + 1]) if (izStats[STATS_SHOTS] && ShowFullStats) { get_user_name(iAttacker, t_sName, MAX_NAME_LENGTH) - iLen = format(sBuffer, MAX_BUFFER_LENGTH, "%L -- %s -- %0.2f%%%% %L:^n", id, "ATTACKERS", t_sName, accuracy(izStats), id, "ACC") + iLen = format(sBuffer, MAX_BUFFER_LENGTH, "%L -- %s -- %0.2f%% %L:^n", id, "ATTACKERS", t_sName, accuracy(izStats), id, "ACC") } else iLen = format(sBuffer, MAX_BUFFER_LENGTH, "%L:^n", id, "ATTACKERS") @@ -420,7 +420,7 @@ get_victims(id, sBuffer[MAX_BUFFER_LENGTH + 1]) get_user_vstats(id, 0, izStats, izBody) if (izStats[STATS_SHOTS]) - iLen = format(sBuffer, MAX_BUFFER_LENGTH, "%L -- %0.2f%%%% %L:^n", id, "VICTIMS", accuracy(izStats), id, "ACC") + iLen = format(sBuffer, MAX_BUFFER_LENGTH, "%L -- %0.2f%% %L:^n", id, "VICTIMS", accuracy(izStats), id, "ACC") else iLen = format(sBuffer, MAX_BUFFER_LENGTH, "%L:^n", id, "VICTIMS") @@ -514,7 +514,7 @@ add_most_disruptive(sBuffer[MAX_BUFFER_LENGTH + 1]) new Float:fGameEff = effec(g_izUserGameStats[id]) new Float:fRndAcc = accuracy(g_izUserRndStats[id]) - format(t_sText, MAX_TEXT_LENGTH, "%L: %s^n%d %L / %d %L -- %0.2f%%%% %L / %0.2f%%%% %L^n", LANG_SERVER, "MOST_DMG", g_izUserRndName[id], + format(t_sText, MAX_TEXT_LENGTH, "%L: %s^n%d %L / %d %L -- %0.2f%% %L / %0.2f%% %L^n", LANG_SERVER, "MOST_DMG", g_izUserRndName[id], g_izUserRndStats[id][STATS_HITS], LANG_SERVER, "HIT_S", iMaxDamage, LANG_SERVER, "DMG", fGameEff, LANG_SERVER, "EFF", fRndAcc, LANG_SERVER, "ACC") add(sBuffer, MAX_BUFFER_LENGTH, t_sText) } @@ -550,7 +550,7 @@ add_best_score(sBuffer[MAX_BUFFER_LENGTH + 1]) new Float:fGameEff = effec(g_izUserGameStats[id]) new Float:fRndAcc = accuracy(g_izUserRndStats[id]) - format(t_sText, MAX_TEXT_LENGTH, "%L: %s^n%d %L / %d hs -- %0.2f%%%% %L / %0.2f%%%% %L^n", LANG_SERVER, "BEST_SCORE", g_izUserRndName[id], + format(t_sText, MAX_TEXT_LENGTH, "%L: %s^n%d %L / %d hs -- %0.2f%% %L / %0.2f%% %L^n", LANG_SERVER, "BEST_SCORE", g_izUserRndName[id], iMaxKills, LANG_SERVER, "KILL_S", iMaxHeadShots, fGameEff, LANG_SERVER, "EFF", fRndAcc, LANG_SERVER, "ACC") add(sBuffer, MAX_BUFFER_LENGTH, t_sText) } @@ -572,7 +572,7 @@ add_team_score(sBuffer[MAX_BUFFER_LENGTH + 1]) } // Format round team stats, MOTD - format(t_sText, MAX_TEXT_LENGTH, "TERRORIST %d / %0.2f%%%% %L / %0.2f%%%% %L^nCT %d / %0.2f%%%% %L / %0.2f%%%% %L^n", g_izTeamScore[0], + format(t_sText, MAX_TEXT_LENGTH, "TERRORIST %d / %0.2f%% %L / %0.2f%% %L^nCT %d / %0.2f%% %L / %0.2f%% %L^n", g_izTeamScore[0], fzMapEff[0], LANG_SERVER, "EFF", fzRndAcc[0], LANG_SERVER, "ACC", g_izTeamScore[1], fzMapEff[1], LANG_SERVER, "EFF", fzRndAcc[1], LANG_SERVER, "ACC") add(sBuffer, MAX_BUFFER_LENGTH, t_sText) } @@ -591,7 +591,7 @@ save_team_chatscore() } // Format game team stats, chat - format(g_sScore, MAX_BUFFER_LENGTH, "TERRORIST %d / %0.2f%%%% %L / %0.2f%%%% %L -- CT %d / %0.2f%%%% %L / %0.2f%%%% %L", g_izTeamScore[0], + format(g_sScore, MAX_BUFFER_LENGTH, "TERRORIST %d / %0.2f%% %L / %0.2f%% %L -- CT %d / %0.2f%% %L / %0.2f%% %L", g_izTeamScore[0], fzMapEff[0], LANG_SERVER, "EFF", fzMapAcc[0], LANG_SERVER, "ACC", g_izTeamScore[1], fzMapEff[1], LANG_SERVER, "EFF", fzMapAcc[1], LANG_SERVER, "ACC") } diff --git a/plugins/lang/statsx.txt b/plugins/lang/statsx.txt index 7d9b97df..19915eb1 100755 --- a/plugins/lang/statsx.txt +++ b/plugins/lang/statsx.txt @@ -37,7 +37,7 @@ PLAYERS = Players RANK_IS = rank is %d of %d DAMAGE = Damage WEAPON = Weapon -YOUR_RANK_IS = Your rank is %d of %d with %d kill(s), %d hit(s), %0.2f% eff. and %0.2f% acc. +YOUR_RANK_IS = Your rank is %d of %d with %d kill(s), %d hit(s), %0.2f%% eff. and %0.2f%% acc. AMMO = ammo HEALTH = health ARMOR = armor @@ -88,7 +88,7 @@ PLAYERS = Spieler RANK_IS = Platzierung: %d von %d DAMAGE = Schaden WEAPON = Waffe -YOUR_RANK_IS = Deine Platzierung: %d von %d mit %d Kill(s), %d Treffer, %0.2f%%%% eff. und %0.2f%%%% acc. +YOUR_RANK_IS = Deine Platzierung: %d von %d mit %d Kill(s), %d Treffer, %0.2f%% eff. und %0.2f%% acc. AMMO = Munition HEALTH = Gesundheit ARMOR = Ruestung @@ -139,7 +139,7 @@ PLAYERS = Igraca RANK_IS = rank je %d od %d DAMAGE = Steta WEAPON = Oruzje -YOUR_RANK_IS = Tvoj rank je %d od %d sa %d ubistva, %d pogodaka, %0.2f%%%% efikasnost. i %0.2f%%%% preciznosti. +YOUR_RANK_IS = Tvoj rank je %d od %d sa %d ubistva, %d pogodaka, %0.2f%% efikasnost. i %0.2f%% preciznosti. AMMO = municija HEALTH = energija ARMOR = stit @@ -190,7 +190,7 @@ PLAYERS = Oyuncular RANK_IS = Statistik %d ve %d DAMAGE = Zarar WEAPON = Silah -YOUR_RANK_IS = Sizin statistik %d ve %d kullanim %d oldurulen, %d vuruslar, %0.2f%%%% eff. ve %0.2f%%%% isabet +YOUR_RANK_IS = Sizin statistik %d ve %d kullanim %d oldurulen, %d vuruslar, %0.2f%% eff. ve %0.2f%% isabet AMMO = kursun HEALTH = saglik ARMOR = celik @@ -241,7 +241,7 @@ PLAYERS = Joueurs RANK_IS = classement est de %d sur %d DAMAGE = Point(s) de degat WEAPON = Arme -YOUR_RANK_IS = Ton classement est de %d sur %d avec %d frag(s), %d touche(s), %0.2f%%%% eff. et %0.2f%%%% prec. +YOUR_RANK_IS = Ton classement est de %d sur %d avec %d frag(s), %d touche(s), %0.2f%% eff. et %0.2f%% prec. AMMO = munition HEALTH = sante ARMOR = armure @@ -292,7 +292,7 @@ PLAYERS = Spelare RANK_IS = rank 'a'r %d av %d DAMAGE = Skada WEAPON = Vapen -YOUR_RANK_IS = Din ranking 'a'r %d av %d med %d likvidering(ar), %d tr'a'ff(ar), %0.2f%%%% eff. och %0.2f%%%% prec. +YOUR_RANK_IS = Din ranking 'a'r %d av %d med %d likvidering(ar), %d tr'a'ff(ar), %0.2f%% eff. och %0.2f%% prec. AMMO = ammo HEALTH = h'a'lsa ARMOR = skydd @@ -343,7 +343,7 @@ PLAYERS = Spillere RANK_IS = rank er %d af %d DAMAGE = Skade WEAPON = Vaaben -YOUR_RANK_IS = Din rank er %d af %d med %d drab %d traeffer(e), %0.2f%%%% eff. og %0.2f%%%% acc. +YOUR_RANK_IS = Din rank er %d af %d med %d drab %d traeffer(e), %0.2f%% eff. og %0.2f%% acc. AMMO = Ammunition HEALTH = Helbred ARMOR = armor @@ -394,7 +394,7 @@ PLAYERS = Gracze RANK_IS = ranking wynosi %d na %d DAMAGE = Obrazenia WEAPON = Bron -YOUR_RANK_IS = Twoj ranking wynosi %d na %d Masz %d zabojstw, %d trafien, %0.2f%%%% eff. i %0.2f%%%% acc. +YOUR_RANK_IS = Twoj ranking wynosi %d na %d Masz %d zabojstw, %d trafien, %0.2f%% eff. i %0.2f%% acc. AMMO = amunicja HEALTH = zdrowie ARMOR = kamizelka @@ -445,7 +445,7 @@ PLAYERS = Players RANK_IS = rank is %d of %d DAMAGE = Schade WEAPON = Wapen -YOUR_RANK_IS = Jouw rank is %d van de %d met %d kill(s), %d hit(s), %0.2f% eff. and %0.2f% acc. +YOUR_RANK_IS = Jouw rank is %d van de %d met %d kill(s), %d hit(s), %0.2f%% eff. and %0.2f%% acc. AMMO = ammo HEALTH = health ARMOR = armor @@ -496,7 +496,7 @@ PLAYERS = Jugadores RANK_IS = ranking es %d de %d DAMAGE = Danyo WEAPON = Arma -YOUR_RANK_IS = Tu ranking es %d de %d con %d frag(s), %d acierto(s), %0.2f% eff. y %0.2f% acc. +YOUR_RANK_IS = Tu ranking es %d de %d con %d frag(s), %d acierto(s), %0.2f%% eff. y %0.2f%% acc. AMMO = municion HEALTH = vida ARMOR = armadura @@ -547,7 +547,7 @@ PLAYERS = Jogadores RANK_IS = Sua posicao e %d de %d DAMAGE = Dano WEAPON = Arma -YOUR_RANK_IS = Sua posicao e %d de %d com %d frag(s), %d acerto(s), %0.2f%%%% eff. e %0.2f%%%% prec. +YOUR_RANK_IS = Sua posicao e %d de %d com %d frag(s), %d acerto(s), %0.2f%% eff. e %0.2f%% prec. AMMO = municao HEALTH = Life ARMOR = Colete @@ -598,7 +598,7 @@ PLAYERS = Hraci RANK_IS = pricka je %d z %d DAMAGE = Poskozeni WEAPON = Zbran -YOUR_RANK_IS = Tvoje pricka je %d z %d s %d zabitimi, %d zasahy, %0.2f% eff. a %0.2f% acc. +YOUR_RANK_IS = Tvoje pricka je %d z %d s %d zabitimi, %d zasahy, %0.2f%% eff. a %0.2f%% acc. AMMO = strelivo HEALTH = zdravi ARMOR = stity @@ -649,7 +649,7 @@ PLAYERS = Pelaajat RANK_IS = sijoitus on %d / %d DAMAGE = Damage WEAPON = Ase -YOUR_RANK_IS = Sijoituksesi on %d / %d: %d tappoa, %d osumaa, %0.2f% tehokkuus ja %0.2f% tarkkuus. +YOUR_RANK_IS = Sijoituksesi on %d / %d: %d tappoa, %d osumaa, %0.2f%% tehokkuus ja %0.2f%% tarkkuus. AMMO = ammukset HEALTH = hp ARMOR = ap diff --git a/plugins/lang/time.txt b/plugins/lang/time.txt index d97b4c79..1e5dc3ef 100644 --- a/plugins/lang/time.txt +++ b/plugins/lang/time.txt @@ -13,7 +13,7 @@ TIME_ELEMENT_PERMANENTLY = permanently TIME_ELEMENT_AND = and [de] -TIME_ELEMENT_SECOND = Sekunden +TIME_ELEMENT_SECOND = Sekunde TIME_ELEMENT_SECONDS = Sekunden TIME_ELEMENT_MINUTE = Minute TIME_ELEMENT_MINUTES = Minuten