39 lines
1.4 KiB
Python
39 lines
1.4 KiB
Python
from ErrorHandlers.bases import ErrorLanguageModelClass, LanguageModelClass
|
||
|
||
|
||
class BaseErrorLanguageModelTurkish(ErrorLanguageModelClass):
|
||
|
||
NOT_CREATED: str = "Kayıt oluşturulamadı."
|
||
NOT_DELETED: str = "Kayıt silinemedi."
|
||
NOT_UPDATED: str = "Kayıt güncellenemedi."
|
||
NOT_LISTED: str = "Kayıt listelenemedi."
|
||
NOT_FOUND: str = "Kayıt bulunamadı."
|
||
ALREADY_EXISTS: str = "Kayıt zaten mevcut."
|
||
IS_NOT_CONFIRMED: str = "Kayıt onaylanmadı."
|
||
NOT_AUTHORIZED: str = "Yetkisiz kullanıcı."
|
||
NOT_VALID: str = "Gecersiz veri."
|
||
NOT_ACCEPTABLE: str = "Gecersiz veri."
|
||
INVALID_DATA: str = "Gecersiz veri."
|
||
UNKNOWN_ERROR: str = "Bilinmeyen bir hata oluştu."
|
||
|
||
|
||
class BaseErrorLanguageModelEnglish(ErrorLanguageModelClass):
|
||
|
||
NOT_CREATED: str = "Not Created."
|
||
NOT_DELETED: str = "Not Deleted."
|
||
NOT_UPDATED: str = "Not Updated."
|
||
NOT_LISTED: str = "Not Listed."
|
||
NOT_FOUND: str = "Not Found."
|
||
ALREADY_EXISTS: str = "Already Exists."
|
||
IS_NOT_CONFIRMED: str = "Not Confirmed."
|
||
NOT_AUTHORIZED: str = "Not Authorized."
|
||
NOT_VALID: str = "Not Valid."
|
||
NOT_ACCEPTABLE: str = "Not Acceptable."
|
||
INVALID_DATA: str = "Invalid Data."
|
||
UNKNOWN_ERROR: str = "Unknown Error occured."
|
||
|
||
|
||
class BaseErrorLanguageModels(LanguageModelClass):
|
||
tr: BaseErrorLanguageModelTurkish = BaseErrorLanguageModelTurkish
|
||
en: BaseErrorLanguageModelEnglish = BaseErrorLanguageModelEnglish
|