From c4a3f7333d7a43bb73866da036db97977cd5af93 Mon Sep 17 00:00:00 2001 From: Imran Remtulla Date: Sat, 16 Sep 2023 16:45:06 -0400 Subject: [PATCH] Enable Brazil translation (#830) --- assets/translations/{br.json => pt.json} | 0 lib/main.dart | 4 ++-- pubspec.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename assets/translations/{br.json => pt.json} (100%) diff --git a/assets/translations/br.json b/assets/translations/pt.json similarity index 100% rename from assets/translations/br.json rename to assets/translations/pt.json diff --git a/lib/main.dart b/lib/main.dart index e15aa29..22b9f36 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -19,7 +19,7 @@ import 'package:easy_localization/src/easy_localization_controller.dart'; // ignore: implementation_imports import 'package:easy_localization/src/localization.dart'; -const String currentVersion = '0.14.17'; +const String currentVersion = '0.14.18'; const String currentReleaseTag = 'v$currentVersion-beta'; // KEEP THIS IN SYNC WITH GITHUB RELEASES @@ -38,8 +38,8 @@ List> supportedLocales = const [ MapEntry(Locale('pl'), 'Polski'), MapEntry(Locale('ru'), 'Русский язык'), MapEntry(Locale('bs'), 'Bosanski'), + MapEntry(Locale('pt'), 'Brasileiro'), MapEntry(Locale('cs'), 'Česky'), - // MapEntry(Locale('br'), 'Brasileiro'), ]; const fallbackLocale = Locale('en'); const localeDir = 'assets/translations'; diff --git a/pubspec.yaml b/pubspec.yaml index 25f11d0..15efb86 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 0.14.17+209 # When changing this, update the tag in main() accordingly +version: 0.14.18+210 # When changing this, update the tag in main() accordingly environment: sdk: '>=3.0.0 <4.0.0'