Merge pull request #691 from mikecasas/plural-fix

Delete module pluralization in the location display.
This commit is contained in:
Shaun Walker
2020-08-19 05:09:54 -07:00
committed by GitHub

View File

@ -105,11 +105,11 @@
string[] path = systeminfo["serverpath"].Split('\\'); string[] path = systeminfo["serverpath"].Split('\\');
if (_template == "internal") if (_template == "internal")
{ {
_location = string.Join("\\", path, 0, path.Length - 1) + "\\Oqtane.Client\\Modules\\" + _owner + "." + _module + "s"; _location = string.Join("\\", path, 0, path.Length - 1) + "\\Oqtane.Client\\Modules\\" + _owner + "." + _module;
} }
else else
{ {
_location = string.Join("\\", path, 0, path.Length - 2) + "\\" + _owner + "." + _module + "s"; _location = string.Join("\\", path, 0, path.Length - 2) + "\\" + _owner + "." + _module;
} }
} }
} }