-
Notifications
You must be signed in to change notification settings - Fork 120
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
ISSUE #150 Changed path for translator in app #510
ISSUE #150 Changed path for translator in app #510
Conversation
Посмотрите, пожалуйста, почему тесты упали. |
@VictoryPashkova надо тесты починить, чтобы мержить можно было |
Починю тесты, да |
@VictoryPashkova опять тесты падают и новые конфликты появились |
@HelenOne 2/3 я нашла и поправила, помоги пожалуйста с тестом Unable authorization by invalid password. Судя по выводу он не может перейти на какую то страницу если что-то не так с паролем await page.waitForURL( |
@VictoryPashkova сначала лучше конфликты решить. Там произошли изменения в Footer.jsx |
…т шрифт после 1024px
@HelenOne все работает, конфликты разрешила, тесты прошли |
@VictoryPashkova можете пожалуйста убрать строчку ниже, так как линтер выбрасывает предупреждение. Я просто увидел, что вы вносили изменение в файл в этом пулл реквесте.
|
Изменила путь до переводчика в компонентах с помощью keyPrefix
Пр. для постоянных ключей:
const { t: tF } = useTranslation('translation', { keyPrefix: 'footer' }); {tF('about')}
Для динамически вычисляемых ключей сохраняется подход: