Files
Remever/lib/i18n/strings_ru.g.dart
2025-04-01 22:38:36 +03:00

124 lines
4.2 KiB
Dart

///
/// Generated file. Do not edit.
///
// coverage:ignore-file
// ignore_for_file: type=lint, unused_import
part of 'strings.g.dart';
// Path: <root>
typedef TranslationsRu = Translations; // ignore: unused_element
class Translations implements BaseTranslations<AppLocale, Translations> {
/// Returns the current translations of the given [context].
///
/// Usage:
/// final t = Translations.of(context);
static Translations of(BuildContext context) => InheritedLocaleData.of<AppLocale, Translations>(context).translations;
/// You can call this constructor and build your own translation instance of this locale.
/// Constructing via the enum [AppLocale.build] is preferred.
Translations({Map<String, Node>? overrides, PluralResolver? cardinalResolver, PluralResolver? ordinalResolver, TranslationMetadata<AppLocale, Translations>? meta})
: assert(overrides == null, 'Set "translation_overrides: true" in order to enable this feature.'),
$meta = meta ?? TranslationMetadata(
locale: AppLocale.ru,
overrides: overrides ?? {},
cardinalResolver: cardinalResolver,
ordinalResolver: ordinalResolver,
) {
$meta.setFlatMapFunction(_flatMapFunction);
}
/// Metadata for the translations of <ru>.
@override final TranslationMetadata<AppLocale, Translations> $meta;
/// Access flat map
dynamic operator[](String key) => $meta.getTranslation(key);
late final Translations _root = this; // ignore: unused_field
Translations $copyWith({TranslationMetadata<AppLocale, Translations>? meta}) => Translations(meta: meta ?? this.$meta);
// Translations
String get app_name => 'Tesmit';
late final TranslationsHomeScreenRu home_screen = TranslationsHomeScreenRu.internal(_root);
late final TranslationsSettingsScreenRu settings_screen = TranslationsSettingsScreenRu.internal(_root);
late final TranslationsAuthScreenRu auth_screen = TranslationsAuthScreenRu.internal(_root);
late final TranslationsGalScreenRu gal_screen = TranslationsGalScreenRu.internal(_root);
}
// Path: home_screen
class TranslationsHomeScreenRu {
TranslationsHomeScreenRu.internal(this._root);
final Translations _root; // ignore: unused_field
// Translations
String get title => 'Главная';
}
// Path: settings_screen
class TranslationsSettingsScreenRu {
TranslationsSettingsScreenRu.internal(this._root);
final Translations _root; // ignore: unused_field
// Translations
String get common => 'Общее';
String get title => 'Настройки';
String get lang => 'Язык';
String get lang_selection => 'Выбор языка';
late final TranslationsSettingsScreenThemeRu theme = TranslationsSettingsScreenThemeRu.internal(_root);
}
// Path: auth_screen
class TranslationsAuthScreenRu {
TranslationsAuthScreenRu.internal(this._root);
final Translations _root; // ignore: unused_field
// Translations
String get title => 'Авторизация';
}
// Path: gal_screen
class TranslationsGalScreenRu {
TranslationsGalScreenRu.internal(this._root);
final Translations _root; // ignore: unused_field
// Translations
String get title => 'Галерея Краснодар';
}
// Path: settings_screen.theme
class TranslationsSettingsScreenThemeRu {
TranslationsSettingsScreenThemeRu.internal(this._root);
final Translations _root; // ignore: unused_field
// Translations
String get dark_theme => 'Темная тема';
String get light_theme => 'Светлая тема';
}
/// Flat map(s) containing all translations.
/// Only for edge cases! For simple maps, use the map function of this library.
extension on Translations {
dynamic _flatMapFunction(String path) {
switch (path) {
case 'app_name': return 'Tesmit';
case 'home_screen.title': return 'Главная';
case 'settings_screen.common': return 'Общее';
case 'settings_screen.title': return 'Настройки';
case 'settings_screen.lang': return 'Язык';
case 'settings_screen.lang_selection': return 'Выбор языка';
case 'settings_screen.theme.dark_theme': return 'Темная тема';
case 'settings_screen.theme.light_theme': return 'Светлая тема';
case 'auth_screen.title': return 'Авторизация';
case 'gal_screen.title': return 'Галерея Краснодар';
default: return null;
}
}
}