Since Infixo is not currently working on Civ 5, I've obtained permission to update this mod for him; here's what I've changed:
- fixed the aforementioned bug (posts above this one)
- updated to latest VP
- made the mod fully compatible with localization
- added German and Russian translations
- rearranged the filter checkboxes to fit with all compatible languages (EN, DE, RU)
- did some cleanup in the UI
- made the red exclamation mark appear in front of the target city name
- added a 6th Checkbox (selected Unit) and the appropriate functionality, which is as follows:
The mod will now check what kind of unit you have selected when opening the window and, if it is a valid Trade Unit, will allow you to interact with it through this mod!
Let me show you:
As you can see, the little Trade Unit icons on the left of that window are now usable for sending commands to the currently selected Trade Unit (in this case a Cargo Ship, as you can see in the bottom left corner of the image). If you click that icon while having an eligible Trade Unit selected and the icon belongs to a row with a viable Trade Route (TR), the Trade Unit (TU) will automatically commence trading, so you don't need the other menu anymore! Conveniently, the 6th checkbox ("Only for selected Unit") will be automatically activated and cannot be activated without having a valid TU selected. You can uncheck the box, however, and see all available TRs anyway, if you wish; that way you can use this window to rebase your TUs by clicking on the same left side icon in a row that has a different origin city than the city in which the TU is currently located, which will then display a tool tip stating exactly that. This should also help with performance in late game, as often times you know that you don't want to change cities anyway, so it is better to just look at the TRs for that particular TU in the current city, which loads a lot faster than all possible TRs.
Here is another screenshot:
Here you can see two more features I added: this mod is now aware of TR quests by City States, which will be shown with that TR icon as you can see in Example 2 where the tool tip is (the tool tip will also reflect that, as you can see) and the mod is now aware of Corporations, which, however, means that it now requires full VP to run. If your origin city has a corporate office and the TR type is international to a City State or other Civilization, there will be an "Invest"-icon shown, as you can see to the left of the origin city name "Venice" in the screenshots. If this is the case, the target city name can change its color in the list: if a Franchise of your Corporation has been established there, it will be displayed in golden color (like Sydney or Sidon in Example 2); if a Franchise is available but not yet established, it will be shown in the normal color; if a Franchise can't be established it will be displayed in a light gray color and the tool tips will always reflect that, of course. Additionally, the previous TR of the selected TU will now be indicated with a light blue "(P)" in front of the target city name, so that the only info you don't get here that you do get in the "main TR window" is the path of the TR and some supplementary info for rebasing, which isn't that important. I've tested this thoroughly for VP 10/23 but the November updates don't seem to have changed any of the relevant files so it should work well with the newest version, too.
Enjoy.