Mercurial > hg > openttd
changeset 13234:4583d4a14065 draft
(svn r17741) -Feature-ish [FS#3116]: show the nickname of the person you're PMing
line wrap: on
line diff
--- a/src/lang/afrikaans.txt +++ b/src/lang/afrikaans.txt @@ -1650,7 +1650,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Stuur STR_NETWORK_CHAT_COMPANY_CAPTION :[Span] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privaat] : STR_NETWORK_CHAT_ALL_CAPTION :[All] : STR_NETWORK_CHAT_COMPANY :[Span] {STRING}: {WHITE}{STRING}
--- a/src/lang/arabic_egypt.txt +++ b/src/lang/arabic_egypt.txt @@ -1677,7 +1677,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}ارسل STR_NETWORK_CHAT_COMPANY_CAPTION :[فريق] -STR_NETWORK_CHAT_CLIENT_CAPTION :[خاص]: STR_NETWORK_CHAT_ALL_CAPTION :[الكل]: STR_NETWORK_CHAT_COMPANY :[فريق]{STRING} : {WHITE}{STRING}
--- a/src/lang/brazilian_portuguese.txt +++ b/src/lang/brazilian_portuguese.txt @@ -1680,7 +1680,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Enviar STR_NETWORK_CHAT_COMPANY_CAPTION :[Equipe] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privado] : STR_NETWORK_CHAT_ALL_CAPTION :[Todos] : STR_NETWORK_CHAT_COMPANY :[Equipe] {STRING}: {WHITE}{STRING}
--- a/src/lang/bulgarian.txt +++ b/src/lang/bulgarian.txt @@ -1664,7 +1664,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Изпращане STR_NETWORK_CHAT_COMPANY_CAPTION :[Team] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Private] : STR_NETWORK_CHAT_ALL_CAPTION :[All] : STR_NETWORK_CHAT_COMPANY :[Team] {STRING}: {WHITE}{STRING}
--- a/src/lang/catalan.txt +++ b/src/lang/catalan.txt @@ -1679,7 +1679,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Envia STR_NETWORK_CHAT_COMPANY_CAPTION :[Team] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privat] : STR_NETWORK_CHAT_ALL_CAPTION :[All] : STR_NETWORK_CHAT_COMPANY :[Team] {STRING}: {WHITE}{STRING}
--- a/src/lang/croatian.txt +++ b/src/lang/croatian.txt @@ -1735,7 +1735,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Pošalji STR_NETWORK_CHAT_COMPANY_CAPTION :[Ekipa]: -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privatno] : STR_NETWORK_CHAT_ALL_CAPTION :[Svima] : STR_NETWORK_CHAT_COMPANY :[Ekipa] {STRING}: {WHITE}{STRING}
--- a/src/lang/czech.txt +++ b/src/lang/czech.txt @@ -1742,7 +1742,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Poslat STR_NETWORK_CHAT_COMPANY_CAPTION :[Tým] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Osobní] : STR_NETWORK_CHAT_ALL_CAPTION :[Všichni] : STR_NETWORK_CHAT_COMPANY :[Tým] {STRING}: {WHITE}{STRING}
--- a/src/lang/danish.txt +++ b/src/lang/danish.txt @@ -1677,7 +1677,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Send STR_NETWORK_CHAT_COMPANY_CAPTION :[Hold] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privat] : STR_NETWORK_CHAT_ALL_CAPTION :[Alle] : STR_NETWORK_CHAT_COMPANY :[Hold] {STRING}: {WHITE}{STRING}
--- a/src/lang/dutch.txt +++ b/src/lang/dutch.txt @@ -1679,7 +1679,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Verstuur STR_NETWORK_CHAT_COMPANY_CAPTION :[Team] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Prive] : STR_NETWORK_CHAT_ALL_CAPTION :[Iedereen] : STR_NETWORK_CHAT_COMPANY :[Team] {STRING}: {WHITE}{STRING}
--- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -1679,7 +1679,7 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Send STR_NETWORK_CHAT_COMPANY_CAPTION :[Team] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Private] : +STR_NETWORK_CHAT_CLIENT_CAPTION :[Private] {RAW_STRING}: STR_NETWORK_CHAT_ALL_CAPTION :[All] : STR_NETWORK_CHAT_COMPANY :[Team] {RAW_STRING}: {WHITE}{RAW_STRING}
--- a/src/lang/english_US.txt +++ b/src/lang/english_US.txt @@ -1679,7 +1679,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Send STR_NETWORK_CHAT_COMPANY_CAPTION :[Team] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Private] : STR_NETWORK_CHAT_ALL_CAPTION :[All] : STR_NETWORK_CHAT_COMPANY :[Team] {STRING}: {WHITE}{STRING}
--- a/src/lang/esperanto.txt +++ b/src/lang/esperanto.txt @@ -1623,7 +1623,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Sendu STR_NETWORK_CHAT_COMPANY_CAPTION :[Teamo] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Private] : STR_NETWORK_CHAT_ALL_CAPTION :[Ĉiuj] : STR_NETWORK_CHAT_COMPANY :[Teamo] {STRING}: {WHITE}{STRING}
--- a/src/lang/estonian.txt +++ b/src/lang/estonian.txt @@ -1734,7 +1734,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Saada STR_NETWORK_CHAT_COMPANY_CAPTION :[Team] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Private] : STR_NETWORK_CHAT_ALL_CAPTION :[All] : STR_NETWORK_CHAT_COMPANY :[Team] {STRING}: {WHITE}{STRING}
--- a/src/lang/finnish.txt +++ b/src/lang/finnish.txt @@ -1679,7 +1679,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Lähetä STR_NETWORK_CHAT_COMPANY_CAPTION :[Joukkue] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Yksityinen] : STR_NETWORK_CHAT_ALL_CAPTION :[Kaikki] : STR_NETWORK_CHAT_COMPANY :[Joukkue] {STRING}: {WHITE}{STRING}
--- a/src/lang/french.txt +++ b/src/lang/french.txt @@ -1680,7 +1680,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Envoyer STR_NETWORK_CHAT_COMPANY_CAPTION :[Equipe] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privé] : STR_NETWORK_CHAT_ALL_CAPTION :[Tous] : STR_NETWORK_CHAT_COMPANY :[Equipe] {STRING}: {WHITE}{STRING}
--- a/src/lang/galician.txt +++ b/src/lang/galician.txt @@ -1651,7 +1651,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Enviar STR_NETWORK_CHAT_COMPANY_CAPTION :[Equipo] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privado] : STR_NETWORK_CHAT_ALL_CAPTION :[Todos] : STR_NETWORK_CHAT_COMPANY :[Equipo] {STRING}: {WHITE}{STRING}
--- a/src/lang/german.txt +++ b/src/lang/german.txt @@ -1680,7 +1680,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Abschicken STR_NETWORK_CHAT_COMPANY_CAPTION :[Team] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privat] : STR_NETWORK_CHAT_ALL_CAPTION :[Alle] : STR_NETWORK_CHAT_COMPANY :[Team] {STRING}: {WHITE}{STRING}
--- a/src/lang/greek.txt +++ b/src/lang/greek.txt @@ -1677,7 +1677,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Στείλε STR_NETWORK_CHAT_COMPANY_CAPTION :[Ομάδα] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Προσωπικό] : STR_NETWORK_CHAT_ALL_CAPTION :[Σε όλους] : STR_NETWORK_CHAT_COMPANY :[Ομάδα] {STRING}: {WHITE}{STRING}
--- a/src/lang/hebrew.txt +++ b/src/lang/hebrew.txt @@ -1680,7 +1680,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}שלח STR_NETWORK_CHAT_COMPANY_CAPTION :[קבוצה] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[פרטי] : STR_NETWORK_CHAT_ALL_CAPTION :[לכולם] : STR_NETWORK_CHAT_COMPANY :[קבוצה] {STRING}: {WHITE}{STRING}
--- a/src/lang/hungarian.txt +++ b/src/lang/hungarian.txt @@ -1713,7 +1713,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Elküld STR_NETWORK_CHAT_COMPANY_CAPTION :[Csapat] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privát] : STR_NETWORK_CHAT_ALL_CAPTION :[Mindenkinek] : STR_NETWORK_CHAT_COMPANY :[Csapat] {STRING}: {WHITE}{STRING}
--- a/src/lang/icelandic.txt +++ b/src/lang/icelandic.txt @@ -1671,7 +1671,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Senda STR_NETWORK_CHAT_COMPANY_CAPTION :[Team] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Private] : STR_NETWORK_CHAT_ALL_CAPTION :[All] : STR_NETWORK_CHAT_COMPANY :[Team] {STRING}: {WHITE}{STRING}
--- a/src/lang/indonesian.txt +++ b/src/lang/indonesian.txt @@ -1679,7 +1679,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Kirim STR_NETWORK_CHAT_COMPANY_CAPTION :[Tim] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privat] : STR_NETWORK_CHAT_ALL_CAPTION :[Semua] : STR_NETWORK_CHAT_COMPANY :[Tim] {STRING}: {WHITE}{STRING}
--- a/src/lang/italian.txt +++ b/src/lang/italian.txt @@ -1681,7 +1681,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Invia STR_NETWORK_CHAT_COMPANY_CAPTION :[Squadra] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privato] : STR_NETWORK_CHAT_ALL_CAPTION :[Tutti] : STR_NETWORK_CHAT_COMPANY :[Squadra] {STRING}: {WHITE}{STRING}
--- a/src/lang/japanese.txt +++ b/src/lang/japanese.txt @@ -1640,7 +1640,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}送信 STR_NETWORK_CHAT_COMPANY_CAPTION :『チーム』: -STR_NETWORK_CHAT_CLIENT_CAPTION :『秘密』: STR_NETWORK_CHAT_ALL_CAPTION :『全員』: STR_NETWORK_CHAT_COMPANY :『チーム』{STRING}:{WHITE}{STRING}
--- a/src/lang/korean.txt +++ b/src/lang/korean.txt @@ -1680,7 +1680,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}보내기 STR_NETWORK_CHAT_COMPANY_CAPTION :[팀] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[귓속말] : STR_NETWORK_CHAT_ALL_CAPTION :[모두] : STR_NETWORK_CHAT_COMPANY :[팀] {STRING}: {WHITE}{STRING}
--- a/src/lang/latvian.txt +++ b/src/lang/latvian.txt @@ -1679,7 +1679,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Sūtīt STR_NETWORK_CHAT_COMPANY_CAPTION :[Komanda] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privāti] : STR_NETWORK_CHAT_ALL_CAPTION :[Visiem] : STR_NETWORK_CHAT_COMPANY :[Komanda] {STRING}: {WHITE}{STRING}
--- a/src/lang/lithuanian.txt +++ b/src/lang/lithuanian.txt @@ -1699,7 +1699,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Siųsti STR_NETWORK_CHAT_COMPANY_CAPTION :[Komandai] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privačiai] : STR_NETWORK_CHAT_ALL_CAPTION :[Visiems] : STR_NETWORK_CHAT_COMPANY :[Komandai] {STRING}: {WHITE}{STRING}
--- a/src/lang/luxembourgish.txt +++ b/src/lang/luxembourgish.txt @@ -1667,7 +1667,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Schécken STR_NETWORK_CHAT_COMPANY_CAPTION :[Team] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privat] : STR_NETWORK_CHAT_ALL_CAPTION :[All] : STR_NETWORK_CHAT_COMPANY :[Team] {STRING}: {WHITE}{STRING}
--- a/src/lang/norwegian_bokmal.txt +++ b/src/lang/norwegian_bokmal.txt @@ -1670,7 +1670,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Send STR_NETWORK_CHAT_COMPANY_CAPTION :[Lag] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privat] : STR_NETWORK_CHAT_ALL_CAPTION :[Alle] : STR_NETWORK_CHAT_COMPANY :[Lag] {STRING}: {WHITE}{STRING}
--- a/src/lang/norwegian_nynorsk.txt +++ b/src/lang/norwegian_nynorsk.txt @@ -1650,7 +1650,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Send STR_NETWORK_CHAT_COMPANY_CAPTION :[Lag] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privat] : STR_NETWORK_CHAT_ALL_CAPTION :[Alle] : STR_NETWORK_CHAT_COMPANY :[Lag] {STRING}: {WHITE}{STRING}
--- a/src/lang/polish.txt +++ b/src/lang/polish.txt @@ -2059,7 +2059,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Wyślij STR_NETWORK_CHAT_COMPANY_CAPTION :[Zespół] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Prywatna] : STR_NETWORK_CHAT_ALL_CAPTION :[Wszyscy] : STR_NETWORK_CHAT_COMPANY :[Zespół] {STRING}: {WHITE}{STRING}
--- a/src/lang/portuguese.txt +++ b/src/lang/portuguese.txt @@ -1679,7 +1679,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Enviar STR_NETWORK_CHAT_COMPANY_CAPTION :[Equipa] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privado] : STR_NETWORK_CHAT_ALL_CAPTION :[Todos] : STR_NETWORK_CHAT_COMPANY :[Equipa] {STRING}: {WHITE}{STRING}
--- a/src/lang/romanian.txt +++ b/src/lang/romanian.txt @@ -1679,7 +1679,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Trimite STR_NETWORK_CHAT_COMPANY_CAPTION :[Team] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Private] : STR_NETWORK_CHAT_ALL_CAPTION :[All] : STR_NETWORK_CHAT_COMPANY :[Team] {STRING}: {WHITE}{STRING}
--- a/src/lang/russian.txt +++ b/src/lang/russian.txt @@ -1833,7 +1833,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Отправить STR_NETWORK_CHAT_COMPANY_CAPTION :[Команда] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Лично] : STR_NETWORK_CHAT_ALL_CAPTION :[Всем] : STR_NETWORK_CHAT_COMPANY :[Команда] {STRING}: {WHITE}{STRING}
--- a/src/lang/serbian.txt +++ b/src/lang/serbian.txt @@ -1864,7 +1864,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Pošalji STR_NETWORK_CHAT_COMPANY_CAPTION :[Ekipi] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privatno] : STR_NETWORK_CHAT_ALL_CAPTION :[Svima] : STR_NETWORK_CHAT_COMPANY :[Ekipi] {STRING}: {WHITE}{STRING}
--- a/src/lang/simplified_chinese.txt +++ b/src/lang/simplified_chinese.txt @@ -1679,7 +1679,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}发送 STR_NETWORK_CHAT_COMPANY_CAPTION :[团队] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[私聊] : STR_NETWORK_CHAT_ALL_CAPTION :[全体] : STR_NETWORK_CHAT_COMPANY :[团队] {STRING}: {WHITE}{STRING}
--- a/src/lang/slovak.txt +++ b/src/lang/slovak.txt @@ -1746,7 +1746,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Poslat STR_NETWORK_CHAT_COMPANY_CAPTION :[Tim] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Súkromne] : STR_NETWORK_CHAT_ALL_CAPTION :[Všetkým] : STR_NETWORK_CHAT_COMPANY :[Tim] {STRING}: {WHITE}{STRING}
--- a/src/lang/slovenian.txt +++ b/src/lang/slovenian.txt @@ -1712,7 +1712,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Pošlji STR_NETWORK_CHAT_COMPANY_CAPTION :[Skupina] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privatno] : STR_NETWORK_CHAT_ALL_CAPTION :[Vsi] : STR_NETWORK_CHAT_COMPANY :[Skupina] {STRING}: {WHITE}{STRING}
--- a/src/lang/spanish.txt +++ b/src/lang/spanish.txt @@ -1680,7 +1680,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Enviar STR_NETWORK_CHAT_COMPANY_CAPTION :[Equipo] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privado] : STR_NETWORK_CHAT_ALL_CAPTION :[Todos] : STR_NETWORK_CHAT_COMPANY :[Equipo] {STRING}: {WHITE}{STRING}
--- a/src/lang/swedish.txt +++ b/src/lang/swedish.txt @@ -1670,7 +1670,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Skicka STR_NETWORK_CHAT_COMPANY_CAPTION :[Företaget] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privat] : STR_NETWORK_CHAT_ALL_CAPTION :[Alla] : STR_NETWORK_CHAT_COMPANY :[Företaget] {STRING}: {WHITE}{STRING}
--- a/src/lang/traditional_chinese.txt +++ b/src/lang/traditional_chinese.txt @@ -1679,7 +1679,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}傳送 STR_NETWORK_CHAT_COMPANY_CAPTION :[團隊]: -STR_NETWORK_CHAT_CLIENT_CAPTION :[私人]: STR_NETWORK_CHAT_ALL_CAPTION :[全員] : STR_NETWORK_CHAT_COMPANY :[團隊] {STRING}:{WHITE}{STRING}
--- a/src/lang/turkish.txt +++ b/src/lang/turkish.txt @@ -1680,7 +1680,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Gönder STR_NETWORK_CHAT_COMPANY_CAPTION :[Takım] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Özel] : STR_NETWORK_CHAT_ALL_CAPTION :[Herkes] : STR_NETWORK_CHAT_COMPANY :[Takım] {STRING}: {WHITE}{STRING}
--- a/src/lang/ukrainian.txt +++ b/src/lang/ukrainian.txt @@ -1804,7 +1804,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Відправити STR_NETWORK_CHAT_COMPANY_CAPTION :[Команда] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Приватно] : STR_NETWORK_CHAT_ALL_CAPTION :[Всім] : STR_NETWORK_CHAT_COMPANY :[Команда] {STRING}: {WHITE}{STRING}
--- a/src/lang/unfinished/frisian.txt +++ b/src/lang/unfinished/frisian.txt @@ -1030,7 +1030,6 @@ # Network chat STR_NETWORK_CHAT_COMPANY_CAPTION :[Team] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Privee] : STR_NETWORK_CHAT_COMPANY :[Team] {STRING}: {WHITE}{STRING} STR_NETWORK_CHAT_TO_COMPANY :[Team] Oan {STRING}: {WHITE}{STRING}
--- a/src/lang/welsh.txt +++ b/src/lang/welsh.txt @@ -1670,7 +1670,6 @@ # Network chat STR_NETWORK_CHAT_SEND :{BLACK}Anfon STR_NETWORK_CHAT_COMPANY_CAPTION :[Tîm] : -STR_NETWORK_CHAT_CLIENT_CAPTION :[Preifat] : STR_NETWORK_CHAT_ALL_CAPTION :[Pawb] : STR_NETWORK_CHAT_COMPANY :[Tîm] {STRING}: {WHITE}{STRING}
--- a/src/network/network_chat_gui.cpp +++ b/src/network/network_chat_gui.cpp @@ -452,13 +452,23 @@ virtual void UpdateWidgetSize(int widget, Dimension *size, const Dimension &padding, Dimension *resize) { if (widget != NWCW_DESTINATION) return; - *size = maxdim(*size, GetStringBoundingBox(this->dest_string)); + + if (this->dtype == DESTTYPE_CLIENT) { + SetDParamStr(0, NetworkFindClientInfoFromClientID((ClientID)this->dest)->client_name); + } + Dimension d = GetStringBoundingBox(this->dest_string); + d.width += WD_FRAMERECT_LEFT + WD_FRAMERECT_RIGHT; + d.height += WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM; + *size = maxdim(*size, d); } virtual void DrawWidget(const Rect &r, int widget) const { if (widget != NWCW_DESTINATION) return; + if (this->dtype == DESTTYPE_CLIENT) { + SetDParamStr(0, NetworkFindClientInfoFromClientID((ClientID)this->dest)->client_name); + } DrawString(r.left + WD_FRAMERECT_LEFT, r.right - WD_FRAMERECT_RIGHT, r.top + WD_FRAMERECT_TOP, this->dest_string, TC_BLACK, SA_RIGHT); }