Mercurial > hg > openttd
changeset 18657:599d7cf176cf draft
(svn r23505) -Add: Indication in the order list if the next destination of an order is out of range.
line wrap: on
line diff
--- a/src/lang/afrikaans.txt +++ b/src/lang/afrikaans.txt @@ -3028,7 +3028,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Opdraglys - kliek op 'n opdrag om dit te verlig. CTRL + kliek senter op stasie STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Einde van Opdrae - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Einde van Gedeel Opdrae - -
--- a/src/lang/arabic_egypt.txt +++ b/src/lang/arabic_egypt.txt @@ -3190,7 +3190,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}قائمة الاوامر - اضغط على الامر لختيارة. مفتاح التحكم (كنترول) + الضغط لتوجة للمحطة STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - نهاية الاوامر - - STR_ORDERS_END_OF_SHARED_ORDERS :- - نهاية الأوامر المشتركة - -
--- a/src/lang/belarusian.txt +++ b/src/lang/belarusian.txt @@ -3593,7 +3593,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Сьпіс заданьняў - пстрыкніце заданьне для вылучэньня. Ctrl+пстрычка - агляд станцыі прызначэньня. STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Канец заданьняў - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Канец агульных заданьняў - -
--- a/src/lang/brazilian_portuguese.txt +++ b/src/lang/brazilian_portuguese.txt @@ -3219,7 +3219,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Lista de ordens - clique numa ordem para a selecionar. Ctrl+Clique rola para o destino da ordem STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Fim de Ordens - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Fim de Ordens Compartilhadas - -
--- a/src/lang/bulgarian.txt +++ b/src/lang/bulgarian.txt @@ -3095,7 +3095,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Пътен лист - натиснете върху назначение за маркиране. CTRL + натискане - центрира върху дестинацията STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Край на Заповедите - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Край на Споделения пътен лист - -
--- a/src/lang/catalan.txt +++ b/src/lang/catalan.txt @@ -3234,7 +3234,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Llista d'ordres - clica en una ordre per marcar-la. Ctrl+Clic desplaça cap a la destinació de l'ordre STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Fi d'Ordres - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Fi d'Ordres Compartides - -
--- a/src/lang/croatian.txt +++ b/src/lang/croatian.txt @@ -3314,7 +3314,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Lista naredbi - klikni na naredbu kako bi je označio. Ctrl+Klik klizi na odredište naredbe STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Kraj naredbi - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Kraj dijeljenih naredbi - -
--- a/src/lang/czech.txt +++ b/src/lang/czech.txt @@ -3330,7 +3330,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Seznam příkazů - stiskni příkaz pro označení. Kliknutím na příkaz se stisknutým CTRL se nastaví pohled na cíl seznamu STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Konec příkazů - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Konec sdílených příkazů - -
--- a/src/lang/danish.txt +++ b/src/lang/danish.txt @@ -3118,7 +3118,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Ordreliste - klik på en ordre for at markere den. CTRL-klik for at centrere skærmen over stationen STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Slut på ordrer - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Slut på delt ordreliste - -
--- a/src/lang/dutch.txt +++ b/src/lang/dutch.txt @@ -3218,7 +3218,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Orderlijst - klik op een order om deze te selecteren. Ctrl+klik scrollt naar het station STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Einde van orders - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Einde gedeelde orders - -
--- a/src/lang/english.txt +++ b/src/lang/english.txt @@ -3242,7 +3242,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Order list - click on an order to highlight it. Ctrl+Click scrolls to the order's destination STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING4} {STRING2} +STR_ORDER_TEXT :{STRING4} {STRING2} {STRING} STR_ORDERS_END_OF_ORDERS :- - End of Orders - - STR_ORDERS_END_OF_SHARED_ORDERS :- - End of Shared Orders - - @@ -3382,6 +3382,8 @@ STR_ORDER_STOP_LOCATION_MIDDLE :[middle] STR_ORDER_STOP_LOCATION_FAR_END :[far end] +STR_ORDER_OUT_OF_RANGE :{RED} (Next destination is out of range) + STR_ORDER_CONDITIONAL_UNCONDITIONAL :Jump to order {COMMA} STR_ORDER_CONDITIONAL_NUM :Jump to order {COMMA} when {STRING} {STRING} {COMMA} STR_ORDER_CONDITIONAL_TRUE_FALSE :Jump to order {COMMA} when {STRING} {STRING}
--- a/src/lang/english_US.txt +++ b/src/lang/english_US.txt @@ -3236,7 +3236,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Order list - click on an order to highlight it. Ctrl+Click scrolls to the order's destination STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - End of Orders - - STR_ORDERS_END_OF_SHARED_ORDERS :- - End of Shared Orders - -
--- a/src/lang/esperanto.txt +++ b/src/lang/esperanto.txt @@ -3100,7 +3100,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Ordonlisto - klaku ordonon por elekti. Stir+Klak rulumas al la stacio. STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Fino de Ordonoj - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Fino de Kunhavitaj Ordonoj - -
--- a/src/lang/estonian.txt +++ b/src/lang/estonian.txt @@ -3251,7 +3251,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Sihtpunktide nimekiri. Valimiseks klõpsa sihtpunktil. Ctrl+klõps keskendab vaateakna jaama peale. STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Sihtpunktide lõpp - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Jagatud sihtpunktide lõpp - -
--- a/src/lang/finnish.txt +++ b/src/lang/finnish.txt @@ -3236,7 +3236,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Käskyt - napsauta käskyä korostaaksesi sen. Ctrl+Klik siirtää näkymän kohteeseen STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Käskyjen loppu - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Jaettujen käskyjen loppu - -
--- a/src/lang/french.txt +++ b/src/lang/french.txt @@ -3237,7 +3237,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Liste d'ordres - cliquer sur un ordre pour le sélectionner. Ctrl-clic pour déplacer la vue sur la destination de l'ordre STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Fin des ordres - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Fin des ordres partagés - -
--- a/src/lang/galician.txt +++ b/src/lang/galician.txt @@ -2957,7 +2957,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Lista de Ordes - Pincha nunha orde para seleccionala STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Fin das Ordes - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Fin das ordes compartidas - -
--- a/src/lang/german.txt +++ b/src/lang/german.txt @@ -3237,7 +3237,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Auftragsliste - Auftrag anklicken, um ihn zu markieren. Strg+Klick springt zum Auftragsziel STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Ende der Aufträge - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Ende des gemeinsam genutzten Fahrplans - -
--- a/src/lang/greek.txt +++ b/src/lang/greek.txt @@ -3224,7 +3224,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Λίστα εντολών - κλικ σε μια εντολή για να την επιλέξετε. Ctrl+κλικ μετακινεί στον προορισμό της οδηγίας STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Τέλος Εντολών - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Τέλος Μοιρασμένων Οδηγιών - -
--- a/src/lang/hebrew.txt +++ b/src/lang/hebrew.txt @@ -3037,7 +3037,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}רשימת יעדים - לחץ על יעד על מנת להדגישו STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - סוף רשימת היעדים - - STR_ORDERS_END_OF_SHARED_ORDERS :- - סוף של הוראות משותפות - -
--- a/src/lang/hungarian.txt +++ b/src/lang/hungarian.txt @@ -3300,7 +3300,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Menetrend - kattints egy célpontra a kijelöléséhez. Ctrl+Kattintással az utasítás helyszínére görget STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Menetrend vége - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Megosztott menetrend vége - -
--- a/src/lang/icelandic.txt +++ b/src/lang/icelandic.txt @@ -3070,7 +3070,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Áætlun - smelltu til að velja stöð. CTRL + músartakki færir sjónarhorn að stöðinni STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Endi skipana - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Endi sameiginlegra skipana - -
--- a/src/lang/indonesian.txt +++ b/src/lang/indonesian.txt @@ -3103,7 +3103,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Daftar perintah - klik pada perintah untuk menandainya. CTRL + klik untuk mengunjungi tujuan STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Akhir Perintah - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Akhir Perintah Bersama - -
--- a/src/lang/irish.txt +++ b/src/lang/irish.txt @@ -3100,7 +3100,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Liosta na n-orduithe - cliceáil ar ordú chun é a aibhisiú. Is féidir scrollú chuig an stáisiún le Ctrl+Cliceáil STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Deireadh na nOrduithe - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Deireadh na nOrduithe Comhroinnte - -
--- a/src/lang/italian.txt +++ b/src/lang/italian.txt @@ -3264,7 +3264,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Lista degli ordini - fare clic su un ordine per selezionarlo e CTRL+clic per portarsi sulla destinazione corrispondente STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Fine degli ordini - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Fine degli ordini condivisi - -
--- a/src/lang/japanese.txt +++ b/src/lang/japanese.txt @@ -3141,7 +3141,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}指令リスト - 指令を選択するにはクリックします STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - 指令終了 - - STR_ORDERS_END_OF_SHARED_ORDERS :- - 共有指令の終了- -
--- a/src/lang/korean.txt +++ b/src/lang/korean.txt @@ -3224,7 +3224,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}이 열차의 경로 - 선택하려면 클릭하세요. CTRL+클릭하시면 그 역이 있는 장소로 이동합니다. STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - 경로의 끝 - - STR_ORDERS_END_OF_SHARED_ORDERS :- - 공유된 경로의 끝 - -
--- a/src/lang/latvian.txt +++ b/src/lang/latvian.txt @@ -3146,7 +3146,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Rīkojumu saraksts - klik uz rīkojuma, lai atzīmētu to. Ctrl+klik ritina uz staciju STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Rīkojumu beigas - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Dalīto rīkojumu beigas - -
--- a/src/lang/lithuanian.txt +++ b/src/lang/lithuanian.txt @@ -3210,7 +3210,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Nurodymų sąrašas - nurodymas pažymimas ant jo spragtelėjus. Spregtelėjimas laikant VALD (CTRL) nukelia į stotį STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Užduočių pabaiga- - STR_ORDERS_END_OF_SHARED_ORDERS :- - Bendrų užduočių pabaiga - -
--- a/src/lang/luxembourgish.txt +++ b/src/lang/luxembourgish.txt @@ -3218,7 +3218,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Optragslëscht - Klickt op en Optrag fir en ze selectéieren. Ctrl+Klick scrollt op d'Optragdestinatioun STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Enn vun den Opträg - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Enn vun der Optragslëscht - -
--- a/src/lang/norwegian_bokmal.txt +++ b/src/lang/norwegian_bokmal.txt @@ -3111,7 +3111,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Ordreliste - klikk på en ordre for å markere den. Ctrl-klikk viser ordrens endestasjon. STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Slutt på ordre - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Slutt på delte ordre - -
--- a/src/lang/norwegian_nynorsk.txt +++ b/src/lang/norwegian_nynorsk.txt @@ -3107,7 +3107,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Ordreliste - klikk på ein ordre for å velje han. CTRL+klikk ruller til stasjonen STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Slutt på ordre - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Slutt på delte ordrar - -
--- a/src/lang/polish.txt +++ b/src/lang/polish.txt @@ -3604,7 +3604,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Lista poleceń - kliknij na poleceniu, aby zaznaczyć. Ctrl+kliknięcie przenosi do stacji docelowej STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Koniec poleceń - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Koniec współdzielonych poleceń - -
--- a/src/lang/portuguese.txt +++ b/src/lang/portuguese.txt @@ -3167,7 +3167,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Lista de ordens - clique numa ordem para a seleccionar. Ctrl+Clique mostra o destino da ordem STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Fim de Ordens - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Fim de Ordens Partilhadas - -
--- a/src/lang/romanian.txt +++ b/src/lang/romanian.txt @@ -3218,7 +3218,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Lista de comenzi - clic pe o comandă pentru a o selecta. Ctrl+Click poziţionează ecranul pe staţia destinație STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Sfârşitul comenzilor - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Sfârşitul comenzilor sincronizate - -
--- a/src/lang/russian.txt +++ b/src/lang/russian.txt @@ -3430,7 +3430,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Список заданий - щёлкните задание для выделения. Ctrl+щелчок - обзор станции назначения. STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Конец заданий - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Конец общих заданий - -
--- a/src/lang/serbian.txt +++ b/src/lang/serbian.txt @@ -3403,7 +3403,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Spisak naredbi - klikom se obeležava naredba. Sa Ctrl+Klik se prelazi na lokaciju stanice STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Kraj Naredbi - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Kraj Zajedničkih Naredbi - -
--- a/src/lang/simplified_chinese.txt +++ b/src/lang/simplified_chinese.txt @@ -3128,7 +3128,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}调度列表{}单击一个调度指令可以使之高亮化{}CTRL + 单击{}可以将视点移动到相应的车站 STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :-- 调度计划结束 -- STR_ORDERS_END_OF_SHARED_ORDERS :- - 共享调度计划结束 - -
--- a/src/lang/slovak.txt +++ b/src/lang/slovak.txt @@ -3237,7 +3237,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Zoznam príkazov - kliknúť na príkaz pre označenie. CTRL+klik presunie sa na miesto zmeny STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Koniec prikazov - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Koniec zdielanych prikazov - -
--- a/src/lang/slovenian.txt +++ b/src/lang/slovenian.txt @@ -3284,7 +3284,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Seznam navodil - klikni na ukaz, da ga izbereš. CTRL+Klik premakne na destinacijo STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Konec ukazov - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Konec ukazov v skupni rabi - -
--- a/src/lang/spanish.txt +++ b/src/lang/spanish.txt @@ -3237,7 +3237,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Lista de órdenes - Click en una orden para resaltarla. Ctrl+Click para desplazarse a la estación de la orden STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Fin de órdenes - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Fin de órdenes compartidas - -
--- a/src/lang/swedish.txt +++ b/src/lang/swedish.txt @@ -3235,7 +3235,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Orderlista - klicka på order för att markera det. Ctrl+klick visar order-destinationen i huvudförstret STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Slut på order - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Slut på delade order - -
--- a/src/lang/traditional_chinese.txt +++ b/src/lang/traditional_chinese.txt @@ -3109,7 +3109,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}指令清單 - 點選可選擇該指令,按住 CTRL 點選可跳到車站位置 STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - 指令結束 - - STR_ORDERS_END_OF_SHARED_ORDERS :- - 共享指令結束 - -
--- a/src/lang/turkish.txt +++ b/src/lang/turkish.txt @@ -3132,7 +3132,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Talimat listesi - seçmek için komutu tıklayın. CTRL + tıklama istasyona kaydırir STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Talimatların Sonu - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Paylaşılmış talimat sonu - -
--- a/src/lang/ukrainian.txt +++ b/src/lang/ukrainian.txt @@ -3238,7 +3238,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Маршрутний лист - клацніть на завданні для його вибору. CTRL+клік мишкою показує станцію STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Кінець наказів - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Кінець спільних наказів - -
--- a/src/lang/unfinished/faroese.txt +++ b/src/lang/unfinished/faroese.txt @@ -1139,7 +1139,7 @@ # Order view STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} # Order bottom buttons
--- a/src/lang/vietnamese.txt +++ b/src/lang/vietnamese.txt @@ -3200,7 +3200,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Lịch trình - click để tô sáng một thứ tự nào đó. Ctr+Click để nhảy đến nhà ga tương ứng STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Kết thúc - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Kết thúc - -
--- a/src/lang/welsh.txt +++ b/src/lang/welsh.txt @@ -3190,7 +3190,7 @@ STR_ORDERS_LIST_TOOLTIP :{BLACK}Rhestr orchmynion - cliciwch orchymyn i'w amlygu. Mae Ctrl+Clic yn sgrolio i gyrchfan yr orchymyn STR_ORDER_INDEX :{COMMA}:{NBSP} -STR_ORDER_TEXT :{STRING} {STRING} +STR_ORDER_TEXT :{STRING} {STRING} {STRING} STR_ORDERS_END_OF_ORDERS :- - Diwedd Gorchmynion - - STR_ORDERS_END_OF_SHARED_ORDERS :- - Diwedd y Gorchmynion sydd wedi'u Rhannu - -
--- a/src/order_base.h +++ b/src/order_base.h @@ -80,6 +80,15 @@ void MakeImplicit(StationID destination); /** + * Is this a 'goto' order with a real destination? + * @return True if the type sis either #OT_GOTO_WAYPOINT, #OT_GOTO_DEPOT or #OT_GOTO_STATION. + */ + inline bool IsGotoOrder() const + { + return IsType(OT_GOTO_WAYPOINT) || IsType(OT_GOTO_DEPOT) || IsType(OT_GOTO_STATION); + } + + /** * Gets the destination of this order. * @pre IsType(OT_GOTO_WAYPOINT) || IsType(OT_GOTO_DEPOT) || IsType(OT_GOTO_STATION). * @return the destination of the order.
--- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -580,7 +580,16 @@ } } -static uint GetOrderDistance(const Order *prev, const Order *cur, const Vehicle *v, int conditional_depth = 0) +/** + * Get the distance between two orders of a vehicle. Conditional orders are resolved + * and the bigger distance of the two order branches is returned. + * @param prev Origin order. + * @param cur Destination order. + * @param v The vehicle to get the distance for. + * @param conditional_depth Internal param for resolving conditional orders. + * @return Maximum distance between the two orders. + */ +uint GetOrderDistance(const Order *prev, const Order *cur, const Vehicle *v, int conditional_depth) { if (cur->IsType(OT_CONDITIONAL)) { if (conditional_depth > v->GetNumOrders()) return 0;
--- a/src/order_func.h +++ b/src/order_func.h @@ -24,6 +24,7 @@ bool ProcessOrders(Vehicle *v); bool UpdateOrderDest(Vehicle *v, const Order *order, int conditional_depth = 0, bool pbs_look_ahead = false); VehicleOrderID ProcessConditionalOrder(const Order *order, const Vehicle *v); +uint GetOrderDistance(const Order *prev, const Order *cur, const Vehicle *v, int conditional_depth = 0); void DrawOrderString(const Vehicle *v, const Order *order, int order_index, int y, bool selected, bool timetable, int left, int middle, int right);
--- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -29,6 +29,7 @@ #include "waypoint_base.h" #include "core/geometry_func.hpp" #include "hotkeys.h" +#include "aircraft.h" #include "table/strings.h" @@ -260,6 +261,13 @@ DrawString(left, rtl ? right - 2 * sprite_size.width - 3 : middle, y, STR_ORDER_INDEX, colour, SA_RIGHT | SA_FORCE); SetDParam(5, STR_EMPTY); + SetDParam(8, STR_EMPTY); + + /* Check range for aircraft. */ + if (v->type == VEH_AIRCRAFT && Aircraft::From(v)->GetRange() > 0 && order->IsGotoOrder()) { + const Order *next = order->next != NULL ? order->next : v->GetFirstOrder(); + if (GetOrderDistance(order, next, v) > Aircraft::From(v)->acache.cached_max_range_sqr) SetDParam(8, STR_ORDER_OUT_OF_RANGE); + } switch (order->GetType()) { case OT_DUMMY: