mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 20:45:44 +00:00
Fix spelling of InvenTree in code base (#8561)
* fix spelling of InvenTree in code * fix spelling in frontend
This commit is contained in:
@ -99,7 +99,7 @@ class ClassProviderMixin:
|
||||
|
||||
@classmethod
|
||||
def get_is_builtin(cls):
|
||||
"""Is this Class build in the Inventree source code?"""
|
||||
"""Is this Class build in the InvenTree source code?"""
|
||||
try:
|
||||
Path(cls.get_provider_file()).relative_to(settings.BASE_DIR)
|
||||
return True
|
||||
|
@ -1,4 +1,4 @@
|
||||
"""The DigiKeyPlugin is meant to integrate the DigiKey API into Inventree.
|
||||
"""The DigiKeyPlugin is meant to integrate the DigiKey API into InvenTree.
|
||||
|
||||
This plugin can currently only match DigiKey barcodes to supplier parts.
|
||||
"""
|
||||
@ -10,7 +10,7 @@ from plugin.mixins import SettingsMixin, SupplierBarcodeMixin
|
||||
|
||||
|
||||
class DigiKeyPlugin(SupplierBarcodeMixin, SettingsMixin, InvenTreePlugin):
|
||||
"""Plugin to integrate the DigiKey API into Inventree."""
|
||||
"""Plugin to integrate the DigiKey API into InvenTree."""
|
||||
|
||||
NAME = 'DigiKeyPlugin'
|
||||
TITLE = _('Supplier Integration - DigiKey')
|
||||
|
@ -1,4 +1,4 @@
|
||||
"""The LCSCPlugin is meant to integrate the LCSC API into Inventree.
|
||||
"""The LCSCPlugin is meant to integrate the LCSC API into InvenTree.
|
||||
|
||||
This plugin can currently only match LCSC barcodes to supplier parts.
|
||||
"""
|
||||
@ -12,7 +12,7 @@ from plugin.mixins import SettingsMixin, SupplierBarcodeMixin
|
||||
|
||||
|
||||
class LCSCPlugin(SupplierBarcodeMixin, SettingsMixin, InvenTreePlugin):
|
||||
"""Plugin to integrate the LCSC API into Inventree."""
|
||||
"""Plugin to integrate the LCSC API into InvenTree."""
|
||||
|
||||
NAME = 'LCSCPlugin'
|
||||
TITLE = _('Supplier Integration - LCSC')
|
||||
|
@ -1,4 +1,4 @@
|
||||
"""The MouserPlugin is meant to integrate the Mouser API into Inventree.
|
||||
"""The MouserPlugin is meant to integrate the Mouser API into InvenTree.
|
||||
|
||||
This plugin currently only match Mouser barcodes to supplier parts.
|
||||
"""
|
||||
@ -10,7 +10,7 @@ from plugin.mixins import SettingsMixin, SupplierBarcodeMixin
|
||||
|
||||
|
||||
class MouserPlugin(SupplierBarcodeMixin, SettingsMixin, InvenTreePlugin):
|
||||
"""Plugin to integrate the Mouser API into Inventree."""
|
||||
"""Plugin to integrate the Mouser API into InvenTree."""
|
||||
|
||||
NAME = 'MouserPlugin'
|
||||
TITLE = _('Supplier Integration - Mouser')
|
||||
|
@ -1,4 +1,4 @@
|
||||
"""The TMEPlugin is meant to integrate the TME API into Inventree.
|
||||
"""The TMEPlugin is meant to integrate the TME API into InvenTree.
|
||||
|
||||
This plugin can currently only match TME barcodes to supplier parts.
|
||||
"""
|
||||
@ -12,7 +12,7 @@ from plugin.mixins import SettingsMixin, SupplierBarcodeMixin
|
||||
|
||||
|
||||
class TMEPlugin(SupplierBarcodeMixin, SettingsMixin, InvenTreePlugin):
|
||||
"""Plugin to integrate the TME API into Inventree."""
|
||||
"""Plugin to integrate the TME API into InvenTree."""
|
||||
|
||||
NAME = 'TMEPlugin'
|
||||
TITLE = _('Supplier Integration - TME')
|
||||
|
@ -38,7 +38,7 @@ export function getActions(navigate: NavigateFunction) {
|
||||
{
|
||||
id: 'server-info',
|
||||
label: t`Server Information`,
|
||||
description: t`About this Inventree instance`,
|
||||
description: t`About this InvenTree instance`,
|
||||
onClick: () => serverInfo(),
|
||||
leftSection: <IconLink size='1.2rem' />
|
||||
},
|
||||
|
@ -115,7 +115,7 @@ export function AboutLinks(): MenuLinkItem[] {
|
||||
{
|
||||
id: 'instance',
|
||||
title: t`System Information`,
|
||||
description: t`About this Inventree instance`,
|
||||
description: t`About this InvenTree instance`,
|
||||
icon: 'info',
|
||||
action: serverInfo
|
||||
},
|
||||
|
@ -92,7 +92,7 @@ export interface SettingChoice {
|
||||
}
|
||||
|
||||
export enum SettingTyp {
|
||||
Inventree = 'inventree',
|
||||
InvenTree = 'inventree',
|
||||
Plugin = 'plugin',
|
||||
User = 'user',
|
||||
Notification = 'notification'
|
||||
|
@ -8,7 +8,7 @@ test('Modals as admin', async ({ page }) => {
|
||||
await page.getByLabel('open-spotlight').click();
|
||||
await page
|
||||
.getByRole('button', {
|
||||
name: 'Server Information About this Inventree instance'
|
||||
name: 'Server Information About this InvenTree instance'
|
||||
})
|
||||
.click();
|
||||
await page.getByRole('cell', { name: 'Instance Name' }).waitFor();
|
||||
|
@ -49,7 +49,7 @@ test('Quick Command - No Keys', async ({ page }) => {
|
||||
await page.getByLabel('open-spotlight').click();
|
||||
await page
|
||||
.getByRole('button', {
|
||||
name: 'Server Information About this Inventree instance'
|
||||
name: 'Server Information About this InvenTree instance'
|
||||
})
|
||||
.click();
|
||||
await page.getByRole('cell', { name: 'Instance Name' }).waitFor();
|
||||
|
Reference in New Issue
Block a user