mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 13:00:39 +03:00
30 lines
1.0 KiB
Python
30 lines
1.0 KiB
Python
![]() |
''' Utility: Text messages. '''
|
|||
|
# pylint: skip-file
|
|||
|
|
|||
|
def constituentaNotOwned(title: str):
|
|||
|
return f'Конституента не принадлежит схеме: {title}'
|
|||
|
|
|||
|
def constituentaNotExists():
|
|||
|
return 'Конституента не существует'
|
|||
|
|
|||
|
def renameTrivial(name: str):
|
|||
|
return f'Имя должно отличаться от текущего: {name}'
|
|||
|
|
|||
|
def substituteTrivial(name: str):
|
|||
|
return f'Отождествление конституенты с собой не корректно: {name}'
|
|||
|
|
|||
|
def renameTaken(name: str):
|
|||
|
return f'Имя уже используется: {name}'
|
|||
|
|
|||
|
def pyconceptFailure():
|
|||
|
return 'Invalid data response from pyconcept'
|
|||
|
|
|||
|
def libraryTypeUnexpected():
|
|||
|
return 'Attempting to use invalid adaptor for non-RSForm item'
|
|||
|
|
|||
|
def exteorFileVersionNotSupported():
|
|||
|
return 'Некорректный формат файла Экстеор. Сохраните файл в новой версии'
|
|||
|
|
|||
|
def positionNegative():
|
|||
|
return 'Invalid position: should be positive integer'
|