improvements
This commit is contained in:
87
modules/home/faqCard/locales.tsx
Normal file
87
modules/home/faqCard/locales.tsx
Normal file
@@ -0,0 +1,87 @@
|
||||
import Link from 'next/link';
|
||||
import type { LocalesMap } from '@/utils/useLocale';
|
||||
|
||||
export const questionIds = [
|
||||
'accuracy',
|
||||
'cities',
|
||||
'empty',
|
||||
'free',
|
||||
'download',
|
||||
] as const;
|
||||
|
||||
export const locales: LocalesMap = {
|
||||
ru: {
|
||||
title: 'Частые вопросы',
|
||||
description: 'Немного о расписании, приложении и том, как помочь RideBus.',
|
||||
accuracyQuestion: 'Это точное время прибытия автобуса?',
|
||||
accuracyAnswer:
|
||||
'Ближайшие отправления на сайте рассчитаны по расписанию. Дорожная ситуация и задержки могут изменить фактическое время прибытия — учитывайте это, когда планируете поездку.',
|
||||
citiesQuestion: 'Что делать, если моего города нет?',
|
||||
citiesAnswer: (
|
||||
<>
|
||||
Помогите нам найти расписание и остановки вашего города. В разделе{' '}
|
||||
<Link href="/contribute">«Вклад»</Link> есть блок «Помогите добавить
|
||||
свой город» с подсказками, какие данные нужны и куда их отправить.
|
||||
</>
|
||||
),
|
||||
emptyQuestion: 'Почему на остановке нет отправлений?',
|
||||
emptyAnswer:
|
||||
'На выбранном направлении может не быть ближайших рейсов, а часть расписания ещё может отсутствовать. Проверьте другой чип направления или выберите соседнюю остановку. Если расписание не загружается, попробуйте ещё раз чуть позже.',
|
||||
freeQuestion: 'RideBus бесплатный?',
|
||||
freeAnswer:
|
||||
'Да, RideBus бесплатный и без рекламы. Это хобби-проект, которому можно помочь данными, идеями или участием в разработке.',
|
||||
downloadQuestion: 'Где скачать приложение?',
|
||||
downloadAnswer: (
|
||||
<>
|
||||
Приложение для Android доступно в{' '}
|
||||
<a
|
||||
href="https://play.google.com/store/apps/details?id=org.xtimms.ridebus"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Google Play
|
||||
</a>
|
||||
. Ближайшие отправления можно посмотреть прямо на этом сайте — выберите
|
||||
город, остановку и направление.
|
||||
</>
|
||||
),
|
||||
},
|
||||
en: {
|
||||
title: 'Frequently asked questions',
|
||||
description:
|
||||
'A little about the timetable, the app and how to help RideBus.',
|
||||
accuracyQuestion: 'Is this the exact bus arrival time?',
|
||||
accuracyAnswer:
|
||||
'Departures on this website are calculated from the timetable. Traffic and delays can change the actual arrival time, so allow for this when planning your journey.',
|
||||
citiesQuestion: 'What if my city is missing?',
|
||||
citiesAnswer: (
|
||||
<>
|
||||
Help us find your city’s timetable and stops. The{' '}
|
||||
<Link href="/contribute">Contribute</Link> page includes a “Help add
|
||||
your city” section explaining what information we need and where to send
|
||||
it.
|
||||
</>
|
||||
),
|
||||
emptyQuestion: 'Why are there no departures at my stop?',
|
||||
emptyAnswer:
|
||||
'There may be no upcoming services in the selected direction, or some timetable data may still be missing. Try another direction chip or a nearby stop. If the timetable does not load, try again a little later.',
|
||||
freeQuestion: 'Is RideBus free?',
|
||||
freeAnswer:
|
||||
'Yes, RideBus is free and has no ads. It is a hobby project that you can support with data, ideas or contributions to development.',
|
||||
downloadQuestion: 'Where can I download the app?',
|
||||
downloadAnswer: (
|
||||
<>
|
||||
The Android app is available on{' '}
|
||||
<a
|
||||
href="https://play.google.com/store/apps/details?id=org.xtimms.ridebus"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
>
|
||||
Google Play
|
||||
</a>
|
||||
. You can also check upcoming departures here by choosing your city,
|
||||
stop and direction.
|
||||
</>
|
||||
),
|
||||
},
|
||||
};
|
||||
Reference in New Issue
Block a user