This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright © 2012-2013 Graham Sellers | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a | |
* copy of this software and associated documentation files (the "Software"), | |
* to deal in the Software without restriction, including without limitation | |
* the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
* and/or sell copies of the Software, and to permit persons to whom the | |
* Software is furnished to do so, subject to the following conditions: | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/binaries/data/mods/public/simulation/components/BuildRestrictions.js b/binaries/data/mods/public/simulation/components/BuildRestrictions.js | |
index 8315082..8552b12 100644 | |
--- a/binaries/data/mods/public/simulation/components/BuildRestrictions.js | |
+++ b/binaries/data/mods/public/simulation/components/BuildRestrictions.js | |
@@ -176,12 +176,16 @@ BuildRestrictions.prototype.CheckPlacement = function() | |
var territoryFail = true; | |
var territoryType = ""; | |
if (isAlly && !this.HasTerritory("ally")) | |
+ // Translation: territoryType being displayed in a translated sentence in the form: "House cannot be built in %(territoryType)s territory.". | |
territoryType = markForTranslationWithContext("Territory type", "ally"); |