mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-09 07:28:14 -07:00
fix: Loading translation
This commit is contained in:
parent
e4b8a050c7
commit
c64c5da64e
3 changed files with 5 additions and 3 deletions
|
|
@ -1183,5 +1183,6 @@
|
||||||
"mediaSegmentActions": "Media segment actions",
|
"mediaSegmentActions": "Media segment actions",
|
||||||
"segmentActionNone": "None",
|
"segmentActionNone": "None",
|
||||||
"segmentActionAskToSkip": "Ask to skip",
|
"segmentActionAskToSkip": "Ask to skip",
|
||||||
"segmentActionSkip": "Skip"
|
"segmentActionSkip": "Skip",
|
||||||
|
"loading": "Loading"
|
||||||
}
|
}
|
||||||
|
|
@ -17,6 +17,7 @@ import 'package:fladder/screens/shared/default_title_bar.dart';
|
||||||
import 'package:fladder/screens/shared/fladder_snackbar.dart';
|
import 'package:fladder/screens/shared/fladder_snackbar.dart';
|
||||||
import 'package:fladder/util/adaptive_layout.dart';
|
import 'package:fladder/util/adaptive_layout.dart';
|
||||||
import 'package:fladder/util/input_handler.dart';
|
import 'package:fladder/util/input_handler.dart';
|
||||||
|
import 'package:fladder/util/localization_helper.dart';
|
||||||
import 'package:fladder/util/throttler.dart';
|
import 'package:fladder/util/throttler.dart';
|
||||||
import 'package:fladder/widgets/shared/fladder_slider.dart';
|
import 'package:fladder/widgets/shared/fladder_slider.dart';
|
||||||
|
|
||||||
|
|
@ -356,7 +357,7 @@ class _BookViewerControlsState extends ConsumerState<BookViewerControls> {
|
||||||
children: [
|
children: [
|
||||||
if (bookViewerDetails.book != null) ...{
|
if (bookViewerDetails.book != null) ...{
|
||||||
Flexible(
|
Flexible(
|
||||||
child: Text("Loading ${bookViewerDetails.book?.name}",
|
child: Text("${context.localized.loading} ${bookViewerDetails.book?.name}",
|
||||||
style: Theme.of(context).textTheme.titleMedium),
|
style: Theme.of(context).textTheme.titleMedium),
|
||||||
),
|
),
|
||||||
const SizedBox(width: 16),
|
const SizedBox(width: 16),
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ class LoadIndicator extends StatelessWidget {
|
||||||
const CircularProgressIndicator(strokeCap: StrokeCap.round),
|
const CircularProgressIndicator(strokeCap: StrokeCap.round),
|
||||||
const SizedBox(width: 70),
|
const SizedBox(width: 70),
|
||||||
Text(
|
Text(
|
||||||
"Loading",
|
context.localized.loading,
|
||||||
style: Theme.of(context).textTheme.titleLarge,
|
style: Theme.of(context).textTheme.titleLarge,
|
||||||
),
|
),
|
||||||
const SizedBox(width: 20),
|
const SizedBox(width: 20),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue