Skip to content

Commit b15aca1

Browse files
authored
feat: auto scroll lyrics (#1374)
* feat: add reading lyrics from files * feat: auto scroll lyrics * padding
1 parent 14a6a0b commit b15aca1

24 files changed

+315
-64
lines changed

lib/l10n/app_en.arb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -756,5 +756,7 @@
756756
"type": "int"
757757
}
758758
}
759-
}
760-
}
759+
},
760+
"lyrics": "Lyrics",
761+
"autoScrolling": "Auto scroll"
762+
}

lib/l10n/app_localizations.dart

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4338,6 +4338,18 @@ abstract class AppLocalizations {
43384338
/// In en, this message translates to:
43394339
/// **'New episodes available for {length} podcasts'**
43404340
String newEpisodesAvailableFor(int length);
4341+
4342+
/// No description provided for @lyrics.
4343+
///
4344+
/// In en, this message translates to:
4345+
/// **'Lyrics'**
4346+
String get lyrics;
4347+
4348+
/// No description provided for @autoScrolling.
4349+
///
4350+
/// In en, this message translates to:
4351+
/// **'Auto scroll'**
4352+
String get autoScrolling;
43414353
}
43424354

43434355
class _AppLocalizationsDelegate

lib/l10n/app_localizations_cs.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2207,4 +2207,10 @@ class AppLocalizationsCs extends AppLocalizations {
22072207
String newEpisodesAvailableFor(int length) {
22082208
return 'New episodes available for $length podcasts';
22092209
}
2210+
2211+
@override
2212+
String get lyrics => 'Lyrics';
2213+
2214+
@override
2215+
String get autoScrolling => 'Auto scroll';
22102216
}

lib/l10n/app_localizations_da.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2209,4 +2209,10 @@ class AppLocalizationsDa extends AppLocalizations {
22092209
String newEpisodesAvailableFor(int length) {
22102210
return 'New episodes available for $length podcasts';
22112211
}
2212+
2213+
@override
2214+
String get lyrics => 'Lyrics';
2215+
2216+
@override
2217+
String get autoScrolling => 'Auto scroll';
22122218
}

lib/l10n/app_localizations_de.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2218,4 +2218,10 @@ class AppLocalizationsDe extends AppLocalizations {
22182218
String newEpisodesAvailableFor(int length) {
22192219
return 'Neue Folgen für $length Podcasts verfügbar';
22202220
}
2221+
2222+
@override
2223+
String get lyrics => 'Lyrics';
2224+
2225+
@override
2226+
String get autoScrolling => 'Auto scroll';
22212227
}

lib/l10n/app_localizations_en.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2205,4 +2205,10 @@ class AppLocalizationsEn extends AppLocalizations {
22052205
String newEpisodesAvailableFor(int length) {
22062206
return 'New episodes available for $length podcasts';
22072207
}
2208+
2209+
@override
2210+
String get lyrics => 'Lyrics';
2211+
2212+
@override
2213+
String get autoScrolling => 'Auto scroll';
22082214
}

lib/l10n/app_localizations_es.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2217,4 +2217,10 @@ class AppLocalizationsEs extends AppLocalizations {
22172217
String newEpisodesAvailableFor(int length) {
22182218
return 'New episodes available for $length podcasts';
22192219
}
2220+
2221+
@override
2222+
String get lyrics => 'Lyrics';
2223+
2224+
@override
2225+
String get autoScrolling => 'Auto scroll';
22202226
}

lib/l10n/app_localizations_et.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2215,4 +2215,10 @@ class AppLocalizationsEt extends AppLocalizations {
22152215
String newEpisodesAvailableFor(int length) {
22162216
return '$length-l taskuhäälingul on uusi osi';
22172217
}
2218+
2219+
@override
2220+
String get lyrics => 'Lyrics';
2221+
2222+
@override
2223+
String get autoScrolling => 'Auto scroll';
22182224
}

lib/l10n/app_localizations_eu.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2224,4 +2224,10 @@ class AppLocalizationsEu extends AppLocalizations {
22242224
String newEpisodesAvailableFor(int length) {
22252225
return '$length podcastetarako atal berriak eskuragarri';
22262226
}
2227+
2228+
@override
2229+
String get lyrics => 'Lyrics';
2230+
2231+
@override
2232+
String get autoScrolling => 'Auto scroll';
22272233
}

lib/l10n/app_localizations_fr.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2227,4 +2227,10 @@ class AppLocalizationsFr extends AppLocalizations {
22272227
String newEpisodesAvailableFor(int length) {
22282228
return 'De nouveaux épisodes sont disponibles pour $length podcasts';
22292229
}
2230+
2231+
@override
2232+
String get lyrics => 'Lyrics';
2233+
2234+
@override
2235+
String get autoScrolling => 'Auto scroll';
22302236
}

0 commit comments

Comments
 (0)