mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-23 00:06:16 +00:00
Translation fixes (#4621)
* Remove HTML tags from translateable string * Improve another string * Improve strings for plugin version check * Cleanup duplicate serials msg * JS translations * fmt
This commit is contained in:
1 parent
593a716c29
commit
f6b9b12745
6 files changed
+15
-11
No files matched your search
@@ -1383,7 +1383,8 @@ class StockItem(InvenTreeBarcodeMixin, MetadataMixin, common.models.MetaMixin, M
|
||||
|
||||
if len(existing) > 0:
|
||||
exists = ','.join([str(x) for x in existing])
|
||||
raise ValidationError({"serial_numbers": _("Serial numbers already exist: {exists}").format(exists=exists)})
|
||||
msg = _("Serial numbers already exist") + f": {exists}"
|
||||
raise ValidationError({"serial_numbers": msg})
|
||||
|
||||
# Create a new stock item for each unique serial number
|
||||
for serial in serials:
|
||||
|
||||
Reference in new issue
Block a user