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

Убрать предупреждения по локализации #238

Closed
prt0117 opened this issue Jul 30, 2024 · 0 comments · Fixed by #248
Closed

Убрать предупреждения по локализации #238

prt0117 opened this issue Jul 30, 2024 · 0 comments · Fixed by #248
Assignees
Labels
invalid This doesn't seem right

Comments

@prt0117
Copy link
Contributor

prt0117 commented Jul 30, 2024

Сейчас при выполнении команды

node_modules/.bin/ng extract-i18n --out-file ./src/locale/messages.en.xlf

выводятся вот такие предупреждения:

WARNINGS:
 - Duplicate messages with id "CONTROL.SAVE":
   - "Сохранить" : src/app/schemes/detail/detail.component.html:56
   - "Сохранить" : src/app/scheme/param/param.component.html:8
   - "Сохранить" : src/app/scheme/param-item/param-item.component.html:73
   - "Сохранить" : src/app/scheme/status-manage-dialog/status-manage-dialog.component.html:52
   - "Сохранить" : src/app/scheme/elements/manage/section-detail-dialog/section-detail-dialog.component.html:16
   - "Cохранить" : src/app/scheme/elements/manage/device-item-group-detail-dialog/device-item-group-detail-dialog.component.html:19
   - "Сохранить" : src/app/scheme/elements/manage/device-item-detail-dialog/device-item-detail-dialog.component.html:45
   - "Cохранить" : src/app/scheme/elements/manage/device-detail-dialog/device-detail-dialog.component.html:28
   - "Сохранить" : src/app/scheme/elements/manage/device-item-type-detail-dialog/device-item-type-detail-dialog.component.html:49
   - "Сохранить" : src/app/scheme/elements/manage/device-item-group-type-detail-dialog/device-item-group-type-detail-dialog.component.html:16
   - "Сохранить" : src/app/scheme/elements/manage/sign-type-detail-dialog/sign-type-detail-dialog.component.html:8
   - "Сохранить" : src/app/scheme/elements/manage/plugin-detail-dialog/plugin-detail-dialog.component.html:8
   - "Сохранить " : src/app/scheme/reports/charts/chart-filter/chart-filter.component.html:152,153
   - "Сохранить" : src/app/scheme/settings/confirm-unsaved-changes-dialog/confirm-unsaved-changes-dialog.component.html:4
 - Duplicate messages with id "CONTROL.EDIT":
   - "Изменить" : src/app/scheme-groups/create-new-scheme-group/create-new-scheme-group.component.html:10
   - "Изменить" : src/app/scheme/reports/charts/chart-filter/chart-filter.component.html:139
   - "Изменить " : src/app/scheme/reports/charts/chart-filter/chart-filter.component.html:150,151
 - Duplicate messages with id "DEVICE_ITEM.LOADING":
   - "Загрузка" : src/app/scheme/dev-item-value/dev-item-value.component.html:13
   - "Установку значения нельзя отменить. Вы уверены что хотите сделать это?" : src/app/scheme/dev-item-value/holding-register-dialog.component.html:3
 - Duplicate messages with id "PARAMS.TITLE":
   - "Параметры" : src/app/scheme/param/param.component.html:2
   - "Уставки" : src/app/scheme/device-item-group/params-dialog/params-dialog.component.html:2
 - Duplicate messages with id "REPORTS.EXPORT.SELECT_SCHEME":
   - "Выберите проект" : src/app/scheme/reports/export/export.component.html:5
   - "Проекты" : src/app/scheme/reports/export/export.component.html:8
 - Duplicate messages with id "SETTINGS.ITEM.SIGNTYPES":
   - "Единицы измерения" : src/app/scheme/settings/settings.component.html:7
   - "Еденицы измерения" : src/app/scheme/settings/group-types/item-types.component.html:42
 - Duplicate messages with id "SETTINGS.TYPE":
   - "Тип" : src/app/scheme/settings/devices/deviceitems.component.html:43
   - "Категория" : src/app/scheme/settings/group-types/statuses.component.html:31

Необходимо их убрать.

@prt0117 prt0117 added the invalid This doesn't seem right label Jul 30, 2024
@prt0117 prt0117 added this to the Разработка milestone Jul 30, 2024
@prt0117 prt0117 self-assigned this Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant