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