All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.cleverpine.cptranslationsutil.util.ErrorMessages Maven / Gradle / Ivy

package com.cleverpine.cptranslationsutil.util;

public class ErrorMessages {

    private ErrorMessages() {
        throw new AssertionError("Cannot create instances of this class");
    }

    public static final String TRANSLATION_SERVICE_CLIENT_ERROR_MESSAGE =
            "Translation service client responded with status code: %s";
    public static final String NUMBER_OF_RETRY_FOR_EXPORT_TRANSLATIONS_ERROR_WARNING =
            "Retry %s/2 failed due to error: [%s]";
    public static final String RETRIES_EXHAUSTED_FOR_EXPORT_OF_TRANSLATIONS_ERROR_MESSAGE =
            "Retries exhausted and export of translations by project and platform name from Translation Service failed";

    public static final String EXPORT_BY_PROJECT_AND_PLATFORM_NAME_RETURNED_EMPTY_RESPONSE_ERROR_MESSAGE =
            "Translation Service returned empty response on export translations for platform [%s] in project [%s]";
    public static final String EXPORT_BY_PROJECT_AND_PLATFORM_ID_RETURNED_EMPTY_RESPONSE_ERROR_MESSAGE =
            "Translation Service returned empty response on export translations for platform [%d] in project [%d]";

    public static final String TRANSLATION_FAILED_ERROR_MESSAGE = "Translation for class [%s] failed due to [%s]";

    public static final String TRANSLATIONS_FOR_MODULE_AND_LANGUAGE_NOT_FOUND_ERROR_MESSAGE =
            "Translations for language [%s] for module [%s] not found";

    public static final String INVALID_LOCALE_CODE_ERROR_MESSAGE = "Language code for locale cannot be null";

    public static final String TRANSLATION_MAP_FOR_LANGUAGE_NULL_ERROR_MESSAGE_FORMAT = "Translations map for language %s is null. Cancel refreshing messages";

    public static final String PROPERTY_FILE_CREATION_ERROR_MESSAGE = "Unable to create or update properties file ";

    public static final String TRANSLATE_PROPERTY_ERROR_INVALID_PROPERTY_FORMAT = "Invalid format of i18n key. Unable to translate [%s]";


}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy