feat: add i18n

This commit is contained in:
Alberto Ponces
2022-08-07 00:37:12 +01:00
parent ab9b91b975
commit 89b642772c
15 changed files with 259 additions and 123 deletions

View File

@ -1,4 +1,5 @@
import 'package:flutter/material.dart';
import 'package:flutter_i18n/flutter_i18n.dart';
import 'package:google_fonts/google_fonts.dart';
import 'package:revanced_manager/ui/views/app_selector/app_selector_view.dart';
import 'package:revanced_manager/ui/widgets/app_selector_card.dart';
@ -29,11 +30,14 @@ class PatcherView extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
const SizedBox(height: 12),
Text(
"Patcher",
style: GoogleFonts.inter(
fontSize: 28,
fontWeight: FontWeight.w500,
I18nText(
'patcherView.widgetTitle',
child: Text(
'',
style: GoogleFonts.inter(
fontSize: 28,
fontWeight: FontWeight.w500,
),
),
),
const SizedBox(height: 23),