diff --git a/data/languages/arabic.txt b/data/languages/arabic.txt index a9756c2ae..fe40c7d9e 100644 --- a/data/languages/arabic.txt +++ b/data/languages/arabic.txt @@ -1533,9 +1533,6 @@ Graphics cards auto == -Sample rate -== - Appearance == diff --git a/data/languages/belarusian.txt b/data/languages/belarusian.txt index fc7b759fc..8fd868c2a 100644 --- a/data/languages/belarusian.txt +++ b/data/languages/belarusian.txt @@ -348,9 +348,6 @@ Rename demo Reset filter == Скінуць фільтр -Sample rate -== Чашчыня сэмпла - Score == Ачкі diff --git a/data/languages/bosnian.txt b/data/languages/bosnian.txt index 00cd60a5a..57f8e04f0 100644 --- a/data/languages/bosnian.txt +++ b/data/languages/bosnian.txt @@ -350,9 +350,6 @@ Rename demo Reset filter == Poništi filter -Sample rate -== Frekvencija - Score == Rezultat diff --git a/data/languages/brazilian_portuguese.txt b/data/languages/brazilian_portuguese.txt index 0c809b190..b605079b2 100644 --- a/data/languages/brazilian_portuguese.txt +++ b/data/languages/brazilian_portuguese.txt @@ -373,9 +373,6 @@ Rename demo Reset filter == Redefinir filtro -Sample rate -== Frequência do som - Score == Pontos diff --git a/data/languages/bulgarian.txt b/data/languages/bulgarian.txt index 9c14f83db..4d79d5a1f 100644 --- a/data/languages/bulgarian.txt +++ b/data/languages/bulgarian.txt @@ -347,9 +347,6 @@ Rename demo Reset filter == Рестартирай филтрите -Sample rate -== Честота - Score == Точки diff --git a/data/languages/catalan.txt b/data/languages/catalan.txt index bd6f33fd2..8878d3502 100644 --- a/data/languages/catalan.txt +++ b/data/languages/catalan.txt @@ -345,9 +345,6 @@ Rename demo Reset filter == Reiniciar el filtre -Sample rate -== Freqüència de la imatge - Score == Punts diff --git a/data/languages/chuvash.txt b/data/languages/chuvash.txt index 194ed0cc5..6d45df38f 100644 --- a/data/languages/chuvash.txt +++ b/data/languages/chuvash.txt @@ -347,9 +347,6 @@ Rename demo Reset filter == Фильтрсене тасат -Sample rate -== Тăтăшлăх - Score == Паллă diff --git a/data/languages/czech.txt b/data/languages/czech.txt index 3caf4152a..e9b803533 100644 --- a/data/languages/czech.txt +++ b/data/languages/czech.txt @@ -346,9 +346,6 @@ Rename demo Reset filter == Vymazat filtr -Sample rate -== Vzorkování: - Score == Skóre diff --git a/data/languages/danish.txt b/data/languages/danish.txt index 99cb2f446..da3881cbe 100644 --- a/data/languages/danish.txt +++ b/data/languages/danish.txt @@ -348,9 +348,6 @@ Rename demo Reset filter == Nulstil filter -Sample rate -== Sample frekvens - Score == Score diff --git a/data/languages/dutch.txt b/data/languages/dutch.txt index a11b6f23e..7915ef777 100644 --- a/data/languages/dutch.txt +++ b/data/languages/dutch.txt @@ -360,9 +360,6 @@ Rename demo Reset filter == Herstel filter -Sample rate -== Voorbeeldssnelheid - Score == Score diff --git a/data/languages/esperanto.txt b/data/languages/esperanto.txt index c0950ea27..6f3cb85a7 100644 --- a/data/languages/esperanto.txt +++ b/data/languages/esperanto.txt @@ -1324,9 +1324,6 @@ Enable highlighted chat sound Threaded sound loading == -Sample rate -== - Sound volume == diff --git a/data/languages/finnish.txt b/data/languages/finnish.txt index 8ec4cd4bb..c5308c42a 100644 --- a/data/languages/finnish.txt +++ b/data/languages/finnish.txt @@ -349,9 +349,6 @@ Rename demo Reset filter == Nollaa suotimet -Sample rate -== Näytteenottotaajuus - Score == Pisteet diff --git a/data/languages/french.txt b/data/languages/french.txt index 784b967da..1ca9b3dcf 100644 --- a/data/languages/french.txt +++ b/data/languages/french.txt @@ -371,9 +371,6 @@ Rename demo Reset filter == Filtres par défaut -Sample rate -== Taux d'échantillonnage - Score == Score diff --git a/data/languages/german.txt b/data/languages/german.txt index 5648b44d4..ffaeaaf3a 100644 --- a/data/languages/german.txt +++ b/data/languages/german.txt @@ -368,9 +368,6 @@ Rename demo Reset filter == Standardfilter -Sample rate -== Abtastrate - Score == Punkte diff --git a/data/languages/greek.txt b/data/languages/greek.txt index 43d2ffc6d..34efcad60 100644 --- a/data/languages/greek.txt +++ b/data/languages/greek.txt @@ -350,9 +350,6 @@ Rename demo Reset filter == Αφαίρεση φίλτρου -Sample rate -== Δειγματοληψία - Score == Βαθμ. diff --git a/data/languages/hungarian.txt b/data/languages/hungarian.txt index 933da21b2..638942fa5 100644 --- a/data/languages/hungarian.txt +++ b/data/languages/hungarian.txt @@ -340,9 +340,6 @@ Rename demo Reset filter == Szűrő visszaállítása -Sample rate -== Mintavételi frekvencia - Score == Pontszám diff --git a/data/languages/italian.txt b/data/languages/italian.txt index 41a1bf3ae..7baae3241 100644 --- a/data/languages/italian.txt +++ b/data/languages/italian.txt @@ -352,9 +352,6 @@ Rename demo Reset filter == Azzera filtri -Sample rate -== Frequenza - Score == Punti diff --git a/data/languages/japanese.txt b/data/languages/japanese.txt index e27830449..b1eea261e 100644 --- a/data/languages/japanese.txt +++ b/data/languages/japanese.txt @@ -344,9 +344,6 @@ Rename demo Reset filter == フィルタをリセット -Sample rate -== サンプルレート - Score == スコア diff --git a/data/languages/korean.txt b/data/languages/korean.txt index 9b4e01098..c89cdffdb 100644 --- a/data/languages/korean.txt +++ b/data/languages/korean.txt @@ -350,9 +350,6 @@ Rename demo Reset filter == 필터 초기화 -Sample rate -== 샘플링 속도 - Score == 점수 diff --git a/data/languages/kyrgyz.txt b/data/languages/kyrgyz.txt index 3df80862d..b3fc607c6 100644 --- a/data/languages/kyrgyz.txt +++ b/data/languages/kyrgyz.txt @@ -412,9 +412,6 @@ Laser Round == Раунду -Sample rate -== Жыштыгы - Sat. == Канык. diff --git a/data/languages/norwegian.txt b/data/languages/norwegian.txt index 873faed66..fecad2de4 100644 --- a/data/languages/norwegian.txt +++ b/data/languages/norwegian.txt @@ -349,9 +349,6 @@ Rename demo Reset filter == Tilbakestill filter -Sample rate -== Samplingsrate - Score == Poeng diff --git a/data/languages/persian.txt b/data/languages/persian.txt index d866552e6..91c18e69b 100644 --- a/data/languages/persian.txt +++ b/data/languages/persian.txt @@ -1291,9 +1291,6 @@ Enable highlighted chat sound Threaded sound loading == ﯼﺍ ﻪﺘﺷﺭ ﯼﺍﺪﺻ ﯼﺭﺍﺬﮔﺭﺎﺑ -Sample rate -== ﻪﻧﻮﻤﻧ ﺥﺮﻧ - Appearance == ﺮﻫﺎﻇ diff --git a/data/languages/polish.txt b/data/languages/polish.txt index 8ef7463b5..ba5ee5eaa 100644 --- a/data/languages/polish.txt +++ b/data/languages/polish.txt @@ -351,9 +351,6 @@ Rename demo Reset filter == Przywróć domyślne -Sample rate -== Częstotliwość próbkowania - Score == Wynik diff --git a/data/languages/portuguese.txt b/data/languages/portuguese.txt index 47326e9b7..13794ab7d 100644 --- a/data/languages/portuguese.txt +++ b/data/languages/portuguese.txt @@ -363,9 +363,6 @@ Reset Reset filter == Reiniciar filtro -Sample rate -== Frequencia de rate - Score == Pontos diff --git a/data/languages/romanian.txt b/data/languages/romanian.txt index 753da523a..a5a980dfe 100644 --- a/data/languages/romanian.txt +++ b/data/languages/romanian.txt @@ -356,9 +356,6 @@ Rename demo Reset filter == Filtru implicit -Sample rate -== Frecvența - Score == Scor diff --git a/data/languages/russian.txt b/data/languages/russian.txt index 37aacd0ee..7cc9b0bc2 100644 --- a/data/languages/russian.txt +++ b/data/languages/russian.txt @@ -360,9 +360,6 @@ Rename demo Reset filter == Сбросить фильтры -Sample rate -== Частота - Score == Счёт diff --git a/data/languages/serbian.txt b/data/languages/serbian.txt index bd5168bf3..11f194ae1 100644 --- a/data/languages/serbian.txt +++ b/data/languages/serbian.txt @@ -347,9 +347,6 @@ Rename demo Reset filter == Povrati filter -Sample rate -== Frekfencija - Score == Rezultat diff --git a/data/languages/serbian_cyrillic.txt b/data/languages/serbian_cyrillic.txt index 1065cd5ad..42442c2ea 100644 --- a/data/languages/serbian_cyrillic.txt +++ b/data/languages/serbian_cyrillic.txt @@ -343,9 +343,6 @@ Rename demo Reset filter == Поврати филтер -Sample rate -== Фрекфенција - Score == Резултат diff --git a/data/languages/simplified_chinese.txt b/data/languages/simplified_chinese.txt index 959213c5a..35e0b595f 100644 --- a/data/languages/simplified_chinese.txt +++ b/data/languages/simplified_chinese.txt @@ -407,9 +407,6 @@ Rename demo Reset filter == 重置筛选 -Sample rate -== 采样率 - Score == 分数 diff --git a/data/languages/slovak.txt b/data/languages/slovak.txt index e33af9338..142eb8a3c 100644 --- a/data/languages/slovak.txt +++ b/data/languages/slovak.txt @@ -347,9 +347,6 @@ Rename demo Reset filter == Obnoviť filter -Sample rate -== Sample rate - Score == Skóre diff --git a/data/languages/spanish.txt b/data/languages/spanish.txt index 53eb0e13e..c2ca16f7c 100644 --- a/data/languages/spanish.txt +++ b/data/languages/spanish.txt @@ -368,9 +368,6 @@ Rename demo Reset filter == Resetear filtro -Sample rate -== Frecuencia de muestreo - Score == Puntos diff --git a/data/languages/swedish.txt b/data/languages/swedish.txt index 9f5b419c6..266eb3d66 100644 --- a/data/languages/swedish.txt +++ b/data/languages/swedish.txt @@ -351,9 +351,6 @@ Rename demo Reset filter == Återställ filter -Sample rate -== Samplingsfrekvens - Score == Poäng diff --git a/data/languages/traditional_chinese.txt b/data/languages/traditional_chinese.txt index 91f25d45c..496caad7e 100644 --- a/data/languages/traditional_chinese.txt +++ b/data/languages/traditional_chinese.txt @@ -395,9 +395,6 @@ Rename demo Reset filter == 重置過濾器 -Sample rate -== 取樣率 - Score == 分數 diff --git a/data/languages/turkish.txt b/data/languages/turkish.txt index 0f6173cd8..de579aefa 100644 --- a/data/languages/turkish.txt +++ b/data/languages/turkish.txt @@ -349,9 +349,6 @@ Rename demo Reset filter == Filtreleri sıfırla -Sample rate -== Örnekleme hızı - Score == Skor diff --git a/data/languages/ukrainian.txt b/data/languages/ukrainian.txt index 64ce56d75..eb1b85509 100644 --- a/data/languages/ukrainian.txt +++ b/data/languages/ukrainian.txt @@ -260,9 +260,6 @@ Remote console Reset filter == Скинути фільтри -Sample rate -== Частота - Score == бали diff --git a/src/game/client/components/menus_settings.cpp b/src/game/client/components/menus_settings.cpp index 70b835af7..130e16be2 100644 --- a/src/game/client/components/menus_settings.cpp +++ b/src/game/client/components/menus_settings.cpp @@ -1944,14 +1944,13 @@ void CMenus::RenderSettingsSound(CUIRect MainView) { CUIRect Button, Label; static int s_SndEnable = g_Config.m_SndEnable; - static int s_SndRate = g_Config.m_SndRate; MainView.HSplitTop(20.0f, &Button, &MainView); if(DoButton_CheckBox(&g_Config.m_SndEnable, Localize("Use sounds"), g_Config.m_SndEnable, &Button)) { g_Config.m_SndEnable ^= 1; UpdateMusicState(); - m_NeedRestartSound = g_Config.m_SndEnable && (!s_SndEnable || s_SndRate != g_Config.m_SndRate); + m_NeedRestartSound = g_Config.m_SndEnable && !s_SndEnable; } if(!g_Config.m_SndEnable) @@ -2000,20 +1999,6 @@ void CMenus::RenderSettingsSound(CUIRect MainView) if(DoButton_CheckBox(&g_Config.m_ClThreadsoundloading, Localize("Threaded sound loading"), g_Config.m_ClThreadsoundloading, &Button)) g_Config.m_ClThreadsoundloading ^= 1; - // sample rate box - { - MainView.HSplitTop(20.0f, &Button, &MainView); - UI()->DoLabel(&Button, Localize("Sample rate"), 14.0f, TEXTALIGN_ML); - Button.VSplitLeft(190.0f, 0, &Button); - static CLineInputNumber s_SndRateInput(g_Config.m_SndRate); - if(UI()->DoEditBox(&s_SndRateInput, &Button, 14.0f)) - { - g_Config.m_SndRate = maximum(1, s_SndRateInput.GetInteger()); - m_NeedRestartSound = !s_SndEnable || s_SndRate != g_Config.m_SndRate; - } - s_SndRateInput.SetInteger(g_Config.m_SndRate); - } - // volume slider { MainView.HSplitTop(5.0f, &Button, &MainView);