Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#85 translation part2 #87

Merged
merged 4 commits into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ interface Tag {
/**
* {@value #DOCUMENT_GENERATE}
*/
String DOCUMENT_GENERATE = "Dokumentumgenerálási műveletek";
String DOCUMENT_GENERATE = "Document generation operations";

/**
* {@value #DOCUMENT_CONTENT}
*/
String DOCUMENT_CONTENT = "Generált dokumentum lekérdezése";
String DOCUMENT_CONTENT = "Querying generated document";

/**
* {@value #STORED_TEMPLATE}
*/
String STORED_TEMPLATE = "Tárolt template műveletek";
String STORED_TEMPLATE = "Stored template operations";
}

/**
Expand All @@ -61,17 +61,17 @@ interface Description {
/**
* {@value #DOCUMENT_GENERATE}
*/
String DOCUMENT_GENERATE = "Dokumentum generálásával kapcsolatos REST operációk request-ben kapott beállítások és paraméterek, "
+ "valamint request-ben kapott vagy modulban tárolt template alapján.";
String DOCUMENT_GENERATE = "Settings and parameters received in the REST operations related to document generation, "
+ "based on the template received in the request or stored in the module.";

/**
* {@value #DOCUMENT_CONTENT}
*/
String DOCUMENT_CONTENT = "Modul adatbázisában tárolt generált dokumentum lekérdezése.";
String DOCUMENT_CONTENT = "Querying generated document stored in the module database.";

/**
* {@value #STORED_TEMPLATE}
*/
String STORED_TEMPLATE = "Modulban tárolt template-tel kapcsolatos REST operációk.";
String STORED_TEMPLATE = "REST operations related to templates stored in the module.";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,114 +31,59 @@
public enum FaultType {
/**
* HTTP 400 Response.Status.BAD_REQUEST<br>
* TechnicalFault nyelvesített lekezelése<br>
* Eredeti forrása a javax.ws.rs.BadRequestException
* Handling localized TechnicalFault<br>
* The original source is javax.ws.rs.BadRequestException
*/
REST_BAD_REQUEST,
/**
* HTTP 401 Response.Status.UNAUTHORIZED<br>
* TechnicalFault nyelvesített lekezelése<br>
* Eredeti forrása a javax.ws.rs.NotAuthorizedException
* Handling localized TechnicalFault<br>
* The original source is javax.ws.rs.NotAuthorizedException
*/
REST_UNAUTHORIZED,
/**
* HTTP 403 Response.Status.FORBIDDEN<br>
* TechnicalFault nyelvesített lekezelése<br>
* Eredeti forrása a javax.ws.rs.ForbiddenException
* Handling localized TechnicalFault<br>
* The original source is javax.ws.rs.ForbiddenException
*/
REST_FORBIDDEN,
/**
* HTTP 404 Response.Status.NOT_FOUND<br>
* TechnicalFault nyelvesített lekezelése<br>
* Eredeti forrása a javax.ws.rs.NotFoundException
* Handling localized TechnicalFault<br>
* The original source is javax.ws.rs.NotFoundException
*/
REST_NOT_FOUND,
/**
* HTTP 405 Response.Status.METHOD_NOT_ALLOWED<br>
* TechnicalFault nyelvesített lekezelése<br>
* Eredeti forrása a javax.ws.rs.NotAllowedException
* Handling localized TechnicalFault<br>
* The original source is javax.ws.rs.NotAllowedException
*/
REST_METHOD_NOT_ALLOWED,
/**
* HTTP 406 Response.Status.NOT_ACCEPTABLE<br>
* TechnicalFault nyelvesített lekezelése<br>
* Eredeti forrása a javax.ws.rs.NotAcceptableException
* Handling localized TechnicalFault<br>
* The original source is javax.ws.rs.NotAcceptableException
*/
REST_NOT_ACCEPTABLE,
/**
* HTTP 415 Response.Status.UNSUPPORTED_MEDIA_TYPE<br>
* TechnicalFault nyelvesített lekezelése<br>
* Eredeti forrása a javax.ws.rs.NotSupportedException
* Handling localized TechnicalFault<br>
* The original source is javax.ws.rs.NotSupportedException
*/
REST_UNSUPPORTED_MEDIA_TYPE,
/**
* HTTP 500 Response.Status.INTERNAL_SERVER_ERROR<br>
* TechnicalFault nyelvesített lekezelése<br>
* Eredeti forrása a javax.ws.rs.InternalServerErrorException
* Handling localized TechnicalFaulte<br>
* The original source is javax.ws.rs.InternalServerErrorException
*/
REST_INTERNAL_SERVER_ERROR,
/**
* HTTP 503 Response.Status.SERVICE_UNAVAILABLE<br>
* TechnicalFault nyelvesített lekezelése<br>
* Eredeti forrása a javax.ws.rs.ServiceUnavailableException
* Handling localized TechnicalFault<br>
* The original source is javax.ws.rs.ServiceUnavailableException
*/
REST_SERVICE_UNAVAILABLE,

// Customer service

/**
* Phone number of the customer is not verified
*/
PHONE_NOT_VERIFIED,
/**
* Verification code not exists with the given type and customerId
*/
VERIFICATION_CODE_NOT_EXISTS,
/**
* Verification code does not match the one given by the user
*/
VERIFICATION_CODE_NOT_VALID,
/**
* Verification code expired
*/
VERIFICATION_CODE_EXPIRED,
/**
* Username not unique
*/
USERNAME_NOT_UNIQUE,
/**
* Phone number not unique
*/
PHONE_NUMBER_NOT_UNIQUE,
/**
* Terms and condition required
*/
TERMS_AND_CONDITION_REQUIRED,
/**
* Invalid password format
*/
INVALID_PASSWORD_FORMAT,
/**
* Customer's date of birth is not between 1900-01-01 and current date
*/
INVALID_DATE_OF_BIRTH,
/**
* Invalid email
*/
INVALID_EMAIL,
/**
* Invalid phone number
*/
INVALID_PHONE_NUMBER,
/**
* Email not unique
*/
EMAIL_NOT_UNIQUE,
/**
* Reached maximum number of attempts
*/
REACHED_MAX_NUMBER_OF_ATTEMPTS,

/**
* Document already uploaded
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@

<xsd:complexType name="ParameterType">
<xsd:annotation>
<xsd:documentation>Patameter type</xsd:documentation>
<xsd:documentation>Parameter type</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="key" type="coffeeCommon:SimpleText64NotBlankType">
<xsd:annotation>
<xsd:documentation>Patameter key</xsd:documentation>
<xsd:documentation>Parameter key</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="value" type="coffeeCommon:SimpleText1024NotBlankType">
<xsd:annotation>
<xsd:documentation>Patameter value</xsd:documentation>
<xsd:documentation>Parameter value</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
<!-- REQUEST/RESPONSE COMPLEX TYPES -->
<xsd:complexType name="BaseRequestType">
<xsd:annotation>
<xsd:documentation>Alapértelmezett request típus</xsd:documentation>
<xsd:documentation>Default request type</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="coffeeCommonService:BaseRequestType" />
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="BaseResponseType">
<xsd:annotation>
<xsd:documentation>Alapértelmezett response típus</xsd:documentation>
<xsd:documentation>Default response type</xsd:documentation>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="coffeeCommonService:BaseResponseType" />
Expand Down
Loading
Loading