mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-08 10:07:51 -06:00
bugfix: Add missing languages to selectable options
This commit is contained in:
@@ -1,14 +1,9 @@
|
||||
import 'dart:developer';
|
||||
import 'dart:io';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:paperless_mobile/features/settings/view/widgets/color_scheme_option_setting.dart';
|
||||
import 'package:paperless_mobile/features/settings/view/widgets/language_selection_setting.dart';
|
||||
import 'package:paperless_mobile/features/settings/view/widgets/theme_mode_setting.dart';
|
||||
import 'package:paperless_mobile/generated/l10n/app_localizations.dart';
|
||||
|
||||
import 'package:paperless_mobile/constants.dart';
|
||||
|
||||
class ApplicationSettingsPage extends StatelessWidget {
|
||||
const ApplicationSettingsPage({super.key});
|
||||
|
||||
|
||||
@@ -18,6 +18,8 @@ class _LanguageSelectionSettingState extends State<LanguageSelectionSetting> {
|
||||
'de': 'Deutsch',
|
||||
'cs': 'Česky',
|
||||
'tr': 'Türkçe',
|
||||
'fr': 'Français',
|
||||
'pl': 'Polska',
|
||||
};
|
||||
|
||||
@override
|
||||
@@ -43,6 +45,10 @@ class _LanguageSelectionSettingState extends State<LanguageSelectionSetting> {
|
||||
value: 'de',
|
||||
label: _languageOptions['de']!,
|
||||
),
|
||||
RadioOption(
|
||||
value: 'fr',
|
||||
label: _languageOptions['fr']! + "*",
|
||||
),
|
||||
RadioOption(
|
||||
value: 'cs',
|
||||
label: _languageOptions['cs']! + "*",
|
||||
@@ -50,6 +56,10 @@ class _LanguageSelectionSettingState extends State<LanguageSelectionSetting> {
|
||||
RadioOption(
|
||||
value: 'tr',
|
||||
label: _languageOptions['tr']! + "*",
|
||||
),
|
||||
RadioOption(
|
||||
value: 'pl',
|
||||
label: _languageOptions['pl']! + "*",
|
||||
)
|
||||
],
|
||||
initialValue: context
|
||||
|
||||
Reference in New Issue
Block a user