mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-04-21 16:01:58 +00:00
+
This commit is contained in:
parent
2b4a1c74fa
commit
7bc3061485
3 changed files with 62 additions and 3 deletions
|
|
@ -385,9 +385,10 @@
|
||||||
"n_day_ago": "Vor {day} Tag",
|
"n_day_ago": "Vor {day} Tag",
|
||||||
"now": "jetzt",
|
"now": "jetzt",
|
||||||
"library_last_updated": "Bibliothek zuletzt am {lastUpdated} aktualisiert.",
|
"library_last_updated": "Bibliothek zuletzt am {lastUpdated} aktualisiert.",
|
||||||
"hide_manga": "Einige Elemente im Zusammenhang mit Mangas ausblenden.",
|
"reorder_navigation": "Passe die Navigation für dich selber an.",
|
||||||
"hide_anime": "Einige Elemente im Zusammenhang mit Animes ausblenden.",
|
"hide_manga": "Einige Elemente bezüglich Mangas ausblenden.",
|
||||||
"hide_novel": "Einige Elemente im Zusammenhang mit (Light-)Novels ausblenden.",
|
"hide_anime": "Einige Elemente bezüglich Animes ausblenden.",
|
||||||
|
"hide_novel": "Einige Elemente bezüglich (Light-)Novels ausblenden.",
|
||||||
"novel_sources": "Novel-Quellen",
|
"novel_sources": "Novel-Quellen",
|
||||||
"novel_extensions": "Novel-Erweiterungen",
|
"novel_extensions": "Novel-Erweiterungen",
|
||||||
"sync_after_reading": "Nach dem Lesen oder Ansehen synchronisieren",
|
"sync_after_reading": "Nach dem Lesen oder Ansehen synchronisieren",
|
||||||
|
|
|
||||||
|
|
@ -215,6 +215,7 @@
|
||||||
"sync_confirm_download": "A full download will completely replace your current data with the remote one!",
|
"sync_confirm_download": "A full download will completely replace your current data with the remote one!",
|
||||||
"dialog_confirm": "Confirm",
|
"dialog_confirm": "Confirm",
|
||||||
"description": "Description",
|
"description": "Description",
|
||||||
|
"reorder_navigation": "Customize the navigation to your needs.",
|
||||||
"hide_manga": "Hide some elements related to mangas.",
|
"hide_manga": "Hide some elements related to mangas.",
|
||||||
"hide_anime": "Hide some elements related to animes.",
|
"hide_anime": "Hide some elements related to animes.",
|
||||||
"hide_novel": "Hide some elements related to (light) novels.",
|
"hide_novel": "Hide some elements related to (light) novels.",
|
||||||
|
|
|
||||||
|
|
@ -299,6 +299,63 @@ class AppearanceScreen extends ConsumerWidget {
|
||||||
fontSize: 11, color: context.secondaryColor),
|
fontSize: 11, color: context.secondaryColor),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
ListTile(
|
||||||
|
onTap: () {
|
||||||
|
showDialog(
|
||||||
|
context: context,
|
||||||
|
builder: (context) {
|
||||||
|
return AlertDialog(
|
||||||
|
title: Text(
|
||||||
|
l10n.reorder_navigation,
|
||||||
|
),
|
||||||
|
content: SizedBox(
|
||||||
|
width: context.width(0.8),
|
||||||
|
child: ReorderableListView.builder(
|
||||||
|
shrinkWrap: true,
|
||||||
|
itemCount: 7,
|
||||||
|
itemBuilder: (context, index) {
|
||||||
|
final locale = AppLocalizations
|
||||||
|
.supportedLocales[index];
|
||||||
|
return RadioListTile(
|
||||||
|
dense: true,
|
||||||
|
contentPadding: const EdgeInsets.all(0),
|
||||||
|
value: locale,
|
||||||
|
groupValue: l10nLocale,
|
||||||
|
onChanged: (value) {
|
||||||
|
ref
|
||||||
|
.read(l10nLocaleStateProvider
|
||||||
|
.notifier)
|
||||||
|
.setLocale(locale);
|
||||||
|
Navigator.pop(context);
|
||||||
|
},
|
||||||
|
title: Text(completeLanguageName(
|
||||||
|
locale.toLanguageTag())),
|
||||||
|
);
|
||||||
|
},
|
||||||
|
onReorder: (oldIndex, newIndex) {
|
||||||
|
},
|
||||||
|
)),
|
||||||
|
actions: [
|
||||||
|
Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.end,
|
||||||
|
children: [
|
||||||
|
TextButton(
|
||||||
|
onPressed: () async {
|
||||||
|
Navigator.pop(context);
|
||||||
|
},
|
||||||
|
child: Text(
|
||||||
|
l10n.cancel,
|
||||||
|
style: TextStyle(
|
||||||
|
color: context.primaryColor),
|
||||||
|
)),
|
||||||
|
],
|
||||||
|
)
|
||||||
|
],
|
||||||
|
);
|
||||||
|
});
|
||||||
|
},
|
||||||
|
title: Text(l10n.reorder_navigation),
|
||||||
|
),
|
||||||
SwitchListTile(
|
SwitchListTile(
|
||||||
value: hideAnime,
|
value: hideAnime,
|
||||||
title: Text(context.l10n.hide_anime),
|
title: Text(context.l10n.hide_anime),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue