Skip to content

Commit

Permalink
Followup #454 (#459)
Browse files Browse the repository at this point in the history
  • Loading branch information
blankse authored Mar 11, 2024
1 parent 6da2e95 commit 5ef544a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions public/js/pimcore/object/classes/data/password.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ pimcore.object.classes.data.password = Class.create(pimcore.object.classes.data.
const saltCombo = new Ext.form.field.ComboBox({
xtype: "combo",
width: 300,
fieldLabel: t('saltlocation') + '(' + t('deprecated') + ')',
fieldLabel: t('saltlocation') + ' (' + t('deprecated') + ')',
hidden: this.datax.algorithm == "password_hash",
itemId: "saltlocation",
name: "saltlocation",
Expand All @@ -133,7 +133,7 @@ pimcore.object.classes.data.password = Class.create(pimcore.object.classes.data.

const salt = new Ext.form.field.Text({
xtype: 'textfield',
fieldLabel: t("salt") + t("(deprecated)"),
fieldLabel: t('salt') + ' (' + t('deprecated') + ')',
hidden: this.datax.algorithm == "password_hash",
width: 300,
itemId: "salt",
Expand Down
2 changes: 1 addition & 1 deletion src/Controller/Admin/SettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1283,7 +1283,7 @@ public function getAvailableAlgorithmsAction(Request $request): JsonResponse
$algorithms = hash_algos();
foreach ($algorithms as $algorithm) {
$options[] = [
'key' => $algorithm. $this->translator->trans('(deprecated)', [], 'admin'),
'key' => $algorithm . ' (' . $this->translator->trans('deprecated', [], 'admin') . ')',
'value' => $algorithm,
];
}
Expand Down

0 comments on commit 5ef544a

Please sign in to comment.