diff --git a/scripting/KZTimerGlobal.sp b/scripting/KZTimerGlobal.sp index ae364e9..d81c1f4 100755 --- a/scripting/KZTimerGlobal.sp +++ b/scripting/KZTimerGlobal.sp @@ -730,7 +730,7 @@ new String:IMPRESSIVE_FULL_SOUND_PATH[128]; new String:IMPRESSIVE_RELATIVE_SOUND_PATH[128]; new String:GOLDEN_FULL_SOUND_PATH[128]; new String:GOLDEN_RELATIVE_SOUND_PATH[128]; -new String:g_szLanguages[][128] = {"English", "German", "Swedish", "French", "Russian", "SChinese", "Brazilian"}; +new String:g_szLanguages[][128] = {"English", "German", "Swedish", "French", "Russian", "SChinese", "Brazilian", "Finnish"}; new String:RadioCMDS[][] = {"coverme", "takepoint", "holdpos", "regroup", "followme", "takingfire", "go", "fallback", "sticktog", "getinpos", "stormfront", "report", "roger", "enemyspot", "needbackup", "sectorclear", "inposition", "reportingin", "getout", "negative","enemydown","cheer","thanks","nice","compliment"}; diff --git a/scripting/kztimerGlobal/commands.sp b/scripting/kztimerGlobal/commands.sp index a496e6a..62eb8dc 100755 --- a/scripting/kztimerGlobal/commands.sp +++ b/scripting/kztimerGlobal/commands.sp @@ -2730,7 +2730,8 @@ public SetClientLang(client) case 3: g_ClientLang[client] = 4; case 4: g_ClientLang[client] = 5; case 5: g_ClientLang[client] = 6; - case 6: g_ClientLang[client] = 0; + case 6: g_ClientLang[client] = 7; + case 7: g_ClientLang[client] = 0; } SetClientLangByID(client,g_ClientLang[client]) } @@ -2760,6 +2761,7 @@ public OptionMenu(client) case 4: Format(buffer, sizeof(buffer), "%T", "options_lang_ru", client); case 5: Format(buffer, sizeof(buffer), "%T", "options_lang_cn", client); case 6: Format(buffer, sizeof(buffer), "%T", "options_lang_pt", client); + case 7: Format(buffer, sizeof(buffer), "%T", "options_lang_fi", client); } AddMenuItem(optionmenu, "", buffer); diff --git a/translations/chi/kztimer.phrases.txt b/translations/chi/kztimer.phrases.txt index 0607731..128aaf9 100755 --- a/translations/chi/kztimer.phrases.txt +++ b/translations/chi/kztimer.phrases.txt @@ -1433,4 +1433,8 @@ { "chi" "Language - Portuguese Brazilian" } -} \ No newline at end of file + "options_lang_fi" + { + "chi" "Language - Finnish" + } +} diff --git a/translations/de/kztimer.phrases.txt b/translations/de/kztimer.phrases.txt index 1cfa7e4..eda797a 100755 --- a/translations/de/kztimer.phrases.txt +++ b/translations/de/kztimer.phrases.txt @@ -68,6 +68,10 @@ { "de" "Language - Portuguese Brazilian" } + "options_lang_fi" + { + "de" "Language - Finnish" + } "Route1" { "#format" "{1:c},{2:c}" @@ -1432,4 +1436,4 @@ "#format" "{1:c},{2:c},{3:i},{4:c}" "de" " {1}[{2}{3} block{4}]" } -} \ No newline at end of file +} diff --git a/translations/fi/kztimer.phrases.txt b/translations/fi/kztimer.phrases.txt index a71d843..3e77fff 100644 --- a/translations/fi/kztimer.phrases.txt +++ b/translations/fi/kztimer.phrases.txt @@ -37,10 +37,8 @@ } "options_lang_en" { - "fi" "Language - English” + "fi" "Language - English" } - - "options_lang_de" { "fi" "Language - Germany" @@ -51,10 +49,9 @@ } "options_lang_fi" { - "fi" "Language - Finnish” - - -"options_lang_fr" + "fi" "Language - Finnish" + } + "options_lang_fr" { "fi" "Language - French" } @@ -68,7 +65,7 @@ } "options_lang_pt" { - "fi" "Language - Portuguese Brazilian " + "fi" "Language - Portuguese Brazilian" } "stopsound" { @@ -82,7 +79,7 @@ } "kick_msg_low_fps" { - "fi" "[KZTimer] Laita “fps_max” arvosi suuremmaksi tai samaksi kuin 120” + "fi" "[KZTimer] Laita “fps_max“ arvosi suuremmaksi tai samaksi kuin 120" } "options_advcp_on" { @@ -130,11 +127,11 @@ } "options_cpmessage_on" { - "fi" "”Teleporttipiste tehty” chatti ilmoitus - Käytössä" + "fi" "“Teleporttipiste tehty“ chatti ilmoitus - Käytössä" } "options_cpmessage_off" { - "fi" "”Teleporttipiste tehty” chatti ilmoitus - Poissa käytöstä" + "fi" "“Teleporttipiste tehty“ chatti ilmoitus - Poissa käytöstä" } "options_menusounds_on" { @@ -273,8 +270,7 @@ "ClientLadderJump1" { "#format" "{1:c},{2:c},{3:c},{4:.2f},{5:c},{6:i},{7:c},{8:c},{9:.0f},{10:c},{11:c},{12:.0f},{13:c},{14:c},{15:i},{16:c},{17:c}" - "fi" "[{1}KZ{2}] {3}LAJ: {4} unittia [{5}{6}{7} Strafea | {8}{9}{10} Pre | {11}{12}{13} Korkeus -| {14}{15}{16}{17} Sync]" + "fi" "[{1}KZ{2}] {3}LAJ: {4} unittia [{5}{6}{7} Strafea | {8}{9}{10} Pre | {11}{12}{13} Korkeus | {14}{15}{16}{17} Sync]" } "ClientLadderJump2" { @@ -435,7 +431,7 @@ "AntiCheatEnabled" { "#format" "{1:c},{2:c},{3:c}" - "fi" " {1}{2}{3}VAROITUS: Kaikenlainen huijjaaminen aiheuttaa porttikiellon jokaiselle Global KZTimer serverille! Tähän kuuluu mutta ei rajoitu niihin: hakkerointi, macrot ja hiiren ominaisuudet kuten hyperscrollaus.” + "fi" " {1}{2}{3}VAROITUS: Kaikenlainen huijjaaminen aiheuttaa porttikiellon jokaiselle Global KZTimer serverille! Tähän kuuluu mutta ei rajoitu niihin: hakkerointi, macrot ja hiiren ominaisuudet kuten hyperscrollaus." } "NoCpsDuringChallenge" @@ -478,7 +474,7 @@ "Challenge2" { "#format" "{1:c},{2:c},{3:c},{4:s},{5:c},{6:c},{7:i},{8:s}" - "fi" "[{1}KZ{2}] {3}{4} haastoi sinut. Sinulla on 20 sekuntia aikaa laittaa {5}”!accept”{6} (Panos: {7}p, Teleporttipisteet {8})" + "fi" "[{1}KZ{2}] {3}{4} haastoi sinut. Sinulla on 20 sekuntia aikaa laittaa {5}“!accept“{6} (Panos: {7}p, Teleporttipisteet {8})" } "Challenge3" { @@ -525,12 +521,12 @@ "ChallengeStarted1" { "#format" "{1:c},{2:c},{3:c}" - "fi" "[{1}KZ{2}] {3}Jos haluat luovuttaa, kirjoita “!surrender”" + "fi" "[{1}KZ{2}] {3}Jos haluat luovuttaa, kirjoita “!surrender“" } "ChallengeStarted2" { "#format" "{1:c},{2:c},{3:c}" - "fi" "[{1}KZ{2}] {3}Voitte molemmat kirjoittaa “!cancel” chattiin lopettaaksenne haasteen." + "fi" "[{1}KZ{2}] {3}Voitte molemmat kirjoittaa “!cancel“ chattiin lopettaaksenne haasteen." } "ChallengeStarted3" { @@ -550,7 +546,7 @@ "ChallengeWon" { "#format" "{1:c},{2:c},{3:c},{4:c}" - "fi" "[{1}KZ{2}] {3}Haaste voitettu! {4}(Vastustajasi poistui serveriltä)” + "fi" "[{1}KZ{2}] {3}Haaste voitettu! {4}(Vastustajasi poistui serveriltä)" } "ChallengeAborted" { @@ -582,16 +578,11 @@ "#format" "{1:c},{2:c},{3:c},{4:s},{5:c},{6:c},{7:i},{8:c},{9:c},{10:i},{11:c}" "fi" "[{1}KZ{2}] {3}{4}{5} on hävinnyt {6}{7} pistettä{8} [{9}{10}{11} Yhteensä]" } - - "ChallengeW" - - + { "#format" "{1:c},{2:c},{3:c},{4:s},{5:c},{6:c},{7:s},{8:c}" "fi" "[{1}KZ{2}] {3}{4}{5} Voitti haasteen pelaajaa {6}{7}{8} vastaan!" } - - "ChallengeL" { "#format" "{1:c},{2:c},{3:c},{4:s},{5:c},{6:c},{7:i},{8:c}" @@ -605,7 +596,7 @@ "BotAlreadyCreated" { "#format" "{1:c},{2:c}" - "fi" "[{1}KZ{2}] Uusinta botti jo hengissä.” + "fi" "[{1}KZ{2}] Uusinta botti jo hengissä." } "NoPlayerTop" { @@ -620,7 +611,7 @@ "PrUpdateStarted" { "#format" "{1:c},{2:c}" - "fi" "[{1}KZ{2}] Uudelleenlasketaan pelaajatilastoja. Tässä voi mennä hetki, odota! (Voit seurata prosessia consolistasi)” + "fi" "[{1}KZ{2}] Uudelleenlasketaan pelaajatilastoja. Tässä voi mennä hetki, odota! (Voit seurata prosessia consolistasi)" } "PrUpdateFinished" { @@ -715,7 +706,7 @@ "NoClipUnlocked" { "#format" "{1:c},{2:c},{3:c}" - "fi" "[{1}KZ{2}] {3}NoClip sallittu (kirjoita consoleen: “bind KEY +noclip”)" + "fi" "[{1}KZ{2}] {3}NoClip sallittu (kirjoita consoleen: “bind KEY +noclip“)" } "PlayerNotFound" { @@ -855,7 +846,7 @@ "Goto10" { "#format" "{1:c},{2:c},{3:s}" - "fi" "[{1}KZ{2}] Pelaaja {3} on poistanut käytöstä teleporttaamisen häneen.” + "fi" "[{1}KZ{2}] Pelaaja {3} on poistanut käytöstä teleporttaamisen häneen." } "SpeedMeter1" { @@ -880,7 +871,7 @@ "CheckpointSaved" { "#format" "{1:c},{2:c},{3:c},{4:c},{5:i},{6:c}" - "fi" "[{1}KZ{2}] {3}Teleporttipiste{4}#{5}{6} tallennettu." + "fi" "[{1}KZ{2}] {3}Teleporttipiste {4}#{5}{6} tallennettu." } "CheckpointsNotinAir" { @@ -890,7 +881,7 @@ "CheckpointsNotonBhopPlattforms" { "#format" "{1:c},{2:c},{3:c}" - "fi" "[{1}KZ{2}] {3}Teleporttipisteet kielletty bunnyhop laatoilla.” + "fi" "[{1}KZ{2}] {3}Teleporttipisteet kielletty bunnyhop laatoilla." } "NoCheckpointsFound" { @@ -910,8 +901,7 @@ "PositionRestored" { "#format" "" - "fi" " \n Sijaintisi on -palautettu" + "fi" " \n Sijaintisi on palautettu" } "RadioCommandsDisabled" { diff --git a/translations/fr/kztimer.phrases.txt b/translations/fr/kztimer.phrases.txt index fbbc666..cafe1f3 100755 --- a/translations/fr/kztimer.phrases.txt +++ b/translations/fr/kztimer.phrases.txt @@ -68,6 +68,10 @@ { "fr" "Language - Portuguese Brazilian" } + "options_lang_fi" + { + "fr" "Language - Finnish" + } "stopsound" { "#format" "{1:c},{2:c}" @@ -1434,4 +1438,4 @@ "#format" "{1:c},{2:c},{3:i},{4:c}" "fr" " {1}[{2}{3} block{4}]" } -} \ No newline at end of file +} diff --git a/translations/kztimer.phrases.txt b/translations/kztimer.phrases.txt index 254d68f..ca63f45 100755 --- a/translations/kztimer.phrases.txt +++ b/translations/kztimer.phrases.txt @@ -63,6 +63,10 @@ { "en" "Language - Portuguese Brazilian" } + "options_lang_fi" + { + "en" "Language - Finnish" + } "stopsound" { "#format" "{1:c},{2:c}" @@ -1429,4 +1433,4 @@ "#format" "{1:c},{2:c},{3:i},{4:c}" "en" " {1}[{2}{3} block{4}]" } -} \ No newline at end of file +} diff --git a/translations/pt/kztimer.phrases.txt b/translations/pt/kztimer.phrases.txt index b85cbde..6e6599c 100755 --- a/translations/pt/kztimer.phrases.txt +++ b/translations/pt/kztimer.phrases.txt @@ -58,6 +58,10 @@ { "pt" "Language - Portuguese Brazilian" } + "options_lang_fi" + { + "pt" "Language - Finnish" + } "stopsound" { "#format" "{1:c},{2:c}" @@ -1404,4 +1408,4 @@ "#format" "{1:c},{2:c},{3:i},{4:c}" "pt" " {1}[{2}{3} blocos{4}]" } -} \ No newline at end of file +} diff --git a/translations/ru/kztimer.phrases.txt b/translations/ru/kztimer.phrases.txt index 087d744..375adde 100755 --- a/translations/ru/kztimer.phrases.txt +++ b/translations/ru/kztimer.phrases.txt @@ -63,6 +63,10 @@ { "ru" "Language - Portuguese Brazilian" } + "options_lang_fi" + { + "ru" "Language - Finnish" + } "Route1" { "#format" "{1:c},{2:c}" @@ -1504,4 +1508,4 @@ "#format" "{1:c},{2:c},{3:i},{4:c}" "ru" " {1}[{2}{3} блок{4}]" } -} \ No newline at end of file +} diff --git a/translations/sv/kztimer.phrases.txt b/translations/sv/kztimer.phrases.txt index 9f57b55..67741fb 100755 --- a/translations/sv/kztimer.phrases.txt +++ b/translations/sv/kztimer.phrases.txt @@ -63,6 +63,10 @@ { "sv" "Language - Portuguese Brazilian" } + "options_lang_fi" + { + "sv" "Language - Finnish" + } "Route1" { "#format" "{1:c},{2:c}" @@ -1427,4 +1431,4 @@ "#format" "{1:c},{2:c},{3:i},{4:c}" "sv" " {1}[{2}{3} block{4}]" } -} \ No newline at end of file +}