Merge pull request #147 from ilan-schemoul/stop-trading-txt

feat: rename embargo to start/stop trading
This commit is contained in:
evanpelle
2025-03-06 09:03:13 -08:00
committed by GitHub
2 changed files with 7 additions and 5 deletions
+5 -3
View File
@@ -411,9 +411,11 @@ export class HelpModal extends LitElement {
<td>Port</td> <td>Port</td>
<td><div class="icon port-icon"></div></td> <td><div class="icon port-icon"></div></td>
<td> <td>
Automatically sends trade ships between allied ports, Automatically sends trade ships between ports of your
giving gold to both sides. Allows building Battleships. country and other countries (except if you clicked "stop
Can only be built near water. trade" on them or they clicked "stop trade on you"), giving
gold to both sides. Allows building Battleships. Can only
be built near water.
</td> </td>
</tr> </tr>
<tr> <tr>
+2 -2
View File
@@ -321,7 +321,7 @@ export class PlayerPanel extends LitElement implements Layer {
bg-opacity-50 bg-gray-700 hover:bg-opacity-70 bg-opacity-50 bg-gray-700 hover:bg-opacity-70
text-white rounded-lg transition-colors" text-white rounded-lg transition-colors"
> >
Start embargo Stop trading
</button>` </button>`
: ""} : ""}
${!canEmbargo && other != myPlayer ${!canEmbargo && other != myPlayer
@@ -332,7 +332,7 @@ export class PlayerPanel extends LitElement implements Layer {
bg-opacity-50 bg-gray-700 hover:bg-opacity-70 bg-opacity-50 bg-gray-700 hover:bg-opacity-70
text-white rounded-lg transition-colors" text-white rounded-lg transition-colors"
> >
Stop embargo Start trading
</button>` </button>`
: ""} : ""}
</div> </div>