|
@@ -198,7 +198,7 @@ class _GooglePlayGamesWidgetState extends State<GooglePlayGamesWidget> {
|
|
|
if (!mounted) return;
|
|
if (!mounted) return;
|
|
|
ScaffoldMessenger.of(context).showSnackBar(
|
|
ScaffoldMessenger.of(context).showSnackBar(
|
|
|
SnackBar(
|
|
SnackBar(
|
|
|
- content: Text('Error signing in: $e'),
|
|
|
|
|
|
|
+ content: Text(l10n.errorSigningIn(e.toString())),
|
|
|
backgroundColor: Colors.red,
|
|
backgroundColor: Colors.red,
|
|
|
),
|
|
),
|
|
|
);
|
|
);
|
|
@@ -231,7 +231,7 @@ class _GooglePlayGamesWidgetState extends State<GooglePlayGamesWidget> {
|
|
|
if (!mounted) return;
|
|
if (!mounted) return;
|
|
|
ScaffoldMessenger.of(context).showSnackBar(
|
|
ScaffoldMessenger.of(context).showSnackBar(
|
|
|
SnackBar(
|
|
SnackBar(
|
|
|
- content: Text('Error showing leaderboards: $e'),
|
|
|
|
|
|
|
+ content: Text(l10n.errorShowingLeaderboards(e.toString())),
|
|
|
backgroundColor: Colors.red,
|
|
backgroundColor: Colors.red,
|
|
|
),
|
|
),
|
|
|
);
|
|
);
|
|
@@ -245,7 +245,7 @@ class _GooglePlayGamesWidgetState extends State<GooglePlayGamesWidget> {
|
|
|
if (!mounted) return;
|
|
if (!mounted) return;
|
|
|
ScaffoldMessenger.of(context).showSnackBar(
|
|
ScaffoldMessenger.of(context).showSnackBar(
|
|
|
SnackBar(
|
|
SnackBar(
|
|
|
- content: Text('Error showing achievements: $e'),
|
|
|
|
|
|
|
+ content: Text(l10n.errorShowingAchievements(e.toString())),
|
|
|
backgroundColor: Colors.red,
|
|
backgroundColor: Colors.red,
|
|
|
),
|
|
),
|
|
|
);
|
|
);
|