2024-01-15 23:37:14 +03:00
|
|
|
|
''' Utility: Text messages. '''
|
|
|
|
|
# pylint: skip-file
|
|
|
|
|
|
|
|
|
|
def constituentaNotOwned(title: str):
|
|
|
|
|
return f'Конституента не принадлежит схеме: {title}'
|
|
|
|
|
|
2024-03-22 20:14:32 +03:00
|
|
|
|
def substitutionNotInList():
|
|
|
|
|
return 'Отождествляемая конституента отсутствует в списке'
|
|
|
|
|
|
|
|
|
|
def schemaNotOwned():
|
|
|
|
|
return 'Нет доступа к схеме'
|
|
|
|
|
|
2024-01-15 23:37:14 +03:00
|
|
|
|
def renameTrivial(name: str):
|
|
|
|
|
return f'Имя должно отличаться от текущего: {name}'
|
|
|
|
|
|
|
|
|
|
def substituteTrivial(name: str):
|
|
|
|
|
return f'Отождествление конституенты с собой не корректно: {name}'
|
|
|
|
|
|
2024-03-22 17:01:14 +03:00
|
|
|
|
def aliasTaken(name: str):
|
2024-01-15 23:37:14 +03:00
|
|
|
|
return f'Имя уже используется: {name}'
|
|
|
|
|
|
|
|
|
|
def pyconceptFailure():
|
|
|
|
|
return 'Invalid data response from pyconcept'
|
|
|
|
|
|
2024-03-14 20:01:19 +03:00
|
|
|
|
def typificationInvalidStr():
|
|
|
|
|
return 'Invalid typification string'
|
|
|
|
|
|
2024-01-15 23:37:14 +03:00
|
|
|
|
def libraryTypeUnexpected():
|
|
|
|
|
return 'Attempting to use invalid adaptor for non-RSForm item'
|
|
|
|
|
|
|
|
|
|
def exteorFileVersionNotSupported():
|
|
|
|
|
return 'Некорректный формат файла Экстеор. Сохраните файл в новой версии'
|
|
|
|
|
|
2024-03-22 17:01:14 +03:00
|
|
|
|
def invalidPosition():
|
2024-01-15 23:37:14 +03:00
|
|
|
|
return 'Invalid position: should be positive integer'
|
2024-03-14 20:01:19 +03:00
|
|
|
|
|
|
|
|
|
def constituentaNoStructure():
|
|
|
|
|
return 'Указанная конституента не обладает теоретико-множественной типизацией'
|