-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Часть системных сообщений реализована языковыми константами. Правка с…
…сылок на документацию в комментариях к методам библиотеки.
- Loading branch information
1 parent
aef220f
commit 4a766b2
Showing
4 changed files
with
73 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,20 @@ | ||
WT_CDEK_SM_DAY_0="day" | ||
WT_CDEK_SM_DAY_1="day" | ||
WT_CDEK_SM_DAY_2="days" | ||
WT_CDEK_SM_DAY_MORE="days" | ||
WT_CDEK_SM_DAY_MORE="days" | ||
|
||
PKG_LIB_WTCDEK_ERROR_GETRESPONSE_CANT_DO_REQUEST = "WT Cdek library can't do request. See logs for more details." | ||
PKG_LIB_WTCDEK_ERROR_RESPONSEHANDLER_NO_CODE = "No code" | ||
PKG_LIB_WTCDEK_ERROR_RESPONSEHANDLER_NO_ERROR_DESC = "No error description" | ||
PKG_LIB_WTCDEK_ERROR_RESPONSEHANDLER_ERROR = "WT Cdek library %s Error: %s" | ||
PKG_LIB_WTCDEK_ERROR_RESPONSEHANDLER_ERROR_500 = "CDEK server is gone with response code 500. Cdek API response: %s" | ||
|
||
PKG_LIB_WTCDEK_ERROR_AUTHORIZE_NO_TOKEN = "Cdek response doesn't contain token" | ||
PKG_LIB_WTCDEK_ERROR_AUTHORIZE = "Error while trying to authorize to CDEK API" | ||
|
||
PKG_LIB_WTCDEK_ERROR_GETCALCULATORTARIFF_NO_TARIFF_CODE = "Cdek::getCalculatorTariff. There is no tariff code. Specify it, please." | ||
PKG_LIB_WTCDEK_ERROR_GETCALCULATORTARIFF_FROM_LOCATION = "Cdek::getCalculatorTariff. There is no from_location. Specify it, please" | ||
PKG_LIB_WTCDEK_ERROR_GETCALCULATORTARIFF_TO_LOCATION = "Cdek::getCalculatorTariff. There is no to_location. Specify it, please." | ||
PKG_LIB_WTCDEK_ERROR_GETCALCULATORTARIFF_NO_PACKAGES = "Cdek::getCalculatorTarifflist. There is no packages array in request options array. Specify it, please." | ||
PKG_LIB_WTCDEK_ERROR_GETCALCULATORTARIFF_NO_PACKAGES_WEIGHT = "Cdek::getCalculatorTariff. There is no weight specified in one of your packages in request options array. Specify it, please." | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,19 @@ | ||
WT_CDEK_SM_DAY_0="дней" | ||
WT_CDEK_SM_DAY_1="день" | ||
WT_CDEK_SM_DAY_2="дня" | ||
WT_CDEK_SM_DAY_MORE="дней" | ||
WT_CDEK_SM_DAY_MORE="дней" | ||
|
||
PKG_LIB_WTCDEK_ERROR_GETRESPONSE_CANT_DO_REQUEST = "WT Cdek library не может выполнить запрос. Смотрите детали в логах." | ||
PKG_LIB_WTCDEK_ERROR_RESPONSEHANDLER_NO_CODE = "Нет кода ошибки" | ||
PKG_LIB_WTCDEK_ERROR_RESPONSEHANDLER_NO_ERROR_DESC = "Нет описания ошибки" | ||
PKG_LIB_WTCDEK_ERROR_RESPONSEHANDLER_ERROR_400 = "WT Cdek library %s Ошибка: %s" | ||
PKG_LIB_WTCDEK_ERROR_RESPONSEHANDLER_ERROR_500 = "Сервер CDEK отвечает кодом ошибки 500. Ответ API CDEK: %s" | ||
|
||
PKG_LIB_WTCDEK_ERROR_AUTHORIZE_NO_TOKEN = "Ответ API CDEK не содержит токен" | ||
PKG_LIB_WTCDEK_ERROR_AUTHORIZE = "Ошибка авторизации в CDEK API" | ||
|
||
PKG_LIB_WTCDEK_ERROR_GETCALCULATORTARIFF_NO_TARIFF_CODE = "Cdek::getCalculatorTariff. Не указан код тарифа CDEK. Укажите его, пожалуйста." | ||
PKG_LIB_WTCDEK_ERROR_GETCALCULATORTARIFF_FROM_LOCATION = "Cdek::getCalculatorTariff. Не указано поле from_location в запросе. Укажите его, пожалуйста." | ||
PKG_LIB_WTCDEK_ERROR_GETCALCULATORTARIFF_TO_LOCATION = "Cdek::getCalculatorTariff. Не указано поле to_location в запросе. Укажите его, пожалуйста." | ||
PKG_LIB_WTCDEK_ERROR_GETCALCULATORTARIFF_NO_PACKAGES = "Cdek::getCalculatorTarifflist. Не указано поле packages в массиве параметров запроса. Укажите его, пожалуйста." | ||
PKG_LIB_WTCDEK_ERROR_GETCALCULATORTARIFF_NO_PACKAGES_WEIGHT = "Cdek::getCalculatorTariff. Не указан вес в одном из элементов массива packages в массиве параметров запроса. Укажите его, пожалуйста." |
Oops, something went wrong.