Skip to content
This repository has been archived by the owner on Mar 25, 2023. It is now read-only.

Commit

Permalink
fix(resource-limits-plugin): remove billing hook translations (#1602)
Browse files Browse the repository at this point in the history
  • Loading branch information
dron8552 committed Feb 28, 2019
1 parent 4aeec41 commit 398480f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 8 deletions.
4 changes: 0 additions & 4 deletions src/app/shared/services/error.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@ export class ErrorService {
regex: /billingid must be specified in accountdetails/,
translation: 'ERRORS.RESOURCE_QUOTAS.NO_BILLING_ID',
},
{
regex: /Запрошенные ресурсы RAM: (\d+) GB, Первичное хранилище: (\d+) GB, Дополнительное хранилище: (\d+) GB не могут быть предоставлены\. Для автоматического выделения требуется чтобы баланс счета был не менее чем (\d+\.?\d*) Руб\., сейчас - (\d+\.?\d*) Руб\./i,
translation: 'ERRORS.RESOURCE_QUOTAS.RESOURCES_CAN_NOT_BE_PROVIDED',
},
{
regex: /Unable to detach volume, please specify a VM that does not have VM snapshots/,
translation: 'ERRORS.VOLUME.VOLUME_DETACH_UNAVAILABLE',
Expand Down
3 changes: 1 addition & 2 deletions src/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,7 @@
"FAILED_UPDATE": "You can not resource limit",
"MAX_MUST_BE_GREATER": "Maximum must be greater than or equal to minimum",
"MAX_MUST_BE_BETWEEN": "Maximum must be between {{ val1 }} and {{ val2 }}",
"NO_BILLING_ID": "Billing Id doesn't specified for user",
"RESOURCES_CAN_NOT_BE_PROVIDED": "The requested resources RAM: {{ val1 }} GB, Primary Storage: {{ val2 }} GB, Secondary Storage: {{ val3 }} GB cannot be provided. Automatic allocation requires that the account balance is not less than {{ val4 }} Rub., current balance is {{ val5 }} Rub."
"NO_BILLING_ID": "Billing Id doesn't specified for user"
}
},
"NOTIFICATIONS": {
Expand Down
3 changes: 1 addition & 2 deletions src/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@
"FAILED_UPDATE": "You can not resource limit",
"MAX_MUST_BE_GREATER": "Максимальное значение должно быть больше или равно минимальному",
"MAX_MUST_BE_BETWEEN": "Максимальное значение должно быть между {{ val1 }} и {{ val2 }}",
"NO_BILLING_ID": "Billing Id не задано для пользователя",
"RESOURCES_CAN_NOT_BE_PROVIDED": "Запрошенные ресурсы ОЗУ: {{ val1 }} ГБ, Основное хранилище: {{ val2 }} ГБ, Дополнительное хранилище: {{ val3 }} GB не могут быть предоставлены. Для автоматического выделения требуется чтобы баланс счета был не менее чем {{ val4 }} Руб., сейчас {{ val5 }} Руб."
"NO_BILLING_ID": "Billing Id не задано для пользователя"
}
},
"NOTIFICATIONS": {
Expand Down

0 comments on commit 398480f

Please sign in to comment.