chore: more localizations

This commit is contained in:
cogwheel0
2025-08-23 23:56:53 +05:30
parent a852ce7848
commit 3783ca26b4
14 changed files with 1105 additions and 47 deletions

View File

@@ -5,6 +5,7 @@ import '../../features/chat/views/chat_page.dart';
import '../../features/files/views/workspace_page.dart';
import '../../features/profile/views/profile_page.dart';
import '../../shared/widgets/themed_dialogs.dart';
import 'package:conduit/l10n/app_localizations.dart';
/// Service for handling navigation throughout the app
class NavigationService {
@@ -139,8 +140,15 @@ class NavigationService {
// Removed navigation drawer route
default:
page = Scaffold(
body: Center(child: Text('Route not found: ${settings.name}')),
page = Builder(
builder: (context) => Scaffold(
body: Center(
child: Text(
AppLocalizations.of(context)!
.routeNotFound(settings.name ?? ''),
),
),
),
);
}