minor mistakes in merge
parent
0812d2efcc
commit
dc5dd51574
|
@ -1508,14 +1508,14 @@ class CompendiumBrowser extends Application {
|
||||||
});
|
});
|
||||||
this.addItemFilter("CMPBrowser.general", "CMPBrowser.ItemsPacks", 'matchedPacks', 'select',
|
this.addItemFilter("CMPBrowser.general", "CMPBrowser.ItemsPacks", 'matchedPacks', 'select',
|
||||||
{
|
{
|
||||||
burglar: game.i18n.localize("CMPBrowser.ItemsPacksBurglar"),
|
burglar: "CMPBrowser.ItemsPacksBurglar",
|
||||||
diplomat: game.i18n.localize("CMPBrowser.ItemsPacksDiplomat"),
|
diplomat: "CMPBrowser.ItemsPacksDiplomat",
|
||||||
dungeoneer: game.i18n.localize("CMPBrowser.ItemsPacksDungeoneer"),
|
dungeoneer: "CMPBrowser.ItemsPacksDungeoneer",
|
||||||
entertainer: game.i18n.localize("CMPBrowser.ItemsPacksEntertainer"),
|
entertainer: "CMPBrowser.ItemsPacksEntertainer",
|
||||||
explorer: game.i18n.localize("CMPBrowser.ItemsPacksExplorer"),
|
explorer: "CMPBrowser.ItemsPacksExplorer",
|
||||||
monsterhunter: game.i18n.localize("CMPBrowser.ItemsPacksMonsterHunter"),
|
monsterhunter: "CMPBrowser.ItemsPacksMonsterHunter",
|
||||||
priest: game.i18n.localize("CMPBrowser.ItemsPacksPriest"),
|
priest: "CMPBrowser.ItemsPacksPriest",
|
||||||
scholar: game.i18n.localize("CMPBrowser.ItemsPacksScholar"),
|
scholar: "CMPBrowser.ItemsPacksScholar",
|
||||||
}, true
|
}, true
|
||||||
);
|
);
|
||||||
if (CompendiumBrowser.isFoundryV10Plus) {
|
if (CompendiumBrowser.isFoundryV10Plus) {
|
||||||
|
@ -1529,25 +1529,25 @@ class CompendiumBrowser extends Application {
|
||||||
this.addItemFilter("CMPBrowser.GameMechanics", "CMPBrowser.UsesResources", 'usesRessources', 'bool');
|
this.addItemFilter("CMPBrowser.GameMechanics", "CMPBrowser.UsesResources", 'usesRessources', 'bool');
|
||||||
|
|
||||||
if (CompendiumBrowser.isFoundryV10Plus) {
|
if (CompendiumBrowser.isFoundryV10Plus) {
|
||||||
this.addItemFilter(game.i18n.localize("CMPBrowser.ItemSubtype"), game.i18n.localize("DND5E.ItemTypeWeapon"), 'system.weaponType', 'text', CONFIG.DND5E.weaponTypes);
|
this.addItemFilter("CMPBrowser.ItemSubtype", "ITEM.TypeWeapon", 'system.weaponType', 'text', CONFIG.DND5E.weaponTypes);
|
||||||
this.addItemFilter(game.i18n.localize("CMPBrowser.ItemSubtype"), game.i18n.localize("DND5E.ItemTypeEquipment"), 'system.armor.type', 'text', CONFIG.DND5E.equipmentTypes);
|
this.addItemFilter("CMPBrowser.ItemSubtype", "ITEM.TypeEquipment", 'system.armor.type', 'text', CONFIG.DND5E.equipmentTypes);
|
||||||
this.addItemFilter(game.i18n.localize("CMPBrowser.ItemSubtype"), game.i18n.localize("DND5E.ItemTypeConsumable"), 'system.consumableType', 'text', CONFIG.DND5E.consumableTypes);
|
this.addItemFilter("CMPBrowser.ItemSubtype", "ITEM.TypeConsumable", 'system.consumableType', 'text', CONFIG.DND5E.consumableTypes);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
this.addItemFilter(game.i18n.localize("CMPBrowser.ItemSubtype"), game.i18n.localize("DND5E.ItemTypeWeapon"), 'data.weaponType', 'text', CONFIG.DND5E.weaponTypes);
|
this.addItemFilter("CMPBrowser.ItemSubtype", "ITEM.TypeWeapon", 'data.weaponType', 'text', CONFIG.DND5E.weaponTypes);
|
||||||
this.addItemFilter(game.i18n.localize("CMPBrowser.ItemSubtype"), game.i18n.localize("DND5E.ItemTypeEquipment"), 'data.armor.type', 'text', CONFIG.DND5E.equipmentTypes);
|
this.addItemFilter("CMPBrowser.ItemSubtype", "ITEM.TypeEquipment", 'data.armor.type', 'text', CONFIG.DND5E.equipmentTypes);
|
||||||
this.addItemFilter(game.i18n.localize("CMPBrowser.ItemSubtype"), game.i18n.localize("DND5E.ItemTypeConsumable"), 'data.consumableType', 'text', CONFIG.DND5E.consumableTypes);
|
this.addItemFilter("CMPBrowser.ItemSubtype", "ITEM.TypeConsumable", 'data.consumableType', 'text', CONFIG.DND5E.consumableTypes);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//0.7.2c: Fix rarity encoding (uses camelcase names)
|
//0.7.2c: Fix rarity encoding (uses camelcase names)
|
||||||
this.addItemFilter(game.i18n.localize("CMPBrowser.MagicItems"), game.i18n.localize("CMPBrowser.Rarity"), 'data.rarity', 'select',
|
this.addItemFilter("CMPBrowser.MagicItems", "CMPBrowser.Rarity", 'data.rarity', 'select',
|
||||||
{
|
{
|
||||||
common: game.i18n.localize("CMPBrowser.RarityCommon"),
|
common: "CMPBrowser.RarityCommon",
|
||||||
uncommon: game.i18n.localize("CMPBrowser.RarityUncommon"),
|
uncommon: "CMPBrowser.RarityUncommon",
|
||||||
rare: game.i18n.localize("CMPBrowser.RarityRare"),
|
rare: "CMPBrowser.RarityRare",
|
||||||
veryRare: game.i18n.localize("CMPBrowser.RarityVeryRare"),
|
veryRare: "CMPBrowser.RarityVeryRare",
|
||||||
legendary: game.i18n.localize("CMPBrowser.RarityLegendary")
|
legendary: "CMPBrowser.RarityLegendary"
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -44,6 +44,7 @@
|
||||||
"CMPBrowser.ItemsPacksScholar": "Scholar's Pack",
|
"CMPBrowser.ItemsPacksScholar": "Scholar's Pack",
|
||||||
"CMPBrowser.class":"Class",
|
"CMPBrowser.class":"Class",
|
||||||
"CMPBrowser.subclass":"Subclass",
|
"CMPBrowser.subclass":"Subclass",
|
||||||
|
"CMPBrowser.feature":"Feature",
|
||||||
"CMPBrowser.artificer": "Artificer",
|
"CMPBrowser.artificer": "Artificer",
|
||||||
"CMPBrowser.barbarian": "Barbarian",
|
"CMPBrowser.barbarian": "Barbarian",
|
||||||
"CMPBrowser.bard": "Bard",
|
"CMPBrowser.bard": "Bard",
|
||||||
|
|
Loading…
Reference in New Issue