Mercurial > hg > openttd
changeset 19912:e06a3b64011f draft
(svn r24845) -Add: News ticker sound setting to adv. settings window.
line wrap: on
line diff
--- a/src/lang/afrikaans.txt +++ b/src/lang/afrikaans.txt @@ -727,7 +727,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Boodskap -STR_NEWS_MESSAGES_SOUND :{YELLOW}Speel geluid vir opsommige nuus boodskappe STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Af STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Opsomming STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Vol
--- a/src/lang/arabic_egypt.txt +++ b/src/lang/arabic_egypt.txt @@ -725,7 +725,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}رسالة -STR_NEWS_MESSAGES_SOUND :{YELLOW}اصدار صوت عند عرض رسالة جديدة STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :اغلاق STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :ملخص STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :ممتلئ
--- a/src/lang/basque.txt +++ b/src/lang/basque.txt @@ -729,7 +729,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Mezua -STR_NEWS_MESSAGES_SOUND :{YELLOW}Soinua entzun laburtutako notizi mezuetan STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Off STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Sumarioa STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Betea
--- a/src/lang/belarusian.txt +++ b/src/lang/belarusian.txt @@ -1042,7 +1042,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} — {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Паведамленьне -STR_NEWS_MESSAGES_SOUND :{YELLOW}Прайграваць гукі пры атрыманьні сьціслых паведамленьняў STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Выкл. STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Сьцісла STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Цалкам
--- a/src/lang/brazilian_portuguese.txt +++ b/src/lang/brazilian_portuguese.txt @@ -727,7 +727,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Mensagem -STR_NEWS_MESSAGES_SOUND :{YELLOW}Tocar som para mensagens de notícias resumidas STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Desligado STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Resumo STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Completa
--- a/src/lang/bulgarian.txt +++ b/src/lang/bulgarian.txt @@ -719,7 +719,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Съобщение -STR_NEWS_MESSAGES_SOUND :{YELLOW}Покажи обобщените новини със звук STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :изключено STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Обобщение STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Пълно
--- a/src/lang/catalan.txt +++ b/src/lang/catalan.txt @@ -730,7 +730,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Missatge -STR_NEWS_MESSAGES_SOUND :{YELLOW}Emetre so per als nous missatges resumits STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Fora STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Resum STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Complet
--- a/src/lang/croatian.txt +++ b/src/lang/croatian.txt @@ -825,7 +825,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Poruka -STR_NEWS_MESSAGES_SOUND :{YELLOW}Odsviraj zvuk za sve sažete novinske poruke STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Isključeno STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Sažetak STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Puno
--- a/src/lang/czech.txt +++ b/src/lang/czech.txt @@ -810,7 +810,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Zpráva -STR_NEWS_MESSAGES_SOUND :{YELLOW}Přehrát zvuk pro stručné novinové zprávy STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Vypnuto STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Shrnutí STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Plná
--- a/src/lang/danish.txt +++ b/src/lang/danish.txt @@ -728,7 +728,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Besked -STR_NEWS_MESSAGES_SOUND :{YELLOW}Afspil lyd for refererede nyheder STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Fra STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Kortfattet STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Fuld
--- a/src/lang/dutch.txt +++ b/src/lang/dutch.txt @@ -729,7 +729,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Bericht -STR_NEWS_MESSAGES_SOUND :{YELLOW}Speel een geluid af voor samengevatte nieuwsberichten STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Uit STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Samengevat STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Volledig
--- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -728,8 +728,6 @@ STR_MESSAGE_HISTORY_TOOLTIP :{BLACK}A list of the recent news messages STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING5} -STR_NEWS_MESSAGES_SOUND :{YELLOW}Play sound for summarised news messages - STR_NEWS_MESSAGE_CAPTION :{WHITE}Message STR_NEWS_CUSTOM_ITEM :{BIG_FONT}{BLACK}{RAW_STRING} @@ -1351,6 +1349,9 @@ STR_CONFIG_SETTING_EXPENSES_LAYOUT :Group expenses in company finance window: {STRING2} STR_CONFIG_SETTING_EXPENSES_LAYOUT_HELPTEXT :Define the layout for the company expenses window +STR_CONFIG_SETTING_SOUND_TICKER :News ticker: {STRING2} +STR_CONFIG_SETTING_SOUND_TICKER_HELPTEXT :Play sound for summarised news messages + STR_CONFIG_SETTING_DISABLE_UNSUITABLE_BUILDING :Disable infrastructure building when no suitable vehicles are available: {STRING2} STR_CONFIG_SETTING_DISABLE_UNSUITABLE_BUILDING_HELPTEXT :When enabled, infrastructure is only available if there are also vehicles available, preventing waste of time and money on unusable infrastructure STR_CONFIG_SETTING_MAX_TRAINS :Max trains per company: {STRING2} @@ -1536,6 +1537,7 @@ STR_CONFIG_SETTING_AI :{ORANGE}Competitors STR_CONFIG_SETTING_DISPLAY_OPTIONS :{ORANGE}Display options STR_CONFIG_SETTING_INTERACTION :{ORANGE}Interaction +STR_CONFIG_SETTING_SOUND :{ORANGE}Sound effects STR_CONFIG_SETTING_NEWS :{ORANGE}News and messages STR_CONFIG_SETTING_CONSTRUCTION_SIGNALS :{ORANGE}Signals STR_CONFIG_SETTING_STATIONS_CARGOHANDLING :{ORANGE}Cargo handling
--- a/src/lang/english_AU.txt +++ b/src/lang/english_AU.txt @@ -726,7 +726,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Message -STR_NEWS_MESSAGES_SOUND :{YELLOW}Play sound for summarised news messages STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Off STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Summary STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Full
--- a/src/lang/english_US.txt +++ b/src/lang/english_US.txt @@ -729,7 +729,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Message -STR_NEWS_MESSAGES_SOUND :{YELLOW}Play sound for summarized newsmessages STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Off STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Summary STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Full
--- a/src/lang/esperanto.txt +++ b/src/lang/esperanto.txt @@ -720,7 +720,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Mesaĝo -STR_NEWS_MESSAGES_SOUND :{YELLOW}Ludu sonon por resumaj novaĵoj STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Ne STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Resume STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Plene
--- a/src/lang/estonian.txt +++ b/src/lang/estonian.txt @@ -783,7 +783,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Teade -STR_NEWS_MESSAGES_SOUND :{YELLOW}Mängi heli ka kokkuvõetud uudistele STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Väljas STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Lühike STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Täielik
--- a/src/lang/finnish.txt +++ b/src/lang/finnish.txt @@ -729,7 +729,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Viesti -STR_NEWS_MESSAGES_SOUND :{YELLOW}Soita ääni tiivistetyn uutisviestin kohdalla STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Pois STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Tiivistelmä STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Täysi
--- a/src/lang/french.txt +++ b/src/lang/french.txt @@ -730,7 +730,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Message -STR_NEWS_MESSAGES_SOUND :{YELLOW}Émettre un son pour les bulletins sommaires STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Aucun STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Sommaire STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Complet
--- a/src/lang/galician.txt +++ b/src/lang/galician.txt @@ -700,7 +700,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Mensaxe -STR_NEWS_MESSAGES_SOUND :{YELLOW}Reproducir son para mensaxes de noticias resumidas STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Apagado STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Sumario STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Completo
--- a/src/lang/german.txt +++ b/src/lang/german.txt @@ -730,7 +730,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Mitteilung -STR_NEWS_MESSAGES_SOUND :{YELLOW}Sound für Tickermeldungen abspielen STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Aus STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Ticker STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Zeitung
--- a/src/lang/greek.txt +++ b/src/lang/greek.txt @@ -821,7 +821,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Μήνυμα -STR_NEWS_MESSAGES_SOUND :{YELLOW}Αναπαραγωγή ήχου για μηνύματα σε περιγραφή STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Απενεργοποιημένα STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Περιλήψεις STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Ολόκληρα
--- a/src/lang/hebrew.txt +++ b/src/lang/hebrew.txt @@ -725,7 +725,6 @@ STR_MESSAGE_NEWS_FORMAT :{1:STRING} - {0:STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}הודעה -STR_NEWS_MESSAGES_SOUND :{YELLOW}נגן סאונד להודעות תמציות STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :כבוי STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :תמצית STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :מלא
--- a/src/lang/hungarian.txt +++ b/src/lang/hungarian.txt @@ -790,7 +790,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Üzenet -STR_NEWS_MESSAGES_SOUND :{YELLOW}Figyelmeztető hang lejátszása rövid üzenetnél STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Ki STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Kivonat STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Teljes
--- a/src/lang/icelandic.txt +++ b/src/lang/icelandic.txt @@ -713,7 +713,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Skilaboð -STR_NEWS_MESSAGES_SOUND :{YELLOW}Spila hljóð með fréttaúrtaki STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Af STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Úrtak STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Allt
--- a/src/lang/indonesian.txt +++ b/src/lang/indonesian.txt @@ -725,7 +725,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Pesan -STR_NEWS_MESSAGES_SOUND :{YELLOW}Mainkan suara untuk berita yang diringkas STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Mati STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Ringkasan STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Penuh
--- a/src/lang/irish.txt +++ b/src/lang/irish.txt @@ -724,7 +724,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Teachtaireacht -STR_NEWS_MESSAGES_SOUND :{YELLOW}Seinn fuaim le haghaidh teachtaireachtaí nuachta achomair STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :As STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Achoimre STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Iomlán
--- a/src/lang/italian.txt +++ b/src/lang/italian.txt @@ -731,7 +731,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Messaggio -STR_NEWS_MESSAGES_SOUND :{YELLOW}Riproduci un suono per le notizie ridotte a sommario STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :No STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Sommario STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Completo
--- a/src/lang/japanese.txt +++ b/src/lang/japanese.txt @@ -723,7 +723,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}メッセージ -STR_NEWS_MESSAGES_SOUND :{YELLOW}ニュースを簡易表示するときに音を鳴らす。 STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :切 STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :簡易 STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :完全
--- a/src/lang/korean.txt +++ b/src/lang/korean.txt @@ -730,7 +730,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}메시지 -STR_NEWS_MESSAGES_SOUND :{YELLOW}메시지를 하단 상태표시줄에 요약하여 효과음과 함께 알려줍니다 STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :끄기 STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :요약 STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :전체
--- a/src/lang/latvian.txt +++ b/src/lang/latvian.txt @@ -731,7 +731,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Ziņojums -STR_NEWS_MESSAGES_SOUND :{YELLOW}Atskaņot signālu kopsavilkuma ziņojumiem STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Izslēgts STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Kopsavilkums STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Pilns
--- a/src/lang/lithuanian.txt +++ b/src/lang/lithuanian.txt @@ -923,7 +923,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Pranešimas -STR_NEWS_MESSAGES_SOUND :{YELLOW}Groti garsus pasirodzius naujienu santraukoms STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Išjungta STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Santrauka STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Pilnas
--- a/src/lang/luxembourgish.txt +++ b/src/lang/luxembourgish.txt @@ -728,7 +728,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Meldung -STR_NEWS_MESSAGES_SOUND :{YELLOW}Sound ofspillen fir zesummegefaassten Meldungen STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Aus STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Resumé STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Ganz
--- a/src/lang/malay.txt +++ b/src/lang/malay.txt @@ -729,7 +729,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Pesanan -STR_NEWS_MESSAGES_SOUND :{YELLOW}Mainkan bunyi untuk mesej berita ringkas STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Padam STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Ringkasan STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Penuh
--- a/src/lang/norwegian_bokmal.txt +++ b/src/lang/norwegian_bokmal.txt @@ -728,7 +728,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Melding -STR_NEWS_MESSAGES_SOUND :{YELLOW}Spill av en lyd ved nyhetssammendrag STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Av STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Sammendrag STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Fullt
--- a/src/lang/norwegian_nynorsk.txt +++ b/src/lang/norwegian_nynorsk.txt @@ -727,7 +727,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Melding -STR_NEWS_MESSAGES_SOUND :{YELLOW}Spel av lyd for nyhetssamandrag STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Av STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Samandrag STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Fullt
--- a/src/lang/polish.txt +++ b/src/lang/polish.txt @@ -1109,7 +1109,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Wiadomość -STR_NEWS_MESSAGES_SOUND :{YELLOW}Graj dźwięki przy sumarycznych wiadomościach STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Wyłączone STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Sumaryczne STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Pełne
--- a/src/lang/portuguese.txt +++ b/src/lang/portuguese.txt @@ -728,7 +728,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Mensagem -STR_NEWS_MESSAGES_SOUND :{YELLOW}Alerta sonoro para resumos de mensagens noticiosas STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Desligado STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Resumo STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Completo
--- a/src/lang/romanian.txt +++ b/src/lang/romanian.txt @@ -726,7 +726,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Mesaj -STR_NEWS_MESSAGES_SOUND :{YELLOW}Sunet pentru ştirile scurte STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Oprit STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Pe scurt STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Pe larg
--- a/src/lang/russian.txt +++ b/src/lang/russian.txt @@ -874,7 +874,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Сообщение -STR_NEWS_MESSAGES_SOUND :{YELLOW}Проигрывать звук при получении новых сообщений STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Выкл STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Кратко STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Полно
--- a/src/lang/serbian.txt +++ b/src/lang/serbian.txt @@ -921,7 +921,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Poruka -STR_NEWS_MESSAGES_SOUND :{YELLOW}Zvučni signal za sažeta novinska obaveštenja STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Isključeno STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Sažeto STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Potpuno
--- a/src/lang/simplified_chinese.txt +++ b/src/lang/simplified_chinese.txt @@ -728,7 +728,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}消息 -STR_NEWS_MESSAGES_SOUND :{YELLOW}为摘要的信息播放声音 STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :关闭 STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :摘要 STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :完全
--- a/src/lang/slovak.txt +++ b/src/lang/slovak.txt @@ -794,7 +794,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Správa -STR_NEWS_MESSAGES_SOUND :{YELLOW}Prehrať zvuk pre stručné novinové správy STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Vypnuté STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Obsah STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Plné
--- a/src/lang/slovenian.txt +++ b/src/lang/slovenian.txt @@ -879,7 +879,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Sporočilo -STR_NEWS_MESSAGES_SOUND :{YELLOW}Zaigraj zvok ob povzetku novega sporočila STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Izključeno STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Povzetek STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Polno
--- a/src/lang/spanish.txt +++ b/src/lang/spanish.txt @@ -730,7 +730,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Mensaje -STR_NEWS_MESSAGES_SOUND :{YELLOW}Reproducir sonido para resumen de noticias STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Apagado STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Resumen STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Completo
--- a/src/lang/swedish.txt +++ b/src/lang/swedish.txt @@ -727,7 +727,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Meddelande -STR_NEWS_MESSAGES_SOUND :{YELLOW}Spela upp ljud för summariska nyhetsmeddelanden STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Av STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Summarisk STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :På
--- a/src/lang/traditional_chinese.txt +++ b/src/lang/traditional_chinese.txt @@ -720,7 +720,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}訊息 -STR_NEWS_MESSAGES_SOUND :{YELLOW}摘要訊息發出聲音提示 STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :關閉 STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :摘要 STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :詳細
--- a/src/lang/turkish.txt +++ b/src/lang/turkish.txt @@ -730,7 +730,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Mesaj -STR_NEWS_MESSAGES_SOUND :{YELLOW}Özet haberler geçerken sesli uyar STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Kapalı STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Özet STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Tam
--- a/src/lang/ukrainian.txt +++ b/src/lang/ukrainian.txt @@ -854,7 +854,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Повідомлення -STR_NEWS_MESSAGES_SOUND :{YELLOW}Звукове сповіщення для підсумкових новин STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Не показувати STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Скорочено STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Повністю
--- a/src/lang/unfinished/frisian.txt +++ b/src/lang/unfinished/frisian.txt @@ -720,7 +720,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Berjocht -STR_NEWS_MESSAGES_SOUND :{YELLOW}Musykje ôfspielje by gearfette nijsberjochten STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Ut STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Gearfetting STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Folslein
--- a/src/lang/unfinished/macedonian.txt +++ b/src/lang/unfinished/macedonian.txt @@ -724,7 +724,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Порака -STR_NEWS_MESSAGES_SOUND :{YELLOW}Пушти звук за сумирани вести пораки STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :исклучен STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :резиме STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :целосна
--- a/src/lang/unfinished/persian.txt +++ b/src/lang/unfinished/persian.txt @@ -725,7 +725,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}پیغام -STR_NEWS_MESSAGES_SOUND :{YELLOW}پخش صدا برای پیام های خبری خلاصه STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :خاموش STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :خلاصه STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :کامل
--- a/src/lang/unfinished/thai.txt +++ b/src/lang/unfinished/thai.txt @@ -726,7 +726,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}ข้อความ -STR_NEWS_MESSAGES_SOUND :{YELLOW}ให้มีเสียงเตือนเมื่อมีข้อความข่าว STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :ปิด STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :แสดงข้อความในแถบเลื่อน STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :แสดงข้อความแบบเต็ม
--- a/src/lang/unfinished/urdu.txt +++ b/src/lang/unfinished/urdu.txt @@ -723,7 +723,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}پیغام -STR_NEWS_MESSAGES_SOUND :{YELLOW}خبروں کے خلاصے کے لے آواز چلائیں STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :بند STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :خلاصہ STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :مکمل
--- a/src/lang/vietnamese.txt +++ b/src/lang/vietnamese.txt @@ -729,7 +729,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Thông Điệp -STR_NEWS_MESSAGES_SOUND :{YELLOW}Phát âm thanh khi có thông báo tổng kết STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :Tắt STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Giản Lược STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Đủ
--- a/src/lang/welsh.txt +++ b/src/lang/welsh.txt @@ -726,7 +726,6 @@ STR_MESSAGE_NEWS_FORMAT :{STRING} - {STRING} STR_NEWS_MESSAGE_CAPTION :{WHITE}Neges -STR_NEWS_MESSAGES_SOUND :{YELLOW}Chwarae sain ar gyfer negeseuon newyddion cryno STR_CONFIG_SETTING_NEWS_MESSAGES_OFF :I Ffwrdd STR_CONFIG_SETTING_NEWS_MESSAGES_SUMMARY :Crynodeb STR_CONFIG_SETTING_NEWS_MESSAGES_FULL :Llawn
--- a/src/news_func.h +++ b/src/news_func.h @@ -58,7 +58,6 @@ void InitNewsItemStructs(); extern const NewsItem *_statusbar_news_item; -extern bool _news_ticker_sound; void DeleteInvalidEngineNews(); void DeleteVehicleNews(VehicleID vid, StringID news);
--- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -39,7 +39,6 @@ #include "table/strings.h" const NewsItem *_statusbar_news_item = NULL; -bool _news_ticker_sound; ///< Make a ticker sound when a news item is published. static uint MIN_NEWS_AMOUNT = 30; ///< prefered minimum amount of news messages static uint _total_news = 0; ///< current number of news items @@ -540,7 +539,7 @@ /** Show news item in the ticker */ static void ShowTicker(const NewsItem *ni) { - if (_news_ticker_sound) SndPlayFx(SND_16_MORSE); + if (_settings_client.sound.news_ticker) SndPlayFx(SND_16_MORSE); _statusbar_news_item = ni; InvalidateWindowData(WC_STATUS_BAR, 0, SBI_SHOW_TICKER);
--- a/src/settings_gui.cpp +++ b/src/settings_gui.cpp @@ -1458,6 +1458,12 @@ /** Interaction sub-page */ static SettingsPage _settings_ui_interaction_page = {_settings_ui_interaction, lengthof(_settings_ui_interaction)}; +static SettingEntry _settings_ui_sound[] = { + SettingEntry("sound.news_ticker"), +}; +/** Sound effects sub-page */ +static SettingsPage _settings_ui_sound_page = {_settings_ui_sound, lengthof(_settings_ui_sound)}; + static SettingEntry _settings_ui_news[] = { SettingEntry("news_display.arrival_player"), SettingEntry("news_display.arrival_other"), @@ -1474,6 +1480,7 @@ SettingEntry("news_display.acceptance"), SettingEntry("news_display.subsidies"), SettingEntry("news_display.general"), + SettingEntry("gui.coloured_news_year"), }; /** News sub-page */ static SettingsPage _settings_ui_news_page = {_settings_ui_news, lengthof(_settings_ui_news)}; @@ -1481,6 +1488,7 @@ static SettingEntry _settings_ui[] = { SettingEntry(&_settings_ui_display_page, STR_CONFIG_SETTING_DISPLAY_OPTIONS), SettingEntry(&_settings_ui_interaction_page, STR_CONFIG_SETTING_INTERACTION), + SettingEntry(&_settings_ui_sound_page, STR_CONFIG_SETTING_SOUND), SettingEntry(&_settings_ui_news_page, STR_CONFIG_SETTING_NEWS), SettingEntry("gui.show_finances"), SettingEntry("gui.errmsg_duration"), @@ -1496,7 +1504,6 @@ SettingEntry("gui.default_rail_type"), SettingEntry("gui.disable_unsuitable_building"), SettingEntry("gui.persistent_buildingtools"), - SettingEntry("gui.coloured_news_year"), }; /** Interface subpage */ static SettingsPage _settings_ui_page = {_settings_ui, lengthof(_settings_ui)};
--- a/src/settings_type.h +++ b/src/settings_type.h @@ -162,6 +162,11 @@ } }; +/** Settings related to sound effects. */ +struct SoundSettings { + bool news_ticker; ///< Play a ticker sound when a news item is published. +}; + /** Settings related to music. */ struct MusicSettings { byte playlist; ///< The playlist (number) to play @@ -514,6 +519,7 @@ GUISettings gui; ///< settings related to the GUI NetworkSettings network; ///< settings related to the network CompanySettings company; ///< default values for per-company settings + SoundSettings sound; ///< sound effect settings MusicSettings music; ///< settings related to music/sound NewsSettings news_display; ///< news display settings. };
--- a/src/table/misc_settings.ini +++ b/src/table/misc_settings.ini @@ -43,11 +43,6 @@ full = ""SHOW_TOWN_NAMES|SHOW_STATION_NAMES|SHOW_SIGNS|FULL_ANIMATION||FULL_DETAIL|WAYPOINTS|SHOW_COMPETITOR_SIGNS"" [SDTG_BOOL] -name = ""news_ticker_sound"" -var = _news_ticker_sound -def = true - -[SDTG_BOOL] name = ""fullscreen"" var = _fullscreen def = false
--- a/src/table/settings.ini +++ b/src/table/settings.ini @@ -2913,6 +2913,13 @@ min = 10 max = 65500 +[SDTC_BOOL] +var = sound.news_ticker +flags = SLF_NOT_IN_SAVE | SLF_NO_NETWORK_SYNC +def = true +str = STR_CONFIG_SETTING_SOUND_TICKER +strhelp = STR_CONFIG_SETTING_SOUND_TICKER_HELPTEXT + [SDTC_VAR] var = music.playlist type = SLE_UINT8