Files
ridebus-website/modules/home/changesCard/locales.ts
Zakhar Timoshenko 142ec97959 feat: add Open Graph image generation and SEO metadata
- Introduced `PageSeo` component for managing page metadata for social sharing.
- Created Open Graph image templates using SVG and static fonts for better visual representation.
- Implemented service alert management with functions to check active alerts and format route numbers.
- Added utility functions for generating and watching alert validity.
- Developed a script to generate Open Graph images dynamically based on page content.
- Included tests for service alert functionalities to ensure correctness and reliability.
2026-10-05 13:02:06 +03:00

65 lines
2.8 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { LocalesMap } from '@/utils/useLocale';
export const locales: LocalesMap = {
ru: {
title: 'Что изменилось в движении',
description:
'Изменения маршрутов, задержки и другие сообщения — перед поездкой загляните сюда.',
city: 'Город',
selectCity: 'Выберите город',
searchCity: 'Найти город',
noResults: 'Ничего не найдено. Попробуйте другое название.',
loadingCities: 'Загружаем города…',
loading: 'Загружаем сообщения…',
unavailable: 'Не удалось загрузить сообщения. Попробуйте ещё раз.',
noCities: 'Список городов пока недоступен.',
emptyTitle: 'Активных сообщений нет',
emptyDescription:
'Для этого города пока нет сообщений об изменениях. Перед поездкой можно проверить ближайшие отправления на этой странице.',
note: 'Здесь собраны действующие сообщения для выбранного города.',
retry: 'Попробовать ещё раз',
delay: 'Задержка',
cancellation: 'Отмена',
detour: 'Объезд',
info: 'Информация',
route: 'Маршрут',
routes: 'Маршруты',
citywide: 'Весь город',
published: 'Опубликовано',
until: 'Действует до',
updated: 'Обновлено',
showAll: 'Показать все сообщения',
showLess: 'Свернуть список',
},
en: {
title: 'What has changed on the road',
description:
'Route changes, delays and other notices. Check here before your journey.',
city: 'City',
selectCity: 'Choose a city',
searchCity: 'Find a city',
noResults: 'No matches. Try another name.',
loadingCities: 'Loading cities…',
loading: 'Loading notices…',
unavailable: 'Notices could not be loaded. Please try again.',
noCities: 'The city list is not available yet.',
emptyTitle: 'No active notices',
emptyDescription:
'There are no notices about changes for this city at the moment. You can check the next departures on this page before your journey.',
note: 'Current notices for your selected city appear here.',
retry: 'Try again',
delay: 'Delay',
cancellation: 'Cancellation',
detour: 'Detour',
info: 'Information',
route: 'Route',
routes: 'Routes',
citywide: 'Citywide',
published: 'Published',
until: 'Valid until',
updated: 'Updated',
showAll: 'Show all notices',
showLess: 'Show fewer notices',
},
};