mirror of
https://github.com/nostrlabs-io/zap-stream-flutter.git
synced 2025-06-16 11:58:50 +00:00
417 lines
16 KiB
Dart
417 lines
16 KiB
Dart
///
|
|
/// Generated file. Do not edit.
|
|
///
|
|
// coverage:ignore-file
|
|
// ignore_for_file: type=lint, unused_import
|
|
|
|
import 'package:flutter/gestures.dart';
|
|
import 'package:flutter/widgets.dart';
|
|
import 'package:intl/intl.dart';
|
|
import 'package:slang/generated.dart';
|
|
import 'strings.g.dart';
|
|
|
|
// Path: <root>
|
|
class TranslationsEs implements Translations {
|
|
/// You can call this constructor and build your own translation instance of this locale.
|
|
/// Constructing via the enum [AppLocale.build] is preferred.
|
|
TranslationsEs({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.es,
|
|
overrides: overrides ?? {},
|
|
cardinalResolver: cardinalResolver,
|
|
ordinalResolver: ordinalResolver,
|
|
) {
|
|
$meta.setFlatMapFunction(_flatMapFunction);
|
|
}
|
|
|
|
/// Metadata for the translations of <es>.
|
|
@override final TranslationMetadata<AppLocale, Translations> $meta;
|
|
|
|
/// Access flat map
|
|
@override dynamic operator[](String key) => $meta.getTranslation(key);
|
|
|
|
late final TranslationsEs _root = this; // ignore: unused_field
|
|
|
|
@override
|
|
TranslationsEs $copyWith({TranslationMetadata<AppLocale, Translations>? meta}) => TranslationsEs(meta: meta ?? this.$meta);
|
|
|
|
// Translations
|
|
|
|
/// Texto que indica al usuario que pulse el marcador de avatar para iniciar la carga
|
|
@override String get upload_avatar => 'Subir avatar';
|
|
|
|
/// Encabezando streamers superiores listados por zaps
|
|
@override String get most_zapped_streamers => 'Serpentinas más derribadas';
|
|
|
|
/// No se ha encontrado ningún usuario al realizar la búsqueda
|
|
@override String get no_user_found => 'No se ha encontrado ningún usuario';
|
|
|
|
/// Un usuario anónimo
|
|
@override String get anon => 'Anónimo';
|
|
|
|
/// Número de espectadores del flujo
|
|
@override String viewers({required num n}) => (_root.$meta.cardinalResolver ?? PluralResolvers.cardinal('es'))(n,
|
|
one: '1 espectador',
|
|
other: '${n} espectadores',
|
|
);
|
|
|
|
@override late final _TranslationsStreamEs stream = _TranslationsStreamEs._(_root);
|
|
@override late final _TranslationsGoalEs goal = _TranslationsGoalEs._(_root);
|
|
@override late final _TranslationsButtonEs button = _TranslationsButtonEs._(_root);
|
|
@override late final _TranslationsEmbedEs embed = _TranslationsEmbedEs._(_root);
|
|
|
|
/// Encabezamientos en las listas de flujos por tipo de flujo en directo/finalizado/planificado, etc.
|
|
@override late final _TranslationsStreamListEs stream_list = _TranslationsStreamListEs._(_root);
|
|
|
|
@override late final _TranslationsZapEs zap = _TranslationsZapEs._(_root);
|
|
@override late final _TranslationsProfileEs profile = _TranslationsProfileEs._(_root);
|
|
@override late final _TranslationsLoginEs login = _TranslationsLoginEs._(_root);
|
|
}
|
|
|
|
// Path: stream
|
|
class _TranslationsStreamEs implements TranslationsStreamEn {
|
|
_TranslationsStreamEs._(this._root);
|
|
|
|
final TranslationsEs _root; // ignore: unused_field
|
|
|
|
// Translations
|
|
@override late final _TranslationsStreamStatusEs status = _TranslationsStreamStatusEs._(_root);
|
|
@override String started({ required Object timestamp}) => 'Comenzó ${timestamp}';
|
|
@override late final _TranslationsStreamChatEs chat = _TranslationsStreamChatEs._(_root);
|
|
}
|
|
|
|
// Path: goal
|
|
class _TranslationsGoalEs implements TranslationsGoalEn {
|
|
_TranslationsGoalEs._(this._root);
|
|
|
|
final TranslationsEs _root; // ignore: unused_field
|
|
|
|
// Translations
|
|
@override String title({ required Object amount}) => 'Objetivo: ${amount}';
|
|
@override String remaining({ required Object amount}) => 'Resto: ${amount}';
|
|
@override String get complete => 'COMPLETAR';
|
|
}
|
|
|
|
// Path: button
|
|
class _TranslationsButtonEs implements TranslationsButtonEn {
|
|
_TranslationsButtonEs._(this._root);
|
|
|
|
final TranslationsEs _root; // ignore: unused_field
|
|
|
|
// Translations
|
|
|
|
/// Texto del botón de inicio de sesión
|
|
@override String get login => 'Iniciar Sesión';
|
|
|
|
@override String get logout => 'Cerrar sesión';
|
|
@override String get edit_profile => 'Editar Perfil';
|
|
|
|
/// Texto del botón de seguimiento
|
|
@override String get follow => 'Seguir';
|
|
|
|
/// Texto del botón "Dejar de seguir
|
|
@override String get unfollow => 'Dejar de seguir';
|
|
|
|
@override String get mute => 'Silenciar';
|
|
@override String get unmute => 'Dejar de silenciar';
|
|
@override String get share => 'Compartir';
|
|
@override String get save => 'Guardar';
|
|
}
|
|
|
|
// Path: embed
|
|
class _TranslationsEmbedEs implements TranslationsEmbedEn {
|
|
_TranslationsEmbedEs._(this._root);
|
|
|
|
final TranslationsEs _root; // ignore: unused_field
|
|
|
|
// Translations
|
|
@override String article_by({ required Object name}) => 'Artículo de ${name}';
|
|
@override String note_by({ required Object name}) => 'Nota de ${name}';
|
|
@override String live_stream_by({ required Object name}) => 'Transmisión en directo por ${name}';
|
|
}
|
|
|
|
// Path: stream_list
|
|
class _TranslationsStreamListEs implements TranslationsStreamListEn {
|
|
_TranslationsStreamListEs._(this._root);
|
|
|
|
final TranslationsEs _root; // ignore: unused_field
|
|
|
|
// Translations
|
|
@override String get following => 'Siguiendo';
|
|
@override String get live => 'En directo';
|
|
@override String get planned => 'Planificado';
|
|
@override String get ended => 'Finalizado';
|
|
}
|
|
|
|
// Path: zap
|
|
class _TranslationsZapEs implements TranslationsZapEn {
|
|
_TranslationsZapEs._(this._root);
|
|
|
|
final TranslationsEs _root; // ignore: unused_field
|
|
|
|
// Translations
|
|
@override String title({ required Object name}) => 'Zap ${name}';
|
|
@override String get custom_amount => 'Importe personalizado';
|
|
@override String get confirm => 'Confirmar';
|
|
@override String get comment => 'Comentario';
|
|
@override String button_zap_ready({ required Object amount}) => 'Zapear ${amount} sats';
|
|
@override String get button_zap => 'Zap';
|
|
@override String get button_open_wallet => 'Abrir en cartera';
|
|
@override String get copy => 'Copiado al portapapeles';
|
|
@override late final _TranslationsZapErrorEs error = _TranslationsZapErrorEs._(_root);
|
|
}
|
|
|
|
// Path: profile
|
|
class _TranslationsProfileEs implements TranslationsProfileEn {
|
|
_TranslationsProfileEs._(this._root);
|
|
|
|
final TranslationsEs _root; // ignore: unused_field
|
|
|
|
// Translations
|
|
@override String get past_streams => 'Transmisiones anteriores';
|
|
@override late final _TranslationsProfileEditEs edit = _TranslationsProfileEditEs._(_root);
|
|
}
|
|
|
|
// Path: login
|
|
class _TranslationsLoginEs implements TranslationsLoginEn {
|
|
_TranslationsLoginEs._(this._root);
|
|
|
|
final TranslationsEs _root; // ignore: unused_field
|
|
|
|
// Translations
|
|
@override String get username => 'Usuario';
|
|
@override String get amber => 'Iniciar sesión con Amber';
|
|
@override String get key => 'Inicio de sesión con clave';
|
|
@override String get create => 'Crear una cuenta';
|
|
@override late final _TranslationsLoginErrorEs error = _TranslationsLoginErrorEs._(_root);
|
|
}
|
|
|
|
// Path: stream.status
|
|
class _TranslationsStreamStatusEs implements TranslationsStreamStatusEn {
|
|
_TranslationsStreamStatusEs._(this._root);
|
|
|
|
final TranslationsEs _root; // ignore: unused_field
|
|
|
|
// Translations
|
|
@override String get live => 'EN VIVO';
|
|
@override String get ended => 'FIN';
|
|
@override String get planned => 'PLANIFICADO';
|
|
}
|
|
|
|
// Path: stream.chat
|
|
class _TranslationsStreamChatEs implements TranslationsStreamChatEn {
|
|
_TranslationsStreamChatEs._(this._root);
|
|
|
|
final TranslationsEs _root; // ignore: unused_field
|
|
|
|
// Translations
|
|
@override String get disabled => 'CHAT DESHABILITADO';
|
|
@override String disabled_timeout({ required Object time}) => 'El tiempo de espera expira: ${time}';
|
|
|
|
/// Mensaje de chat que muestra los eventos de tiempo de espera
|
|
@override TextSpan timeout({ required InlineSpan mod, required InlineSpan user, required InlineSpan time, TextStyle? style, GestureRecognizer? recognizer}) => TextSpan(children: [
|
|
mod,
|
|
const TextSpan(text: ' timed out '),
|
|
user,
|
|
const TextSpan(text: ' para '),
|
|
time,
|
|
], style: style, recognizer: recognizer);
|
|
|
|
/// Stream finalizó en la parte inferior del chat
|
|
@override String get ended => 'STREAM FINED';
|
|
|
|
/// Mensaje de chat que muestra zaps de flujo
|
|
@override TextSpan zap({ required InlineSpan user, required InlineSpan amount, TextStyle? style, GestureRecognizer? recognizer}) => TextSpan(children: [
|
|
user,
|
|
const TextSpan(text: ' zapearon '),
|
|
amount,
|
|
const TextSpan(text: ' sats'),
|
|
], style: style, recognizer: recognizer);
|
|
|
|
@override late final _TranslationsStreamChatWriteEs write = _TranslationsStreamChatWriteEs._(_root);
|
|
@override late final _TranslationsStreamChatBadgeEs badge = _TranslationsStreamChatBadgeEs._(_root);
|
|
@override late final _TranslationsStreamChatRaidEs raid = _TranslationsStreamChatRaidEs._(_root);
|
|
}
|
|
|
|
// Path: zap.error
|
|
class _TranslationsZapErrorEs implements TranslationsZapErrorEn {
|
|
_TranslationsZapErrorEs._(this._root);
|
|
|
|
final TranslationsEs _root; // ignore: unused_field
|
|
|
|
// Translations
|
|
@override String get invalid_custom_amount => 'Importe personalizado no válido';
|
|
@override String get no_wallet => 'Sin monedero relámpago instalado';
|
|
@override String get no_lud16 => 'No se ha encontrado ninguna dirección de rayos';
|
|
}
|
|
|
|
// Path: profile.edit
|
|
class _TranslationsProfileEditEs implements TranslationsProfileEditEn {
|
|
_TranslationsProfileEditEs._(this._root);
|
|
|
|
final TranslationsEs _root; // ignore: unused_field
|
|
|
|
// Translations
|
|
@override String get display_name => 'Mostrar nombre';
|
|
@override String get about => 'Sobre ti';
|
|
@override String get nip05 => 'Dirección Nostr';
|
|
@override String get lud16 => 'Dirección del rayo';
|
|
@override late final _TranslationsProfileEditErrorEs error = _TranslationsProfileEditErrorEs._(_root);
|
|
}
|
|
|
|
// Path: login.error
|
|
class _TranslationsLoginErrorEs implements TranslationsLoginErrorEn {
|
|
_TranslationsLoginErrorEs._(this._root);
|
|
|
|
final TranslationsEs _root; // ignore: unused_field
|
|
|
|
// Translations
|
|
@override String get invalid_key => 'Clave no válida';
|
|
}
|
|
|
|
// Path: stream.chat.write
|
|
class _TranslationsStreamChatWriteEs implements TranslationsStreamChatWriteEn {
|
|
_TranslationsStreamChatWriteEs._(this._root);
|
|
|
|
final TranslationsEs _root; // ignore: unused_field
|
|
|
|
// Translations
|
|
|
|
/// Etiqueta del cuadro de entrada de mensajes de chat
|
|
@override String get label => 'Escribir mensaje';
|
|
|
|
/// Mensaje de entrada en el chat que se muestra cuando el usuario está conectado sólo con pubkey
|
|
@override String get no_signer => 'No se pueden escribir mensajes con el login npub';
|
|
|
|
/// Mensaje de entrada al chat que se muestra cuando el usuario cierra la sesión
|
|
@override String get login => 'Inicie sesión para enviar mensajes';
|
|
}
|
|
|
|
// Path: stream.chat.badge
|
|
class _TranslationsStreamChatBadgeEs implements TranslationsStreamChatBadgeEn {
|
|
_TranslationsStreamChatBadgeEs._(this._root);
|
|
|
|
final TranslationsEs _root; // ignore: unused_field
|
|
|
|
// Translations
|
|
|
|
/// Encabezamiento de la lista de usuarios a los que se ha concedido una insignia
|
|
@override String get awarded_to => 'Concedido a:';
|
|
}
|
|
|
|
// Path: stream.chat.raid
|
|
class _TranslationsStreamChatRaidEs implements TranslationsStreamChatRaidEn {
|
|
_TranslationsStreamChatRaidEs._(this._root);
|
|
|
|
final TranslationsEs _root; // ignore: unused_field
|
|
|
|
// Translations
|
|
|
|
/// Mensaje de raid de chat a otro flujo
|
|
@override String to({ required Object name}) => 'RAIDING ${name}';
|
|
|
|
/// Mensaje de incursión en el chat desde otro flujo
|
|
@override String from({ required Object name}) => 'RAID DESDE ${name}';
|
|
|
|
/// Temporizador de cuenta atrás para auto-raiding
|
|
@override String countdown({ required Object time}) => 'Incursiones en ${time}';
|
|
}
|
|
|
|
// Path: profile.edit.error
|
|
class _TranslationsProfileEditErrorEs implements TranslationsProfileEditErrorEn {
|
|
_TranslationsProfileEditErrorEs._(this._root);
|
|
|
|
final TranslationsEs _root; // ignore: unused_field
|
|
|
|
// Translations
|
|
@override String get logged_out => 'No se puede editar el perfil cuando se cierra la sesión';
|
|
}
|
|
|
|
/// Flat map(s) containing all translations.
|
|
/// Only for edge cases! For simple maps, use the map function of this library.
|
|
extension on TranslationsEs {
|
|
dynamic _flatMapFunction(String path) {
|
|
switch (path) {
|
|
case 'upload_avatar': return 'Subir avatar';
|
|
case 'most_zapped_streamers': return 'Serpentinas más derribadas';
|
|
case 'no_user_found': return 'No se ha encontrado ningún usuario';
|
|
case 'anon': return 'Anónimo';
|
|
case 'viewers': return ({required num n}) => (_root.$meta.cardinalResolver ?? PluralResolvers.cardinal('es'))(n,
|
|
one: '1 espectador',
|
|
other: '${n} espectadores',
|
|
);
|
|
case 'stream.status.live': return 'EN VIVO';
|
|
case 'stream.status.ended': return 'FIN';
|
|
case 'stream.status.planned': return 'PLANIFICADO';
|
|
case 'stream.started': return ({ required Object timestamp}) => 'Comenzó ${timestamp}';
|
|
case 'stream.chat.disabled': return 'CHAT DESHABILITADO';
|
|
case 'stream.chat.disabled_timeout': return ({ required Object time}) => 'El tiempo de espera expira: ${time}';
|
|
case 'stream.chat.timeout': return ({ required InlineSpan mod, required InlineSpan user, required InlineSpan time, TextStyle? style, GestureRecognizer? recognizer}) => TextSpan(children: [
|
|
mod,
|
|
const TextSpan(text: ' timed out '),
|
|
user,
|
|
const TextSpan(text: ' para '),
|
|
time,
|
|
], style: style, recognizer: recognizer);
|
|
case 'stream.chat.ended': return 'STREAM FINED';
|
|
case 'stream.chat.zap': return ({ required InlineSpan user, required InlineSpan amount, TextStyle? style, GestureRecognizer? recognizer}) => TextSpan(children: [
|
|
user,
|
|
const TextSpan(text: ' zapearon '),
|
|
amount,
|
|
const TextSpan(text: ' sats'),
|
|
], style: style, recognizer: recognizer);
|
|
case 'stream.chat.write.label': return 'Escribir mensaje';
|
|
case 'stream.chat.write.no_signer': return 'No se pueden escribir mensajes con el login npub';
|
|
case 'stream.chat.write.login': return 'Inicie sesión para enviar mensajes';
|
|
case 'stream.chat.badge.awarded_to': return 'Concedido a:';
|
|
case 'stream.chat.raid.to': return ({ required Object name}) => 'RAIDING ${name}';
|
|
case 'stream.chat.raid.from': return ({ required Object name}) => 'RAID DESDE ${name}';
|
|
case 'stream.chat.raid.countdown': return ({ required Object time}) => 'Incursiones en ${time}';
|
|
case 'goal.title': return ({ required Object amount}) => 'Objetivo: ${amount}';
|
|
case 'goal.remaining': return ({ required Object amount}) => 'Resto: ${amount}';
|
|
case 'goal.complete': return 'COMPLETAR';
|
|
case 'button.login': return 'Iniciar Sesión';
|
|
case 'button.logout': return 'Cerrar sesión';
|
|
case 'button.edit_profile': return 'Editar Perfil';
|
|
case 'button.follow': return 'Seguir';
|
|
case 'button.unfollow': return 'Dejar de seguir';
|
|
case 'button.mute': return 'Silenciar';
|
|
case 'button.unmute': return 'Dejar de silenciar';
|
|
case 'button.share': return 'Compartir';
|
|
case 'button.save': return 'Guardar';
|
|
case 'embed.article_by': return ({ required Object name}) => 'Artículo de ${name}';
|
|
case 'embed.note_by': return ({ required Object name}) => 'Nota de ${name}';
|
|
case 'embed.live_stream_by': return ({ required Object name}) => 'Transmisión en directo por ${name}';
|
|
case 'stream_list.following': return 'Siguiendo';
|
|
case 'stream_list.live': return 'En directo';
|
|
case 'stream_list.planned': return 'Planificado';
|
|
case 'stream_list.ended': return 'Finalizado';
|
|
case 'zap.title': return ({ required Object name}) => 'Zap ${name}';
|
|
case 'zap.custom_amount': return 'Importe personalizado';
|
|
case 'zap.confirm': return 'Confirmar';
|
|
case 'zap.comment': return 'Comentario';
|
|
case 'zap.button_zap_ready': return ({ required Object amount}) => 'Zapear ${amount} sats';
|
|
case 'zap.button_zap': return 'Zap';
|
|
case 'zap.button_open_wallet': return 'Abrir en cartera';
|
|
case 'zap.copy': return 'Copiado al portapapeles';
|
|
case 'zap.error.invalid_custom_amount': return 'Importe personalizado no válido';
|
|
case 'zap.error.no_wallet': return 'Sin monedero relámpago instalado';
|
|
case 'zap.error.no_lud16': return 'No se ha encontrado ninguna dirección de rayos';
|
|
case 'profile.past_streams': return 'Transmisiones anteriores';
|
|
case 'profile.edit.display_name': return 'Mostrar nombre';
|
|
case 'profile.edit.about': return 'Sobre ti';
|
|
case 'profile.edit.nip05': return 'Dirección Nostr';
|
|
case 'profile.edit.lud16': return 'Dirección del rayo';
|
|
case 'profile.edit.error.logged_out': return 'No se puede editar el perfil cuando se cierra la sesión';
|
|
case 'login.username': return 'Usuario';
|
|
case 'login.amber': return 'Iniciar sesión con Amber';
|
|
case 'login.key': return 'Inicio de sesión con clave';
|
|
case 'login.create': return 'Crear una cuenta';
|
|
case 'login.error.invalid_key': return 'Clave no válida';
|
|
default: return null;
|
|
}
|
|
}
|
|
}
|
|
|