The International Simutrans Forum

 

Author Topic: [patch] Open/close the cargo details display  (Read 387 times)

0 Members and 1 Guest are viewing this topic.

Offline Ranran

  • Devotee
  • *
  • Posts: 1467
  • Languages: ja
[patch] Open/close the cargo details display
« on: March 08, 2020, 07:42:26 AM »
(´・ω・`)Ranran's patch #2
This is an independent small patch - small improvements in the convoy detail.


If the convoy consists of two or more vehicles, a button will be added to the payload tab to turn on / off the payload details display.

Default is checked.


New translatable text added:
Code: [Select]
Display loaded detail
Displays detailed information of the vehicle's load.
:warning: English expressions may be appropriate because I am not native speakers.


The github branch is here
https://github.com/Ranran-the-JuicyPork/simutrans-extended/tree/basic-coupling-patches

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20713
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [patch] Open/close the cargo details display
« Reply #1 on: March 09, 2020, 09:18:54 PM »
Excellent, thank you for this: this is a happy addition to the UI. Now incorporated.

Does anyone have any other suggestions as to the text? It does not seem bad to me.

Offline Ranran

  • Devotee
  • *
  • Posts: 1467
  • Languages: ja
Re: [patch] Open/close the cargo details display
« Reply #2 on: March 12, 2020, 10:34:10 AM »
Does anyone have any other suggestions as to the text? It does not seem bad to me.
I haven't added any text to simutranslator yet, if it need to be changed please edit the translatable text directly in the code. (Lines 91 and 92 of gui/convoi_detail_t.cc)
When that is done, I will add text to the simutranslator.