Skip to content

A cross platform Audiobookshelf client for Android and iOS

Dart

More classic wording fixes

Barnabas2e6e2c3fbfdd
diff --git a/lib/l10n/app_de.arb b/lib/l10n/app_de.arb
index e10b26b0..79e3732e 100644
--- a/lib/l10n/app_de.arb
+++ b/lib/l10n/app_de.arb
@@ -297,8 +297,6 @@
"queueModeInfoOffDesc": "Die Wiedergabe stoppt, wenn das aktuelle Buch oder die Episode endet.",
"queueModeInfoManual": "Manuelle Warteschlange",
"queueModeInfoManualDesc": "Deine Absorbing-Karten funktionieren wie eine Playlist. Wenn eine endet, läuft die nächste noch nicht beendete Karte automatisch weiter. Füge Inhalte über den Button \"Zu Absorbing hinzufügen\" bei einem Buch oder einer Episode hinzu und sortiere sie auf dem Absorbing-Bildschirm um.",
- "queueModeInfoAutoAbsorb": "Auto Absorb",
- "queueModeInfoAutoAbsorbDesc": "Absorbt automatisch das nächste Buch einer Serie oder die nächste Episode eines Podcasts.",
"queueModeOff": "Aus",
"queueModeManual": "Manuell",
"queueModeAuto": "Auto",
diff --git a/lib/l10n/app_en.arb b/lib/l10n/app_en.arb
index 65cbb711..250fb726 100644
--- a/lib/l10n/app_en.arb
+++ b/lib/l10n/app_en.arb
@@ -303,8 +303,6 @@
"queueModeInfoOffDesc": "Playback stops when the current book or episode finishes.",
"queueModeInfoManual": "Manual Queue",
"queueModeInfoManualDesc": "Your absorbing cards act as a playlist. When one finishes, the next non-finished card auto-plays. Add items with the \"Add to Absorbing\" button on a book or episode and reorder from the absorbing screen.",
- "queueModeInfoAutoAbsorb": "Auto Absorb",
- "queueModeInfoAutoAbsorbDesc": "Automatically absorbs the next book in a series or the next episode in a podcast show.",
"queueModeOff": "Off",
"queueModeManual": "Manual",
"queueModeAuto": "Auto",
@@ -352,7 +350,7 @@
"rewindAfterDescription": "Only rewinds if paused for {seconds}+ seconds",
"@rewindAfterDescription": { "placeholders": { "seconds": { "type": "String" } } },
"chapterBarrier": "Chapter barrier",
- "chapterBarrierSubtitle": "Don't rewind past the start of the current chapter",
+ "chapterBarrierSubtitle": "Don't auto-rewind past the start of the current chapter",
"rewindInstant": "Instant",
"rewindPause": "{duration} pause",
"@rewindPause": { "placeholders": { "duration": { "type": "String" } } },
@@ -878,7 +876,7 @@
"welcomeToAbsorb": "Welcome to Absorb",
"welcomeTagline": "An Audiobookshelf client.",
"welcomeAbsorbingTitle": "Absorbing",
- "welcomeAbsorbingIntro": "We use \"absorb\" in place of \"play\" and \"listen\".",
+ "welcomeAbsorbingIntro": "We use \"absorb\" in place of \"play\" and \"listen\". Prefer the classic wording? Switch it in Settings.",
"welcomeAbsorbingTabBullet": "Absorbing tab - what you're currently listening to",
"welcomeAbsorbButtonBullet": "Absorb button - start playback",
"welcomeFullyAbsorbBullet": "Fully Absorb - mark as finished",
@@ -921,7 +919,7 @@
"coverPlayPause": "Cover play/pause",
"coverPlayPauseOnSubtitle": "On - tap cover art to play/pause",
"coverPlayPauseOffSubtitle": "Off - dedicated play/pause button in controls",
- "queueModeMergedSubtitle": "Playback stops, manual queue, or auto-absorbs next item",
+ "queueModeMergedSubtitle": "Playback stops, manual queue, or auto-plays next item",
"queueModeSeriesLabel": "Series",
"queueModeShowLabel": "Show",
"queueModeInfoSeries": "Series",
@@ -992,6 +990,9 @@
"updateKindPreRelease": "pre-release",
"updateKindVersion": "version",
"downloadButton": "Download",
+ "updateDownloading": "Downloading update...",
+ "updateInstallPermissionDenied": "Install permission denied. Enable \"Install unknown apps\" for Absorb in system settings.",
+ "updateOpeningInBrowser": "In-app update failed, opening browser",
"libraryCountOne": "{count} library",
"@libraryCountOne": { "placeholders": { "count": { "type": "int" } } },
"libraryCountOther": "{count} libraries",
diff --git a/lib/l10n/app_localizations.dart b/lib/l10n/app_localizations.dart
index b2796fb1..775ae5b2 100644
--- a/lib/l10n/app_localizations.dart
+++ b/lib/l10n/app_localizations.dart
@@ -1714,18 +1714,6 @@ abstract class AppLocalizations {
/// **'Your absorbing cards act as a playlist. When one finishes, the next non-finished card auto-plays. Add items with the \"Add to Absorbing\" button on a book or episode and reorder from the absorbing screen.'**
String get queueModeInfoManualDesc;
- /// No description provided for @queueModeInfoAutoAbsorb.
- ///
- /// In en, this message translates to:
- /// **'Auto Absorb'**
- String get queueModeInfoAutoAbsorb;
-
- /// No description provided for @queueModeInfoAutoAbsorbDesc.
- ///
- /// In en, this message translates to:
- /// **'Automatically absorbs the next book in a series or the next episode in a podcast show.'**
- String get queueModeInfoAutoAbsorbDesc;
-
/// No description provided for @queueModeOff.
///
/// In en, this message translates to:
@@ -1975,7 +1963,7 @@ abstract class AppLocalizations {
/// No description provided for @chapterBarrierSubtitle.
///
/// In en, this message translates to:
- /// **'Don\'t rewind past the start of the current chapter'**
+ /// **'Don\'t auto-rewind past the start of the current chapter'**
String get chapterBarrierSubtitle;
/// No description provided for @rewindInstant.
@@ -4723,7 +4711,7 @@ abstract class AppLocalizations {
/// No description provided for @welcomeAbsorbingIntro.
///
/// In en, this message translates to:
- /// **'We use \"absorb\" in place of \"play\" and \"listen\".'**
+ /// **'We use \"absorb\" in place of \"play\" and \"listen\". Prefer the classic wording? Switch it in Settings.'**
String get welcomeAbsorbingIntro;
/// No description provided for @welcomeAbsorbingTabBullet.
@@ -4939,7 +4927,7 @@ abstract class AppLocalizations {
/// No description provided for @queueModeMergedSubtitle.
///
/// In en, this message translates to:
- /// **'Playback stops, manual queue, or auto-absorbs next item'**
+ /// **'Playback stops, manual queue, or auto-plays next item'**
String get queueModeMergedSubtitle;
/// No description provided for @queueModeSeriesLabel.
@@ -5279,6 +5267,24 @@ abstract class AppLocalizations {
/// **'Download'**
String get downloadButton;
+ /// No description provided for @updateDownloading.
+ ///
+ /// In en, this message translates to:
+ /// **'Downloading update...'**
+ String get updateDownloading;
+
+ /// No description provided for @updateInstallPermissionDenied.
+ ///
+ /// In en, this message translates to:
+ /// **'Install permission denied. Enable \"Install unknown apps\" for Absorb in system settings.'**
+ String get updateInstallPermissionDenied;
+
+ /// No description provided for @updateOpeningInBrowser.
+ ///
+ /// In en, this message translates to:
+ /// **'In-app update failed, opening browser'**
+ String get updateOpeningInBrowser;
+
/// No description provided for @libraryCountOne.
///
/// In en, this message translates to:
diff --git a/lib/l10n/app_localizations_de.dart b/lib/l10n/app_localizations_de.dart
index 6bf5a4cf..30d7e55e 100644
--- a/lib/l10n/app_localizations_de.dart
+++ b/lib/l10n/app_localizations_de.dart
@@ -891,13 +891,6 @@ class AppLocalizationsDe extends AppLocalizations {
String get queueModeInfoManualDesc =>
'Deine Absorbing-Karten funktionieren wie eine Playlist. Wenn eine endet, läuft die nächste noch nicht beendete Karte automatisch weiter. Füge Inhalte über den Button \"Zu Absorbing hinzufügen\" bei einem Buch oder einer Episode hinzu und sortiere sie auf dem Absorbing-Bildschirm um.';
- @override
- String get queueModeInfoAutoAbsorb => 'Auto Absorb';
-
- @override
- String get queueModeInfoAutoAbsorbDesc =>
- 'Absorbt automatisch das nächste Buch einer Serie oder die nächste Episode eines Podcasts.';
-
@override
String get queueModeOff => 'Aus';
@@ -2906,6 +2899,16 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get downloadButton => 'Herunterladen';
+ @override
+ String get updateDownloading => 'Downloading update...';
+
+ @override
+ String get updateInstallPermissionDenied =>
+ 'Install permission denied. Enable \"Install unknown apps\" for Absorb in system settings.';
+
+ @override
+ String get updateOpeningInBrowser => 'In-app update failed, opening browser';
+
@override
String libraryCountOne(int count) {
return '$count Bibliothek';
diff --git a/lib/l10n/app_localizations_en.dart b/lib/l10n/app_localizations_en.dart
index ada2e4d8..a4c1114a 100644
--- a/lib/l10n/app_localizations_en.dart
+++ b/lib/l10n/app_localizations_en.dart
@@ -883,13 +883,6 @@ class AppLocalizationsEn extends AppLocalizations {
String get queueModeInfoManualDesc =>
'Your absorbing cards act as a playlist. When one finishes, the next non-finished card auto-plays. Add items with the \"Add to Absorbing\" button on a book or episode and reorder from the absorbing screen.';
- @override
- String get queueModeInfoAutoAbsorb => 'Auto Absorb';
-
- @override
- String get queueModeInfoAutoAbsorbDesc =>
- 'Automatically absorbs the next book in a series or the next episode in a podcast show.';
-
@override
String get queueModeOff => 'Off';
@@ -1032,7 +1025,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get chapterBarrierSubtitle =>
- 'Don\'t rewind past the start of the current chapter';
+ 'Don\'t auto-rewind past the start of the current chapter';
@override
String get rewindInstant => 'Instant';
@@ -2552,7 +2545,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get welcomeAbsorbingIntro =>
- 'We use \"absorb\" in place of \"play\" and \"listen\".';
+ 'We use \"absorb\" in place of \"play\" and \"listen\". Prefer the classic wording? Switch it in Settings.';
@override
String get welcomeAbsorbingTabBullet =>
@@ -2671,7 +2664,7 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get queueModeMergedSubtitle =>
- 'Playback stops, manual queue, or auto-absorbs next item';
+ 'Playback stops, manual queue, or auto-plays next item';
@override
String get queueModeSeriesLabel => 'Series';
@@ -2880,6 +2873,16 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get downloadButton => 'Download';
+ @override
+ String get updateDownloading => 'Downloading update...';
+
+ @override
+ String get updateInstallPermissionDenied =>
+ 'Install permission denied. Enable \"Install unknown apps\" for Absorb in system settings.';
+
+ @override
+ String get updateOpeningInBrowser => 'In-app update failed, opening browser';
+
@override
String libraryCountOne(int count) {
return '$count library';
diff --git a/lib/l10n/app_localizations_zh.dart b/lib/l10n/app_localizations_zh.dart
index c7c6b693..ee7faa3d 100644
--- a/lib/l10n/app_localizations_zh.dart
+++ b/lib/l10n/app_localizations_zh.dart
@@ -860,12 +860,6 @@ class AppLocalizationsZh extends AppLocalizations {
String get queueModeInfoManualDesc =>
'你的收听卡片将作为播放列表使用。当一个播放完成时,会自动播放下一个未完成的卡片。通过书籍或单集详情页的\"添加至正在收听\"按钮添加项目,并在收听界面重新排序。';
- @override
- String get queueModeInfoAutoAbsorb => '自动续听';
-
- @override
- String get queueModeInfoAutoAbsorbDesc => '自动收听系列中的下一本书或播客中的下一集。';
-
@override
String get queueModeOff => '关闭';
@@ -2594,7 +2588,7 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get queueModeMergedSubtitle =>
- 'Playback stops, manual queue, or auto-absorbs next item';
+ 'Playback stops, manual queue, or auto-plays next item';
@override
String get queueModeSeriesLabel => 'Series';
@@ -2803,6 +2797,16 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get downloadButton => 'Download';
+ @override
+ String get updateDownloading => 'Downloading update...';
+
+ @override
+ String get updateInstallPermissionDenied =>
+ 'Install permission denied. Enable \"Install unknown apps\" for Absorb in system settings.';
+
+ @override
+ String get updateOpeningInBrowser => 'In-app update failed, opening browser';
+
@override
String libraryCountOne(int count) {
return '$count library';
diff --git a/lib/l10n/app_zh.arb b/lib/l10n/app_zh.arb
index e5ea38d2..015d1e60 100644
--- a/lib/l10n/app_zh.arb
+++ b/lib/l10n/app_zh.arb
@@ -297,8 +297,6 @@
"queueModeInfoOffDesc": "当前书籍或单集播放完成后停止播放。",
"queueModeInfoManual": "手动队列",
"queueModeInfoManualDesc": "你的收听卡片将作为播放列表使用。当一个播放完成时,会自动播放下一个未完成的卡片。通过书籍或单集详情页的\"添加至正在收听\"按钮添加项目,并在收听界面重新排序。",
- "queueModeInfoAutoAbsorb": "自动续听",
- "queueModeInfoAutoAbsorbDesc": "自动收听系列中的下一本书或播客中的下一集。",
"queueModeOff": "关闭",
"queueModeManual": "手动",
"queueModeAuto": "自动",
diff --git a/lib/screens/absorbing_screen.dart b/lib/screens/absorbing_screen.dart
index 8888c264..2c4b65a1 100644
--- a/lib/screens/absorbing_screen.dart
+++ b/lib/screens/absorbing_screen.dart
@@ -11,7 +11,6 @@ import '../services/scoped_prefs.dart';
import '../widgets/absorb_page_header.dart';
import '../main.dart' show oledNotifier, rootNavigatorKey;
import '../widgets/absorbing_card.dart';
-import '../widgets/feature_hint.dart';
import '../widgets/offline_status_icon.dart';
import '../widgets/overlay_toast.dart';
import '../widgets/series_books_sheet.dart';
@@ -1223,12 +1222,6 @@ class _ReorderAbsorbingSheetState extends State<_ReorderAbsorbingSheet> {
),
]),
),
- FeatureHint(
- prefKey: 'hint_playlist_queue_mode',
- message: l.queueModePlaylistHint,
- icon: Icons.playlist_play_rounded,
- padding: const EdgeInsets.fromLTRB(16, 0, 16, 8),
- ),
if (_queueMode == 'auto_next' && !widget.isPodcast && _seriesId != null)
_modeHeaderButton(
cs, tt,
diff --git a/lib/screens/settings_screen.dart b/lib/screens/settings_screen.dart
index de0e4284..2b9d5b41 100644
--- a/lib/screens/settings_screen.dart
+++ b/lib/screens/settings_screen.dart
@@ -968,7 +968,7 @@ class _SettingsScreenState extends State<SettingsScreen> {
const SizedBox(height: 12),
Text(l.queueModeInfoManual, style: const TextStyle(fontWeight: FontWeight.w600)),
const SizedBox(height: 4),
- Text(l.queueModeInfoManualDesc),
+ Text(Wording.of(ctx).queueModeInfoManualDesc),
const SizedBox(height: 12),
Text(l.queueModeInfoSeries, style: const TextStyle(fontWeight: FontWeight.w600)),
const SizedBox(height: 4),
diff --git a/lib/services/wording.dart b/lib/services/wording.dart
index 1a3b1225..93bb7dff 100644
--- a/lib/services/wording.dart
+++ b/lib/services/wording.dart
@@ -90,4 +90,9 @@ class Wording {
String get tipsSheetQuickAddAbsorbingDesc => classic
? 'Swipe right on any book in a list sheet (series, author, search results) to instantly add it to your Now Playing queue.'
: _l.tipsSheetQuickAddAbsorbingDesc;
+
+ // ── Queue mode info popup ──
+ String get queueModeInfoManualDesc => classic
+ ? 'Your Now Playing list acts as a playlist. When one finishes, the next non-finished item auto-plays. Add items with the "Add to Now Playing" button on a book or episode and reorder from the Now Playing screen.'
+ : _l.queueModeInfoManualDesc;
}