Changeset - r7998:ab0b3551471d
[Not reviewed]
src/lang/afrikaans.txt
Show inline comments
 
@@ -2304,7 +2304,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Beweeg HQ
 
STR_COMPANY_PASSWORD                                            :{BLACK}Wagwoord
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Wagwoord-beskerm jou maatskappy om onmagtig gebruikers te belet van verbinding
 
STR_SET_COMPANY_PASSWORD                                        :Stel maatskappy wagwoord
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Stel maatskappy wagwoord
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}W�eld Insinking!{}{}Finansieel eksperte vrees ergste as ekonomie inmekaar sak!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Insinking Oor!{}{}Oplewing in sake gee vertroue na nywerhede as ekonomie versterk!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Tokkel groot/klein venster groote
src/lang/american.txt
Show inline comments
 
@@ -2302,7 +2302,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Relocate HQ
 
STR_COMPANY_PASSWORD                                            :{BLACK}Password
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Password-protect your company to prevent unauthorized users from joining.
 
STR_SET_COMPANY_PASSWORD                                        :Set company password
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Set company password
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}World Recession!{}{}Financial experts fear worst as economy slumps!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Recession Over!{}{}Upturn in trade gives confidence to industries as economy strengthens!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Toggle large/small window size
src/lang/brazilian_portuguese.txt
Show inline comments
 
@@ -2313,7 +2313,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Mover sede
 
STR_COMPANY_PASSWORD                                            :{BLACK}Senha
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Usar senha na empresa para prevenir utilizadores não autorizados.
 
STR_SET_COMPANY_PASSWORD                                        :Definir senha para empresa
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Definir senha para empresa
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Recesso Mundial!{}{}Economistas temem crise!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Fim do recesso!{}{}Melhoras no comércio inspiram confiança nas indústrias à medida que a economia se fortalece!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Alternar entre janela grande/pequena
src/lang/bulgarian.txt
Show inline comments
 
@@ -2302,7 +2302,7 @@ STR_7072_VIEW_HQ                                                :{BLACK}Покажи Централния Офис
 
STR_RELOCATE_HQ                                                 :{BLACK}Преместване ЦК
 
STR_COMPANY_PASSWORD                                            :{BLACK}Парола
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Постави парола за да предпазиш компанията си от неоторизирани потребители.
 
STR_SET_COMPANY_PASSWORD                                        :Поставяне парола на компанията
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Поставяне парола на компанията
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Световна икономическа криза!{}{}Финансовите експерти очакват най-лошото от сриващата се световна икономика!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Световната икономическа криза отмина!{}{}Възходът на търговията дава увереност на индустриите в новата засилваща се икономическа реалност!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Активирай голям/малък размер на прозореца
src/lang/catalan.txt
Show inline comments
 
@@ -2309,7 +2309,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Trasllada la Seu
 
STR_COMPANY_PASSWORD                                            :{BLACK}Contrasenya
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Protegeix la teva Empresa amb contrasenya per tal d'evitar que la utilitzin usuaris no autoritzats.
 
STR_SET_COMPANY_PASSWORD                                        :Estableix la contrasenya de l'Empresa
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Estableix la contrasenya de l'Empresa
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Recessió Mundial!{}{}Economistes experts temen que l'economia es desplomi!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Recessió Acabada!{}{}La millora als negocis dóna confiança a les indústries a la vegada que l'economia s'enforteix!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Intercanvia mida gran/petita de finestra
src/lang/croatian.txt
Show inline comments
 
@@ -2306,7 +2306,7 @@ STR_7072_VIEW_HQ                                                :{BLACK}Pogledaj sjedište tvrtke
 
STR_RELOCATE_HQ                                                 :{BLACK}Premjesti sjedište kompanije
 
STR_COMPANY_PASSWORD                                            :{BLACK}Zaporka
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Zaštiti svoju tvrtku od neovlaštenog korištenja pomoću zaporke.
 
STR_SET_COMPANY_PASSWORD                                        :Postavi zaporku tvrtke
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Postavi zaporku tvrtke
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Svjetska recesija!{}{}Financijski stručnjaci očekuju najgore zbog ekonomske krize!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Recesija završena!{}{}Obrat  u trgovanu daje samopouzdanje gospodarstvu jer ekonomija jača!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Namjesti veliku/malu veličinu prozora
src/lang/czech.txt
Show inline comments
 
@@ -2367,7 +2367,7 @@ STR_7072_VIEW_HQ                                                :{BLACK}Ředitelství
 
STR_RELOCATE_HQ                                                 :{BLACK}Přesídlit
 
STR_COMPANY_PASSWORD                                            :{BLACK}Heslo
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Heslo - zabrání neautorizovaným uživatelům v připojení se k tvé společnosti.
 
STR_SET_COMPANY_PASSWORD                                        :Nastav heslo společnosti.
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Nastav heslo společnosti.
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Celosvětový hospodářský úpadek!{}{}Finanční experti se kvůli prudkému poklesu ekonomiky obávají nejhoršího!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Konec hospodářského úpadku!{}{}Posílení trhu zvýšilo u průmyslu důvěru!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Přepnout velké/malé okno
src/lang/danish.txt
Show inline comments
 
@@ -2308,7 +2308,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Flyt hovedkvarter
 
STR_COMPANY_PASSWORD                                            :{BLACK}Kodeord
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Beskyt dit selskab med et kodeord for at undgå, at fremmede slutter sig til spillet.
 
STR_SET_COMPANY_PASSWORD                                        :Sæt selskabets kodeord
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Sæt selskabets kodeord
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Lavkonjuktur over hele verden!{}{}Vismændende frygter det værste, økonomien skrumper!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Økonomisk krise overvundet!{}{}Stigning i forbrug giver industrien selvtilliden tilbage, produktionen øges!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Skift mellem stort/lille vindue
src/lang/dutch.txt
Show inline comments
 
@@ -2309,7 +2309,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Verplaats HQ
 
STR_COMPANY_PASSWORD                                            :{BLACK}Wachtwoord
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Bescherm het bedrijf met een wachtwoord zodat niet geautoriseerde personen niet mee kunnen doen.
 
STR_SET_COMPANY_PASSWORD                                        :Geef bedrijfswachtwoord op
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Geef bedrijfswachtwoord op
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Wereld Recessie!{}{}Financiële experts vrezen het ergste terwijl economie ineen stort!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Recessie Voorbij!{}{}Stijgende handel geeft industrie vertrouwen terwijl economie verstevigt!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Schakel tussen groot/klein venster
src/lang/english.txt
Show inline comments
 
@@ -2310,7 +2310,12 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Relocate HQ
 
STR_COMPANY_PASSWORD                                            :{BLACK}Password
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Password-protect your company to prevent unauthorised users from joining.
 
STR_SET_COMPANY_PASSWORD                                        :Set company password
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Set company password
 
STR_COMPANY_PASSWORD_CANCEL                                     :{BLACK}Do not save the entered password
 
STR_COMPANY_PASSWORD_OK                                         :{BLACK}Give the company the new password
 
STR_COMPANY_PASSWORD_CAPTION                                    :{WHITE}Company password
 
STR_MAKE_DEFAULT_COMPANY_PASSWORD                               :{BLACK}Default company password
 
STR_MAKE_DEFAULT_COMPANY_PASSWORD_TIP                           :{BLACK}Use this company password as default for new companies
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}World Recession!{}{}Financial experts fear worst as economy slumps!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Recession Over!{}{}Upturn in trade gives confidence to industries as economy strengthens!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Toggle large/small window size
src/lang/esperanto.txt
Show inline comments
 
@@ -2189,7 +2189,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Relokigu HQ
 
STR_COMPANY_PASSWORD                                            :{BLACK}Pasvorto
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Pasvorte protektu vian kompanion por eviti ke eksteruloj aliĝu.
 
STR_SET_COMPANY_PASSWORD                                        :Agordu kompanian pasvorton
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Agordu kompanian pasvorton
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Monda Recesio!{}{}Financaj spertuloj timas ke malpliboniĝas treege! Ekonomio malboniĝadas!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Recesio finiĝis!{}{}Komerca pliboniĝos donas konfidon al industrioj! Ekonomio pliboniĝas!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Ŝaltu inter granda kaj malgranda fenestro
src/lang/estonian.txt
Show inline comments
 
@@ -2404,7 +2404,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Liiguta peakorterit
 
STR_COMPANY_PASSWORD                                            :{BLACK}Salasõna
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Ettevõtte kaitsmine salasõnaga, et võõrad ei saaks ilma loata ühineda.
 
STR_SET_COMPANY_PASSWORD                                        :Vali ettevõttele salasõna
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Vali ettevõttele salasõna
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Majanduslik tagasilöök!{}{}Finantseksperdid ennustavad suurt majanduslangust!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Madalseis on läbi!{}{}Suurem kauplemine julgustab majanduse tugevnemisega ettevõtteid!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Lülita aken suureks/väikseks
src/lang/finnish.txt
Show inline comments
 
@@ -2295,7 +2295,7 @@ STR_7072_VIEW_HQ                                                :{BLACK}Näytä päämaja
 
STR_RELOCATE_HQ                                                 :{BLACK}Sijoita päämaja
 
STR_COMPANY_PASSWORD                                            :{BLACK}Salasana
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Salasanalla voit suojata yhtiösi, jotta kukaan vieras ei pääse liittymään.
 
STR_SET_COMPANY_PASSWORD                                        :Aseta yhtiön salasana
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Aseta yhtiön salasana
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Maailmanlaajuinen laskukausi!{}{}Rahoitusasiantuntijat pelkäävät pahinta talouden laskiessa!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Laskukausi ohi!{}{}Kaupankäynnin käänne parempaan lisää luottamusta teollisuuteen talouden vahvistuessa!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Suuri/pieni ikkunan koko
src/lang/french.txt
Show inline comments
 
@@ -2311,7 +2311,7 @@ STR_7072_VIEW_HQ                                                :{BLACK}Voir le siège
 
STR_RELOCATE_HQ                                                 :{BLACK}Déménager le QG
 
STR_COMPANY_PASSWORD                                            :{BLACK}Mot de passe
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Permet de protéger par mot de passe votre compagnie pour empêcher des utilisateurs non-autorisés de rejoindre. Utilisez '*' pour vider le mot de passe.
 
STR_SET_COMPANY_PASSWORD                                        :Choisir le mot de passe de la compagnie
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Choisir le mot de passe de la compagnie
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Récession mondiale!{}{}Les experts financiers craignent le pire!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Fin de la récession!{}{}La reprise redonne confiance aux industries!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Bascule entre une grande/petite fenêtre
src/lang/galician.txt
Show inline comments
 
@@ -2134,7 +2134,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Reposicionar CX
 
STR_COMPANY_PASSWORD                                            :{BLACK}Contrasinal
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Protexe a atúa compañía cun contrasinal para evitar que usuarios non autorizados se unan
 
STR_SET_COMPANY_PASSWORD                                        :Establece o contrasinal da compañía
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Establece o contrasinal da compañía
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}¡Recesión Mundial!{}{}¡Os expertos en finanzas témense o peor a medida que a economía afúndese!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}¡Fin da Recesión!{}{}¡A mellora no comercio inspira confianza nas industrias a media que a economía reforzase!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Intercambiar entre fiestra grande/pequena
src/lang/german.txt
Show inline comments
 
@@ -2305,7 +2305,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Firmensitz verlegen
 
STR_COMPANY_PASSWORD                                            :{BLACK}Passwort
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Sie können Ihre Firma mit einem Passwort schützen, sodass nur ausgewählte Spieler beitreten können.
 
STR_SET_COMPANY_PASSWORD                                        :Firmenpasswort setzen
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Firmenpasswort setzen
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Weltwirtschaftskrise!{}{}Finanzexperten befürchten schlimmsten Zusammenbruch der Wirtschaft!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Wirtschaftskrise beendet!{}{}Aufschwung des Handels gibt Vertrauen in die Industrie und stärkt die Wirtschaft!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Schalter für großes/kleines Fenster
src/lang/hungarian.txt
Show inline comments
 
@@ -2404,7 +2404,7 @@ STR_7072_VIEW_HQ                                                :{BLACK}Székház
 
STR_RELOCATE_HQ                                                 :{BLACK}FH áthelyezése
 
STR_COMPANY_PASSWORD                                            :{BLACK}Jelszó
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Védd le a vállalatodat jelszóval ha nem akarod hogy mások csatlakozzanak hozzá.
 
STR_SET_COMPANY_PASSWORD                                        :Vállalati jelszó beállítása
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Vállalati jelszó beállítása
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Gazdasági visszaesés!{}{}A közgazdászok gazdasági válságtól tartanak!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Vége a visszaesésnek!{}{}A kereskedelem fellendül, ami önbizalmat ad az iparnak, és erősödik a gazdaság!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Kicsi/nagy ablakméret közötti váltás
src/lang/icelandic.txt
Show inline comments
 
@@ -2154,7 +2154,7 @@ STR_7072_VIEW_HQ                                                :{BLACK}Skoða HS
 
STR_RELOCATE_HQ                                                 :{BLACK}Flytja HS
 
STR_COMPANY_PASSWORD                                            :{BLACK}Lykilorð
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Til að vernda fyrirtæki þitt frá óboðnum notendum geturðu sett lykilorð á það
 
STR_SET_COMPANY_PASSWORD                                        :Setja lykilorð á fyrirtæki
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Setja lykilorð á fyrirtæki
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Heimssamdráttur!{}{}Hagfræðingar hræddir um efnahagshrun!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Samdráttur!{}{}Uppslag í viðskiptum gefur bjartari von um betri efnahag!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Stækka/smækka gluggastærð
src/lang/italian.txt
Show inline comments
 
@@ -2312,7 +2312,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Sposta sede
 
STR_COMPANY_PASSWORD                                            :{BLACK}Password
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Protegge la compagnia con una password per impedire ad utenti non autorizzati di accedervi.
 
STR_SET_COMPANY_PASSWORD                                        :Imposta password compagnia
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Imposta password compagnia
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Recessione mondiale!{}{}Il crollo dell'economia porta gli analisti finanziari a temere il peggio!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Recessione finita!{}{}La ripresa del commercio da fiducia alle industrie e rafforza l'economia!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Seleziona dimensione grande/piccola della finestra
src/lang/japanese.txt
Show inline comments
 
@@ -2308,7 +2308,7 @@ STR_7072_VIEW_HQ                                                :{BLACK}本部ビルを見る
 
STR_RELOCATE_HQ                                                 :{BLACK}本部ビルを移動
 
STR_COMPANY_PASSWORD                                            :{BLACK}パスワード
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}他のプレヤーがこの会社の経営に参加できないようにするには、パスワードで保護します
 
STR_SET_COMPANY_PASSWORD                                        :会社のパスワードを設定
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}会社のパスワードを設定
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}世界中不景気!{}{}経済がスランプに陥る、アナリストの不安説!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}スランプの終わり!{}{}経済が上昇気流、産業が好転!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}大きい/小さいウィンドウサイズを切り替えます
src/lang/korean.txt
Show inline comments
 
@@ -2299,7 +2299,7 @@ STR_7072_VIEW_HQ                                                :{BLACK}본사 보기
 
STR_RELOCATE_HQ                                                 :{BLACK}본사 재위치
 
STR_COMPANY_PASSWORD                                            :{BLACK}암호
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}다른 참가자가 이 회사로의 플레이를 하지 못하도록 암호로 보호합니다
 
STR_SET_COMPANY_PASSWORD                                        :회사 암호 설정
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}회사 암호 설정
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}세계 공황!{}{}경제 전문가들이 경제 슬럼프에 대해 우려를 표망하고 있습니다!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}공황 종료!{}{}무역량의 증대로 경제를 살려낸 결과 산업시설에 대한 신뢰를 가져왔습니다!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}대형/소형 창 크기 토글
src/lang/lithuanian.txt
Show inline comments
 
@@ -2197,7 +2197,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Perkelti bustine
 
STR_COMPANY_PASSWORD                                            :{BLACK}Slaptazodis
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Slaptazodis apsaugo tavo kompanija nuo neleistinu vartotoju prisijungimo.
 
STR_SET_COMPANY_PASSWORD                                        :Ivesti slaptazodi
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Ivesti slaptazodi
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Pasauline krize!{}{}Ekonomikai griuvant, finansu ekspertai bijo paties blogiausio!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Krize iveikta!{}{}Prekybos pagyvejimas suteikia naujas viltis pramones imonems!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Pakeisti lango dydi
src/lang/norwegian_bokmal.txt
Show inline comments
 
@@ -2310,7 +2310,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Omplasser hovedkvarter
 
STR_COMPANY_PASSWORD                                            :{BLACK}Passord
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Passordbeskytt ditt firma for å forhindre uautoriserte brukere fra å bli med. Bruk '*' for å tømme passord.
 
STR_SET_COMPANY_PASSWORD                                        :Velg firmapassord
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Velg firmapassord
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Verdenskrise!{}{}Økonomer frykter det verste. Nedgangstider i møte.
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Verdenskrise over!{}{}Opptur i markedet gir industrien selvsikkerheten tilbake.
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Bytte mellom stor/liten vindustørrelse
src/lang/norwegian_nynorsk.txt
Show inline comments
 
@@ -2305,7 +2305,7 @@ STR_7072_VIEW_HQ                                                :{BLACK}Sjå hovudkontor
 
STR_RELOCATE_HQ                                                 :{BLACK}Omplasser hovudkvarter
 
STR_COMPANY_PASSWORD                                            :{BLACK}Passord
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Passordbeskytt firmaet ditt slik at ikkje alle og einkvar kan verte med. Bruk '*' for å tømme passord.
 
STR_SET_COMPANY_PASSWORD                                        :Vel firmapassord
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Vel firmapassord
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Verdskrise!{}{}Økonomar fryktar det verste. Nedgangstider i kjømda.
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Verdskrise over!{}{}Opptur i marknaden gjer industrien sjølvkjensla attende.
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Byt mellom stor/liten storleik på vindauga
src/lang/piglatin.txt
Show inline comments
 
@@ -2295,7 +2295,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Elocateray HQay
 
STR_COMPANY_PASSWORD                                            :{BLACK}Asswordpay
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Asswordpay-otectpray ouryay ompanycay otay eventpray unauthorisedway usersway omfray oiningjay.
 
STR_SET_COMPANY_PASSWORD                                        :Etsay ompanycay asswordpay
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Etsay ompanycay asswordpay
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Orldway Ecessionray!{}{}Inancialfay expertsway earfay orstway asway economyway umpsslay!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Ecessionray Overway!{}{}Upturnway inway adetray ivesgay onfidencecay otay industriesway asway economyway engthensstray!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Oggletay argelay/allsmay indowway izesay
src/lang/polish.txt
Show inline comments
 
@@ -2406,7 +2406,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Przenieś SG
 
STR_COMPANY_PASSWORD                                            :{BLACK}Hasło
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Ochrona hasłem Twojej firmy zapobiega nieautoryzowanemu przyłączeniu się
 
STR_SET_COMPANY_PASSWORD                                        :Ustaw hasło firmy
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Ustaw hasło firmy
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Światowa recesja!{}{}Eksperci finansowi obawiają się najgorszego z powodu kryzysu!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Koniec recesji!{}{}Polepszenie się transakcji handlowych daje pewność przedsiębiorstwom dzięki umacniającej się ekonomii!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Przełącz duży/mały rozmiar okna
src/lang/portuguese.txt
Show inline comments
 
@@ -2285,7 +2285,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Mover sede
 
STR_COMPANY_PASSWORD                                            :{BLACK}Palavra passe
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Usar palavra passe na empresa para prevenir utilizadores não autorizados.
 
STR_SET_COMPANY_PASSWORD                                        :Definir palavra passe da empresa
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Definir palavra passe da empresa
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Retrocesso Mundial!{}{}Especialistas financeiros temem crise económica!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Fim do retrocesso!{}{}Melhoras no comércio inspiram confiança nas indústrias à medida que a economia se fortalece!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Alternar entre janela grande/pequena
src/lang/romanian.txt
Show inline comments
 
@@ -2304,7 +2304,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Muta sediu
 
STR_COMPANY_PASSWORD                                            :{BLACK}Parola
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Protejeaza-ti compania cu o parola pentru a preveni accesul neautorizat.
 
STR_SET_COMPANY_PASSWORD                                        :Alege parola companiei
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Alege parola companiei
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Recesiune mondială!{}{}Experţii financiari se tem de ceea ce e mai rău odată cu prăbuşirea economică!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Recesiunea s-a încheiat!{}{}Creşterea comerţului dă încredere industriei, iar economia se redresează!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Comutator pentru mărimea ferestrei
src/lang/russian.txt
Show inline comments
 
@@ -2322,7 +2322,7 @@ STR_7072_VIEW_HQ                                                :{BLACK}Осмотреть штаб
 
STR_RELOCATE_HQ                                                 :{BLACK}Переместить
 
STR_COMPANY_PASSWORD                                            :{BLACK}Пароль
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Защитить вашу компанию паролем, чтобы неавторизованные пользователи не могли присоединиться
 
STR_SET_COMPANY_PASSWORD                                        :Установить пароль компании
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Установить пароль компании
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Мировой спад{}{}Финансовые эксперты дают ужасные прогнозы в связи с кризисом экономики!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Спад закончился!{}{}Увеличение объемов торговли внушает уверенность владельцам предприятий. Экономика укрепляет свои позиции.
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Большое/маленькое окно
src/lang/simplified_chinese.txt
Show inline comments
 
@@ -2177,7 +2177,7 @@ STR_7072_VIEW_HQ                                                :{BLACK}查看总部
 
STR_RELOCATE_HQ                                                 :{BLACK}重置总部
 
STR_COMPANY_PASSWORD                                            :{BLACK}密码
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}设置密码可以防止未经授权的用户随意加入。
 
STR_SET_COMPANY_PASSWORD                                        :设置公司密码
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}设置公司密码
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}大萧条!{}{}金融专家预测世界经济将全面倒退!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}大萧条结束!{}{}贸易复苏带动经济全面启动!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}切换窗口大小
src/lang/slovak.txt
Show inline comments
 
@@ -2373,7 +2373,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Premiestnit sidlo
 
STR_COMPANY_PASSWORD                                            :{BLACK}Heslo
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Heslo-ochrana vasej spolocnosti proti neautorizovanemu pripojeniu hracov
 
STR_SET_COMPANY_PASSWORD                                        :Nastavte heslo spolocnosti
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Nastavte heslo spolocnosti
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Svetova kriza!{}{}Financni experti maju obavy z prepadu ekonomiky!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Koniec krizy!{}{}Ocakava sa vzostup predaja a posilnenie ekonomiky!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Prepnut velkost okna
src/lang/slovenian.txt
Show inline comments
 
@@ -2389,7 +2389,7 @@ STR_7072_VIEW_HQ                                                :{BLACK}Poglej sedež podjetja
 
STR_RELOCATE_HQ                                                 :{BLACK}Preseli sedež
 
STR_COMPANY_PASSWORD                                            :{BLACK}Geslo
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Zaščiti svoje podjetje z geslom, da preprečiš priključitev drugih uporabnikov k podjetju.
 
STR_SET_COMPANY_PASSWORD                                        :Nastavi geslo podjetja
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Nastavi geslo podjetja
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Svetovna recesija!{}{}Ekonomisti se bojijo najhujšega ob trenutnem poteku dogodkov!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Konec recesije!{}{}Izboljšanje trgovanja povečuje zaupanje domače industrije, gospodarstvo napreduje!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Preklopi veliko/majhno velikost okna
src/lang/spanish.txt
Show inline comments
 
@@ -2310,7 +2310,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Reubicar Sede
 
STR_COMPANY_PASSWORD                                            :{BLACK}Contraseña
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Protege por contraseña tu empresa para prevenir que usuarios no autorizados se unan a ella.
 
STR_SET_COMPANY_PASSWORD                                        :Configurar contraseña de empresa
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Configurar contraseña de empresa
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}¡Recesión Mundial!{}{}¡Los expertos financieros son pesimistas mientras la economía se hunde!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}¡Fin de la Recesión!{}{}¡Mejora en el comercio da ánimos a las industrias mientras la economía se fortalece!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Cambiar entre tamaño de ventana grande/pequeño
src/lang/swedish.txt
Show inline comments
 
@@ -2308,7 +2308,7 @@ STR_7072_VIEW_HQ                                                :{BLACK}Visa högkvarter
 
STR_RELOCATE_HQ                                                 :{BLACK}Flytta högkvarter
 
STR_COMPANY_PASSWORD                                            :{BLACK}Lösenord
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Lösenordsskydda ditt företag för att förhindra att obehöriga spelare ansluter.
 
STR_SET_COMPANY_PASSWORD                                        :Ange företagets lösenord
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Ange företagets lösenord
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Lågkonjuktur!{}{}Finansexperter befarar det värsta när ekonomin sjunker!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Lågkonjuktur Över!{}{}Uppsving i byteshandeln ger tillförsikt till industrier när ekonomin stärks!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Växla stor/liten fönsterstorlek
src/lang/traditional_chinese.txt
Show inline comments
 
@@ -2304,7 +2304,7 @@ STR_7072_VIEW_HQ                                                :{BLACK}檢視總部
 
STR_RELOCATE_HQ                                                 :{BLACK}搬移總部
 
STR_COMPANY_PASSWORD                                            :{BLACK}密碼
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}以密碼保護您的公司,避免其他玩家隨意接手。
 
STR_SET_COMPANY_PASSWORD                                        :設定公司密碼
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}設定公司密碼
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}世界不景氣!{}{}財務專家對經濟蕭條做出最壞打算!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}景氣回升!{}{}湧現的訂單讓工業對經濟熱絡充滿信心!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}切換大/小視窗
src/lang/turkish.txt
Show inline comments
 
@@ -2307,7 +2307,7 @@ STR_7072_VIEW_HQ                        
 
STR_RELOCATE_HQ                                                 :{BLACK}Binayı Taşı
 
STR_COMPANY_PASSWORD                                            :{BLACK}Parola
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Başkalarınin girmemesi için parola koy.
 
STR_SET_COMPANY_PASSWORD                                        :Şirket parolası
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Şirket parolası
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Dünyada Kriz!{}{}Çok büyük bir ekonomik kriz yaşanacağı öngörüldü!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Kriz Atlatıldı!{}{}Ekonomi yine eski güzel günlerine döndü!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Pencere boyutunu büyült/küçült
src/lang/ukrainian.txt
Show inline comments
 
@@ -2472,7 +2472,7 @@ STR_7072_VIEW_HQ                                                :{BLACK}Показати Офіс
 
STR_RELOCATE_HQ                                                 :{BLACK}Перенести Офіс
 
STR_COMPANY_PASSWORD                                            :{BLACK}Пароль
 
STR_COMPANY_PASSWORD_TOOLTIP                                    :{BLACK}Пароль захищає вашу компанію від приєднання інших гравців.
 
STR_SET_COMPANY_PASSWORD                                        :Встановлення паролю
 
STR_SET_COMPANY_PASSWORD                                        :{BLACK}Встановлення паролю
 
STR_7073_WORLD_RECESSION_FINANCIAL                              :{BIGFONT}{BLACK}Світова економічна криза!{}{}Фінансисти очікують спад виробництва та попиту!
 
STR_7074_RECESSION_OVER_UPTURN_IN                               :{BIGFONT}{BLACK}Криза минула!{}{}Збільшення виробництва внаслідок стабілізації економіки надає впевненості підприємствам!
 
STR_7075_TOGGLE_LARGE_SMALL_WINDOW                              :{BLACK}Розмір вікна великий/малий
src/network/network.h
Show inline comments
 
@@ -147,6 +147,7 @@ VARDEF bool _is_network_server; // Does 
 
VARDEF char _network_server_name[NETWORK_NAME_LENGTH];
 
VARDEF char _network_server_password[NETWORK_PASSWORD_LENGTH];
 
VARDEF char _network_rcon_password[NETWORK_PASSWORD_LENGTH];
 
VARDEF char _network_default_company_pass[NETWORK_PASSWORD_LENGTH];
 

	
 
VARDEF uint16 _network_max_join_time;             ///< Time a client can max take to join
 
VARDEF bool _network_pause_on_join;               ///< Pause the game when a client tries to join (more chance of succeeding join)
src/network/network_gui.cpp
Show inline comments
 
@@ -1795,23 +1795,11 @@ static void ChatWindowWndProc(Window *w,
 
{
 
	switch (e->event) {
 
	case WE_CREATE:
 
		SendWindowMessage(WC_NEWS_WINDOW, 0, WE_CREATE, w->height, 0);
 
		SetBit(_no_scroll, SCROLL_CHAT); // do not scroll the game with the arrow-keys
 
		break;
 

	
 
	case WE_PAINT: {
 
		static const StringID chat_captions[] = {
 
			STR_NETWORK_CHAT_ALL_CAPTION,
 
			STR_NETWORK_CHAT_COMPANY_CAPTION,
 
			STR_NETWORK_CHAT_CLIENT_CAPTION
 
		};
 
		StringID msg;
 

	
 
		DrawWindowWidgets(w);
 

	
 
		assert(WP(w, chatquerystr_d).caption < lengthof(chat_captions));
 
		msg = chat_captions[WP(w, chatquerystr_d).caption];
 
		DrawStringRightAligned(w->widget[2].left - 2, w->widget[2].top + 1, msg, TC_BLACK);
 
		DrawEditBox(w, &WP(w, chatquerystr_d), 2);
 
	} break;
 

	
 
@@ -1887,4 +1875,95 @@ void ShowNetworkChatQueryWindow(DestType
 
	InitializeTextBuffer(&WP(w, chatquerystr_d).text, _edit_str_buf, lengthof(_edit_str_buf), 0);
 
}
 

	
 
/** Enum for NetworkGameWindow, referring to _network_game_window_widgets */
 
enum NetworkCompanyPasswordWindowWidgets {
 
	NCPWW_CLOSE,                    ///< Close 'X' button
 
	NCPWW_CAPTION,                  ///< Caption of the whole window
 
	NCPWW_BACKGROUND,               ///< The background of the interface
 
	NCPWW_LABEL,                    ///< Label in front of the password field
 
	NCPWW_PASSWORD,                 ///< Input field for the password
 
	NCPWW_SAVE_AS_DEFAULT_PASSWORD, ///< Toggle 'button' for saving the current password as default password
 
	NCPWW_CANCEL,                   ///< Close the window without changing anything
 
	NCPWW_OK,                       ///< Safe the password etc.
 
};
 

	
 
static void NetworkCompanyPasswordWindowWndProc(Window *w, WindowEvent *e)
 
{
 
	switch (e->event) {
 
		case WE_PAINT:
 
			DrawWindowWidgets(w);
 
			DrawEditBox(w, &WP(w, chatquerystr_d), 4);
 
			break;
 

	
 
		case WE_CLICK:
 
			switch (e->we.click.widget) {
 
				case NCPWW_OK: {
 
					if (w->IsWidgetLowered(NCPWW_SAVE_AS_DEFAULT_PASSWORD)) {
 
						snprintf(_network_default_company_pass, lengthof(_network_default_company_pass), "%s", _edit_str_buf);
 
					}
 

	
 
					/* empty password is a '*' because of console argument */
 
					if (StrEmpty(_edit_str_buf)) snprintf(_edit_str_buf, lengthof(_edit_str_buf), "*");
 
					char *password = _edit_str_buf;
 
					NetworkChangeCompanyPassword(1, &password);
 
				}
 

	
 
				/* FALL THROUGH */
 
				case NCPWW_CANCEL:
 
					DeleteWindow(w);
 
					break;
 

	
 
				case NCPWW_SAVE_AS_DEFAULT_PASSWORD:
 
					w->ToggleWidgetLoweredState(NCPWW_SAVE_AS_DEFAULT_PASSWORD);
 
					SetWindowDirty(w);
 
					break;
 
			}
 
			break;
 

	
 
		case WE_MOUSELOOP:
 
			HandleEditBox(w, &WP(w, chatquerystr_d), 4);
 
			break;
 

	
 
		case WE_KEYPRESS:
 
			switch (HandleEditBoxKey(w, &WP(w, chatquerystr_d), 4, e)) {
 
				case 1: // Return
 
					/* FALLTHROUGH */
 
				case 2: // Escape
 
					DeleteWindow(w);
 
					break;
 
			}
 
			break;
 
	}
 
}
 

	
 
static const Widget _ncp_window_widgets[] = {
 
{   WWT_CLOSEBOX, RESIZE_NONE, 14,   0,  10,  0, 13, STR_00C5,                          STR_018B_CLOSE_WINDOW},
 
{    WWT_CAPTION, RESIZE_NONE, 14,  11, 299,  0, 13, STR_COMPANY_PASSWORD_CAPTION,      STR_018C_WINDOW_TITLE_DRAG_THIS},
 
{      WWT_PANEL, RESIZE_NONE, 14,   0, 299, 14, 50, 0x0,                               STR_NULL},
 
{       WWT_TEXT, RESIZE_NONE, 14,   5, 100, 19, 30, STR_COMPANY_PASSWORD,              STR_NULL},
 
{      WWT_PANEL, RESIZE_NONE, 14, 101, 294, 19, 30, 0x0,                               STR_NULL},
 
{    WWT_TEXTBTN, RESIZE_NONE, 14, 101, 294, 35, 46, STR_MAKE_DEFAULT_COMPANY_PASSWORD, STR_MAKE_DEFAULT_COMPANY_PASSWORD_TIP},
 
{ WWT_PUSHTXTBTN, RESIZE_NONE, 14,   0, 149, 51, 62, STR_012E_CANCEL,                   STR_COMPANY_PASSWORD_CANCEL},
 
{ WWT_PUSHTXTBTN, RESIZE_NONE, 14, 150, 299, 51, 62, STR_012F_OK,                       STR_COMPANY_PASSWORD_OK},
 
{   WIDGETS_END},
 
};
 

	
 
static const WindowDesc _ncp_window_desc = {
 
	WDP_AUTO, WDP_AUTO, 300, 63, 300, 63,
 
	WC_COMPANY_PASSWORD_WINDOW, WC_NONE,
 
	WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON,
 
	_ncp_window_widgets,
 
	NetworkCompanyPasswordWindowWndProc
 
};
 

	
 
void ShowNetworkCompanyPasswordWindow()
 
{
 
	DeleteWindowById(WC_COMPANY_PASSWORD_WINDOW, 0);
 

	
 
	_edit_str_buf[0] = '\0';
 
	Window *w = AllocateWindowDesc(&_ncp_window_desc);
 
	WP(w, chatquerystr_d).afilter = CS_ALPHANUMERAL;
 
	InitializeTextBuffer(&WP(w, chatquerystr_d).text, _edit_str_buf, min(lengthof(_network_default_company_pass), lengthof(_edit_str_buf)), 0);
 
}
 

	
 
#endif /* ENABLE_NETWORK */
src/network/network_gui.h
Show inline comments
 
@@ -13,6 +13,7 @@ void ShowNetworkChatQueryWindow(DestType
 
void ShowJoinStatusWindow();
 
void ShowNetworkGameWindow();
 
void ShowClientList();
 
void ShowNetworkCompanyPasswordWindow();
 

	
 
#else /* ENABLE_NETWORK */
 
/* Network function stubs when networking is disabled */
 
@@ -20,6 +21,7 @@ void ShowClientList();
 
static inline void ShowNetworkChatQueryWindow(byte desttype, int dest) {}
 
static inline void ShowClientList() {}
 
static inline void ShowNetworkGameWindow() {}
 
static inline void ShowNetworkCompanyPasswordWindow() {}
 

	
 
#endif /* ENABLE_NETWORK */
 

	
src/openttd.cpp
Show inline comments
 
@@ -724,6 +724,13 @@ static void MakeNewGameDone()
 
	SettingsDisableElrail(_patches.disable_elrails);
 
	SetDefaultRailGui();
 

	
 
	/* We are the server, we start a new player (not dedicated),
 
	 * so set the default password *if* needed. */
 
	if (_network_server && !StrEmpty(_network_default_company_pass)) {
 
		char *password = _network_default_company_pass;
 
		NetworkChangeCompanyPassword(1, &password);
 
	}
 

	
 
	MarkWholeScreenDirty();
 
}
 

	
src/openttd.h
Show inline comments
 
@@ -582,6 +582,7 @@ enum WindowClass {
 
	WC_TRANSPARENCY_TOOLBAR,
 
	WC_VEHICLE_TIMETABLE,
 
	WC_BUILD_SIGNAL,
 
	WC_COMPANY_PASSWORD_WINDOW,
 
};
 

	
 

	
src/player_gui.cpp
Show inline comments
 
@@ -25,6 +25,7 @@
 
#include "newgrf.h"
 
#include "network/network_data.h"
 
#include "network/network_client.h"
 
#include "network/network_gui.h"
 
#include "player_face.h"
 

	
 
static void DoShowPlayerFinances(PlayerID player, bool show_small, bool show_stickied);
 
@@ -1202,11 +1203,7 @@ static void PlayerCompanyWndProc(Window 
 

	
 
				#ifdef ENABLE_NETWORK
 
				case PCW_WIDGET_COMPANY_PASSWORD:
 
					if (w->window_number == _local_player) {
 
						WP(w, def_d).byte_1 = 2;
 
						ShowQueryString(BindCString(_network_player_info[_local_player].password),
 
							STR_SET_COMPANY_PASSWORD, sizeof(_network_player_info[_local_player].password), 250, w, CS_ALPHANUMERAL);
 
					}
 
					if (w->window_number == _local_player) ShowNetworkCompanyPasswordWindow();
 
					break;
 
				#endif /* ENABLE_NETWORK */
 
			}
 
@@ -1230,15 +1227,13 @@ static void PlayerCompanyWndProc(Window 
 

	
 
		case WE_DESTROY:
 
			DeleteWindowById(WC_PLAYER_FACE, w->window_number);
 
			if (w->window_number == _local_player) DeleteWindowById(WC_COMPANY_PASSWORD_WINDOW, 0);
 
			break;
 

	
 
		case WE_ON_EDIT_TEXT: {
 
			char *b = e->we.edittext.str;
 
		case WE_ON_EDIT_TEXT:
 
			if (StrEmpty(e->we.edittext.str)) return;
 

	
 
			/* empty string is allowed for password */
 
			if (*b == '\0' && WP(w, def_d).byte_1 != 2) return;
 

	
 
			_cmd_text = b;
 
			_cmd_text = e->we.edittext.str;
 
			switch (WP(w, def_d).byte_1) {
 
				case 0: /* Change president name */
 
					DoCommandP(0, 0, 0, NULL, CMD_CHANGE_PRESIDENT_NAME | CMD_MSG(STR_700D_CAN_T_CHANGE_PRESIDENT));
 
@@ -1246,17 +1241,10 @@ static void PlayerCompanyWndProc(Window 
 
				case 1: /* Change company name */
 
					DoCommandP(0, 0, 0, NULL, CMD_CHANGE_COMPANY_NAME | CMD_MSG(STR_700C_CAN_T_CHANGE_COMPANY_NAME));
 
					break;
 
				#ifdef ENABLE_NETWORK
 
				case 2: /* Change company password */
 
					if (*b == '\0') *b = '*'; // empty password is a '*' because of console argument
 
					NetworkChangeCompanyPassword(1, &b);
 
					break;
 
				#endif /* ENABLE_NETWORK */
 
			}
 
			break;
 
		}
 
	}
 
}
 

	
 

	
 
static const WindowDesc _player_company_desc = {
src/players.cpp
Show inline comments
 
@@ -848,6 +848,10 @@ CommandCost CmdPlayerCtrl(TileIndex tile
 
		if (_local_player != _network_playas && _network_playas == p->index) {
 
			assert(_local_player == PLAYER_SPECTATOR);
 
			SetLocalPlayer(p->index);
 
			if (!StrEmpty(_network_default_company_pass)) {
 
				char *password = _network_default_company_pass;
 
				NetworkChangeCompanyPassword(1, &password);
 
			}
 
			MarkWholeScreenDirty();
 
		}
 

	
src/settings.cpp
Show inline comments
 
@@ -1294,6 +1294,7 @@ static const SettingDescGlobVarList _net
 
	  SDTG_STR("player_name",           SLE_STRB, S, 0, _network_player_name,          NULL,               STR_NULL, NULL),
 
	  SDTG_STR("server_password",       SLE_STRB, S, 0, _network_server_password,      NULL,               STR_NULL, NULL),
 
	  SDTG_STR("rcon_password",         SLE_STRB, S, 0, _network_rcon_password,        NULL,               STR_NULL, NULL),
 
	  SDTG_STR("default_company_pass",  SLE_STRB, S, 0, _network_default_company_pass, NULL,               STR_NULL, NULL),
 
	  SDTG_STR("server_name",           SLE_STRB, S, 0, _network_server_name,          NULL,               STR_NULL, NULL),
 
	  SDTG_STR("connect_to_ip",         SLE_STRB, S, 0, _network_default_ip,           NULL,               STR_NULL, NULL),
 
	  SDTG_STR("network_id",            SLE_STRB, S, 0, _network_unique_id,            NULL,               STR_NULL, NULL),
src/window.cpp
Show inline comments
 
@@ -1703,7 +1703,8 @@ void HandleKeypress(uint32 key)
 
			FindWindowById(WC_SEND_NETWORK_MSG,   0) != NULL ||
 
			FindWindowById(WC_GENERATE_LANDSCAPE, 0) != NULL ||
 
			FindWindowById(WC_CONSOLE,            0) != NULL ||
 
			FindWindowById(WC_SAVELOAD,           0) != NULL) {
 
			FindWindowById(WC_SAVELOAD,                0) != NULL ||
 
			FindWindowById(WC_COMPANY_PASSWORD_WINDOW, 0) != NULL) {
 
		query_open = true;
 
	}
 

	
 
@@ -1717,7 +1718,8 @@ void HandleKeypress(uint32 key)
 
				w->window_class != WC_SEND_NETWORK_MSG &&
 
				w->window_class != WC_GENERATE_LANDSCAPE &&
 
				w->window_class != WC_CONSOLE &&
 
				w->window_class != WC_SAVELOAD) {
 
				w->window_class != WC_SAVELOAD &&
 
				w->window_class != WC_COMPANY_PASSWORD_WINDOW) {
 
			continue;
 
		}
 
		w->wndproc(w, &e);
0 comments (0 inline, 0 general)