mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-21 10:01:27 -07:00
add version string format
This commit is contained in:
parent
5a8e7dd609
commit
167a8cd38f
@ -193,6 +193,10 @@ namespace Bloxstrap.UI.Elements.Bootstrapper
|
|||||||
return text; // can't be translated (not in the correct format)
|
return text; // can't be translated (not in the correct format)
|
||||||
|
|
||||||
string resourceName = text[1..^1];
|
string resourceName = text[1..^1];
|
||||||
|
|
||||||
|
if (resourceName == "Version")
|
||||||
|
return App.Version;
|
||||||
|
|
||||||
return Strings.ResourceManager.GetStringSafe(resourceName);
|
return Strings.ResourceManager.GetStringSafe(resourceName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user