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

[Feat] @prizm-ui/components - Добавить возможность локализация текста подсказок в директиве prizmInputStatusText. #1354

Closed
1 of 9 tasks
NikoStV opened this issue Feb 8, 2024 · 2 comments · Fixed by #1402
Assignees
Labels
source:idp issue from IDP state:ready ready for release (pass tested) type:feature
Milestone

Comments

@NikoStV
Copy link

NikoStV commented Feb 8, 2024

Библиотека

Выберите нужное отметив галочку [x]

  • @prizm-ui/core
  • @prizm-ui/components
  • @prizm-ui/install
  • @prizm-ui/icons
  • @prizm-ui/flag-icons
  • @prizm-ui/theme
  • @prizm-ui/charts
  • @prizm-ui/ast
  • @prizm-ui/nx-plugin

Компонент

@directive prizmInputStatusText

Версия

@prizm-ui/components 1.15.0

Скрин / Видео проблемы

image

Описание проблемы

Отсутствует локализация текста подсказок в директиве prizmInputStatusText.

@NikoStV NikoStV changed the title [BUG] @prizm-ui/components - Краткое описание проблемы [BUG] @prizm-ui/components - Отсутствует локализация текста подсказок в директиве prizmInputStatusText. Feb 8, 2024
@ickisIckis ickisIckis added known_bug type:bug Something isn't working labels Feb 8, 2024
@ickisIckis
Copy link
Collaborator

ickisIckis commented Feb 8, 2024

Добрый день, такая задача сейчас есть как раз в работе. Скорее всего, будет в версии 4.0

Чтобы не ждать фикса, пока можно воспользоваться кастомными текстами для локализации:

<prizm-input-layout>
    ...
  <ng-template prizmInputStatusText>Текст статуса</ng-template> 
</prizm-input-layout >

Или запровайдить свои тексты вместо PrizmInputValidationTexts, как в примере

https://prizm.site/components/input#validation-custom-example

@NikoStV
Copy link
Author

NikoStV commented Feb 8, 2024

Спасибо! Сейчас так и используем.

@ZurabDev ZurabDev added this to the 3.11.1 milestone Feb 12, 2024
@ZurabDev ZurabDev self-assigned this Feb 12, 2024
@bumalai bumalai added the source:idp issue from IDP label Feb 20, 2024
@ZurabDev ZurabDev modified the milestones: 3.11.1, 4.0.0 Feb 28, 2024
@ZurabDev ZurabDev added the state:ready ready for release (pass tested) label Feb 28, 2024
@ZurabDev ZurabDev changed the title [BUG] @prizm-ui/components - Отсутствует локализация текста подсказок в директиве prizmInputStatusText. [Feat] @prizm-ui/components - Добавить возможность локализация текста подсказок в директиве prizmInputStatusText. Feb 28, 2024
@ZurabDev ZurabDev added type:feature and removed type:bug Something isn't working known_bug labels Feb 28, 2024
ZurabDev added a commit that referenced this issue Mar 5, 2024
feat: i18n support for base input text of validation #1354
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
source:idp issue from IDP state:ready ready for release (pass tested) type:feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants