Skip to content

Commit

Permalink
feat: add german locale
Browse files Browse the repository at this point in the history
  • Loading branch information
KRTirtho committed Jun 25, 2023
1 parent 8658a26 commit ba3f428
Show file tree
Hide file tree
Showing 5 changed files with 168 additions and 150 deletions.
8 changes: 4 additions & 4 deletions lib/collections/language_codes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -212,10 +212,10 @@ abstract class LanguageLocals {
// name: "Georgian",
// nativeName: "ქართული",
// ),
// "de": const ISOLanguageName(
// name: "German",
// nativeName: "Deutsch",
// ),
"de": const ISOLanguageName(
name: "German",
nativeName: "Deutsch",
),
// "el": const ISOLanguageName(
// name: "Greek, Modern",
// nativeName: "Ελληνικά",
Expand Down
5 changes: 3 additions & 2 deletions lib/components/shared/fallbacks/anonymous_fallback.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import 'package:flutter/material.dart';
import 'package:flutter_riverpod/flutter_riverpod.dart';
import 'package:spotube/extensions/context.dart';

import 'package:spotube/provider/authentication_provider.dart';
import 'package:spotube/utils/service_utils.dart';
Expand All @@ -20,10 +21,10 @@ class AnonymousFallback extends ConsumerWidget {
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
const Text("You're not logged in"),
Text(context.l10n.not_logged_in),
const SizedBox(height: 10),
FilledButton(
child: const Text("Login with Spotify"),
child: Text(context.l10n.login_with_spotify),
onPressed: () => ServiceUtils.push(context, "/settings"),
)
],
Expand Down
Loading

0 comments on commit ba3f428

Please sign in to comment.