localizationsRU top-level constant
RelativeDateLocalization
const localizationsRU
Russian localization
Implementation
const RelativeDateLocalization localizationsRU = RelativeDateLocalization(
languageCode: 'ru',
timeUnitsSingular: ['секунду', 'минуту', 'час', 'день', 'год'],
timeUnitsPlural: ['секунды', 'минуты', 'часа', 'дня', 'года'],
prepositionPast: 'назад',
prepositionFuture: 'через',
atTheMoment: 'Сейчас же',
formatOrderPast: [
FormatComponent.value,
FormatComponent.unit,
FormatComponent.preposition
],
formatOrderFuture: [
FormatComponent.preposition,
FormatComponent.value,
FormatComponent.unit,
],
);