Skip to content

Commit

Permalink
Fix 'Computers' translation on Actors dropdown (#608)
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardomozart authored Jan 27, 2025
1 parent bf7f91b commit d6b03f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion inc/deploytaskjob.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ public static function getActionTypes()

return [
[
'name' => __('Computers'),
'name' => _n('Computer', 'Computers', Session::getPluralNumber()),
'value' => 'Computer',
],
[
Expand Down
4 changes: 2 additions & 2 deletions inc/staticmisc.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ public static function task_definitionselection_PluginGlpiinventoryDeployPackage
public static function task_actiontype_deployinstall($a_itemtype)
{
return ['' => Dropdown::EMPTY_VALUE,
'Computer' => __('Computers'),
'Computer' => _n('Computer', 'Computers', Session::getPluralNumber()),
'PluginGlpiinventoryDeployGroup' => PluginGlpiinventoryDeployGroup::getTypeName(),
'Group' => __('Group')
];
Expand Down Expand Up @@ -672,7 +672,7 @@ public static function task_definitionselection_PluginGlpiinventoryCollect_colle
public static function task_actiontype_collect($a_itemtype)
{
return ['' => Dropdown::EMPTY_VALUE,
'Computer' => __('Computers'),
'Computer' => _n('Computer', 'Computers', Session::getPluralNumber()),
'PluginGlpiinventoryDeployGroup' => PluginGlpiinventoryDeployGroup::getTypeName(),
'Group' => __('Group')
];
Expand Down

0 comments on commit d6b03f5

Please sign in to comment.