mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-13 12:14:16 +01:00
fix: adjust CoordinateString based on language
This commit is contained in:
parent
d6555007ce
commit
038de41592
1 changed files with 7 additions and 1 deletions
|
|
@ -130,7 +130,13 @@ public class MapLinkPayload : Payload
|
||||||
var y = Math.Truncate((this.YCoord + fudge) * 10.0f) / 10.0f;
|
var y = Math.Truncate((this.YCoord + fudge) * 10.0f) / 10.0f;
|
||||||
|
|
||||||
// the formatting and spacing the game uses
|
// the formatting and spacing the game uses
|
||||||
return $"( {x:0.0} , {y:0.0} )";
|
var clientState = Service<ClientState.ClientState>.Get();
|
||||||
|
return clientState.ClientLanguage switch
|
||||||
|
{
|
||||||
|
ClientLanguage.German => $"( {x:0.0}, {y:0.0} )",
|
||||||
|
ClientLanguage.Japanese => $"({x:0.0}, {y:0.0})",
|
||||||
|
_ => $"( {x:0.0} , {y:0.0} )",
|
||||||
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue