Topic: Small bug for gettext translations - locations.php
'Inventory Locations' and also 'Fixed Assets Locations' is not being translated; looking at file locations.php I believe the relevant code is below:-
File: \inventory\manage\locations.php
21: if (isset($_GET['FixedAsset'])) {
22: $help_context = "Fixed Assets Locations";
23: $_POST['fixed_asset'] = 1;
24: } else
25: $help_context = "Inventory Locations";
I cannot see where gettext picks up the translation? There's no '_' underscore?
Shouldn't it be something like:-
File: \inventory\manage\locations.php
21: if (isset($_GET['FixedAsset'])) {
22: page(_($help_context = "Fixed Assets Locations"));
23: $_POST['fixed_asset'] = 1;
24: } else
25: page(_($help_context = "Inventory Locations"));
I have not tested this