feat(i18n): add localization foundation
This commit is contained in:
@@ -0,0 +1,120 @@
|
||||
// ignore: unused_import
|
||||
import 'package:intl/intl.dart' as intl;
|
||||
import 'app_localizations.dart';
|
||||
|
||||
// ignore_for_file: type=lint
|
||||
|
||||
/// The translations for Spanish Castilian (`es`).
|
||||
class AppLocalizationsEs extends AppLocalizations {
|
||||
AppLocalizationsEs([String locale = 'es']) : super(locale);
|
||||
|
||||
@override
|
||||
String get appTitle => 'PluriWave';
|
||||
|
||||
@override
|
||||
String get navHome => 'Inicio';
|
||||
|
||||
@override
|
||||
String get navSearch => 'Buscar';
|
||||
|
||||
@override
|
||||
String get navFavorites => 'Favoritos';
|
||||
|
||||
@override
|
||||
String get navAlarms => 'Alarmas';
|
||||
|
||||
@override
|
||||
String get navSettings => 'Ajustes';
|
||||
|
||||
@override
|
||||
String get actionOk => 'OK';
|
||||
|
||||
@override
|
||||
String get sleepTimer => 'Timer de sueño';
|
||||
|
||||
@override
|
||||
String get sleepTimerDescription =>
|
||||
'Apagado suave de la radio con cuenta atrás exacta.';
|
||||
|
||||
@override
|
||||
String get cancelTimer => 'Cancelar timer';
|
||||
|
||||
@override
|
||||
String get optionOther => 'Otro';
|
||||
|
||||
@override
|
||||
String get customDurationTitle => 'Duración personalizada';
|
||||
|
||||
@override
|
||||
String get durationGreaterThanZero => 'Elegí una duración mayor que cero.';
|
||||
|
||||
@override
|
||||
String get hoursLabel => 'Horas';
|
||||
|
||||
@override
|
||||
String get minutesLabel => 'Minutos';
|
||||
|
||||
@override
|
||||
String get secondsLabel => 'Segundos';
|
||||
|
||||
@override
|
||||
String get saveQuickAccess => 'Guardar como acceso rápido';
|
||||
|
||||
@override
|
||||
String get startTimer => 'Iniciar timer';
|
||||
|
||||
@override
|
||||
String skipCurrentAlarmExecution(Object alarmName) {
|
||||
return 'Omitida esta ejecución de $alarmName.';
|
||||
}
|
||||
|
||||
@override
|
||||
String get settingsTitle => 'Ajustes';
|
||||
|
||||
@override
|
||||
String get settingsSubtitle =>
|
||||
'Control fino de sonido, copias de seguridad y emisoras personalizadas.';
|
||||
|
||||
@override
|
||||
String get languageSectionTitle => 'Idioma';
|
||||
|
||||
@override
|
||||
String get languageSectionDescription =>
|
||||
'Elegí cómo se muestra el idioma de la app.';
|
||||
|
||||
@override
|
||||
String get languageSystemDefault => 'Sistema';
|
||||
|
||||
@override
|
||||
String get languageSpanish => 'Español';
|
||||
|
||||
@override
|
||||
String get languageEnglish => 'Inglés';
|
||||
|
||||
@override
|
||||
String languageUpdated(Object languageName) {
|
||||
return 'Idioma actualizado: $languageName';
|
||||
}
|
||||
|
||||
@override
|
||||
String get languageUpdatedSystem => 'Idioma actualizado: Sistema';
|
||||
|
||||
@override
|
||||
String get timerSectionTitle => 'Timer de sueño';
|
||||
|
||||
@override
|
||||
String get timerSectionAdd => 'Añadir';
|
||||
|
||||
@override
|
||||
String get timerSectionDescription =>
|
||||
'Personalizá los accesos rápidos que aparecen al apagar la radio automáticamente.';
|
||||
|
||||
@override
|
||||
String get timerSectionRestoreRecommended => 'Restaurar tiempos recomendados';
|
||||
|
||||
@override
|
||||
String get newQuickAccessTitle => 'Nuevo acceso rápido';
|
||||
|
||||
@override
|
||||
String get saveQuickAccessButton => 'Guardar acceso rápido';
|
||||
}
|
||||
Reference in New Issue
Block a user