mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-09 08:08:14 -06:00
fix: Add custom fields, translations, add app logs to login routes
This commit is contained in:
@@ -76,5 +76,11 @@ String translateError(BuildContext context, ErrorCode code) {
|
||||
ErrorCode.userNotFound => S.of(context)!.userNotFound,
|
||||
ErrorCode.updateSavedViewError => S.of(context)!.couldNotUpdateSavedView,
|
||||
ErrorCode.userAlreadyExists => S.of(context)!.userAlreadyExists,
|
||||
ErrorCode.customFieldCreateFailed =>
|
||||
'Could not create custom field, please try again.', //TODO: INTL
|
||||
ErrorCode.customFieldLoadFailed =>
|
||||
'Could not load custom field.', //TODO: INTL
|
||||
ErrorCode.customFieldDeleteFailed =>
|
||||
'Could not delete custom field, please try again.', //TODO: INTL
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user