reaffect → reassign

Patch by: @Gallaecio
Reported by: GunChleoc on Transifex
Differential Revision: ​​​​​https://code.wildfiregames.com/D1526
This was SVN commit r21981.
This commit is contained in:
Stan
2018-12-29 16:10:06 +00:00
parent 88b4d0da66
commit dba5a59f81
5 changed files with 5 additions and 5 deletions
@@ -202,7 +202,7 @@ Trigger.prototype.tutorialGoals = [
}
},
{
"instructions": markForTranslation("While waiting for the phasing up, you may reaffect your idle workers to gathering the resources you are short of."),
"instructions": markForTranslation("While waiting for the phasing up, you may reassign your idle workers to gathering the resources you are short of."),
"IsDone": function()
{
let cmpPlayerManager = Engine.QueryInterface(SYSTEM_ENTITY, IID_PlayerManager);
@@ -1468,7 +1468,7 @@ m.AttackPlan.prototype.update = function(gameState, events)
let ent = gameState.getEntityById(this.unitCollUpdateArray[check]);
if (!ent || !ent.position())
continue;
// Do not reaffect units which have reacted to an attack in that same turn
// Do not reassign units which have reacted to an attack in that same turn
if (ent.getMetadata(PlayerID, "lastAttackPlanUpdateTime") == time)
continue;
@@ -106,7 +106,7 @@ m.BaseManager.prototype.setAnchor = function(gameState, anchorEntity)
return true;
};
/* we lost our anchor. Let's reaffect our units and buildings */
/* we lost our anchor. Let's reassign our units and buildings */
m.BaseManager.prototype.anchorLost = function(gameState, ent)
{
this.anchor = undefined;
@@ -2436,7 +2436,7 @@ m.HQ.prototype.resetBaseCache = function()
/**
* Count gatherers returning resources in the number of gatherers of resourceSupplies
* to prevent the AI always reaffecting idle workers to these resourceSupplies (specially in naval maps).
* to prevent the AI always reassigning idle workers to these resourceSupplies (specially in naval maps).
*/
m.HQ.prototype.assignGatherers = function()
{
@@ -63,7 +63,7 @@ m.TradeManager.prototype.trainMoreTraders = function(gameState, queues)
let metadata = { "role": "trader" };
if (this.tradeRoute.sea)
{
// if we have some merchand ships affected to transport, try first to reaffect them
// if we have some merchand ships assigned to transport, try first to reassign them
// May-be, there were produced at an early stage when no other ship were available
// and the naval manager will train now more appropriate ships.
let already = false;