This commit is contained in:
Matthias Mair 2023-11-24 00:02:09 +01:00
commit d4fbfed3c7
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A
73 changed files with 23782 additions and 21648 deletions

View File

@ -1,11 +1,34 @@
"""General filters for InvenTree."""
from datetime import datetime
from django.conf import settings
from django.utils import timezone
from django.utils.timezone import make_aware
from django_filters import rest_framework as rest_filters
from rest_framework import filters
import InvenTree.helpers
class InvenTreeDateFilter(rest_filters.DateFilter):
"""Custom DateFilter class which handles timezones correctly."""
def filter(self, qs, value):
"""Override the filter method to handle timezones correctly."""
if settings.USE_TZ:
# Check if value is already timezone aware
if value is not None and not timezone.is_aware(value):
tz = timezone.get_current_timezone()
value = datetime(value.year, value.month, value.day)
value = make_aware(value, tz, True)
return super().filter(qs, value)
class InvenTreeSearchFilter(filters.SearchFilter):
"""Custom search filter which allows adjusting of search terms dynamically"""

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -25,7 +25,6 @@ class PartResource(InvenTreeResource):
exclude = [
'bom_checksum', 'bom_checked_by', 'bom_checked_date',
'lft', 'rght', 'tree_id', 'level',
'image',
'metadata',
'barcode_data', 'barcode_hash',
]
@ -39,6 +38,7 @@ class PartResource(InvenTreeResource):
link = Field(attribute='link', column_name=_('Link'), widget=widgets.CharWidget())
units = Field(attribute='units', column_name=_('Units'), widget=widgets.CharWidget())
notes = Field(attribute='notes', column_name=_('Notes'))
image = Field(attribute='image', column_name=_('Part Image'), readonly=True)
category = Field(attribute='category', column_name=_('Category ID'), widget=widgets.ForeignKeyWidget(models.PartCategory))
category_name = Field(attribute='category__name', column_name=_('Category Name'), readonly=True)
default_location = Field(attribute='default_location', column_name=_('Default Location ID'), widget=widgets.ForeignKeyWidget(StockLocation))

View File

@ -20,7 +20,7 @@ from build.models import Build, BuildItem
from InvenTree.api import (APIDownloadMixin, AttachmentMixin,
ListCreateDestroyAPIView, MetadataView)
from InvenTree.filters import (ORDER_FILTER, SEARCH_ORDER_FILTER,
SEARCH_ORDER_FILTER_ALIAS,
SEARCH_ORDER_FILTER_ALIAS, InvenTreeDateFilter,
InvenTreeSearchFilter)
from InvenTree.helpers import (DownloadFile, increment_serial_number, isNull,
str2bool, str2int)
@ -971,8 +971,8 @@ class PartFilter(rest_filters.FilterSet):
tags_slug = rest_filters.CharFilter(field_name='tags__slug', lookup_expr='iexact')
# Created date filters
created_before = rest_filters.DateFilter(label='Updated before', field_name='creation_date', lookup_expr='lte')
created_after = rest_filters.DateFilter(label='Updated after', field_name='creation_date', lookup_expr='gte')
created_before = InvenTreeDateFilter(label='Updated before', field_name='creation_date', lookup_expr='lte')
created_after = InvenTreeDateFilter(label='Updated after', field_name='creation_date', lookup_expr='gte')
class PartMixin:

View File

@ -26,7 +26,7 @@ from generic.states.api import StatusView
from InvenTree.api import (APIDownloadMixin, AttachmentMixin,
ListCreateDestroyAPIView, MetadataView)
from InvenTree.filters import (ORDER_FILTER, SEARCH_ORDER_FILTER,
SEARCH_ORDER_FILTER_ALIAS)
SEARCH_ORDER_FILTER_ALIAS, InvenTreeDateFilter)
from InvenTree.helpers import (DownloadFile, extract_serial_numbers, isNull,
str2bool, str2int)
from InvenTree.mixins import (CreateAPI, CustomRetrieveUpdateDestroyAPI,
@ -680,17 +680,17 @@ class StockFilter(rest_filters.FilterSet):
).distinct()
# Update date filters
updated_before = rest_filters.DateFilter(label='Updated before', field_name='updated', lookup_expr='lte')
updated_after = rest_filters.DateFilter(label='Updated after', field_name='updated', lookup_expr='gte')
updated_before = InvenTreeDateFilter(label='Updated before', field_name='updated', lookup_expr='lte')
updated_after = InvenTreeDateFilter(label='Updated after', field_name='updated', lookup_expr='gte')
# Stock "expiry" filters
expiry_date_lte = rest_filters.DateFilter(
expiry_date_lte = InvenTreeDateFilter(
label=_("Expiry date before"),
field_name='expiry_date',
lookup_expr='lte',
)
expiry_date_gte = rest_filters.DateFilter(
expiry_date_gte = InvenTreeDateFilter(
label=_('Expiry date after'),
field_name='expiry_date',
lookup_expr='gte',

View File

@ -24,7 +24,12 @@ You need to make sure that you have the following tools installed before continu
```
2. open vscode, navigate to the extensions sidebar and search for `ms-vscode-remote.remote-containers`. Click on install.
3. open the cloned folder from above by clicking on `file > open folder`
4. vscode should now ask you if you'd like to reopen this folder in a devcontainer. Click `Reopen in Container`. If it shouldn't ask you open the command palette (<kbd>CMD</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd>) and search for `Reopen in Container`. This can take a few minutes until the image is downloaded, build and setup with all dependencies.
4. vscode should now ask you if you'd like to reopen this folder in a devcontainer. Click `Reopen in Container`. If it does not ask you, open the command palette (<kbd>CTRL/CMD</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd>) and search for `Reopen in Container`. This can take a few minutes until the image is downloaded, build and setup with all dependencies.
5. Open a new terminal from the top menu by clicking `Terminal > New Terminal`
6. The last line in your terminal should now show the text `(venv)` at the start of the line
7. From here' we need to setup the InvenTree specific development environment
8. From the newly opened terminal, run: `invoke install`
9. If you want test data on your server, run: `invoke setup-test --dev`. If not, run `invoke setup-dev`
### Setup in codespaces
@ -58,6 +63,10 @@ You can either only run InvenTree or use the integrated debugger for debugging.
You can now set breakpoints and vscode will automatically pause execution if that point is hit. You can see all variables available in that context and evaluate some code with the debugger console at the bottom. Use the play or step buttons to continue execution.
!!! info "React Frontend development"
The React frontend requires additional steps to run. Refer to [Platform UI / React](./react-frontend.md)
### Plugin development
The easiest way for plugin developing is by using the InvenTree devcontainer. Just mount your plugin repository also into the devcontainer workspace and install it as pip editable package.

View File

@ -0,0 +1,61 @@
---
title: Platform UI / React
---
## Setup
The new React-based UI will not be available by default. In order to set your development environment up to view the frontend, follow this guide.
The new UI requires a separate frontend server to run to serve data for the new Frontend.
### Install
The React frontend requires its own packages that aren't installed via the usual invoke tasks.
#### Docker
Run the following command:
`docker compose run inventree-dev-server invoke frontend-compile`
This will install the required packages for running the React frontend on your InvenTree dev server.
#### Devcontainer
!!! warning "This guide assumes you already have a running devcontainer"
!!! info "All these steps are performed within Visual Studio Code"
Open a new terminal from the top menu by clicking `Terminal > New Terminal`
Make sure this terminal is running within the virtual env. The start of the last line should display `(venv)`
Run the command `invoke frontend-compile`. Wait for this to finish
### Running
After finishing the install, you need to launch a frontend server to be able to view the new UI.
Using the previously described ways of running commands, execute the following:
`invoke frontend-dev` in your environment
This command does not run as a background daemon, and will occupy the window it's ran in.
### Accessing
When the frontend server is running, it will be available on port 5173.
i.e: https://localhost:5173/
### Information
On Windows, any Docker interaction is run via WSL. Naturally, all containers and devcontainers run through WSL.
The default configuration for the frontend server sets up file polling to enable hot reloading.
This is in itself a huge performance hit. If you're running an older system, it might just be enough to block anything from running in the container.
If you're having issues running the Frontend server, have a look at your Docker Desktop app.
If you routinely see the container using almost ALL available CPU capacity, you need to turn off file polling.
!!! warning "Turning off file polling requires you to restart the frontend server process upon each file change"
Head to the following path: `src/frontend/vite.config.ts` and change:
`const IS_IN_WSL = platform().includes('WSL') || release().includes('WSL');`
to
`const IS_IN_WSL = false;`
!!! tip "Make sure to not commit this change!"
!!! warning "This change will require you to restart the frontend server for every change you make in the frontend code"

View File

@ -54,15 +54,15 @@ export const ModelInformationDict: ModelDictory = {
stockitem: {
label: t`Stock Item`,
label_multiple: t`Stock Items`,
url_overview: '/stockitem',
url_detail: '/stockitem/:pk/',
url_overview: '/stock/item',
url_detail: '/stock/item/:pk/',
api_endpoint: ApiPaths.stock_item_list
},
stocklocation: {
label: t`Stock Location`,
label_multiple: t`Stock Locations`,
url_overview: '/stocklocation',
url_detail: '/stocklocation/:pk/',
url_overview: '/stock/location',
url_detail: '/stock/location/:pk/',
api_endpoint: ApiPaths.stock_location_list
},
stockhistory: {
@ -94,8 +94,8 @@ export const ModelInformationDict: ModelDictory = {
purchaseorder: {
label: t`Purchase Order`,
label_multiple: t`Purchase Orders`,
url_overview: '/purchaseorder',
url_detail: '/purchaseorder/:pk/',
url_overview: '/purchasing/purchase-order',
url_detail: '/purchasing/purchase-order/:pk/',
api_endpoint: ApiPaths.purchase_order_list
},
purchaseorderline: {
@ -106,8 +106,8 @@ export const ModelInformationDict: ModelDictory = {
salesorder: {
label: t`Sales Order`,
label_multiple: t`Sales Orders`,
url_overview: '/salesorder',
url_detail: '/salesorder/:pk/',
url_overview: '/sales/sales-order',
url_detail: '/sales/sales-order/:pk/',
api_endpoint: ApiPaths.sales_order_list
},
salesordershipment: {
@ -120,8 +120,8 @@ export const ModelInformationDict: ModelDictory = {
returnorder: {
label: t`Return Order`,
label_multiple: t`Return Orders`,
url_overview: '/returnorder',
url_detail: '/returnorder/:pk/',
url_overview: '/sales/return-order',
url_detail: '/sales/return-order/:pk/',
api_endpoint: ApiPaths.return_order_list
},
address: {

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: bg\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:06\n"
"PO-Revision-Date: 2023-11-23 00:36\n"
"Last-Translator: \n"
"Language-Team: Bulgarian\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: cs\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:06\n"
"PO-Revision-Date: 2023-11-23 00:36\n"
"Last-Translator: \n"
"Language-Team: Czech\n"
"Plural-Forms: nplurals=4; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 3;\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: da\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:06\n"
"PO-Revision-Date: 2023-11-23 00:36\n"
"Last-Translator: \n"
"Language-Team: Danish\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: de\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:06\n"
"PO-Revision-Date: 2023-11-23 00:36\n"
"Last-Translator: \n"
"Language-Team: German\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: el\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:06\n"
"PO-Revision-Date: 2023-11-23 00:36\n"
"Last-Translator: \n"
"Language-Team: Greek\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -1942,32 +1942,32 @@ msgstr "Add group"
msgid "Added group"
msgstr "Added group"
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr "Edit project code"
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr "Project code updated"
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr "Delete project code"
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr "Project code deleted"
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr "Are you sure you want to remove this project code?"
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr "Add project code"
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr "Added project code"

View File

@ -1911,32 +1911,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: es_MX\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:37\n"
"Last-Translator: \n"
"Language-Team: Spanish, Mexico\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: fa\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:37\n"
"Last-Translator: \n"
"Language-Team: Persian\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: fi\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:36\n"
"Last-Translator: \n"
"Language-Team: Finnish\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""
@ -3677,4 +3677,3 @@ msgstr "L'interface utilisateur de la plateforme est optimisée pour les tablett
#: src/views/MobileAppView.tsx:23
msgid "Read the docs"
msgstr "Lire la documentation"

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: he\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:36\n"
"Last-Translator: \n"
"Language-Team: Hebrew\n"
"Plural-Forms: nplurals=4; plural=n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3;\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: hi\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:37\n"
"Last-Translator: \n"
"Language-Team: Hindi\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: hu\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:36\n"
"Last-Translator: \n"
"Language-Team: Hungarian\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: id\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:37\n"
"Last-Translator: \n"
"Language-Team: Indonesian\n"
"Plural-Forms: nplurals=1; plural=0;\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: it\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:36\n"
"Last-Translator: \n"
"Language-Team: Italian\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: ja\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:36\n"
"Last-Translator: \n"
"Language-Team: Japanese\n"
"Plural-Forms: nplurals=1; plural=0;\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: ko\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:36\n"
"Last-Translator: \n"
"Language-Team: Korean\n"
"Plural-Forms: nplurals=1; plural=0;\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: nl\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:36\n"
"Last-Translator: \n"
"Language-Team: Dutch\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: no\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:36\n"
"Last-Translator: \n"
"Language-Team: Norwegian\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: pl\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:36\n"
"Last-Translator: \n"
"Language-Team: Polish\n"
"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n"
@ -63,11 +63,11 @@ msgstr ""
#: src/components/forms/AuthenticationForm.tsx:50
msgid "Login successful"
msgstr ""
msgstr "Zalogowano pomyślnie"
#: src/components/forms/AuthenticationForm.tsx:51
msgid "Welcome back!"
msgstr ""
msgstr "Witamy ponownie!"
#: src/components/forms/AuthenticationForm.tsx:53
#~ msgid "Login successfull"
@ -76,7 +76,7 @@ msgstr ""
#: src/components/forms/AuthenticationForm.tsx:64
#: src/functions/auth.tsx:102
msgid "Mail delivery successful"
msgstr ""
msgstr "Wiadomość dostarczona"
#: src/components/forms/AuthenticationForm.tsx:65
msgid "Check your inbox for the login link. If you have an account, you will receive a login link. Check in spam too."
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -1986,32 +1986,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -1911,32 +1911,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: pt\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:37\n"
"Last-Translator: \n"
"Language-Team: Portuguese, Brazilian\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: ru\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:36\n"
"Last-Translator: \n"
"Language-Team: Russian\n"
"Plural-Forms: nplurals=4; plural=((n%10==1 && n%100!=11) ? 0 : ((n%10 >= 2 && n%10 <=4 && (n%100 < 12 || n%100 > 14)) ? 1 : ((n%10 == 0 || (n%10 >= 5 && n%10 <=9)) || (n%100 >= 11 && n%100 <= 14)) ? 2 : 3));\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: sl\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:36\n"
"Last-Translator: \n"
"Language-Team: Slovenian\n"
"Plural-Forms: nplurals=4; plural=(n%100==1 ? 1 : n%100==2 ? 2 : n%100==3 || n%100==4 ? 3 : 0);\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: sv\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:36\n"
"Last-Translator: \n"
"Language-Team: Swedish\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: th\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:37\n"
"Last-Translator: \n"
"Language-Team: Thai\n"
"Plural-Forms: nplurals=1; plural=0;\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: tr\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:36\n"
"Last-Translator: \n"
"Language-Team: Turkish\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: vi\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:37\n"
"Last-Translator: \n"
"Language-Team: Vietnamese\n"
"Plural-Forms: nplurals=1; plural=0;\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr "Sửa mã dự án"
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr "Mã dự án đã được cập nhật"
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr "Xóa mã dự án"
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr "Mã dự án đã được xóa"
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr "Bạn có chắc chắn là muốn xóa mã dự án này?"
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr "Thêm mã dự án"
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr "Mã dự án đã được thêm"

View File

@ -1911,32 +1911,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -1911,32 +1911,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -8,7 +8,7 @@ msgstr ""
"Language: zh\n"
"Project-Id-Version: inventree\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2023-11-21 00:07\n"
"PO-Revision-Date: 2023-11-23 00:37\n"
"Last-Translator: \n"
"Language-Team: Chinese Traditional\n"
"Plural-Forms: nplurals=1; plural=0;\n"
@ -1947,32 +1947,32 @@ msgstr ""
msgid "Added group"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:49
#: src/components/tables/settings/ProjectCodeTable.tsx:50
msgid "Edit project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:55
#: src/components/tables/settings/ProjectCodeTable.tsx:57
msgid "Project code updated"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:65
#: src/components/tables/settings/ProjectCodeTable.tsx:67
msgid "Delete project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:66
#: src/components/tables/settings/ProjectCodeTable.tsx:68
msgid "Project code deleted"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:69
#: src/components/tables/settings/ProjectCodeTable.tsx:71
msgid "Are you sure you want to remove this project code?"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:82
#: src/components/tables/settings/ProjectCodeTable.tsx:96
#: src/components/tables/settings/ProjectCodeTable.tsx:84
#: src/components/tables/settings/ProjectCodeTable.tsx:99
msgid "Add project code"
msgstr ""
#: src/components/tables/settings/ProjectCodeTable.tsx:88
#: src/components/tables/settings/ProjectCodeTable.tsx:91
msgid "Added project code"
msgstr ""

View File

@ -83,8 +83,9 @@ export const useUserState = create<UserStateProps>((set, get) => ({
if (user?.is_superuser) return true;
if (user?.roles === undefined) return false;
if (user?.roles[role] === undefined) return false;
if (user?.roles[role] === null) return false;
return user?.roles[role].includes(permission);
return user?.roles[role]?.includes(permission) ?? false;
},
hasDeleteRole: (role: UserRoles) => {
return get().checkUserRole(role, UserPermissions.delete);