mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2026-02-16 14:29:35 +00:00
aaa
This commit is contained in:
parent
a737365f26
commit
3c3c381f8a
18 changed files with 1266 additions and 1000 deletions
3
lib/features/player/core/abs_audio.dart
Normal file
3
lib/features/player/core/abs_audio.dart
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
import 'package:just_audio/just_audio.dart';
|
||||||
|
|
||||||
|
class AudiobookPlayer extends AudioPlayer {}
|
||||||
|
|
@ -1,8 +1,4 @@
|
||||||
import 'dart:io';
|
|
||||||
|
|
||||||
import 'package:audio_service/audio_service.dart';
|
import 'package:audio_service/audio_service.dart';
|
||||||
import 'package:flutter/foundation.dart';
|
|
||||||
import 'package:just_audio/just_audio.dart';
|
|
||||||
import 'package:vaani/features/player/core/abs_audio_player.dart';
|
import 'package:vaani/features/player/core/abs_audio_player.dart';
|
||||||
|
|
||||||
// 对接audio_service
|
// 对接audio_service
|
||||||
|
|
|
||||||
|
|
@ -1,34 +1,62 @@
|
||||||
// import 'package:audio_service/audio_service.dart';
|
// import 'package:audio_service/audio_service.dart';
|
||||||
// import 'package:audio_session/audio_session.dart';
|
// import 'package:audio_session/audio_session.dart';
|
||||||
// import 'package:riverpod_annotation/riverpod_annotation.dart';
|
// import 'package:just_audio_background/just_audio_background.dart'
|
||||||
// import 'package:vaani/features/player/core/abs_audio_handler.dart' as core;
|
// show JustAudioBackground, NotificationConfig;
|
||||||
// import 'package:vaani/features/player/core/abs_audio_player.dart';
|
// import 'package:just_audio_media_kit/just_audio_media_kit.dart'
|
||||||
// import 'package:vaani/globals.dart';
|
// show JustAudioMediaKit;
|
||||||
|
// import 'package:vaani/features/settings/app_settings_provider.dart';
|
||||||
|
// import 'package:vaani/features/settings/models/app_settings.dart';
|
||||||
|
|
||||||
// /// 音频播放器 配置
|
// Future<void> configurePlayer() async {
|
||||||
// @Riverpod(keepAlive: true)
|
|
||||||
// Future<void> configurePlayer(AbsAudioPlayer player) async {
|
|
||||||
// // for playing audio on windows, linux
|
// // for playing audio on windows, linux
|
||||||
|
// JustAudioMediaKit.ensureInitialized();
|
||||||
|
|
||||||
// // for configuring how this app will interact with other audio apps
|
// // for configuring how this app will interact with other audio apps
|
||||||
// final session = await AudioSession.instance;
|
// final session = await AudioSession.instance;
|
||||||
// await session.configure(const AudioSessionConfiguration.speech());
|
// await session.configure(const AudioSessionConfiguration.speech());
|
||||||
|
|
||||||
// await AudioService.init(
|
// final appSettings = loadOrCreateAppSettings();
|
||||||
// builder: () => core.AbsAudioHandler(player),
|
|
||||||
// config: const AudioServiceConfig(
|
|
||||||
// androidNotificationChannelId: 'dr.blank.vaani.channel.audio',
|
|
||||||
// androidNotificationChannelName: 'ABSPlayback',
|
|
||||||
// androidNotificationChannelDescription:
|
|
||||||
// 'Needed to control audio from lock screen',
|
|
||||||
// androidNotificationOngoing: false,
|
|
||||||
// androidStopForegroundOnPause: false,
|
|
||||||
// androidNotificationIcon: 'drawable/ic_stat_logo',
|
|
||||||
// preloadArtwork: true,
|
|
||||||
// // fastForwardInterval: Duration(seconds: 20),
|
|
||||||
// // rewindInterval: Duration(seconds: 20),
|
|
||||||
// ),
|
|
||||||
// );
|
|
||||||
|
|
||||||
// appLogger.finer('created simple player');
|
// // for playing audio in the background
|
||||||
|
// await JustAudioBackground.init(
|
||||||
|
// androidNotificationChannelId: 'dr.blank.vaani.channel.audio',
|
||||||
|
// androidNotificationChannelName: 'Audio playback',
|
||||||
|
// androidNotificationOngoing: false,
|
||||||
|
// androidStopForegroundOnPause: false,
|
||||||
|
// androidNotificationChannelDescription: 'Audio playback in the background',
|
||||||
|
// androidNotificationIcon: 'drawable/ic_stat_logo',
|
||||||
|
// rewindInterval: appSettings.notificationSettings.rewindInterval,
|
||||||
|
// fastForwardInterval: appSettings.notificationSettings.fastForwardInterval,
|
||||||
|
// androidShowNotificationBadge: false,
|
||||||
|
// notificationConfigBuilder: (state) {
|
||||||
|
// final controls = [
|
||||||
|
// if (appSettings.notificationSettings.mediaControls
|
||||||
|
// .contains(NotificationMediaControl.skipToPreviousChapter) &&
|
||||||
|
// state.hasPrevious)
|
||||||
|
// MediaControl.skipToPrevious,
|
||||||
|
// if (appSettings.notificationSettings.mediaControls
|
||||||
|
// .contains(NotificationMediaControl.rewind))
|
||||||
|
// MediaControl.rewind,
|
||||||
|
// if (state.playing) MediaControl.pause else MediaControl.play,
|
||||||
|
// if (appSettings.notificationSettings.mediaControls
|
||||||
|
// .contains(NotificationMediaControl.fastForward))
|
||||||
|
// MediaControl.fastForward,
|
||||||
|
// if (appSettings.notificationSettings.mediaControls
|
||||||
|
// .contains(NotificationMediaControl.skipToNextChapter) &&
|
||||||
|
// state.hasNext)
|
||||||
|
// MediaControl.skipToNext,
|
||||||
|
// if (appSettings.notificationSettings.mediaControls
|
||||||
|
// .contains(NotificationMediaControl.stop))
|
||||||
|
// MediaControl.stop,
|
||||||
|
// ];
|
||||||
|
// return NotificationConfig(
|
||||||
|
// controls: controls,
|
||||||
|
// systemActions: const {
|
||||||
|
// MediaAction.seek,
|
||||||
|
// MediaAction.seekForward,
|
||||||
|
// MediaAction.seekBackward,
|
||||||
|
// },
|
||||||
|
// );
|
||||||
|
// },
|
||||||
|
// );
|
||||||
// }
|
// }
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ import 'package:audio_service/audio_service.dart';
|
||||||
import 'package:audio_session/audio_session.dart';
|
import 'package:audio_session/audio_session.dart';
|
||||||
import 'package:collection/collection.dart';
|
import 'package:collection/collection.dart';
|
||||||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||||
|
import 'package:just_audio/just_audio.dart';
|
||||||
import 'package:logging/logging.dart';
|
import 'package:logging/logging.dart';
|
||||||
import 'package:riverpod_annotation/riverpod_annotation.dart';
|
import 'package:riverpod_annotation/riverpod_annotation.dart';
|
||||||
import 'package:shelfsdk/audiobookshelf_api.dart' as api;
|
import 'package:shelfsdk/audiobookshelf_api.dart' as api;
|
||||||
|
|
@ -67,6 +68,123 @@ bool playerActive(Ref ref) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Riverpod(keepAlive: true)
|
||||||
|
AudioPlayer simpleAudioPlayer(Ref ref) {
|
||||||
|
final player = AudioPlayer();
|
||||||
|
ref.onDispose(player.dispose);
|
||||||
|
return player;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Riverpod(keepAlive: true)
|
||||||
|
class AbsAudioPlayer extends _$AbsAudioPlayer {
|
||||||
|
@override
|
||||||
|
AudioPlayer build() {
|
||||||
|
final audioPlayer = ref.watch(simpleAudioPlayerProvider);
|
||||||
|
return audioPlayer;
|
||||||
|
}
|
||||||
|
|
||||||
|
Future<void> load(
|
||||||
|
api.BookExpanded book, {
|
||||||
|
Duration? initialPosition,
|
||||||
|
bool play = true,
|
||||||
|
}) async {
|
||||||
|
final currentTrack = book.findTrackAtTime(initialPosition ?? Duration.zero);
|
||||||
|
final indexTrack = book.tracks.indexOf(currentTrack);
|
||||||
|
final positionInTrack = initialPosition != null
|
||||||
|
? initialPosition - currentTrack.startOffset
|
||||||
|
: null;
|
||||||
|
final api = ref.read(authenticatedApiProvider);
|
||||||
|
|
||||||
|
final downloadManager = ref.read(simpleDownloadManagerProvider);
|
||||||
|
print(downloadManager.basePath);
|
||||||
|
|
||||||
|
final libItem =
|
||||||
|
await ref.read(libraryItemProvider(book.libraryItemId).future);
|
||||||
|
final downloadedUris = await downloadManager.getDownloadedFilesUri(libItem);
|
||||||
|
|
||||||
|
final bookSettings = ref.read(bookSettingsProvider(book.libraryItemId));
|
||||||
|
var bookPlayerSettings = bookSettings.playerSettings;
|
||||||
|
final start = bookSettings.playerSettings.skipChapterStart;
|
||||||
|
final end = bookSettings.playerSettings.skipChapterEnd;
|
||||||
|
final appPlayerSettings = ref.read(appSettingsProvider).playerSettings;
|
||||||
|
final configurePlayerForEveryBook =
|
||||||
|
appPlayerSettings.configurePlayerForEveryBook;
|
||||||
|
List<AudioSource> audioSources =
|
||||||
|
start > Duration.zero || end > Duration.zero
|
||||||
|
? book.tracks
|
||||||
|
.map(
|
||||||
|
(track) => ClippingAudioSource(
|
||||||
|
child: AudioSource.uri(
|
||||||
|
_getUri(
|
||||||
|
track,
|
||||||
|
downloadedUris,
|
||||||
|
baseUrl: api.baseUrl,
|
||||||
|
token: api.token!,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
start: start,
|
||||||
|
end: end > Duration.zero ? null : track.duration - end,
|
||||||
|
),
|
||||||
|
)
|
||||||
|
.toList()
|
||||||
|
: book.tracks
|
||||||
|
.map(
|
||||||
|
(track) => AudioSource.uri(
|
||||||
|
_getUri(
|
||||||
|
track,
|
||||||
|
downloadedUris,
|
||||||
|
baseUrl: api.baseUrl,
|
||||||
|
token: api.token!,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
)
|
||||||
|
.toList();
|
||||||
|
await state
|
||||||
|
.setAudioSources(
|
||||||
|
audioSources,
|
||||||
|
preload: true,
|
||||||
|
initialIndex: indexTrack,
|
||||||
|
initialPosition: positionInTrack,
|
||||||
|
)
|
||||||
|
.catchError((error) {
|
||||||
|
_logger.shout('Error in setting audio source: $error');
|
||||||
|
return null;
|
||||||
|
});
|
||||||
|
// set the volume
|
||||||
|
await state.setVolume(
|
||||||
|
configurePlayerForEveryBook
|
||||||
|
? bookPlayerSettings.preferredDefaultVolume ??
|
||||||
|
appPlayerSettings.preferredDefaultVolume
|
||||||
|
: appPlayerSettings.preferredDefaultVolume,
|
||||||
|
);
|
||||||
|
// set the speed
|
||||||
|
await state.setSpeed(
|
||||||
|
configurePlayerForEveryBook
|
||||||
|
? bookPlayerSettings.preferredDefaultSpeed ??
|
||||||
|
appPlayerSettings.preferredDefaultSpeed
|
||||||
|
: appPlayerSettings.preferredDefaultSpeed,
|
||||||
|
);
|
||||||
|
if (play) await state.play();
|
||||||
|
}
|
||||||
|
|
||||||
|
Uri _getUri(
|
||||||
|
api.AudioTrack track,
|
||||||
|
List<Uri>? downloadedUris, {
|
||||||
|
required Uri baseUrl,
|
||||||
|
required String token,
|
||||||
|
}) {
|
||||||
|
// check if the track is in the downloadedUris
|
||||||
|
final uri = downloadedUris?.firstWhereOrNull(
|
||||||
|
(element) {
|
||||||
|
return element.pathSegments.last == track.metadata?.filename;
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
||||||
|
return uri ??
|
||||||
|
Uri.parse('${baseUrl.toString()}${track.contentUrl}?token=$token');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/// 音频播放器 riverpod状态
|
/// 音频播放器 riverpod状态
|
||||||
@Riverpod(keepAlive: true)
|
@Riverpod(keepAlive: true)
|
||||||
class AbsPlayer extends _$AbsPlayer {
|
class AbsPlayer extends _$AbsPlayer {
|
||||||
|
|
@ -166,7 +284,7 @@ class CurrentBook extends _$CurrentBook {
|
||||||
@override
|
@override
|
||||||
api.BookExpanded? build() {
|
api.BookExpanded? build() {
|
||||||
listenSelf((previous, next) {
|
listenSelf((previous, next) {
|
||||||
if (next == null) {
|
if (previous == null && next == null) {
|
||||||
final activeLibraryItemId = AvailableHiveBoxes.basicBox
|
final activeLibraryItemId = AvailableHiveBoxes.basicBox
|
||||||
.getAs<String>(CacheKey.activeLibraryItemId);
|
.getAs<String>(CacheKey.activeLibraryItemId);
|
||||||
if (activeLibraryItemId != null) {
|
if (activeLibraryItemId != null) {
|
||||||
|
|
@ -226,20 +344,3 @@ class CurrentChapter extends _$CurrentChapter {
|
||||||
Stream<Duration> positionChapter(Ref ref) {
|
Stream<Duration> positionChapter(Ref ref) {
|
||||||
return ref.read(absPlayerProvider).positionInChapterStream;
|
return ref.read(absPlayerProvider).positionInChapterStream;
|
||||||
}
|
}
|
||||||
|
|
||||||
@riverpod
|
|
||||||
List<api.BookChapter> currentChapters(Ref ref) {
|
|
||||||
final book = ref.watch(currentBookProvider);
|
|
||||||
if (book == null) {
|
|
||||||
return [];
|
|
||||||
}
|
|
||||||
final currentChapter = ref.watch(currentChapterProvider);
|
|
||||||
if (currentChapter == null) {
|
|
||||||
return [];
|
|
||||||
}
|
|
||||||
final index = book.chapters.indexOf(currentChapter);
|
|
||||||
final total = book.chapters.length;
|
|
||||||
final start = index - 3 >= 0 ? index - 3 : 0;
|
|
||||||
final end = start + 20 <= total ? start + 20 : total;
|
|
||||||
return book.chapters.sublist(start, end);
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,23 @@ final playerActiveProvider = AutoDisposeProvider<bool>.internal(
|
||||||
@Deprecated('Will be removed in 3.0. Use Ref instead')
|
@Deprecated('Will be removed in 3.0. Use Ref instead')
|
||||||
// ignore: unused_element
|
// ignore: unused_element
|
||||||
typedef PlayerActiveRef = AutoDisposeProviderRef<bool>;
|
typedef PlayerActiveRef = AutoDisposeProviderRef<bool>;
|
||||||
|
String _$simpleAudioPlayerHash() => r'4da667e3b7047003edd594f8a76700afb963aceb';
|
||||||
|
|
||||||
|
/// See also [simpleAudioPlayer].
|
||||||
|
@ProviderFor(simpleAudioPlayer)
|
||||||
|
final simpleAudioPlayerProvider = Provider<AudioPlayer>.internal(
|
||||||
|
simpleAudioPlayer,
|
||||||
|
name: r'simpleAudioPlayerProvider',
|
||||||
|
debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
|
||||||
|
? null
|
||||||
|
: _$simpleAudioPlayerHash,
|
||||||
|
dependencies: null,
|
||||||
|
allTransitiveDependencies: null,
|
||||||
|
);
|
||||||
|
|
||||||
|
@Deprecated('Will be removed in 3.0. Use Ref instead')
|
||||||
|
// ignore: unused_element
|
||||||
|
typedef SimpleAudioPlayerRef = ProviderRef<AudioPlayer>;
|
||||||
String _$currentTimeHash() => r'3e7f99dbf48242a5fa0a4239a0f696535d0b4ac9';
|
String _$currentTimeHash() => r'3e7f99dbf48242a5fa0a4239a0f696535d0b4ac9';
|
||||||
|
|
||||||
/// Copied from Dart SDK
|
/// Copied from Dart SDK
|
||||||
|
|
@ -225,24 +242,22 @@ final positionChapterProvider = AutoDisposeStreamProvider<Duration>.internal(
|
||||||
@Deprecated('Will be removed in 3.0. Use Ref instead')
|
@Deprecated('Will be removed in 3.0. Use Ref instead')
|
||||||
// ignore: unused_element
|
// ignore: unused_element
|
||||||
typedef PositionChapterRef = AutoDisposeStreamProviderRef<Duration>;
|
typedef PositionChapterRef = AutoDisposeStreamProviderRef<Duration>;
|
||||||
String _$currentChaptersHash() => r'2d694aaa17f7eed8f97859d83e5b61f22966c35a';
|
String _$absAudioPlayerHash() => r'f595b5033eed9f4a4aa07c297c4a176955e6aab1';
|
||||||
|
|
||||||
/// See also [currentChapters].
|
/// See also [AbsAudioPlayer].
|
||||||
@ProviderFor(currentChapters)
|
@ProviderFor(AbsAudioPlayer)
|
||||||
final currentChaptersProvider =
|
final absAudioPlayerProvider =
|
||||||
AutoDisposeProvider<List<api.BookChapter>>.internal(
|
NotifierProvider<AbsAudioPlayer, AudioPlayer>.internal(
|
||||||
currentChapters,
|
AbsAudioPlayer.new,
|
||||||
name: r'currentChaptersProvider',
|
name: r'absAudioPlayerProvider',
|
||||||
debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
|
debugGetCreateSourceHash: const bool.fromEnvironment('dart.vm.product')
|
||||||
? null
|
? null
|
||||||
: _$currentChaptersHash,
|
: _$absAudioPlayerHash,
|
||||||
dependencies: null,
|
dependencies: null,
|
||||||
allTransitiveDependencies: null,
|
allTransitiveDependencies: null,
|
||||||
);
|
);
|
||||||
|
|
||||||
@Deprecated('Will be removed in 3.0. Use Ref instead')
|
typedef _$AbsAudioPlayer = Notifier<AudioPlayer>;
|
||||||
// ignore: unused_element
|
|
||||||
typedef CurrentChaptersRef = AutoDisposeProviderRef<List<api.BookChapter>>;
|
|
||||||
String _$absPlayerHash() => r'e682fea03793a0370cb143602980d5c1e37396c7';
|
String _$absPlayerHash() => r'e682fea03793a0370cb143602980d5c1e37396c7';
|
||||||
|
|
||||||
/// 音频播放器 riverpod状态
|
/// 音频播放器 riverpod状态
|
||||||
|
|
@ -275,7 +290,7 @@ final playerStateProvider =
|
||||||
);
|
);
|
||||||
|
|
||||||
typedef _$PlayerState = AutoDisposeNotifier<core.AbsPlayerState>;
|
typedef _$PlayerState = AutoDisposeNotifier<core.AbsPlayerState>;
|
||||||
String _$currentBookHash() => r'790af1f9502b12879fc22c900ed5e3572381ab1e';
|
String _$currentBookHash() => r'714d7701508b6186598e13bc38c57c3fe644ae90';
|
||||||
|
|
||||||
/// See also [CurrentBook].
|
/// See also [CurrentBook].
|
||||||
@ProviderFor(CurrentBook)
|
@ProviderFor(CurrentBook)
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,7 @@ class PlayerSettings with _$PlayerSettings {
|
||||||
ExpandedPlayerSettings expandedPlayerSettings,
|
ExpandedPlayerSettings expandedPlayerSettings,
|
||||||
@Default(1) double preferredDefaultVolume,
|
@Default(1) double preferredDefaultVolume,
|
||||||
@Default(1) double preferredDefaultSpeed,
|
@Default(1) double preferredDefaultSpeed,
|
||||||
@Default([1, 1.25, 1.5, 1.75, 2]) List<double> speedOptions,
|
@Default([0.5, 0.75, 1, 1.25, 1.5, 1.75, 2]) List<double> speedOptions,
|
||||||
@Default(0.05) double speedIncrement,
|
@Default(0.05) double speedIncrement,
|
||||||
@Default(0.1) double minSpeed,
|
@Default(0.1) double minSpeed,
|
||||||
@Default(4) double maxSpeed,
|
@Default(4) double maxSpeed,
|
||||||
|
|
|
||||||
|
|
@ -986,7 +986,15 @@ class _$PlayerSettingsImpl implements _PlayerSettings {
|
||||||
this.expandedPlayerSettings = const ExpandedPlayerSettings(),
|
this.expandedPlayerSettings = const ExpandedPlayerSettings(),
|
||||||
this.preferredDefaultVolume = 1,
|
this.preferredDefaultVolume = 1,
|
||||||
this.preferredDefaultSpeed = 1,
|
this.preferredDefaultSpeed = 1,
|
||||||
final List<double> speedOptions = const [1, 1.25, 1.5, 1.75, 2],
|
final List<double> speedOptions = const [
|
||||||
|
0.5,
|
||||||
|
0.75,
|
||||||
|
1,
|
||||||
|
1.25,
|
||||||
|
1.5,
|
||||||
|
1.75,
|
||||||
|
2
|
||||||
|
],
|
||||||
this.speedIncrement = 0.05,
|
this.speedIncrement = 0.05,
|
||||||
this.minSpeed = 0.1,
|
this.minSpeed = 0.1,
|
||||||
this.maxSpeed = 4,
|
this.maxSpeed = 4,
|
||||||
|
|
|
||||||
|
|
@ -99,7 +99,7 @@ _$PlayerSettingsImpl _$$PlayerSettingsImplFromJson(Map<String, dynamic> json) =>
|
||||||
speedOptions: (json['speedOptions'] as List<dynamic>?)
|
speedOptions: (json['speedOptions'] as List<dynamic>?)
|
||||||
?.map((e) => (e as num).toDouble())
|
?.map((e) => (e as num).toDouble())
|
||||||
.toList() ??
|
.toList() ??
|
||||||
const [1, 1.25, 1.5, 1.75, 2],
|
const [0.5, 0.75, 1, 1.25, 1.5, 1.75, 2],
|
||||||
speedIncrement: (json['speedIncrement'] as num?)?.toDouble() ?? 0.05,
|
speedIncrement: (json['speedIncrement'] as num?)?.toDouble() ?? 0.05,
|
||||||
minSpeed: (json['minSpeed'] as num?)?.toDouble() ?? 0.1,
|
minSpeed: (json['minSpeed'] as num?)?.toDouble() ?? 0.1,
|
||||||
maxSpeed: (json['maxSpeed'] as num?)?.toDouble() ?? 4,
|
maxSpeed: (json['maxSpeed'] as num?)?.toDouble() ?? 4,
|
||||||
|
|
|
||||||
|
|
@ -6,13 +6,14 @@ import 'package:flutter_hooks/flutter_hooks.dart';
|
||||||
import 'package:flutter_settings_ui/flutter_settings_ui.dart';
|
import 'package:flutter_settings_ui/flutter_settings_ui.dart';
|
||||||
import 'package:go_router/go_router.dart';
|
import 'package:go_router/go_router.dart';
|
||||||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||||
import 'package:vaani/generated/l10n.dart';
|
|
||||||
import 'package:vaani/router/router.dart';
|
|
||||||
import 'package:vaani/features/settings/app_settings_provider.dart';
|
import 'package:vaani/features/settings/app_settings_provider.dart';
|
||||||
import 'package:vaani/features/settings/models/app_settings.dart' as model;
|
import 'package:vaani/features/settings/models/app_settings.dart' as model;
|
||||||
import 'package:vaani/features/settings/view/buttons.dart';
|
import 'package:vaani/features/settings/view/buttons.dart';
|
||||||
import 'package:vaani/features/settings/view/simple_settings_page.dart';
|
import 'package:vaani/features/settings/view/simple_settings_page.dart';
|
||||||
import 'package:vaani/features/settings/view/widgets/navigation_with_switch_tile.dart';
|
import 'package:vaani/features/settings/view/widgets/navigation_with_switch_tile.dart';
|
||||||
|
import 'package:vaani/generated/l10n.dart';
|
||||||
|
import 'package:vaani/router/router.dart';
|
||||||
|
import 'package:vaani/shared/widgets/custom_dropdown.dart';
|
||||||
|
|
||||||
class AppSettingsPage extends HookConsumerWidget {
|
class AppSettingsPage extends HookConsumerWidget {
|
||||||
const AppSettingsPage({
|
const AppSettingsPage({
|
||||||
|
|
@ -40,22 +41,35 @@ class AppSettingsPage extends HookConsumerWidget {
|
||||||
SettingsTile(
|
SettingsTile(
|
||||||
title: Text(S.of(context).language),
|
title: Text(S.of(context).language),
|
||||||
leading: const Icon(Icons.language),
|
leading: const Icon(Icons.language),
|
||||||
trailing: DropdownButton(
|
trailing: CustomDropdown<String>(
|
||||||
value: appSettings.language,
|
selected: appSettings.language,
|
||||||
items: S.delegate.supportedLocales.map((locale) {
|
items: (f, cs) => S.delegate.supportedLocales.map((locale) {
|
||||||
return DropdownMenuItem(
|
return locale.languageCode;
|
||||||
value: locale.languageCode,
|
|
||||||
child: Text(locales[locale.languageCode] ?? 'unknown'),
|
|
||||||
);
|
|
||||||
}).toList(),
|
}).toList(),
|
||||||
onChanged: (value) {
|
itemAsString: (item) => locales[item] ?? 'unknown',
|
||||||
ref.read(appSettingsProvider.notifier).update(
|
onChanged: (value) async =>
|
||||||
appSettings.copyWith(
|
ref.read(appSettingsProvider.notifier).update(
|
||||||
language: value!,
|
appSettings.copyWith(
|
||||||
|
language: value!,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
);
|
|
||||||
},
|
|
||||||
),
|
),
|
||||||
|
// trailing: DropdownButton(
|
||||||
|
// value: appSettings.language,
|
||||||
|
// items: S.delegate.supportedLocales.map((locale) {
|
||||||
|
// return DropdownMenuItem(
|
||||||
|
// value: locale.languageCode,
|
||||||
|
// child: Text(locales[locale.languageCode] ?? 'unknown'),
|
||||||
|
// );
|
||||||
|
// }).toList(),
|
||||||
|
// onChanged: (value) {
|
||||||
|
// ref.read(appSettingsProvider.notifier).update(
|
||||||
|
// appSettings.copyWith(
|
||||||
|
// language: value!,
|
||||||
|
// ),
|
||||||
|
// );
|
||||||
|
// },
|
||||||
|
// ),
|
||||||
description: Text(S.of(context).languageDescription),
|
description: Text(S.of(context).languageDescription),
|
||||||
),
|
),
|
||||||
SettingsTile(
|
SettingsTile(
|
||||||
|
|
@ -67,9 +81,9 @@ class AppSettingsPage extends HookConsumerWidget {
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
SettingsTile(
|
SettingsTile(
|
||||||
title: Text('下载设置'),
|
title: Text(S.of(context).downloadSettings),
|
||||||
leading: const Icon(Icons.download),
|
leading: const Icon(Icons.download),
|
||||||
description: Text('自定义下载设置'),
|
description: Text(S.of(context).downloadSettingsDescription),
|
||||||
onPressed: (context) {
|
onPressed: (context) {
|
||||||
context.pushNamed(Routes.downloadSettings.name);
|
context.pushNamed(Routes.downloadSettings.name);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,13 @@ import 'package:flutter/material.dart';
|
||||||
import 'package:flutter_hooks/flutter_hooks.dart';
|
import 'package:flutter_hooks/flutter_hooks.dart';
|
||||||
import 'package:flutter_settings_ui/flutter_settings_ui.dart';
|
import 'package:flutter_settings_ui/flutter_settings_ui.dart';
|
||||||
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
import 'package:hooks_riverpod/hooks_riverpod.dart';
|
||||||
|
import 'package:vaani/constants/sizes.dart';
|
||||||
import 'package:vaani/generated/l10n.dart';
|
import 'package:vaani/generated/l10n.dart';
|
||||||
import 'package:vaani/features/settings/app_settings_provider.dart';
|
import 'package:vaani/features/settings/app_settings_provider.dart';
|
||||||
import 'package:vaani/features/settings/view/buttons.dart';
|
import 'package:vaani/features/settings/view/buttons.dart';
|
||||||
import 'package:vaani/features/settings/view/simple_settings_page.dart';
|
import 'package:vaani/features/settings/view/simple_settings_page.dart';
|
||||||
import 'package:vaani/shared/extensions/duration_format.dart';
|
import 'package:vaani/shared/extensions/duration_format.dart';
|
||||||
|
import 'package:vaani/shared/widgets/custom_dropdown.dart';
|
||||||
|
|
||||||
class PlayerSettingsPage extends HookConsumerWidget {
|
class PlayerSettingsPage extends HookConsumerWidget {
|
||||||
const PlayerSettingsPage({
|
const PlayerSettingsPage({
|
||||||
|
|
@ -25,8 +27,8 @@ class PlayerSettingsPage extends HookConsumerWidget {
|
||||||
sections: [
|
sections: [
|
||||||
SettingsSection(
|
SettingsSection(
|
||||||
margin: const EdgeInsetsDirectional.symmetric(
|
margin: const EdgeInsetsDirectional.symmetric(
|
||||||
horizontal: 16.0,
|
horizontal: AppElementSizes.paddingLarge,
|
||||||
vertical: 8.0,
|
vertical: AppElementSizes.paddingRegular,
|
||||||
),
|
),
|
||||||
tiles: [
|
tiles: [
|
||||||
// preferred settings for every book
|
// preferred settings for every book
|
||||||
|
|
@ -49,27 +51,26 @@ class PlayerSettingsPage extends HookConsumerWidget {
|
||||||
// preferred default speed
|
// preferred default speed
|
||||||
SettingsTile(
|
SettingsTile(
|
||||||
title: Text(S.of(context).playerSettingsSpeedDefault),
|
title: Text(S.of(context).playerSettingsSpeedDefault),
|
||||||
trailing: Text(
|
// trailing: Text(
|
||||||
'${playerSettings.preferredDefaultSpeed}x',
|
// '${playerSettings.preferredDefaultSpeed}x',
|
||||||
style:
|
// style:
|
||||||
TextStyle(color: primaryColor, fontWeight: FontWeight.bold),
|
// TextStyle(color: primaryColor, fontWeight: FontWeight.bold),
|
||||||
|
// ),
|
||||||
|
trailing: CustomDropdown<double>(
|
||||||
|
selected: playerSettings.preferredDefaultSpeed,
|
||||||
|
items: (f, cs) => playerSettings.speedOptions,
|
||||||
|
itemAsString: (item) => '${item}x',
|
||||||
|
onChanged: (value) {
|
||||||
|
if (value != null) {
|
||||||
|
ref.read(appSettingsProvider.notifier).update(
|
||||||
|
appSettings.copyWith.playerSettings(
|
||||||
|
preferredDefaultSpeed: value,
|
||||||
|
),
|
||||||
|
);
|
||||||
|
}
|
||||||
|
},
|
||||||
),
|
),
|
||||||
leading: const Icon(Icons.speed),
|
leading: const Icon(Icons.speed),
|
||||||
onPressed: (context) async {
|
|
||||||
final newSpeed = await showDialog(
|
|
||||||
context: context,
|
|
||||||
builder: (context) => SpeedPicker(
|
|
||||||
initialValue: playerSettings.preferredDefaultSpeed,
|
|
||||||
),
|
|
||||||
);
|
|
||||||
if (newSpeed != null) {
|
|
||||||
ref.read(appSettingsProvider.notifier).update(
|
|
||||||
appSettings.copyWith.playerSettings(
|
|
||||||
preferredDefaultSpeed: newSpeed,
|
|
||||||
),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
),
|
),
|
||||||
// preferred speed options
|
// preferred speed options
|
||||||
SettingsTile(
|
SettingsTile(
|
||||||
|
|
|
||||||
|
|
@ -38,494 +38,476 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||||
|
|
||||||
final messages = _notInlinedMessages(_notInlinedMessages);
|
final messages = _notInlinedMessages(_notInlinedMessages);
|
||||||
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
|
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
|
||||||
"account": MessageLookupByLibrary.simpleMessage("Account"),
|
"account": MessageLookupByLibrary.simpleMessage("Account"),
|
||||||
"accountAddNewServer": MessageLookupByLibrary.simpleMessage(
|
"accountAddNewServer": MessageLookupByLibrary.simpleMessage(
|
||||||
"Add New Server",
|
"Add New Server",
|
||||||
),
|
),
|
||||||
"accountAddUser": MessageLookupByLibrary.simpleMessage("Add User"),
|
"accountAddUser": MessageLookupByLibrary.simpleMessage("Add User"),
|
||||||
"accountAddUserDialog": m0,
|
"accountAddUserDialog": m0,
|
||||||
"accountAddUserSuccessDialog": MessageLookupByLibrary.simpleMessage(
|
"accountAddUserSuccessDialog": MessageLookupByLibrary.simpleMessage(
|
||||||
"User added successfully! Switch?",
|
"User added successfully! Switch?",
|
||||||
),
|
),
|
||||||
"accountAddUserTooltip": MessageLookupByLibrary.simpleMessage(
|
"accountAddUserTooltip": MessageLookupByLibrary.simpleMessage(
|
||||||
"Add new server",
|
"Add new server",
|
||||||
),
|
),
|
||||||
"accountAnonymous": MessageLookupByLibrary.simpleMessage("Anonymous"),
|
"accountAnonymous": MessageLookupByLibrary.simpleMessage("Anonymous"),
|
||||||
"accountDeleteServer": MessageLookupByLibrary.simpleMessage(
|
"accountDeleteServer": MessageLookupByLibrary.simpleMessage(
|
||||||
"Delete Server",
|
"Delete Server",
|
||||||
),
|
),
|
||||||
"accountInvalidURL":
|
"accountInvalidURL": MessageLookupByLibrary.simpleMessage("Invalid URL"),
|
||||||
MessageLookupByLibrary.simpleMessage("Invalid URL"),
|
"accountManage": MessageLookupByLibrary.simpleMessage("Manage Accounts"),
|
||||||
"accountManage":
|
"accountRegisteredServers": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage("Manage Accounts"),
|
"Registered Servers",
|
||||||
"accountRegisteredServers": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Registered Servers",
|
"accountRemoveServerAndUsers": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Remove Server and Users",
|
||||||
"accountRemoveServerAndUsers": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Remove Server and Users",
|
"accountRemoveServerAndUsersHead": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"This will remove the server ",
|
||||||
"accountRemoveServerAndUsersHead": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"This will remove the server ",
|
"accountRemoveServerAndUsersTail": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
" and all its users\' login info from this app.",
|
||||||
"accountRemoveServerAndUsersTail": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
" and all its users\' login info from this app.",
|
"accountRemoveUserLogin": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Remove User Login",
|
||||||
"accountRemoveUserLogin": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Remove User Login",
|
"accountRemoveUserLoginHead": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"This will remove login details of the user ",
|
||||||
"accountRemoveUserLoginHead": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"This will remove login details of the user ",
|
"accountRemoveUserLoginTail": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
" from this app.",
|
||||||
"accountRemoveUserLoginTail": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
" from this app.",
|
"accountServerURI": MessageLookupByLibrary.simpleMessage("Server URI"),
|
||||||
),
|
"accountSwitch": MessageLookupByLibrary.simpleMessage("Switch Account"),
|
||||||
"accountServerURI": MessageLookupByLibrary.simpleMessage("Server URI"),
|
"accountUsersCount": m1,
|
||||||
"accountSwitch": MessageLookupByLibrary.simpleMessage("Switch Account"),
|
"appSettings": MessageLookupByLibrary.simpleMessage("App Settings"),
|
||||||
"accountUsersCount": m1,
|
"appearance": MessageLookupByLibrary.simpleMessage("Appearance"),
|
||||||
"appSettings": MessageLookupByLibrary.simpleMessage("App Settings"),
|
"autoSleepTimerSettings": MessageLookupByLibrary.simpleMessage(
|
||||||
"appearance": MessageLookupByLibrary.simpleMessage("Appearance"),
|
"Auto Sleep Timer Settings",
|
||||||
"autoSleepTimerSettings": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Auto Sleep Timer Settings",
|
"autoTurnOnSleepTimer": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Auto Turn On Sleep Timer",
|
||||||
"autoTurnOnSleepTimer": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Auto Turn On Sleep Timer",
|
"autoTurnOnTimer": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Auto Turn On Timer",
|
||||||
"autoTurnOnTimer": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Auto Turn On Timer",
|
"autoTurnOnTimerAlways": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Always Auto Turn On Timer",
|
||||||
"autoTurnOnTimerAlways": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Always Auto Turn On Timer",
|
"autoTurnOnTimerAlwaysDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Always turn on the sleep timer, no matter what",
|
||||||
"autoTurnOnTimerAlwaysDescription":
|
),
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"autoTurnOnTimerDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"Always turn on the sleep timer, no matter what",
|
"Automatically turn on the sleep timer based on the time of day",
|
||||||
),
|
),
|
||||||
"autoTurnOnTimerDescription": MessageLookupByLibrary.simpleMessage(
|
"autoTurnOnTimerFrom": MessageLookupByLibrary.simpleMessage("From"),
|
||||||
"Automatically turn on the sleep timer based on the time of day",
|
"autoTurnOnTimerFromDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Turn on the sleep timer at the specified time",
|
||||||
"autoTurnOnTimerFrom": MessageLookupByLibrary.simpleMessage("From"),
|
),
|
||||||
"autoTurnOnTimerFromDescription": MessageLookupByLibrary.simpleMessage(
|
"autoTurnOnTimerUntil": MessageLookupByLibrary.simpleMessage("Until"),
|
||||||
"Turn on the sleep timer at the specified time",
|
"autoTurnOnTimerUntilDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Turn off the sleep timer at the specified time",
|
||||||
"autoTurnOnTimerUntil": MessageLookupByLibrary.simpleMessage("Until"),
|
),
|
||||||
"autoTurnOnTimerUntilDescription": MessageLookupByLibrary.simpleMessage(
|
"automaticallyDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"Turn off the sleep timer at the specified time",
|
"Automatically turn on the sleep timer based on the time of day",
|
||||||
),
|
),
|
||||||
"automaticallyDescription": MessageLookupByLibrary.simpleMessage(
|
"backup": MessageLookupByLibrary.simpleMessage("Backup"),
|
||||||
"Automatically turn on the sleep timer based on the time of day",
|
"backupAndRestore": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Backup and Restore",
|
||||||
"backup": MessageLookupByLibrary.simpleMessage("Backup"),
|
),
|
||||||
"backupAndRestore": MessageLookupByLibrary.simpleMessage(
|
"bookAbout": MessageLookupByLibrary.simpleMessage("About the Book"),
|
||||||
"Backup and Restore",
|
"bookAboutDefault": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Sorry, no description found",
|
||||||
"bookAbout": MessageLookupByLibrary.simpleMessage("About the Book"),
|
),
|
||||||
"bookAboutDefault": MessageLookupByLibrary.simpleMessage(
|
"bookAuthors": MessageLookupByLibrary.simpleMessage("Authors"),
|
||||||
"Sorry, no description found",
|
"bookDownloads": MessageLookupByLibrary.simpleMessage("Downloads"),
|
||||||
),
|
"bookGenres": MessageLookupByLibrary.simpleMessage("Genres"),
|
||||||
"bookAuthors": MessageLookupByLibrary.simpleMessage("Authors"),
|
"bookMetadataAbridged": MessageLookupByLibrary.simpleMessage("Abridged"),
|
||||||
"bookDownloads": MessageLookupByLibrary.simpleMessage("Downloads"),
|
"bookMetadataLength": MessageLookupByLibrary.simpleMessage("Length"),
|
||||||
"bookGenres": MessageLookupByLibrary.simpleMessage("Genres"),
|
"bookMetadataPublished": MessageLookupByLibrary.simpleMessage("Published"),
|
||||||
"bookMetadataAbridged":
|
"bookMetadataUnabridged": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage("Abridged"),
|
"Unabridged",
|
||||||
"bookMetadataLength": MessageLookupByLibrary.simpleMessage("Length"),
|
),
|
||||||
"bookMetadataPublished":
|
"bookSeries": MessageLookupByLibrary.simpleMessage("Series"),
|
||||||
MessageLookupByLibrary.simpleMessage("Published"),
|
"bookShelveEmpty": MessageLookupByLibrary.simpleMessage("Try again"),
|
||||||
"bookMetadataUnabridged": MessageLookupByLibrary.simpleMessage(
|
"bookShelveEmptyText": MessageLookupByLibrary.simpleMessage(
|
||||||
"Unabridged",
|
"No shelves to display",
|
||||||
),
|
),
|
||||||
"bookSeries": MessageLookupByLibrary.simpleMessage("Series"),
|
"cancel": MessageLookupByLibrary.simpleMessage("Cancel"),
|
||||||
"bookShelveEmpty": MessageLookupByLibrary.simpleMessage("Try again"),
|
"chapterNotFound": MessageLookupByLibrary.simpleMessage("Chapters"),
|
||||||
"bookShelveEmptyText": MessageLookupByLibrary.simpleMessage(
|
"chapterSelect": MessageLookupByLibrary.simpleMessage("Select Chapter"),
|
||||||
"No shelves to display",
|
"chapterSkip": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Skip chapter opening and ending",
|
||||||
"cancel": MessageLookupByLibrary.simpleMessage("Cancel"),
|
),
|
||||||
"chapterNotFound": MessageLookupByLibrary.simpleMessage("Chapters"),
|
"chapterSkipEnd": MessageLookupByLibrary.simpleMessage(
|
||||||
"chapterSelect": MessageLookupByLibrary.simpleMessage("Select Chapter"),
|
"Skip chapter opening for ",
|
||||||
"chapterSkip": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Skip chapter opening and ending",
|
"chapterSkipOpen": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Skip chapter opening for ",
|
||||||
"chapterSkipEnd": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Skip chapter opening for ",
|
"chapters": MessageLookupByLibrary.simpleMessage("Chapters"),
|
||||||
),
|
"copyToClipboard": MessageLookupByLibrary.simpleMessage(
|
||||||
"chapterSkipOpen": MessageLookupByLibrary.simpleMessage(
|
"Copy to Clipboard",
|
||||||
"Skip chapter opening for ",
|
),
|
||||||
),
|
"copyToClipboardDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"chapters": MessageLookupByLibrary.simpleMessage("Chapters"),
|
"Copy the app settings to the clipboard",
|
||||||
"copyToClipboard": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Copy to Clipboard",
|
"copyToClipboardToast": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Settings copied to clipboard",
|
||||||
"copyToClipboardDescription": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Copy the app settings to the clipboard",
|
"delete": MessageLookupByLibrary.simpleMessage("Delete"),
|
||||||
),
|
"deleteDialog": m2,
|
||||||
"copyToClipboardToast": MessageLookupByLibrary.simpleMessage(
|
"deleted": m3,
|
||||||
"Settings copied to clipboard",
|
"downloadSettings": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Download Settings",
|
||||||
"delete": MessageLookupByLibrary.simpleMessage("Delete"),
|
),
|
||||||
"deleteDialog": m2,
|
"downloadSettingsDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"deleted": m3,
|
"Customize download settings",
|
||||||
"erArmedText": MessageLookupByLibrary.simpleMessage("Release ready"),
|
),
|
||||||
"erDragText": MessageLookupByLibrary.simpleMessage("Pull to refresh"),
|
"erArmedText": MessageLookupByLibrary.simpleMessage("Release ready"),
|
||||||
"erDragTextUp": MessageLookupByLibrary.simpleMessage("Pull to refresh"),
|
"erDragText": MessageLookupByLibrary.simpleMessage("Pull to refresh"),
|
||||||
"erFailedText": MessageLookupByLibrary.simpleMessage("Failed"),
|
"erDragTextUp": MessageLookupByLibrary.simpleMessage("Pull to refresh"),
|
||||||
"erMessageText":
|
"erFailedText": MessageLookupByLibrary.simpleMessage("Failed"),
|
||||||
MessageLookupByLibrary.simpleMessage("Last updated at %T"),
|
"erMessageText": MessageLookupByLibrary.simpleMessage("Last updated at %T"),
|
||||||
"erNoMoreText": MessageLookupByLibrary.simpleMessage("No more"),
|
"erNoMoreText": MessageLookupByLibrary.simpleMessage("No more"),
|
||||||
"erProcessedText": MessageLookupByLibrary.simpleMessage("Succeeded"),
|
"erProcessedText": MessageLookupByLibrary.simpleMessage("Succeeded"),
|
||||||
"erProcessingText":
|
"erProcessingText": MessageLookupByLibrary.simpleMessage("Refreshing..."),
|
||||||
MessageLookupByLibrary.simpleMessage("Refreshing..."),
|
"erReadyText": MessageLookupByLibrary.simpleMessage("Refreshing..."),
|
||||||
"erReadyText": MessageLookupByLibrary.simpleMessage("Refreshing..."),
|
"explore": MessageLookupByLibrary.simpleMessage("explore"),
|
||||||
"explore": MessageLookupByLibrary.simpleMessage("explore"),
|
"exploreHint": MessageLookupByLibrary.simpleMessage(
|
||||||
"exploreHint": MessageLookupByLibrary.simpleMessage(
|
"Seek and you shall discover...",
|
||||||
"Seek and you shall discover...",
|
),
|
||||||
),
|
"exploreTooltip": MessageLookupByLibrary.simpleMessage(
|
||||||
"exploreTooltip": MessageLookupByLibrary.simpleMessage(
|
"Search and Explore",
|
||||||
"Search and Explore",
|
),
|
||||||
),
|
"general": MessageLookupByLibrary.simpleMessage("General"),
|
||||||
"general": MessageLookupByLibrary.simpleMessage("General"),
|
"help": MessageLookupByLibrary.simpleMessage("Help"),
|
||||||
"help": MessageLookupByLibrary.simpleMessage("Help"),
|
"home": MessageLookupByLibrary.simpleMessage("Home"),
|
||||||
"home": MessageLookupByLibrary.simpleMessage("Home"),
|
"homeBookContinueListening": MessageLookupByLibrary.simpleMessage(
|
||||||
"homeBookContinueListening": MessageLookupByLibrary.simpleMessage(
|
"Continue Listening",
|
||||||
"Continue Listening",
|
),
|
||||||
),
|
"homeBookContinueListeningDescription":
|
||||||
"homeBookContinueListeningDescription":
|
MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage(
|
|
||||||
"Show play button for books in currently listening shelf",
|
"Show play button for books in currently listening shelf",
|
||||||
),
|
),
|
||||||
"homeBookContinueSeries": MessageLookupByLibrary.simpleMessage(
|
"homeBookContinueSeries": MessageLookupByLibrary.simpleMessage(
|
||||||
"Continue Series",
|
"Continue Series",
|
||||||
),
|
),
|
||||||
"homeBookContinueSeriesDescription":
|
"homeBookContinueSeriesDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"Show play button for books in continue series shelf",
|
||||||
"Show play button for books in continue series shelf",
|
),
|
||||||
),
|
"homeBookDiscover": MessageLookupByLibrary.simpleMessage("Discover"),
|
||||||
"homeBookDiscover": MessageLookupByLibrary.simpleMessage("Discover"),
|
"homeBookListenAgain": MessageLookupByLibrary.simpleMessage("Listen Again"),
|
||||||
"homeBookListenAgain":
|
"homeBookListenAgainDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage("Listen Again"),
|
"Show play button for all books in listen again shelf",
|
||||||
"homeBookListenAgainDescription": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Show play button for all books in listen again shelf",
|
"homeBookNewestAuthors": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Newest Authors",
|
||||||
"homeBookNewestAuthors": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Newest Authors",
|
"homeBookRecentlyAdded": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Recently Added",
|
||||||
"homeBookRecentlyAdded": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Recently Added",
|
"homeBookRecommended": MessageLookupByLibrary.simpleMessage("Recommended"),
|
||||||
),
|
"homeContinueListening": MessageLookupByLibrary.simpleMessage(
|
||||||
"homeBookRecommended":
|
"Continue Listening",
|
||||||
MessageLookupByLibrary.simpleMessage("Recommended"),
|
),
|
||||||
"homeContinueListening": MessageLookupByLibrary.simpleMessage(
|
"homeListenAgain": MessageLookupByLibrary.simpleMessage("Listen Again"),
|
||||||
"Continue Listening",
|
"homePageSettings": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Home Page Settings",
|
||||||
"homeListenAgain": MessageLookupByLibrary.simpleMessage("Listen Again"),
|
),
|
||||||
"homePageSettings": MessageLookupByLibrary.simpleMessage(
|
"homePageSettingsDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"Home Page Settings",
|
"Customize the home page",
|
||||||
),
|
),
|
||||||
"homePageSettingsDescription": MessageLookupByLibrary.simpleMessage(
|
"homePageSettingsOtherShelves": MessageLookupByLibrary.simpleMessage(
|
||||||
"Customize the home page",
|
"Other shelves",
|
||||||
),
|
),
|
||||||
"homePageSettingsOtherShelves": MessageLookupByLibrary.simpleMessage(
|
"homePageSettingsOtherShelvesDescription":
|
||||||
"Other shelves",
|
MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
|
||||||
"homePageSettingsOtherShelvesDescription":
|
|
||||||
MessageLookupByLibrary.simpleMessage(
|
|
||||||
"Show play button for all books in all remaining shelves",
|
"Show play button for all books in all remaining shelves",
|
||||||
),
|
),
|
||||||
"homePageSettingsQuickPlay": MessageLookupByLibrary.simpleMessage(
|
"homePageSettingsQuickPlay": MessageLookupByLibrary.simpleMessage(
|
||||||
"Quick Play",
|
"Quick Play",
|
||||||
),
|
),
|
||||||
"homeStartListening": MessageLookupByLibrary.simpleMessage(
|
"homeStartListening": MessageLookupByLibrary.simpleMessage(
|
||||||
"Start Listening",
|
"Start Listening",
|
||||||
),
|
),
|
||||||
"language": MessageLookupByLibrary.simpleMessage("Language"),
|
"language": MessageLookupByLibrary.simpleMessage("Language"),
|
||||||
"languageDescription": MessageLookupByLibrary.simpleMessage(
|
"languageDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"Language switch",
|
"Language switch",
|
||||||
),
|
),
|
||||||
"library": MessageLookupByLibrary.simpleMessage("Library"),
|
"library": MessageLookupByLibrary.simpleMessage("Library"),
|
||||||
"libraryChange": MessageLookupByLibrary.simpleMessage("Change Library"),
|
"libraryChange": MessageLookupByLibrary.simpleMessage("Change Library"),
|
||||||
"libraryEmpty": MessageLookupByLibrary.simpleMessage(
|
"libraryEmpty": MessageLookupByLibrary.simpleMessage(
|
||||||
"No libraries available.",
|
"No libraries available.",
|
||||||
),
|
),
|
||||||
"libraryLoadError": m4,
|
"libraryLoadError": m4,
|
||||||
"librarySelect": MessageLookupByLibrary.simpleMessage("Select Library"),
|
"librarySelect": MessageLookupByLibrary.simpleMessage("Select Library"),
|
||||||
"librarySwitchTooltip": MessageLookupByLibrary.simpleMessage(
|
"librarySwitchTooltip": MessageLookupByLibrary.simpleMessage(
|
||||||
"Switch Library",
|
"Switch Library",
|
||||||
),
|
),
|
||||||
"libraryTooltip": MessageLookupByLibrary.simpleMessage(
|
"libraryTooltip": MessageLookupByLibrary.simpleMessage(
|
||||||
"Browse your library",
|
"Browse your library",
|
||||||
),
|
),
|
||||||
"loading": MessageLookupByLibrary.simpleMessage("Loading..."),
|
"loading": MessageLookupByLibrary.simpleMessage("Loading..."),
|
||||||
"loginLocal": MessageLookupByLibrary.simpleMessage("Local"),
|
"loginLocal": MessageLookupByLibrary.simpleMessage("Local"),
|
||||||
"loginLogin": MessageLookupByLibrary.simpleMessage("Login"),
|
"loginLogin": MessageLookupByLibrary.simpleMessage("Login"),
|
||||||
"loginOpenID": MessageLookupByLibrary.simpleMessage("OpenID"),
|
"loginOpenID": MessageLookupByLibrary.simpleMessage("OpenID"),
|
||||||
"loginPassword": MessageLookupByLibrary.simpleMessage("Password"),
|
"loginPassword": MessageLookupByLibrary.simpleMessage("Password"),
|
||||||
"loginServerClick": MessageLookupByLibrary.simpleMessage("Click here"),
|
"loginServerClick": MessageLookupByLibrary.simpleMessage("Click here"),
|
||||||
"loginServerConnected": MessageLookupByLibrary.simpleMessage(
|
"loginServerConnected": MessageLookupByLibrary.simpleMessage(
|
||||||
"Server connected, please login",
|
"Server connected, please login",
|
||||||
),
|
),
|
||||||
"loginServerNo": MessageLookupByLibrary.simpleMessage(
|
"loginServerNo": MessageLookupByLibrary.simpleMessage(
|
||||||
"Do not have a server? ",
|
"Do not have a server? ",
|
||||||
),
|
),
|
||||||
"loginServerNoConnected": MessageLookupByLibrary.simpleMessage(
|
"loginServerNoConnected": MessageLookupByLibrary.simpleMessage(
|
||||||
"Please enter the URL of your AudiobookShelf Server",
|
"Please enter the URL of your AudiobookShelf Server",
|
||||||
),
|
),
|
||||||
"loginServerNot": m5,
|
"loginServerNot": m5,
|
||||||
"loginServerTo": MessageLookupByLibrary.simpleMessage(
|
"loginServerTo": MessageLookupByLibrary.simpleMessage(
|
||||||
" to know how to setup a server.",
|
" to know how to setup a server.",
|
||||||
),
|
),
|
||||||
"loginTitle": m6,
|
"loginTitle": m6,
|
||||||
"loginToken": MessageLookupByLibrary.simpleMessage("Token"),
|
"loginToken": MessageLookupByLibrary.simpleMessage("Token"),
|
||||||
"loginUsername": MessageLookupByLibrary.simpleMessage("Username"),
|
"loginUsername": MessageLookupByLibrary.simpleMessage("Username"),
|
||||||
"logs": MessageLookupByLibrary.simpleMessage("Logs"),
|
"logs": MessageLookupByLibrary.simpleMessage("Logs"),
|
||||||
"nmpSettingsBackward": MessageLookupByLibrary.simpleMessage(
|
"nmpSettingsBackward": MessageLookupByLibrary.simpleMessage(
|
||||||
"Backward Interval",
|
"Backward Interval",
|
||||||
),
|
),
|
||||||
"nmpSettingsForward": MessageLookupByLibrary.simpleMessage(
|
"nmpSettingsForward": MessageLookupByLibrary.simpleMessage(
|
||||||
"Forward Interval",
|
"Forward Interval",
|
||||||
),
|
),
|
||||||
"nmpSettingsMediaControls": MessageLookupByLibrary.simpleMessage(
|
"nmpSettingsMediaControls": MessageLookupByLibrary.simpleMessage(
|
||||||
"Media Controls",
|
"Media Controls",
|
||||||
),
|
),
|
||||||
"nmpSettingsMediaControlsDescription":
|
"nmpSettingsMediaControlsDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"Select the media controls to display",
|
||||||
"Select the media controls to display",
|
),
|
||||||
),
|
"nmpSettingsSelectOne": MessageLookupByLibrary.simpleMessage(
|
||||||
"nmpSettingsSelectOne": MessageLookupByLibrary.simpleMessage(
|
"Select a field below to insert it",
|
||||||
"Select a field below to insert it",
|
),
|
||||||
),
|
"nmpSettingsShowChapterProgress": MessageLookupByLibrary.simpleMessage(
|
||||||
"nmpSettingsShowChapterProgress": MessageLookupByLibrary.simpleMessage(
|
"Show Chapter Progress",
|
||||||
"Show Chapter Progress",
|
),
|
||||||
),
|
"nmpSettingsShowChapterProgressDescription":
|
||||||
"nmpSettingsShowChapterProgressDescription":
|
MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage(
|
|
||||||
"Instead of the overall progress of the book",
|
"Instead of the overall progress of the book",
|
||||||
),
|
),
|
||||||
"nmpSettingsSubTitle": MessageLookupByLibrary.simpleMessage(
|
"nmpSettingsSubTitle": MessageLookupByLibrary.simpleMessage(
|
||||||
"Secondary Title",
|
"Secondary Title",
|
||||||
),
|
),
|
||||||
"nmpSettingsSubTitleDescription": MessageLookupByLibrary.simpleMessage(
|
"nmpSettingsSubTitleDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"The subtitle of the notification\n",
|
"The subtitle of the notification\n",
|
||||||
),
|
),
|
||||||
"nmpSettingsTitle":
|
"nmpSettingsTitle": MessageLookupByLibrary.simpleMessage("Primary Title"),
|
||||||
MessageLookupByLibrary.simpleMessage("Primary Title"),
|
"nmpSettingsTitleDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"nmpSettingsTitleDescription": MessageLookupByLibrary.simpleMessage(
|
"The title of the notification\n",
|
||||||
"The title of the notification\n",
|
),
|
||||||
),
|
"no": MessageLookupByLibrary.simpleMessage("No"),
|
||||||
"no": MessageLookupByLibrary.simpleMessage("No"),
|
"notImplemented": MessageLookupByLibrary.simpleMessage("Not implemented"),
|
||||||
"notImplemented":
|
"notificationMediaPlayer": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage("Not implemented"),
|
"Notification Media Player",
|
||||||
"notificationMediaPlayer": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Notification Media Player",
|
"notificationMediaPlayerDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Customize the media player in notifications",
|
||||||
"notificationMediaPlayerDescription":
|
),
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"ok": MessageLookupByLibrary.simpleMessage("OK"),
|
||||||
"Customize the media player in notifications",
|
"pause": MessageLookupByLibrary.simpleMessage("Pause"),
|
||||||
),
|
"play": MessageLookupByLibrary.simpleMessage("Play"),
|
||||||
"ok": MessageLookupByLibrary.simpleMessage("OK"),
|
"playerSettings": MessageLookupByLibrary.simpleMessage("Player Settings"),
|
||||||
"pause": MessageLookupByLibrary.simpleMessage("Pause"),
|
"playerSettingsCompleteTime": MessageLookupByLibrary.simpleMessage(
|
||||||
"play": MessageLookupByLibrary.simpleMessage("Play"),
|
"Mark Complete When Time Left",
|
||||||
"playerSettings":
|
),
|
||||||
MessageLookupByLibrary.simpleMessage("Player Settings"),
|
"playerSettingsCompleteTimeDescriptionHead":
|
||||||
"playerSettingsCompleteTime": MessageLookupByLibrary.simpleMessage(
|
MessageLookupByLibrary.simpleMessage("Mark complete when less than "),
|
||||||
"Mark Complete When Time Left",
|
"playerSettingsCompleteTimeDescriptionTail":
|
||||||
),
|
MessageLookupByLibrary.simpleMessage(" left in the book"),
|
||||||
"playerSettingsCompleteTimeDescriptionHead":
|
"playerSettingsDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"Customize the player settings",
|
||||||
"Mark complete when less than "),
|
),
|
||||||
"playerSettingsCompleteTimeDescriptionTail":
|
"playerSettingsDisplay": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage(" left in the book"),
|
"Display Settings",
|
||||||
"playerSettingsDescription": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Customize the player settings",
|
"playerSettingsDisplayChapterProgress":
|
||||||
),
|
MessageLookupByLibrary.simpleMessage("Show Chapter Progress"),
|
||||||
"playerSettingsDisplay": MessageLookupByLibrary.simpleMessage(
|
"playerSettingsDisplayChapterProgressDescription":
|
||||||
"Display Settings",
|
MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
|
||||||
"playerSettingsDisplayChapterProgress":
|
|
||||||
MessageLookupByLibrary.simpleMessage("Show Chapter Progress"),
|
|
||||||
"playerSettingsDisplayChapterProgressDescription":
|
|
||||||
MessageLookupByLibrary.simpleMessage(
|
|
||||||
"Show the progress of the current chapter in the player",
|
"Show the progress of the current chapter in the player",
|
||||||
),
|
),
|
||||||
"playerSettingsDisplayTotalProgress":
|
"playerSettingsDisplayTotalProgress": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"Show Total Progress",
|
||||||
"Show Total Progress",
|
),
|
||||||
),
|
"playerSettingsDisplayTotalProgressDescription":
|
||||||
"playerSettingsDisplayTotalProgressDescription":
|
MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage(
|
|
||||||
"Show the total progress of the book in the player",
|
"Show the total progress of the book in the player",
|
||||||
),
|
),
|
||||||
"playerSettingsPlaybackInterval": MessageLookupByLibrary.simpleMessage(
|
"playerSettingsPlaybackInterval": MessageLookupByLibrary.simpleMessage(
|
||||||
"Playback Report Interval",
|
"Playback Report Interval",
|
||||||
),
|
),
|
||||||
"playerSettingsPlaybackIntervalDescriptionHead":
|
"playerSettingsPlaybackIntervalDescriptionHead":
|
||||||
MessageLookupByLibrary.simpleMessage("Report progress every "),
|
MessageLookupByLibrary.simpleMessage("Report progress every "),
|
||||||
"playerSettingsPlaybackIntervalDescriptionTail":
|
"playerSettingsPlaybackIntervalDescriptionTail":
|
||||||
MessageLookupByLibrary.simpleMessage(" to the server"),
|
MessageLookupByLibrary.simpleMessage(" to the server"),
|
||||||
"playerSettingsPlaybackReporting": MessageLookupByLibrary.simpleMessage(
|
"playerSettingsPlaybackReporting": MessageLookupByLibrary.simpleMessage(
|
||||||
"Playback Reporting",
|
"Playback Reporting",
|
||||||
),
|
),
|
||||||
"playerSettingsPlaybackReportingIgnore":
|
"playerSettingsPlaybackReportingIgnore":
|
||||||
MessageLookupByLibrary.simpleMessage(
|
MessageLookupByLibrary.simpleMessage(
|
||||||
"Ignore Playback Position Less Than",
|
"Ignore Playback Position Less Than",
|
||||||
),
|
),
|
||||||
"playerSettingsPlaybackReportingMinimum":
|
"playerSettingsPlaybackReportingMinimum":
|
||||||
MessageLookupByLibrary.simpleMessage("Minimum Position to Report"),
|
MessageLookupByLibrary.simpleMessage("Minimum Position to Report"),
|
||||||
"playerSettingsPlaybackReportingMinimumDescriptionHead":
|
"playerSettingsPlaybackReportingMinimumDescriptionHead":
|
||||||
MessageLookupByLibrary.simpleMessage(
|
MessageLookupByLibrary.simpleMessage(
|
||||||
"Do not report playback for the first ",
|
"Do not report playback for the first ",
|
||||||
),
|
),
|
||||||
"playerSettingsPlaybackReportingMinimumDescriptionTail":
|
"playerSettingsPlaybackReportingMinimumDescriptionTail":
|
||||||
MessageLookupByLibrary.simpleMessage("of the book"),
|
MessageLookupByLibrary.simpleMessage("of the book"),
|
||||||
"playerSettingsRememberForEveryBook":
|
"playerSettingsRememberForEveryBook": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"Remember Player Settings for Every Book",
|
||||||
"Remember Player Settings for Every Book",
|
),
|
||||||
),
|
"playerSettingsRememberForEveryBookDescription":
|
||||||
"playerSettingsRememberForEveryBookDescription":
|
MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage(
|
|
||||||
"Settings like speed, loudness, etc. will be remembered for every book",
|
"Settings like speed, loudness, etc. will be remembered for every book",
|
||||||
),
|
),
|
||||||
"playerSettingsSpeed": MessageLookupByLibrary.simpleMessage("Speed"),
|
"playerSettingsSpeed": MessageLookupByLibrary.simpleMessage("Speed"),
|
||||||
"playerSettingsSpeedDefault": MessageLookupByLibrary.simpleMessage(
|
"playerSettingsSpeedDefault": MessageLookupByLibrary.simpleMessage(
|
||||||
"Default Speed",
|
"Default Speed",
|
||||||
),
|
),
|
||||||
"playerSettingsSpeedOptions": MessageLookupByLibrary.simpleMessage(
|
"playerSettingsSpeedOptions": MessageLookupByLibrary.simpleMessage(
|
||||||
"Speed Options",
|
"Speed Options",
|
||||||
),
|
),
|
||||||
"playerSettingsSpeedOptionsSelect":
|
"playerSettingsSpeedOptionsSelect": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"Select Speed Options",
|
||||||
"Select Speed Options",
|
),
|
||||||
),
|
"playerSettingsSpeedOptionsSelectAdd": MessageLookupByLibrary.simpleMessage(
|
||||||
"playerSettingsSpeedOptionsSelectAdd":
|
"Add Speed Option",
|
||||||
MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Add Speed Option",
|
"playerSettingsSpeedOptionsSelectAddHelper":
|
||||||
),
|
MessageLookupByLibrary.simpleMessage("Enter a new speed option to add"),
|
||||||
"playerSettingsSpeedOptionsSelectAddHelper":
|
"playerSettingsSpeedSelect": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"Select Speed",
|
||||||
"Enter a new speed option to add"),
|
),
|
||||||
"playerSettingsSpeedSelect": MessageLookupByLibrary.simpleMessage(
|
"playerSettingsSpeedSelectHelper": MessageLookupByLibrary.simpleMessage(
|
||||||
"Select Speed",
|
"Enter the speed you want to set when playing for the first time",
|
||||||
),
|
),
|
||||||
"playerSettingsSpeedSelectHelper": MessageLookupByLibrary.simpleMessage(
|
"playlistsMine": MessageLookupByLibrary.simpleMessage("My Playlists"),
|
||||||
"Enter the speed you want to set when playing for the first time",
|
"readLess": MessageLookupByLibrary.simpleMessage("Read Less"),
|
||||||
),
|
"readMore": MessageLookupByLibrary.simpleMessage("Read More"),
|
||||||
"playlistsMine": MessageLookupByLibrary.simpleMessage("My Playlists"),
|
"refresh": MessageLookupByLibrary.simpleMessage("Refresh"),
|
||||||
"readLess": MessageLookupByLibrary.simpleMessage("Read Less"),
|
"reset": MessageLookupByLibrary.simpleMessage("Reset"),
|
||||||
"readMore": MessageLookupByLibrary.simpleMessage("Read More"),
|
"resetAppSettings": MessageLookupByLibrary.simpleMessage(
|
||||||
"refresh": MessageLookupByLibrary.simpleMessage("Refresh"),
|
"Reset App Settings",
|
||||||
"reset": MessageLookupByLibrary.simpleMessage("Reset"),
|
),
|
||||||
"resetAppSettings": MessageLookupByLibrary.simpleMessage(
|
"resetAppSettingsDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"Reset App Settings",
|
"Reset the app settings to the default values",
|
||||||
),
|
),
|
||||||
"resetAppSettingsDescription": MessageLookupByLibrary.simpleMessage(
|
"resetAppSettingsDialog": MessageLookupByLibrary.simpleMessage(
|
||||||
"Reset the app settings to the default values",
|
"Are you sure you want to reset the app settings?",
|
||||||
),
|
),
|
||||||
"resetAppSettingsDialog": MessageLookupByLibrary.simpleMessage(
|
"restore": MessageLookupByLibrary.simpleMessage("Restore"),
|
||||||
"Are you sure you want to reset the app settings?",
|
"restoreBackup": MessageLookupByLibrary.simpleMessage("Restore Backup"),
|
||||||
),
|
"restoreBackupHint": MessageLookupByLibrary.simpleMessage(
|
||||||
"restore": MessageLookupByLibrary.simpleMessage("Restore"),
|
"Paste the backup here",
|
||||||
"restoreBackup": MessageLookupByLibrary.simpleMessage("Restore Backup"),
|
),
|
||||||
"restoreBackupHint": MessageLookupByLibrary.simpleMessage(
|
"restoreBackupInvalid": MessageLookupByLibrary.simpleMessage(
|
||||||
"Paste the backup here",
|
"Invalid backup",
|
||||||
),
|
),
|
||||||
"restoreBackupInvalid": MessageLookupByLibrary.simpleMessage(
|
"restoreBackupSuccess": MessageLookupByLibrary.simpleMessage(
|
||||||
"Invalid backup",
|
"Settings restored",
|
||||||
),
|
),
|
||||||
"restoreBackupSuccess": MessageLookupByLibrary.simpleMessage(
|
"restoreBackupValidator": MessageLookupByLibrary.simpleMessage(
|
||||||
"Settings restored",
|
"Please paste the backup here",
|
||||||
),
|
),
|
||||||
"restoreBackupValidator": MessageLookupByLibrary.simpleMessage(
|
"restoreDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"Please paste the backup here",
|
"Restore the app settings from the backup",
|
||||||
),
|
),
|
||||||
"restoreDescription": MessageLookupByLibrary.simpleMessage(
|
"resume": MessageLookupByLibrary.simpleMessage("Resume"),
|
||||||
"Restore the app settings from the backup",
|
"retry": MessageLookupByLibrary.simpleMessage("Retry"),
|
||||||
),
|
"settings": MessageLookupByLibrary.simpleMessage("Settings"),
|
||||||
"resume": MessageLookupByLibrary.simpleMessage("Resume"),
|
"shakeAction": MessageLookupByLibrary.simpleMessage("Shake Action"),
|
||||||
"retry": MessageLookupByLibrary.simpleMessage("Retry"),
|
"shakeActionDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"settings": MessageLookupByLibrary.simpleMessage("Settings"),
|
"The action to perform when a shake is detected",
|
||||||
"shakeAction": MessageLookupByLibrary.simpleMessage("Shake Action"),
|
),
|
||||||
"shakeActionDescription": MessageLookupByLibrary.simpleMessage(
|
"shakeActivationThreshold": MessageLookupByLibrary.simpleMessage(
|
||||||
"The action to perform when a shake is detected",
|
"Shake Activation Threshold",
|
||||||
),
|
),
|
||||||
"shakeActivationThreshold": MessageLookupByLibrary.simpleMessage(
|
"shakeActivationThresholdDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"Shake Activation Threshold",
|
"The higher the threshold, the harder you need to shake",
|
||||||
),
|
),
|
||||||
"shakeActivationThresholdDescription":
|
"shakeDetector": MessageLookupByLibrary.simpleMessage("Shake Detector"),
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"shakeDetectorDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"The higher the threshold, the harder you need to shake",
|
"Customize the shake detector settings",
|
||||||
),
|
),
|
||||||
"shakeDetector": MessageLookupByLibrary.simpleMessage("Shake Detector"),
|
"shakeDetectorEnable": MessageLookupByLibrary.simpleMessage(
|
||||||
"shakeDetectorDescription": MessageLookupByLibrary.simpleMessage(
|
"Enable Shake Detection",
|
||||||
"Customize the shake detector settings",
|
),
|
||||||
),
|
"shakeDetectorEnableDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"shakeDetectorEnable": MessageLookupByLibrary.simpleMessage(
|
"Enable shake detection to do various actions",
|
||||||
"Enable Shake Detection",
|
),
|
||||||
),
|
"shakeDetectorSettings": MessageLookupByLibrary.simpleMessage(
|
||||||
"shakeDetectorEnableDescription": MessageLookupByLibrary.simpleMessage(
|
"Shake Detector Settings",
|
||||||
"Enable shake detection to do various actions",
|
),
|
||||||
),
|
"shakeFeedback": MessageLookupByLibrary.simpleMessage("Shake Feedback"),
|
||||||
"shakeDetectorSettings": MessageLookupByLibrary.simpleMessage(
|
"shakeFeedbackDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"Shake Detector Settings",
|
"The feedback to give when a shake is detected",
|
||||||
),
|
),
|
||||||
"shakeFeedback": MessageLookupByLibrary.simpleMessage("Shake Feedback"),
|
"shakeSelectAction": MessageLookupByLibrary.simpleMessage(
|
||||||
"shakeFeedbackDescription": MessageLookupByLibrary.simpleMessage(
|
"Select Shake Action",
|
||||||
"The feedback to give when a shake is detected",
|
),
|
||||||
),
|
"shakeSelectActivationThreshold": MessageLookupByLibrary.simpleMessage(
|
||||||
"shakeSelectAction": MessageLookupByLibrary.simpleMessage(
|
"Select Shake Activation Threshold",
|
||||||
"Select Shake Action",
|
),
|
||||||
),
|
"shakeSelectActivationThresholdHelper":
|
||||||
"shakeSelectActivationThreshold": MessageLookupByLibrary.simpleMessage(
|
MessageLookupByLibrary.simpleMessage(
|
||||||
"Select Shake Activation Threshold",
|
|
||||||
),
|
|
||||||
"shakeSelectActivationThresholdHelper":
|
|
||||||
MessageLookupByLibrary.simpleMessage(
|
|
||||||
"Enter a number to set the threshold in m/s²",
|
"Enter a number to set the threshold in m/s²",
|
||||||
),
|
),
|
||||||
"shakeSelectFeedback": MessageLookupByLibrary.simpleMessage(
|
"shakeSelectFeedback": MessageLookupByLibrary.simpleMessage(
|
||||||
"Select Shake Feedback",
|
"Select Shake Feedback",
|
||||||
),
|
),
|
||||||
"themeMode": MessageLookupByLibrary.simpleMessage("Theme Mode"),
|
"themeMode": MessageLookupByLibrary.simpleMessage("Theme Mode"),
|
||||||
"themeModeDark": MessageLookupByLibrary.simpleMessage("Dark"),
|
"themeModeDark": MessageLookupByLibrary.simpleMessage("Dark"),
|
||||||
"themeModeHighContrast": MessageLookupByLibrary.simpleMessage(
|
"themeModeHighContrast": MessageLookupByLibrary.simpleMessage(
|
||||||
"High Contrast Mode",
|
"High Contrast Mode",
|
||||||
),
|
),
|
||||||
"themeModeHighContrastDescription":
|
"themeModeHighContrastDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"Increase the contrast between the background and the text",
|
||||||
"Increase the contrast between the background and the text",
|
),
|
||||||
),
|
"themeModeLight": MessageLookupByLibrary.simpleMessage("Light"),
|
||||||
"themeModeLight": MessageLookupByLibrary.simpleMessage("Light"),
|
"themeModeSystem": MessageLookupByLibrary.simpleMessage("System"),
|
||||||
"themeModeSystem": MessageLookupByLibrary.simpleMessage("System"),
|
"themeSettings": MessageLookupByLibrary.simpleMessage("Theme Settings"),
|
||||||
"themeSettings": MessageLookupByLibrary.simpleMessage("Theme Settings"),
|
"themeSettingsColors": MessageLookupByLibrary.simpleMessage(
|
||||||
"themeSettingsColors": MessageLookupByLibrary.simpleMessage(
|
"Material Theme from System",
|
||||||
"Material Theme from System",
|
),
|
||||||
),
|
"themeSettingsColorsAndroid": MessageLookupByLibrary.simpleMessage(
|
||||||
"themeSettingsColorsAndroid": MessageLookupByLibrary.simpleMessage(
|
"Use Material You",
|
||||||
"Use Material You",
|
),
|
||||||
),
|
"themeSettingsColorsBook": MessageLookupByLibrary.simpleMessage(
|
||||||
"themeSettingsColorsBook": MessageLookupByLibrary.simpleMessage(
|
"Adaptive Theme on Item Page",
|
||||||
"Adaptive Theme on Item Page",
|
),
|
||||||
),
|
"themeSettingsColorsBookDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"themeSettingsColorsBookDescription":
|
"Get fancy with the colors on the item page at the cost of some performance",
|
||||||
MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Get fancy with the colors on the item page at the cost of some performance",
|
"themeSettingsColorsCurrent": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"Adapt theme from currently playing item",
|
||||||
"themeSettingsColorsCurrent": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"Adapt theme from currently playing item",
|
"themeSettingsColorsCurrentDescription":
|
||||||
),
|
MessageLookupByLibrary.simpleMessage(
|
||||||
"themeSettingsColorsCurrentDescription":
|
|
||||||
MessageLookupByLibrary.simpleMessage(
|
|
||||||
"Use the theme colors from the currently playing item for the app",
|
"Use the theme colors from the currently playing item for the app",
|
||||||
),
|
),
|
||||||
"themeSettingsColorsDescription": MessageLookupByLibrary.simpleMessage(
|
"themeSettingsColorsDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"Use the system theme colors for the app",
|
"Use the system theme colors for the app",
|
||||||
),
|
),
|
||||||
"themeSettingsDescription": MessageLookupByLibrary.simpleMessage(
|
"themeSettingsDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"Customize the app theme",
|
"Customize the app theme",
|
||||||
),
|
),
|
||||||
"timeSecond": m7,
|
"timeSecond": m7,
|
||||||
"unknown": MessageLookupByLibrary.simpleMessage("Unknown"),
|
"unknown": MessageLookupByLibrary.simpleMessage("Unknown"),
|
||||||
"webVersion": MessageLookupByLibrary.simpleMessage("Web Version"),
|
"webVersion": MessageLookupByLibrary.simpleMessage("Web Version"),
|
||||||
"yes": MessageLookupByLibrary.simpleMessage("Yes"),
|
"yes": MessageLookupByLibrary.simpleMessage("Yes"),
|
||||||
"you": MessageLookupByLibrary.simpleMessage("You"),
|
"you": MessageLookupByLibrary.simpleMessage("You"),
|
||||||
"youTooltip": MessageLookupByLibrary.simpleMessage(
|
"youTooltip": MessageLookupByLibrary.simpleMessage(
|
||||||
"Your Profile and Settings",
|
"Your Profile and Settings",
|
||||||
),
|
),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -38,363 +38,338 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||||
|
|
||||||
final messages = _notInlinedMessages(_notInlinedMessages);
|
final messages = _notInlinedMessages(_notInlinedMessages);
|
||||||
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
|
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{
|
||||||
"account": MessageLookupByLibrary.simpleMessage("账户"),
|
"account": MessageLookupByLibrary.simpleMessage("账户"),
|
||||||
"accountAddNewServer": MessageLookupByLibrary.simpleMessage("添加新服务器"),
|
"accountAddNewServer": MessageLookupByLibrary.simpleMessage("添加新服务器"),
|
||||||
"accountAddUser": MessageLookupByLibrary.simpleMessage("添加用户"),
|
"accountAddUser": MessageLookupByLibrary.simpleMessage("添加用户"),
|
||||||
"accountAddUserDialog": m0,
|
"accountAddUserDialog": m0,
|
||||||
"accountAddUserSuccessDialog": MessageLookupByLibrary.simpleMessage(
|
"accountAddUserSuccessDialog": MessageLookupByLibrary.simpleMessage(
|
||||||
"用户添加成功!切换?",
|
"用户添加成功!切换?",
|
||||||
),
|
),
|
||||||
"accountAddUserTooltip": MessageLookupByLibrary.simpleMessage("添加新服务器"),
|
"accountAddUserTooltip": MessageLookupByLibrary.simpleMessage("添加新服务器"),
|
||||||
"accountAnonymous": MessageLookupByLibrary.simpleMessage("匿名"),
|
"accountAnonymous": MessageLookupByLibrary.simpleMessage("匿名"),
|
||||||
"accountDeleteServer": MessageLookupByLibrary.simpleMessage("删除服务器"),
|
"accountDeleteServer": MessageLookupByLibrary.simpleMessage("删除服务器"),
|
||||||
"accountInvalidURL": MessageLookupByLibrary.simpleMessage("无效网址"),
|
"accountInvalidURL": MessageLookupByLibrary.simpleMessage("无效网址"),
|
||||||
"accountManage": MessageLookupByLibrary.simpleMessage("帐户管理"),
|
"accountManage": MessageLookupByLibrary.simpleMessage("帐户管理"),
|
||||||
"accountRegisteredServers":
|
"accountRegisteredServers": MessageLookupByLibrary.simpleMessage("已注册服务器"),
|
||||||
MessageLookupByLibrary.simpleMessage("已注册服务器"),
|
"accountRemoveServerAndUsers": MessageLookupByLibrary.simpleMessage(
|
||||||
"accountRemoveServerAndUsers": MessageLookupByLibrary.simpleMessage(
|
"删除服务器和用户",
|
||||||
"删除服务器和用户",
|
),
|
||||||
),
|
"accountRemoveServerAndUsersHead": MessageLookupByLibrary.simpleMessage(
|
||||||
"accountRemoveServerAndUsersHead": MessageLookupByLibrary.simpleMessage(
|
"这将删除服务器 ",
|
||||||
"这将删除服务器 ",
|
),
|
||||||
),
|
"accountRemoveServerAndUsersTail": MessageLookupByLibrary.simpleMessage(
|
||||||
"accountRemoveServerAndUsersTail": MessageLookupByLibrary.simpleMessage(
|
" 以及该应用程序中所有用户的登录信息。",
|
||||||
" 以及该应用程序中所有用户的登录信息。",
|
),
|
||||||
),
|
"accountRemoveUserLogin": MessageLookupByLibrary.simpleMessage("删除用户登录"),
|
||||||
"accountRemoveUserLogin":
|
"accountRemoveUserLoginHead": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage("删除用户登录"),
|
"这将删除用户 ",
|
||||||
"accountRemoveUserLoginHead": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"这将删除用户 ",
|
"accountRemoveUserLoginTail": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
" 的登录详细信息。",
|
||||||
"accountRemoveUserLoginTail": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
" 的登录详细信息。",
|
"accountServerURI": MessageLookupByLibrary.simpleMessage("服务器地址"),
|
||||||
),
|
"accountSwitch": MessageLookupByLibrary.simpleMessage("切换账户"),
|
||||||
"accountServerURI": MessageLookupByLibrary.simpleMessage("服务器地址"),
|
"accountUsersCount": m1,
|
||||||
"accountSwitch": MessageLookupByLibrary.simpleMessage("切换账户"),
|
"appSettings": MessageLookupByLibrary.simpleMessage("应用设置"),
|
||||||
"accountUsersCount": m1,
|
"appearance": MessageLookupByLibrary.simpleMessage("外观"),
|
||||||
"appSettings": MessageLookupByLibrary.simpleMessage("应用设置"),
|
"autoSleepTimerSettings": MessageLookupByLibrary.simpleMessage("自动睡眠定时器设置"),
|
||||||
"appearance": MessageLookupByLibrary.simpleMessage("外观"),
|
"autoTurnOnSleepTimer": MessageLookupByLibrary.simpleMessage("自动开启睡眠定时器"),
|
||||||
"autoSleepTimerSettings":
|
"autoTurnOnTimer": MessageLookupByLibrary.simpleMessage("自动开启定时器"),
|
||||||
MessageLookupByLibrary.simpleMessage("自动睡眠定时器设置"),
|
"autoTurnOnTimerAlways": MessageLookupByLibrary.simpleMessage("始终自动开启定时器"),
|
||||||
"autoTurnOnSleepTimer":
|
"autoTurnOnTimerAlwaysDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage("自动开启睡眠定时器"),
|
"总是打开睡眠定时器",
|
||||||
"autoTurnOnTimer": MessageLookupByLibrary.simpleMessage("自动开启定时器"),
|
),
|
||||||
"autoTurnOnTimerAlways":
|
"autoTurnOnTimerDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage("始终自动开启定时器"),
|
"根据一天中的时间自动打开睡眠定时器",
|
||||||
"autoTurnOnTimerAlwaysDescription":
|
),
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"autoTurnOnTimerFrom": MessageLookupByLibrary.simpleMessage("从"),
|
||||||
"总是打开睡眠定时器",
|
"autoTurnOnTimerFromDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"在指定时间打开睡眠定时器",
|
||||||
"autoTurnOnTimerDescription": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"根据一天中的时间自动打开睡眠定时器",
|
"autoTurnOnTimerUntil": MessageLookupByLibrary.simpleMessage("直到"),
|
||||||
),
|
"autoTurnOnTimerUntilDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"autoTurnOnTimerFrom": MessageLookupByLibrary.simpleMessage("从"),
|
"在指定时间关闭睡眠定时器",
|
||||||
"autoTurnOnTimerFromDescription": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"在指定时间打开睡眠定时器",
|
"automaticallyDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"根据一天中的时间自动打开睡眠定时器",
|
||||||
"autoTurnOnTimerUntil": MessageLookupByLibrary.simpleMessage("直到"),
|
),
|
||||||
"autoTurnOnTimerUntilDescription": MessageLookupByLibrary.simpleMessage(
|
"backup": MessageLookupByLibrary.simpleMessage("备份"),
|
||||||
"在指定时间关闭睡眠定时器",
|
"backupAndRestore": MessageLookupByLibrary.simpleMessage("备份与恢复"),
|
||||||
),
|
"bookAbout": MessageLookupByLibrary.simpleMessage("关于本书"),
|
||||||
"automaticallyDescription": MessageLookupByLibrary.simpleMessage(
|
"bookAboutDefault": MessageLookupByLibrary.simpleMessage("抱歉,找不到描述"),
|
||||||
"根据一天中的时间自动打开睡眠定时器",
|
"bookAuthors": MessageLookupByLibrary.simpleMessage("作者"),
|
||||||
),
|
"bookDownloads": MessageLookupByLibrary.simpleMessage("下载"),
|
||||||
"backup": MessageLookupByLibrary.simpleMessage("备份"),
|
"bookGenres": MessageLookupByLibrary.simpleMessage("风格"),
|
||||||
"backupAndRestore": MessageLookupByLibrary.simpleMessage("备份与恢复"),
|
"bookMetadataAbridged": MessageLookupByLibrary.simpleMessage("删节版"),
|
||||||
"bookAbout": MessageLookupByLibrary.simpleMessage("关于本书"),
|
"bookMetadataLength": MessageLookupByLibrary.simpleMessage("持续时间"),
|
||||||
"bookAboutDefault": MessageLookupByLibrary.simpleMessage("抱歉,找不到描述"),
|
"bookMetadataPublished": MessageLookupByLibrary.simpleMessage("发布年份"),
|
||||||
"bookAuthors": MessageLookupByLibrary.simpleMessage("作者"),
|
"bookMetadataUnabridged": MessageLookupByLibrary.simpleMessage("未删节版"),
|
||||||
"bookDownloads": MessageLookupByLibrary.simpleMessage("下载"),
|
"bookSeries": MessageLookupByLibrary.simpleMessage("系列"),
|
||||||
"bookGenres": MessageLookupByLibrary.simpleMessage("风格"),
|
"bookShelveEmpty": MessageLookupByLibrary.simpleMessage("重试"),
|
||||||
"bookMetadataAbridged": MessageLookupByLibrary.simpleMessage("删节版"),
|
"bookShelveEmptyText": MessageLookupByLibrary.simpleMessage("未查询到书架"),
|
||||||
"bookMetadataLength": MessageLookupByLibrary.simpleMessage("持续时间"),
|
"cancel": MessageLookupByLibrary.simpleMessage("取消"),
|
||||||
"bookMetadataPublished": MessageLookupByLibrary.simpleMessage("发布年份"),
|
"chapterNotFound": MessageLookupByLibrary.simpleMessage("未找到章节"),
|
||||||
"bookMetadataUnabridged": MessageLookupByLibrary.simpleMessage("未删节版"),
|
"chapterSelect": MessageLookupByLibrary.simpleMessage("选择章节"),
|
||||||
"bookSeries": MessageLookupByLibrary.simpleMessage("系列"),
|
"chapterSkip": MessageLookupByLibrary.simpleMessage("跳过章节片头片尾"),
|
||||||
"bookShelveEmpty": MessageLookupByLibrary.simpleMessage("重试"),
|
"chapterSkipEnd": MessageLookupByLibrary.simpleMessage("跳过章节片尾 "),
|
||||||
"bookShelveEmptyText": MessageLookupByLibrary.simpleMessage("未查询到书架"),
|
"chapterSkipOpen": MessageLookupByLibrary.simpleMessage("跳过章节片头 "),
|
||||||
"cancel": MessageLookupByLibrary.simpleMessage("取消"),
|
"chapters": MessageLookupByLibrary.simpleMessage("章节列表"),
|
||||||
"chapterNotFound": MessageLookupByLibrary.simpleMessage("未找到章节"),
|
"copyToClipboard": MessageLookupByLibrary.simpleMessage("复制到剪贴板"),
|
||||||
"chapterSelect": MessageLookupByLibrary.simpleMessage("选择章节"),
|
"copyToClipboardDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"chapterSkip": MessageLookupByLibrary.simpleMessage("跳过章节片头片尾"),
|
"将应用程序设置复制到剪贴板",
|
||||||
"chapterSkipEnd": MessageLookupByLibrary.simpleMessage("跳过章节片尾 "),
|
),
|
||||||
"chapterSkipOpen": MessageLookupByLibrary.simpleMessage("跳过章节片头 "),
|
"copyToClipboardToast": MessageLookupByLibrary.simpleMessage("设置已复制到剪贴板"),
|
||||||
"chapters": MessageLookupByLibrary.simpleMessage("章节列表"),
|
"delete": MessageLookupByLibrary.simpleMessage("删除"),
|
||||||
"copyToClipboard": MessageLookupByLibrary.simpleMessage("复制到剪贴板"),
|
"deleteDialog": m2,
|
||||||
"copyToClipboardDescription": MessageLookupByLibrary.simpleMessage(
|
"deleted": m3,
|
||||||
"将应用程序设置复制到剪贴板",
|
"downloadSettings": MessageLookupByLibrary.simpleMessage("下载设置"),
|
||||||
),
|
"downloadSettingsDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"copyToClipboardToast":
|
"自定义下载设置",
|
||||||
MessageLookupByLibrary.simpleMessage("设置已复制到剪贴板"),
|
),
|
||||||
"delete": MessageLookupByLibrary.simpleMessage("删除"),
|
"erArmedText": MessageLookupByLibrary.simpleMessage("准备就绪"),
|
||||||
"deleteDialog": m2,
|
"erDragText": MessageLookupByLibrary.simpleMessage("下拉刷新"),
|
||||||
"deleted": m3,
|
"erDragTextUp": MessageLookupByLibrary.simpleMessage("上拉加载"),
|
||||||
"erArmedText": MessageLookupByLibrary.simpleMessage("准备就绪"),
|
"erFailedText": MessageLookupByLibrary.simpleMessage("失败"),
|
||||||
"erDragText": MessageLookupByLibrary.simpleMessage("下拉刷新"),
|
"erMessageText": MessageLookupByLibrary.simpleMessage("最后更新于 %T"),
|
||||||
"erDragTextUp": MessageLookupByLibrary.simpleMessage("上拉加载"),
|
"erNoMoreText": MessageLookupByLibrary.simpleMessage("没有更多"),
|
||||||
"erFailedText": MessageLookupByLibrary.simpleMessage("失败"),
|
"erProcessedText": MessageLookupByLibrary.simpleMessage("成功"),
|
||||||
"erMessageText": MessageLookupByLibrary.simpleMessage("最后更新于 %T"),
|
"erProcessingText": MessageLookupByLibrary.simpleMessage("刷新..."),
|
||||||
"erNoMoreText": MessageLookupByLibrary.simpleMessage("没有更多"),
|
"erReadyText": MessageLookupByLibrary.simpleMessage("刷新..."),
|
||||||
"erProcessedText": MessageLookupByLibrary.simpleMessage("成功"),
|
"explore": MessageLookupByLibrary.simpleMessage("探索"),
|
||||||
"erProcessingText": MessageLookupByLibrary.simpleMessage("刷新..."),
|
"exploreHint": MessageLookupByLibrary.simpleMessage("搜索与探索..."),
|
||||||
"erReadyText": MessageLookupByLibrary.simpleMessage("刷新..."),
|
"exploreTooltip": MessageLookupByLibrary.simpleMessage("搜索和探索"),
|
||||||
"explore": MessageLookupByLibrary.simpleMessage("探索"),
|
"general": MessageLookupByLibrary.simpleMessage("通用"),
|
||||||
"exploreHint": MessageLookupByLibrary.simpleMessage("搜索与探索..."),
|
"help": MessageLookupByLibrary.simpleMessage("Help"),
|
||||||
"exploreTooltip": MessageLookupByLibrary.simpleMessage("搜索和探索"),
|
"home": MessageLookupByLibrary.simpleMessage("首页"),
|
||||||
"general": MessageLookupByLibrary.simpleMessage("通用"),
|
"homeBookContinueListening": MessageLookupByLibrary.simpleMessage("继续收听"),
|
||||||
"help": MessageLookupByLibrary.simpleMessage("Help"),
|
"homeBookContinueListeningDescription":
|
||||||
"home": MessageLookupByLibrary.simpleMessage("首页"),
|
MessageLookupByLibrary.simpleMessage("继续收听书架上显示播放按钮"),
|
||||||
"homeBookContinueListening":
|
"homeBookContinueSeries": MessageLookupByLibrary.simpleMessage("继续系列"),
|
||||||
MessageLookupByLibrary.simpleMessage("继续收听"),
|
"homeBookContinueSeriesDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"homeBookContinueListeningDescription":
|
"继续系列书架上显示播放按钮",
|
||||||
MessageLookupByLibrary.simpleMessage("继续收听书架上显示播放按钮"),
|
),
|
||||||
"homeBookContinueSeries": MessageLookupByLibrary.simpleMessage("继续系列"),
|
"homeBookDiscover": MessageLookupByLibrary.simpleMessage("发现"),
|
||||||
"homeBookContinueSeriesDescription":
|
"homeBookListenAgain": MessageLookupByLibrary.simpleMessage("再听一遍"),
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"homeBookListenAgainDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"继续系列书架上显示播放按钮",
|
"再听一遍书架上显示播放按钮",
|
||||||
),
|
),
|
||||||
"homeBookDiscover": MessageLookupByLibrary.simpleMessage("发现"),
|
"homeBookNewestAuthors": MessageLookupByLibrary.simpleMessage("最新作者"),
|
||||||
"homeBookListenAgain": MessageLookupByLibrary.simpleMessage("再听一遍"),
|
"homeBookRecentlyAdded": MessageLookupByLibrary.simpleMessage("最近添加"),
|
||||||
"homeBookListenAgainDescription": MessageLookupByLibrary.simpleMessage(
|
"homeBookRecommended": MessageLookupByLibrary.simpleMessage("推荐"),
|
||||||
"再听一遍书架上显示播放按钮",
|
"homeContinueListening": MessageLookupByLibrary.simpleMessage("继续收听"),
|
||||||
),
|
"homeListenAgain": MessageLookupByLibrary.simpleMessage("再听一遍"),
|
||||||
"homeBookNewestAuthors": MessageLookupByLibrary.simpleMessage("最新作者"),
|
"homePageSettings": MessageLookupByLibrary.simpleMessage("主页设置"),
|
||||||
"homeBookRecentlyAdded": MessageLookupByLibrary.simpleMessage("最近添加"),
|
"homePageSettingsDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"homeBookRecommended": MessageLookupByLibrary.simpleMessage("推荐"),
|
"自定义主页",
|
||||||
"homeContinueListening": MessageLookupByLibrary.simpleMessage("继续收听"),
|
),
|
||||||
"homeListenAgain": MessageLookupByLibrary.simpleMessage("再听一遍"),
|
"homePageSettingsOtherShelves": MessageLookupByLibrary.simpleMessage(
|
||||||
"homePageSettings": MessageLookupByLibrary.simpleMessage("主页设置"),
|
"其他书架",
|
||||||
"homePageSettingsDescription": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"自定义主页",
|
"homePageSettingsOtherShelvesDescription":
|
||||||
),
|
MessageLookupByLibrary.simpleMessage("显示所有剩余书架上所有书籍的播放按钮"),
|
||||||
"homePageSettingsOtherShelves": MessageLookupByLibrary.simpleMessage(
|
"homePageSettingsQuickPlay": MessageLookupByLibrary.simpleMessage("继续播放"),
|
||||||
"其他书架",
|
"homeStartListening": MessageLookupByLibrary.simpleMessage("开始收听"),
|
||||||
),
|
"language": MessageLookupByLibrary.simpleMessage("语言"),
|
||||||
"homePageSettingsOtherShelvesDescription":
|
"languageDescription": MessageLookupByLibrary.simpleMessage("语言切换"),
|
||||||
MessageLookupByLibrary.simpleMessage("显示所有剩余书架上所有书籍的播放按钮"),
|
"library": MessageLookupByLibrary.simpleMessage("媒体库"),
|
||||||
"homePageSettingsQuickPlay":
|
"libraryChange": MessageLookupByLibrary.simpleMessage("更改媒体库"),
|
||||||
MessageLookupByLibrary.simpleMessage("继续播放"),
|
"libraryEmpty": MessageLookupByLibrary.simpleMessage("没有可用的库。"),
|
||||||
"homeStartListening": MessageLookupByLibrary.simpleMessage("开始收听"),
|
"libraryLoadError": m4,
|
||||||
"language": MessageLookupByLibrary.simpleMessage("语言"),
|
"librarySelect": MessageLookupByLibrary.simpleMessage("选择媒体库"),
|
||||||
"languageDescription": MessageLookupByLibrary.simpleMessage("语言切换"),
|
"librarySwitchTooltip": MessageLookupByLibrary.simpleMessage("切换媒体库"),
|
||||||
"library": MessageLookupByLibrary.simpleMessage("媒体库"),
|
"libraryTooltip": MessageLookupByLibrary.simpleMessage("浏览您的媒体库"),
|
||||||
"libraryChange": MessageLookupByLibrary.simpleMessage("更改媒体库"),
|
"loading": MessageLookupByLibrary.simpleMessage("加载中..."),
|
||||||
"libraryEmpty": MessageLookupByLibrary.simpleMessage("没有可用的库。"),
|
"loginLocal": MessageLookupByLibrary.simpleMessage("Local"),
|
||||||
"libraryLoadError": m4,
|
"loginLogin": MessageLookupByLibrary.simpleMessage("登录"),
|
||||||
"librarySelect": MessageLookupByLibrary.simpleMessage("选择媒体库"),
|
"loginOpenID": MessageLookupByLibrary.simpleMessage("OpenID"),
|
||||||
"librarySwitchTooltip": MessageLookupByLibrary.simpleMessage("切换媒体库"),
|
"loginPassword": MessageLookupByLibrary.simpleMessage("密码"),
|
||||||
"libraryTooltip": MessageLookupByLibrary.simpleMessage("浏览您的媒体库"),
|
"loginServerClick": MessageLookupByLibrary.simpleMessage("单击此处"),
|
||||||
"loading": MessageLookupByLibrary.simpleMessage("加载中..."),
|
"loginServerConnected": MessageLookupByLibrary.simpleMessage("服务器已连接,请登录"),
|
||||||
"loginLocal": MessageLookupByLibrary.simpleMessage("Local"),
|
"loginServerNo": MessageLookupByLibrary.simpleMessage("没有服务器? "),
|
||||||
"loginLogin": MessageLookupByLibrary.simpleMessage("登录"),
|
"loginServerNoConnected": MessageLookupByLibrary.simpleMessage(
|
||||||
"loginOpenID": MessageLookupByLibrary.simpleMessage("OpenID"),
|
"请输入您的AudiobookShelf服务器的URL",
|
||||||
"loginPassword": MessageLookupByLibrary.simpleMessage("密码"),
|
),
|
||||||
"loginServerClick": MessageLookupByLibrary.simpleMessage("单击此处"),
|
"loginServerNot": m5,
|
||||||
"loginServerConnected":
|
"loginServerTo": MessageLookupByLibrary.simpleMessage(" 了解如何设置服务器。"),
|
||||||
MessageLookupByLibrary.simpleMessage("服务器已连接,请登录"),
|
"loginTitle": m6,
|
||||||
"loginServerNo": MessageLookupByLibrary.simpleMessage("没有服务器? "),
|
"loginToken": MessageLookupByLibrary.simpleMessage("Token"),
|
||||||
"loginServerNoConnected": MessageLookupByLibrary.simpleMessage(
|
"loginUsername": MessageLookupByLibrary.simpleMessage("用户名"),
|
||||||
"请输入您的AudiobookShelf服务器的URL",
|
"logs": MessageLookupByLibrary.simpleMessage("日志"),
|
||||||
),
|
"nmpSettingsBackward": MessageLookupByLibrary.simpleMessage("快退间隔"),
|
||||||
"loginServerNot": m5,
|
"nmpSettingsForward": MessageLookupByLibrary.simpleMessage("快进间隔"),
|
||||||
"loginServerTo": MessageLookupByLibrary.simpleMessage(" 了解如何设置服务器。"),
|
"nmpSettingsMediaControls": MessageLookupByLibrary.simpleMessage("媒体控制"),
|
||||||
"loginTitle": m6,
|
"nmpSettingsMediaControlsDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"loginToken": MessageLookupByLibrary.simpleMessage("Token"),
|
"选择要显示的媒体控件",
|
||||||
"loginUsername": MessageLookupByLibrary.simpleMessage("用户名"),
|
),
|
||||||
"logs": MessageLookupByLibrary.simpleMessage("日志"),
|
"nmpSettingsSelectOne": MessageLookupByLibrary.simpleMessage(
|
||||||
"nmpSettingsBackward": MessageLookupByLibrary.simpleMessage("快退间隔"),
|
"在下面选择一个字段进行插入",
|
||||||
"nmpSettingsForward": MessageLookupByLibrary.simpleMessage("快进间隔"),
|
),
|
||||||
"nmpSettingsMediaControls":
|
"nmpSettingsShowChapterProgress": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage("媒体控制"),
|
"显示章节进度",
|
||||||
"nmpSettingsMediaControlsDescription":
|
),
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"nmpSettingsShowChapterProgressDescription":
|
||||||
"选择要显示的媒体控件",
|
MessageLookupByLibrary.simpleMessage("而不是本书的整体进展"),
|
||||||
),
|
"nmpSettingsSubTitle": MessageLookupByLibrary.simpleMessage("副标题"),
|
||||||
"nmpSettingsSelectOne": MessageLookupByLibrary.simpleMessage(
|
"nmpSettingsSubTitleDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"在下面选择一个字段进行插入",
|
"通知的副标题\n",
|
||||||
),
|
),
|
||||||
"nmpSettingsShowChapterProgress": MessageLookupByLibrary.simpleMessage(
|
"nmpSettingsTitle": MessageLookupByLibrary.simpleMessage("主标题"),
|
||||||
"显示章节进度",
|
"nmpSettingsTitleDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"通知的标题\n",
|
||||||
"nmpSettingsShowChapterProgressDescription":
|
),
|
||||||
MessageLookupByLibrary.simpleMessage("而不是本书的整体进展"),
|
"no": MessageLookupByLibrary.simpleMessage("否"),
|
||||||
"nmpSettingsSubTitle": MessageLookupByLibrary.simpleMessage("副标题"),
|
"notImplemented": MessageLookupByLibrary.simpleMessage("未实现"),
|
||||||
"nmpSettingsSubTitleDescription": MessageLookupByLibrary.simpleMessage(
|
"notificationMediaPlayer": MessageLookupByLibrary.simpleMessage("通知媒体播放器"),
|
||||||
"通知的副标题\n",
|
"notificationMediaPlayerDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"在通知中自定义媒体播放器",
|
||||||
"nmpSettingsTitle": MessageLookupByLibrary.simpleMessage("主标题"),
|
),
|
||||||
"nmpSettingsTitleDescription": MessageLookupByLibrary.simpleMessage(
|
"ok": MessageLookupByLibrary.simpleMessage("确定"),
|
||||||
"通知的标题\n",
|
"pause": MessageLookupByLibrary.simpleMessage("暂停"),
|
||||||
),
|
"play": MessageLookupByLibrary.simpleMessage("播放"),
|
||||||
"no": MessageLookupByLibrary.simpleMessage("否"),
|
"playerSettings": MessageLookupByLibrary.simpleMessage("播放器设置"),
|
||||||
"notImplemented": MessageLookupByLibrary.simpleMessage("未实现"),
|
"playerSettingsCompleteTime": MessageLookupByLibrary.simpleMessage(
|
||||||
"notificationMediaPlayer":
|
"剩余时间标记完成",
|
||||||
MessageLookupByLibrary.simpleMessage("通知媒体播放器"),
|
),
|
||||||
"notificationMediaPlayerDescription":
|
"playerSettingsCompleteTimeDescriptionHead":
|
||||||
MessageLookupByLibrary.simpleMessage(
|
MessageLookupByLibrary.simpleMessage("当书中剩余时间少于 "),
|
||||||
"在通知中自定义媒体播放器",
|
"playerSettingsCompleteTimeDescriptionTail":
|
||||||
),
|
MessageLookupByLibrary.simpleMessage(" 时,标记完成"),
|
||||||
"ok": MessageLookupByLibrary.simpleMessage("确定"),
|
"playerSettingsDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"pause": MessageLookupByLibrary.simpleMessage("暂停"),
|
"自定义播放器设置",
|
||||||
"play": MessageLookupByLibrary.simpleMessage("播放"),
|
),
|
||||||
"playerSettings": MessageLookupByLibrary.simpleMessage("播放器设置"),
|
"playerSettingsDisplay": MessageLookupByLibrary.simpleMessage("显示设置"),
|
||||||
"playerSettingsCompleteTime": MessageLookupByLibrary.simpleMessage(
|
"playerSettingsDisplayChapterProgress":
|
||||||
"剩余时间标记完成",
|
MessageLookupByLibrary.simpleMessage("显示章节进度"),
|
||||||
),
|
"playerSettingsDisplayChapterProgressDescription":
|
||||||
"playerSettingsCompleteTimeDescriptionHead":
|
MessageLookupByLibrary.simpleMessage("在播放器中显示当前章节的进度"),
|
||||||
MessageLookupByLibrary.simpleMessage("当书中剩余时间少于 "),
|
"playerSettingsDisplayTotalProgress": MessageLookupByLibrary.simpleMessage(
|
||||||
"playerSettingsCompleteTimeDescriptionTail":
|
"显示总进度",
|
||||||
MessageLookupByLibrary.simpleMessage(" 时,标记完成"),
|
),
|
||||||
"playerSettingsDescription": MessageLookupByLibrary.simpleMessage(
|
"playerSettingsDisplayTotalProgressDescription":
|
||||||
"自定义播放器设置",
|
MessageLookupByLibrary.simpleMessage("在播放器中显示当前书籍的总进度"),
|
||||||
),
|
"playerSettingsPlaybackInterval": MessageLookupByLibrary.simpleMessage(
|
||||||
"playerSettingsDisplay": MessageLookupByLibrary.simpleMessage("显示设置"),
|
"播放报告间隔",
|
||||||
"playerSettingsDisplayChapterProgress":
|
),
|
||||||
MessageLookupByLibrary.simpleMessage("显示章节进度"),
|
"playerSettingsPlaybackIntervalDescriptionHead":
|
||||||
"playerSettingsDisplayChapterProgressDescription":
|
MessageLookupByLibrary.simpleMessage("每 "),
|
||||||
MessageLookupByLibrary.simpleMessage("在播放器中显示当前章节的进度"),
|
"playerSettingsPlaybackIntervalDescriptionTail":
|
||||||
"playerSettingsDisplayTotalProgress":
|
MessageLookupByLibrary.simpleMessage(" 向服务器报告一次进度"),
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"playerSettingsPlaybackReporting": MessageLookupByLibrary.simpleMessage(
|
||||||
"显示总进度",
|
"回放报告",
|
||||||
),
|
),
|
||||||
"playerSettingsDisplayTotalProgressDescription":
|
"playerSettingsPlaybackReportingIgnore":
|
||||||
MessageLookupByLibrary.simpleMessage("在播放器中显示当前书籍的总进度"),
|
MessageLookupByLibrary.simpleMessage("忽略播放位置小于"),
|
||||||
"playerSettingsPlaybackInterval": MessageLookupByLibrary.simpleMessage(
|
"playerSettingsPlaybackReportingMinimum":
|
||||||
"播放报告间隔",
|
MessageLookupByLibrary.simpleMessage("回放报告最小位置"),
|
||||||
),
|
"playerSettingsPlaybackReportingMinimumDescriptionHead":
|
||||||
"playerSettingsPlaybackIntervalDescriptionHead":
|
MessageLookupByLibrary.simpleMessage("不要报告本书前 "),
|
||||||
MessageLookupByLibrary.simpleMessage("每 "),
|
"playerSettingsPlaybackReportingMinimumDescriptionTail":
|
||||||
"playerSettingsPlaybackIntervalDescriptionTail":
|
MessageLookupByLibrary.simpleMessage(" 的播放"),
|
||||||
MessageLookupByLibrary.simpleMessage(" 向服务器报告一次进度"),
|
"playerSettingsRememberForEveryBook": MessageLookupByLibrary.simpleMessage(
|
||||||
"playerSettingsPlaybackReporting": MessageLookupByLibrary.simpleMessage(
|
"记住每本书的播放器设置",
|
||||||
"回放报告",
|
),
|
||||||
),
|
"playerSettingsRememberForEveryBookDescription":
|
||||||
"playerSettingsPlaybackReportingIgnore":
|
MessageLookupByLibrary.simpleMessage("每本书都会记住播放速度、音量等设置"),
|
||||||
MessageLookupByLibrary.simpleMessage("忽略播放位置小于"),
|
"playerSettingsSpeed": MessageLookupByLibrary.simpleMessage("播放速度"),
|
||||||
"playerSettingsPlaybackReportingMinimum":
|
"playerSettingsSpeedDefault": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage("回放报告最小位置"),
|
"默认播放速度",
|
||||||
"playerSettingsPlaybackReportingMinimumDescriptionHead":
|
),
|
||||||
MessageLookupByLibrary.simpleMessage("不要报告本书前 "),
|
"playerSettingsSpeedOptions": MessageLookupByLibrary.simpleMessage(
|
||||||
"playerSettingsPlaybackReportingMinimumDescriptionTail":
|
"播放速度选项",
|
||||||
MessageLookupByLibrary.simpleMessage(" 的播放"),
|
),
|
||||||
"playerSettingsRememberForEveryBook":
|
"playerSettingsSpeedOptionsSelect": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"播放速度选项",
|
||||||
"记住每本书的播放器设置",
|
),
|
||||||
),
|
"playerSettingsSpeedOptionsSelectAdd": MessageLookupByLibrary.simpleMessage(
|
||||||
"playerSettingsRememberForEveryBookDescription":
|
"添加一个速度选项",
|
||||||
MessageLookupByLibrary.simpleMessage("每本书都会记住播放速度、音量等设置"),
|
),
|
||||||
"playerSettingsSpeed": MessageLookupByLibrary.simpleMessage("播放速度"),
|
"playerSettingsSpeedOptionsSelectAddHelper":
|
||||||
"playerSettingsSpeedDefault": MessageLookupByLibrary.simpleMessage(
|
MessageLookupByLibrary.simpleMessage("输入一个新的速度选项"),
|
||||||
"默认播放速度",
|
"playerSettingsSpeedSelect": MessageLookupByLibrary.simpleMessage("选择播放速度"),
|
||||||
),
|
"playerSettingsSpeedSelectHelper": MessageLookupByLibrary.simpleMessage(
|
||||||
"playerSettingsSpeedOptions": MessageLookupByLibrary.simpleMessage(
|
"输入默认的播放速度",
|
||||||
"播放速度选项",
|
),
|
||||||
),
|
"playlistsMine": MessageLookupByLibrary.simpleMessage("播放列表"),
|
||||||
"playerSettingsSpeedOptionsSelect":
|
"readLess": MessageLookupByLibrary.simpleMessage("折叠"),
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"readMore": MessageLookupByLibrary.simpleMessage("展开"),
|
||||||
"播放速度选项",
|
"refresh": MessageLookupByLibrary.simpleMessage("刷新"),
|
||||||
),
|
"reset": MessageLookupByLibrary.simpleMessage("重置"),
|
||||||
"playerSettingsSpeedOptionsSelectAdd":
|
"resetAppSettings": MessageLookupByLibrary.simpleMessage("重置应用程序设置"),
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"resetAppSettingsDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"添加一个速度选项",
|
"将应用程序设置重置为默认值",
|
||||||
),
|
),
|
||||||
"playerSettingsSpeedOptionsSelectAddHelper":
|
"resetAppSettingsDialog": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage("输入一个新的速度选项"),
|
"您确定要重置应用程序设置吗?",
|
||||||
"playerSettingsSpeedSelect":
|
),
|
||||||
MessageLookupByLibrary.simpleMessage("选择播放速度"),
|
"restore": MessageLookupByLibrary.simpleMessage("恢复"),
|
||||||
"playerSettingsSpeedSelectHelper": MessageLookupByLibrary.simpleMessage(
|
"restoreBackup": MessageLookupByLibrary.simpleMessage("恢复备份"),
|
||||||
"输入默认的播放速度",
|
"restoreBackupHint": MessageLookupByLibrary.simpleMessage("将备份粘贴到此处"),
|
||||||
),
|
"restoreBackupInvalid": MessageLookupByLibrary.simpleMessage("无效备份"),
|
||||||
"playlistsMine": MessageLookupByLibrary.simpleMessage("播放列表"),
|
"restoreBackupSuccess": MessageLookupByLibrary.simpleMessage("设置已恢复"),
|
||||||
"readLess": MessageLookupByLibrary.simpleMessage("折叠"),
|
"restoreBackupValidator": MessageLookupByLibrary.simpleMessage("请将备份粘贴到此处"),
|
||||||
"readMore": MessageLookupByLibrary.simpleMessage("展开"),
|
"restoreDescription": MessageLookupByLibrary.simpleMessage("从备份中还原应用程序设置"),
|
||||||
"refresh": MessageLookupByLibrary.simpleMessage("刷新"),
|
"resume": MessageLookupByLibrary.simpleMessage("继续"),
|
||||||
"reset": MessageLookupByLibrary.simpleMessage("重置"),
|
"retry": MessageLookupByLibrary.simpleMessage("重试"),
|
||||||
"resetAppSettings": MessageLookupByLibrary.simpleMessage("重置应用程序设置"),
|
"settings": MessageLookupByLibrary.simpleMessage("设置"),
|
||||||
"resetAppSettingsDescription": MessageLookupByLibrary.simpleMessage(
|
"shakeAction": MessageLookupByLibrary.simpleMessage("抖动操作"),
|
||||||
"将应用程序设置重置为默认值",
|
"shakeActionDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
),
|
"检测到抖动时要执行的操作",
|
||||||
"resetAppSettingsDialog": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"您确定要重置应用程序设置吗?",
|
"shakeActivationThreshold": MessageLookupByLibrary.simpleMessage("抖动激活阈值"),
|
||||||
),
|
"shakeActivationThresholdDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"restore": MessageLookupByLibrary.simpleMessage("恢复"),
|
"门槛越高,你就越难摇晃",
|
||||||
"restoreBackup": MessageLookupByLibrary.simpleMessage("恢复备份"),
|
),
|
||||||
"restoreBackupHint": MessageLookupByLibrary.simpleMessage("将备份粘贴到此处"),
|
"shakeDetector": MessageLookupByLibrary.simpleMessage("抖动检测器"),
|
||||||
"restoreBackupInvalid": MessageLookupByLibrary.simpleMessage("无效备份"),
|
"shakeDetectorDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"restoreBackupSuccess": MessageLookupByLibrary.simpleMessage("设置已恢复"),
|
"自定义抖动检测器设置",
|
||||||
"restoreBackupValidator":
|
),
|
||||||
MessageLookupByLibrary.simpleMessage("请将备份粘贴到此处"),
|
"shakeDetectorEnable": MessageLookupByLibrary.simpleMessage("启用抖动检测"),
|
||||||
"restoreDescription":
|
"shakeDetectorEnableDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage("从备份中还原应用程序设置"),
|
"启用抖动检测以执行各种操作",
|
||||||
"resume": MessageLookupByLibrary.simpleMessage("继续"),
|
),
|
||||||
"retry": MessageLookupByLibrary.simpleMessage("重试"),
|
"shakeDetectorSettings": MessageLookupByLibrary.simpleMessage("抖动检测器设置"),
|
||||||
"settings": MessageLookupByLibrary.simpleMessage("设置"),
|
"shakeFeedback": MessageLookupByLibrary.simpleMessage("抖动反馈"),
|
||||||
"shakeAction": MessageLookupByLibrary.simpleMessage("抖动操作"),
|
"shakeFeedbackDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"shakeActionDescription": MessageLookupByLibrary.simpleMessage(
|
"检测到抖动时给出的反馈",
|
||||||
"检测到抖动时要执行的操作",
|
),
|
||||||
),
|
"shakeSelectAction": MessageLookupByLibrary.simpleMessage("选择抖动动作"),
|
||||||
"shakeActivationThreshold":
|
"shakeSelectActivationThreshold": MessageLookupByLibrary.simpleMessage(
|
||||||
MessageLookupByLibrary.simpleMessage("抖动激活阈值"),
|
"选择抖动激活阈值",
|
||||||
"shakeActivationThresholdDescription":
|
),
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"shakeSelectActivationThresholdHelper":
|
||||||
"门槛越高,你就越难摇晃",
|
MessageLookupByLibrary.simpleMessage("输入一个数字以m/s²为单位设置阈值"),
|
||||||
),
|
"shakeSelectFeedback": MessageLookupByLibrary.simpleMessage("选择抖动反馈"),
|
||||||
"shakeDetector": MessageLookupByLibrary.simpleMessage("抖动检测器"),
|
"themeMode": MessageLookupByLibrary.simpleMessage("主题模式"),
|
||||||
"shakeDetectorDescription": MessageLookupByLibrary.simpleMessage(
|
"themeModeDark": MessageLookupByLibrary.simpleMessage("深色"),
|
||||||
"自定义抖动检测器设置",
|
"themeModeHighContrast": MessageLookupByLibrary.simpleMessage("高对比度模式"),
|
||||||
),
|
"themeModeHighContrastDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"shakeDetectorEnable": MessageLookupByLibrary.simpleMessage("启用抖动检测"),
|
"增加背景和文本之间的对比度",
|
||||||
"shakeDetectorEnableDescription": MessageLookupByLibrary.simpleMessage(
|
),
|
||||||
"启用抖动检测以执行各种操作",
|
"themeModeLight": MessageLookupByLibrary.simpleMessage("浅色"),
|
||||||
),
|
"themeModeSystem": MessageLookupByLibrary.simpleMessage("跟随系统"),
|
||||||
"shakeDetectorSettings":
|
"themeSettings": MessageLookupByLibrary.simpleMessage("主题设置"),
|
||||||
MessageLookupByLibrary.simpleMessage("抖动检测器设置"),
|
"themeSettingsColors": MessageLookupByLibrary.simpleMessage("主题色"),
|
||||||
"shakeFeedback": MessageLookupByLibrary.simpleMessage("抖动反馈"),
|
"themeSettingsColorsAndroid": MessageLookupByLibrary.simpleMessage("主题色"),
|
||||||
"shakeFeedbackDescription": MessageLookupByLibrary.simpleMessage(
|
"themeSettingsColorsBook": MessageLookupByLibrary.simpleMessage(
|
||||||
"检测到抖动时给出的反馈",
|
"书籍详情页自适应主题",
|
||||||
),
|
),
|
||||||
"shakeSelectAction": MessageLookupByLibrary.simpleMessage("选择抖动动作"),
|
"themeSettingsColorsBookDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"shakeSelectActivationThreshold": MessageLookupByLibrary.simpleMessage(
|
"以牺牲一些性能为代价,对书籍详情页的颜色进行美化",
|
||||||
"选择抖动激活阈值",
|
),
|
||||||
),
|
"themeSettingsColorsCurrent": MessageLookupByLibrary.simpleMessage(
|
||||||
"shakeSelectActivationThresholdHelper":
|
"根据当前播放的书籍调整主题",
|
||||||
MessageLookupByLibrary.simpleMessage("输入一个数字以m/s²为单位设置阈值"),
|
),
|
||||||
"shakeSelectFeedback": MessageLookupByLibrary.simpleMessage("选择抖动反馈"),
|
"themeSettingsColorsCurrentDescription":
|
||||||
"themeMode": MessageLookupByLibrary.simpleMessage("主题模式"),
|
MessageLookupByLibrary.simpleMessage("使用当前播放书籍的主题颜色"),
|
||||||
"themeModeDark": MessageLookupByLibrary.simpleMessage("深色"),
|
"themeSettingsColorsDescription": MessageLookupByLibrary.simpleMessage(
|
||||||
"themeModeHighContrast": MessageLookupByLibrary.simpleMessage("高对比度模式"),
|
"使用应用程序的系统主题色",
|
||||||
"themeModeHighContrastDescription":
|
),
|
||||||
MessageLookupByLibrary.simpleMessage(
|
"themeSettingsDescription": MessageLookupByLibrary.simpleMessage("自定义应用主题"),
|
||||||
"增加背景和文本之间的对比度",
|
"timeSecond": m7,
|
||||||
),
|
"unknown": MessageLookupByLibrary.simpleMessage("未知"),
|
||||||
"themeModeLight": MessageLookupByLibrary.simpleMessage("浅色"),
|
"webVersion": MessageLookupByLibrary.simpleMessage("Web版本"),
|
||||||
"themeModeSystem": MessageLookupByLibrary.simpleMessage("跟随系统"),
|
"yes": MessageLookupByLibrary.simpleMessage("是"),
|
||||||
"themeSettings": MessageLookupByLibrary.simpleMessage("主题设置"),
|
"you": MessageLookupByLibrary.simpleMessage("我的"),
|
||||||
"themeSettingsColors": MessageLookupByLibrary.simpleMessage("主题色"),
|
"youTooltip": MessageLookupByLibrary.simpleMessage("您的个人资料和设置"),
|
||||||
"themeSettingsColorsAndroid":
|
};
|
||||||
MessageLookupByLibrary.simpleMessage("主题色"),
|
|
||||||
"themeSettingsColorsBook": MessageLookupByLibrary.simpleMessage(
|
|
||||||
"书籍详情页自适应主题",
|
|
||||||
),
|
|
||||||
"themeSettingsColorsBookDescription":
|
|
||||||
MessageLookupByLibrary.simpleMessage(
|
|
||||||
"以牺牲一些性能为代价,对书籍详情页的颜色进行美化",
|
|
||||||
),
|
|
||||||
"themeSettingsColorsCurrent": MessageLookupByLibrary.simpleMessage(
|
|
||||||
"根据当前播放的书籍调整主题",
|
|
||||||
),
|
|
||||||
"themeSettingsColorsCurrentDescription":
|
|
||||||
MessageLookupByLibrary.simpleMessage("使用当前播放书籍的主题颜色"),
|
|
||||||
"themeSettingsColorsDescription": MessageLookupByLibrary.simpleMessage(
|
|
||||||
"使用应用程序的系统主题色",
|
|
||||||
),
|
|
||||||
"themeSettingsDescription":
|
|
||||||
MessageLookupByLibrary.simpleMessage("自定义应用主题"),
|
|
||||||
"timeSecond": m7,
|
|
||||||
"unknown": MessageLookupByLibrary.simpleMessage("未知"),
|
|
||||||
"webVersion": MessageLookupByLibrary.simpleMessage("Web版本"),
|
|
||||||
"yes": MessageLookupByLibrary.simpleMessage("是"),
|
|
||||||
"you": MessageLookupByLibrary.simpleMessage("我的"),
|
|
||||||
"youTooltip": MessageLookupByLibrary.simpleMessage("您的个人资料和设置"),
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1894,6 +1894,26 @@ class S {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// `Download Settings`
|
||||||
|
String get downloadSettings {
|
||||||
|
return Intl.message(
|
||||||
|
'Download Settings',
|
||||||
|
name: 'downloadSettings',
|
||||||
|
desc: '',
|
||||||
|
args: [],
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/// `Customize download settings`
|
||||||
|
String get downloadSettingsDescription {
|
||||||
|
return Intl.message(
|
||||||
|
'Customize download settings',
|
||||||
|
name: 'downloadSettingsDescription',
|
||||||
|
desc: '',
|
||||||
|
args: [],
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
/// `Pull to refresh`
|
/// `Pull to refresh`
|
||||||
String get erDragText {
|
String get erDragText {
|
||||||
return Intl.message(
|
return Intl.message(
|
||||||
|
|
|
||||||
|
|
@ -271,6 +271,9 @@
|
||||||
"resetAppSettings": "Reset App Settings",
|
"resetAppSettings": "Reset App Settings",
|
||||||
"resetAppSettingsDescription": "Reset the app settings to the default values",
|
"resetAppSettingsDescription": "Reset the app settings to the default values",
|
||||||
"resetAppSettingsDialog": "Are you sure you want to reset the app settings?",
|
"resetAppSettingsDialog": "Are you sure you want to reset the app settings?",
|
||||||
|
|
||||||
|
"downloadSettings": "Download Settings",
|
||||||
|
"downloadSettingsDescription": "Customize download settings",
|
||||||
|
|
||||||
"erDragText": "Pull to refresh",
|
"erDragText": "Pull to refresh",
|
||||||
"erDragTextUp": "Pull to refresh",
|
"erDragTextUp": "Pull to refresh",
|
||||||
|
|
|
||||||
|
|
@ -272,6 +272,9 @@
|
||||||
"resetAppSettingsDescription": "将应用程序设置重置为默认值",
|
"resetAppSettingsDescription": "将应用程序设置重置为默认值",
|
||||||
"resetAppSettingsDialog": "您确定要重置应用程序设置吗?",
|
"resetAppSettingsDialog": "您确定要重置应用程序设置吗?",
|
||||||
|
|
||||||
|
"downloadSettings": "下载设置",
|
||||||
|
"downloadSettingsDescription": "自定义下载设置",
|
||||||
|
|
||||||
"erDragText": "下拉刷新",
|
"erDragText": "下拉刷新",
|
||||||
"erDragTextUp": "上拉加载",
|
"erDragTextUp": "上拉加载",
|
||||||
"erArmedText": "准备就绪",
|
"erArmedText": "准备就绪",
|
||||||
|
|
|
||||||
65
lib/shared/widgets/custom_dropdown.dart
Normal file
65
lib/shared/widgets/custom_dropdown.dart
Normal file
|
|
@ -0,0 +1,65 @@
|
||||||
|
// ignore_for_file: public_member_api_docs, sort_constructors_first
|
||||||
|
import 'dart:async';
|
||||||
|
|
||||||
|
import 'package:dropdown_search/dropdown_search.dart';
|
||||||
|
import 'package:flutter/material.dart';
|
||||||
|
import 'package:vaani/constants/sizes.dart';
|
||||||
|
|
||||||
|
// 自定义下拉选择
|
||||||
|
class CustomDropdown<T> extends StatelessWidget {
|
||||||
|
final T? selected;
|
||||||
|
|
||||||
|
final FutureOr<List<T>> Function(String, LoadProps?)? items;
|
||||||
|
final String Function(T)? itemAsString;
|
||||||
|
final void Function(T?)? onChanged;
|
||||||
|
const CustomDropdown({
|
||||||
|
super.key,
|
||||||
|
this.selected,
|
||||||
|
this.items,
|
||||||
|
this.onChanged,
|
||||||
|
this.itemAsString,
|
||||||
|
});
|
||||||
|
|
||||||
|
@override
|
||||||
|
Widget build(BuildContext context) {
|
||||||
|
return DropdownSearch<T>(
|
||||||
|
selectedItem: selected,
|
||||||
|
mode: Mode.custom,
|
||||||
|
items: items,
|
||||||
|
dropdownBuilder: (ctx, selectedItem) {
|
||||||
|
return Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.end,
|
||||||
|
children: [
|
||||||
|
Text(_itemAsString(selectedItem)),
|
||||||
|
const Icon(Icons.keyboard_arrow_down),
|
||||||
|
],
|
||||||
|
);
|
||||||
|
},
|
||||||
|
popupProps: PopupProps.menu(
|
||||||
|
menuProps: MenuProps(
|
||||||
|
borderRadius: const BorderRadius.all(
|
||||||
|
Radius.circular(AppElementSizes.borderRadiusRegular),
|
||||||
|
),
|
||||||
|
popUpAnimationStyle: AnimationStyle(duration: Duration.zero),
|
||||||
|
),
|
||||||
|
constraints: const BoxConstraints(minWidth: 180),
|
||||||
|
itemBuilder: (context, item, isDisabled, isSelected) => ListTile(
|
||||||
|
title: Text(_itemAsString(item)),
|
||||||
|
trailing: selected == item ? Icon(Icons.check) : null,
|
||||||
|
),
|
||||||
|
fit: FlexFit.loose,
|
||||||
|
),
|
||||||
|
onChanged: onChanged,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
String _itemAsString(T? data) {
|
||||||
|
if (data == null) {
|
||||||
|
return "";
|
||||||
|
} else if (itemAsString != null) {
|
||||||
|
return itemAsString!(data);
|
||||||
|
}
|
||||||
|
|
||||||
|
return data.toString();
|
||||||
|
}
|
||||||
|
}
|
||||||
26
pubspec.lock
26
pubspec.lock
|
|
@ -302,6 +302,14 @@ packages:
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "1.0.2"
|
version: "1.0.2"
|
||||||
|
cupertino_icons:
|
||||||
|
dependency: "direct main"
|
||||||
|
description:
|
||||||
|
name: cupertino_icons
|
||||||
|
sha256: ba631d1c7f7bef6b729a622b7b752645a2d076dba9976925b8f25725a30e1ee6
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "1.0.8"
|
||||||
custom_lint:
|
custom_lint:
|
||||||
dependency: "direct dev"
|
dependency: "direct dev"
|
||||||
description:
|
description:
|
||||||
|
|
@ -382,6 +390,14 @@ packages:
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "2.1.1"
|
version: "2.1.1"
|
||||||
|
dropdown_search:
|
||||||
|
dependency: "direct main"
|
||||||
|
description:
|
||||||
|
name: dropdown_search
|
||||||
|
sha256: c29b3e5147a82a06a4a08b3b574c51cb48cc17ad89893d53ee72a6f86643622e
|
||||||
|
url: "https://pub.dev"
|
||||||
|
source: hosted
|
||||||
|
version: "6.0.2"
|
||||||
duration_picker:
|
duration_picker:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
|
@ -460,7 +476,7 @@ packages:
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "4.5.2"
|
version: "4.5.2"
|
||||||
flutter_cache_manager:
|
flutter_cache_manager:
|
||||||
dependency: "direct main"
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: flutter_cache_manager
|
name: flutter_cache_manager
|
||||||
sha256: "400b6592f16a4409a7f2bb929a9a7e38c72cceb8ffb99ee57bbf2cb2cecf8386"
|
sha256: "400b6592f16a4409a7f2bb929a9a7e38c72cceb8ffb99ee57bbf2cb2cecf8386"
|
||||||
|
|
@ -1226,14 +1242,6 @@ packages:
|
||||||
url: "https://pub.dev"
|
url: "https://pub.dev"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "0.2.0"
|
version: "0.2.0"
|
||||||
scroll_loop_auto_scroll:
|
|
||||||
dependency: "direct main"
|
|
||||||
description:
|
|
||||||
name: scroll_loop_auto_scroll
|
|
||||||
sha256: "83645b380c58c9dac2a9948b11a6b09149a2aebd18a7ca25bbf3be3c89dbbbff"
|
|
||||||
url: "https://pub.dev"
|
|
||||||
source: hosted
|
|
||||||
version: "0.0.5"
|
|
||||||
sensors_plus:
|
sensors_plus:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
|
|
|
||||||
172
pubspec.yaml
172
pubspec.yaml
|
|
@ -34,40 +34,58 @@ dependencies:
|
||||||
collection: ^1.18.0
|
collection: ^1.18.0
|
||||||
flutter:
|
flutter:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
|
|
||||||
animated_list_plus: ^0.5.2
|
# The following adds the Cupertino Icons font to your application.
|
||||||
animated_theme_switcher: ^2.0.10
|
# Use with the CupertinoIcons class for iOS style icons.
|
||||||
archive: ^4.0.5 # 用于编码和解码各种归档和压缩格式的Dart库
|
cupertino_icons: ^1.0.6
|
||||||
audio_video_progress_bar: ^2.0.2 # 播放进度条
|
|
||||||
|
# 图标
|
||||||
|
icons_plus: ^5.0.0
|
||||||
|
|
||||||
|
# hooks
|
||||||
|
flutter_hooks: ^0.21.2
|
||||||
|
|
||||||
|
# 路由
|
||||||
|
go_router: ^14.0.2
|
||||||
|
|
||||||
|
# 状态管理 hooks
|
||||||
hooks_riverpod: ^2.5.1 # riverpod hooks
|
hooks_riverpod: ^2.5.1 # riverpod hooks
|
||||||
riverpod_annotation: ^2.3.5
|
riverpod_annotation: ^2.3.5
|
||||||
# auto_scroll_text: ^0.0.7
|
|
||||||
background_downloader: ^9.2.0
|
# json
|
||||||
cached_network_image: ^3.3.1
|
json_annotation: ^4.9.0
|
||||||
# coast: ^2.0.2
|
|
||||||
# cupertino_icons: ^1.0.6
|
|
||||||
# flutter_platform_widgets: ^9.0.0
|
|
||||||
flutter_staggered_grid_view: ^0.7.0
|
|
||||||
super_sliver_list: ^0.4.1
|
|
||||||
easy_refresh: ^3.4.0
|
|
||||||
duration_picker: ^1.2.0
|
|
||||||
dynamic_color: ^1.7.0
|
|
||||||
# easy_stepper: ^0.8.4
|
|
||||||
file_picker: ^10.0.0
|
|
||||||
|
|
||||||
flutter_animate: ^4.5.0
|
|
||||||
flutter_cache_manager: ^3.3.2
|
|
||||||
flutter_hooks: ^0.21.2
|
|
||||||
flutter_settings_ui: ^3.0.1
|
|
||||||
# font_awesome_flutter: ^10.7.0
|
|
||||||
freezed_annotation: ^2.4.1
|
freezed_annotation: ^2.4.1
|
||||||
go_router: ^14.0.2
|
|
||||||
|
# 设备信息
|
||||||
|
device_info_plus: ^11.3.3
|
||||||
|
# 包信息
|
||||||
|
package_info_plus: ^8.0.0
|
||||||
|
|
||||||
|
# 存储
|
||||||
|
path: ^1.9.0
|
||||||
|
path_provider: ^2.1.0
|
||||||
hive_ce: ^2.16.0 # 轻量级且极快的键值数据库
|
hive_ce: ^2.16.0 # 轻量级且极快的键值数据库
|
||||||
hive_ce_flutter: 2.3.3
|
hive_ce_flutter: 2.3.3
|
||||||
# hive: ^4.0.0-dev.2
|
file_picker: ^10.0.0 # 文件选择器
|
||||||
# isar: ^4.0.0-dev.14
|
archive: ^4.0.5 # 用于编码和解码各种归档和压缩格式的Dart库
|
||||||
# isar_flutter_libs: ^4.0.0-dev.14
|
|
||||||
json_annotation: ^4.9.0
|
# 图片缓存
|
||||||
|
cached_network_image: ^3.3.1
|
||||||
|
# flutter_cache_manager: ^3.3.2
|
||||||
|
|
||||||
|
# 日志
|
||||||
|
logging: ^1.2.0
|
||||||
|
logging_appenders: ^1.3.1
|
||||||
|
|
||||||
|
# 骨架屏
|
||||||
|
shimmer: ^3.0.0
|
||||||
|
|
||||||
|
# 滚动列表
|
||||||
|
super_sliver_list: ^0.4.1
|
||||||
|
# 上拉刷新 下拉加载
|
||||||
|
easy_refresh: ^3.4.0
|
||||||
|
|
||||||
|
# 音频播放
|
||||||
audio_service: ^0.18.15
|
audio_service: ^0.18.15
|
||||||
audio_session: ^0.1.23
|
audio_session: ^0.1.23
|
||||||
just_audio: ^0.10.5
|
just_audio: ^0.10.5
|
||||||
|
|
@ -79,58 +97,84 @@ dependencies:
|
||||||
# path: just_audio_background
|
# path: just_audio_background
|
||||||
# just_audio_windows: ^0.2.2
|
# just_audio_windows: ^0.2.2
|
||||||
just_audio_media_kit: ^2.0.4
|
just_audio_media_kit: ^2.0.4
|
||||||
# just_audio_media_kit:
|
|
||||||
# path: ./just_audio_media_kit
|
|
||||||
media_kit_libs_linux: any
|
media_kit_libs_linux: any
|
||||||
media_kit_libs_windows_audio: any
|
media_kit_libs_windows_audio: any
|
||||||
# media_kit: ^1.2.3 # Primary package.
|
|
||||||
# media_kit_libs_audio: any # Native audio dependencies.
|
# 下载
|
||||||
|
background_downloader: ^9.2.0
|
||||||
|
|
||||||
list_wheel_scroll_view_nls: ^0.0.3
|
# 设置UI
|
||||||
logging: ^1.2.0
|
flutter_settings_ui: ^3.0.1
|
||||||
logging_appenders: ^1.3.1
|
|
||||||
lottie: ^3.1.0
|
# 权限申请
|
||||||
material_color_utilities: ^0.11.1
|
|
||||||
# material_symbols_icons: ^4.2785.1
|
|
||||||
# miniplayer:
|
|
||||||
# git:
|
|
||||||
# url: https://github.com/Dr-Blank/miniplayer.git
|
|
||||||
# ref: feat-notifier-for-percent-dismissed
|
|
||||||
# numberpicker: ^2.1.2
|
|
||||||
device_info_plus: ^11.3.3
|
|
||||||
package_info_plus: ^8.0.0
|
|
||||||
path: ^1.9.0
|
|
||||||
path_provider: ^2.1.0
|
|
||||||
permission_handler: ^11.3.1
|
permission_handler: ^11.3.1
|
||||||
|
|
||||||
|
# html显示
|
||||||
|
flutter_html: ^3.0.0
|
||||||
|
|
||||||
scroll_loop_auto_scroll: ^0.0.5
|
# 启动URL
|
||||||
sensors_plus: ^6.0.1
|
url_launcher: ^6.2.6
|
||||||
|
|
||||||
|
# 播放进度条
|
||||||
|
audio_video_progress_bar: ^2.0.2
|
||||||
|
# 网格布局
|
||||||
|
flutter_staggered_grid_view: ^0.7.0
|
||||||
|
# 横向滚动
|
||||||
|
list_wheel_scroll_view_nls: ^0.0.3
|
||||||
|
# 滚动
|
||||||
|
# scroll_loop_auto_scroll: ^0.0.5
|
||||||
|
# 时长选择器
|
||||||
|
duration_picker: ^1.2.0
|
||||||
|
# 下拉选择框
|
||||||
|
dropdown_search: ^6.0.2
|
||||||
|
|
||||||
|
# 动画
|
||||||
|
flutter_animate: ^4.5.0
|
||||||
|
lottie: ^3.1.0
|
||||||
|
animated_list_plus: ^0.5.2
|
||||||
|
animated_theme_switcher: ^2.0.10
|
||||||
|
|
||||||
|
# Material Design 3色彩系统的算法和工具
|
||||||
|
material_color_utilities: ^0.11.1
|
||||||
|
# 动态色彩方案
|
||||||
|
dynamic_color: ^1.7.0
|
||||||
|
|
||||||
|
# 分享插件
|
||||||
share_plus: ^10.0.2
|
share_plus: ^10.0.2
|
||||||
|
|
||||||
|
# AudiobookShelf SDK
|
||||||
shelfsdk:
|
shelfsdk:
|
||||||
path: ./shelfsdk
|
path: ./shelfsdk
|
||||||
shimmer: ^3.0.0
|
|
||||||
url_launcher: ^6.2.6
|
# 移动端 Android IOS
|
||||||
vibration: ^3.1.3
|
vibration: ^3.1.3 # 震动
|
||||||
flutter_html: ^3.0.0
|
sensors_plus: ^6.0.1 # 访问加速度计、陀螺仪、磁力计和 气压计传感器
|
||||||
|
|
||||||
|
# 桌面
|
||||||
|
window_manager: ^0.5.1 # 窗口管理
|
||||||
|
tray_manager: ^0.5.2 # 系统托盘
|
||||||
|
|
||||||
flutter_localizations:
|
flutter_localizations:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
window_manager: ^0.5.1
|
|
||||||
tray_manager: ^0.5.2
|
|
||||||
icons_plus: ^5.0.0
|
|
||||||
# http_cache_client: ^1.0.4
|
|
||||||
# http_cache_hive_store: ^5.0.1
|
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
build_runner: ^2.4.9
|
|
||||||
custom_lint: ^0.7.0
|
|
||||||
flutter_lints: ^5.0.0
|
|
||||||
flutter_test:
|
flutter_test:
|
||||||
sdk: flutter
|
sdk: flutter
|
||||||
|
flutter_lints: ^5.0.0
|
||||||
|
custom_lint: ^0.7.0
|
||||||
|
riverpod_lint: ^2.3.10
|
||||||
|
|
||||||
|
# dart代码生成
|
||||||
|
build_runner: ^2.4.9
|
||||||
|
#Riverpod代码生成
|
||||||
|
riverpod_generator: ^2.4.2
|
||||||
|
|
||||||
freezed: ^2.5.2
|
freezed: ^2.5.2
|
||||||
json_serializable: ^6.8.0
|
json_serializable: ^6.8.0
|
||||||
riverpod_generator: ^2.4.2
|
|
||||||
riverpod_lint: ^2.3.10
|
|
||||||
hive_ce_generator: ^1.8.1
|
hive_ce_generator: ^1.8.1
|
||||||
|
|
||||||
|
# 启动图标
|
||||||
flutter_launcher_icons: "^0.14.4"
|
flutter_launcher_icons: "^0.14.4"
|
||||||
|
|
||||||
# For information on the generic Dart part of this file, see the
|
# For information on the generic Dart part of this file, see the
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue