Skip to content

Commit

Permalink
Rename to is:dupeperks
Browse files Browse the repository at this point in the history
  • Loading branch information
bhollis committed Sep 4, 2024
1 parent 86fccf1 commit f117c7f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@
"Dupe": "Shows duplicate items, including reissues",
"DupeCount": "Items that have the specified number of duplicates.",
"DupeLower": "Duplicate items, including reissues, that are not the highest power dupe. Only one duplicate is chosen as the highest, and the rest are considered lower.",
"DupePerks": "Shows items whose perks are either a duplicate of, or a subset of, another item of the same type.",
"Energy": "Shows items that have energy capacity (Armor 2.0).",
"Engrams": "Shows engrams.",
"EnhancedPerk": "Shows weapons that have the specified number of enhanced perks.",
Expand Down Expand Up @@ -299,7 +300,6 @@
"PatternUnlocked": "Shows items that have a crafting pattern unlocked, even if the item itself isn't crafted.",
"Perk": "Shows items where one of their perks or mods has a partial match to the filter text in their name or description. Search for entire phrases using quotes.",
"PerkName": "Shows items with a perk or mod whose name matches (exactperk:) or partially matches (perkname:) the filter text. Search for entire phrases using quotes.",
"PerksDupe": "Shows items whose perks are either a duplicate of, or a subset of, another item of the same type.",
"Postmaster": "Items that are currently in the Postmaster.",
"PowerLevel": "Shows items based on their power level. $t(Filter.PowerKeywords)",
"PowerKeywords": "Use the pinnaclecap or softcap keyword instead of a number to refer to the current season's power limits.",
Expand Down
1 change: 1 addition & 0 deletions src/app/search/__snapshots__/search-config.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ exports[`buildSearchConfig generates a reasonable filter map: is filters 1`] = `
"deepsight",
"dupe",
"dupelower",
"dupeperks",
"emblems",
"emotes",
"energy",
Expand Down
4 changes: 2 additions & 2 deletions src/app/search/items/search-filters/dupes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ const dupeFilters: ItemFilterDefinition[] = [
},
},
{
keywords: ['perksdupe'],
description: tl('Filter.PerksDupe'),
keywords: ['dupeperks'],
description: tl('Filter.DupePerks'),
filter: ({ allItems }) => {
const duplicates = new Map<string, PerksSet>();
for (const i of allItems) {
Expand Down
2 changes: 1 addition & 1 deletion src/locale/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@
"Dupe": "Shows duplicate items, including reissues",
"DupeCount": "Items that have the specified number of duplicates.",
"DupeLower": "Duplicate items, including reissues, that are not the highest power dupe. Only one duplicate is chosen as the highest, and the rest are considered lower.",
"DupePerks": "Shows items whose perks are either a duplicate of, or a subset of, another item of the same type.",
"Energy": "Shows items that have energy capacity (Armor 2.0).",
"Engrams": "Shows engrams.",
"Enhanceable": "Shows weapons that can be enhanced.",
Expand Down Expand Up @@ -288,7 +289,6 @@
"PatternUnlocked": "Shows items that have a crafting pattern unlocked, even if the item itself isn't crafted.",
"Perk": "Shows items where one of their perks or mods has a partial match to the filter text in their name or description. Search for entire phrases using quotes.",
"PerkName": "Shows items with a perk or mod whose name matches (exactperk:) or partially matches (perkname:) the filter text. Search for entire phrases using quotes.",
"PerksDupe": "Shows items whose perks are either a duplicate of, or a subset of, another item of the same type.",
"PinnacleReward": "Shows pursuits which produce a pinnacle reward.",
"Postmaster": "Items that are currently in the Postmaster.",
"PowerKeywords": "Use the pinnaclecap or softcap keyword instead of a number to refer to the current season's power limits.",
Expand Down

0 comments on commit f117c7f

Please sign in to comment.