-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Brazilian intl and change from "live" to "today"
- Loading branch information
1 parent
db7b5e1
commit 35eaa3e
Showing
18 changed files
with
219 additions
and
349 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import 'package:domain/model/game_summary.dart'; | ||
import 'package:domain/repository/game_repository.dart'; | ||
import 'package:domain/use_case/use_case.dart'; | ||
|
||
class GetTodayGamesUC extends UseCase<void, List<GameSummary>> { | ||
GetTodayGamesUC({ | ||
required super.errorLogger, | ||
required GameDataRepository repository, | ||
}) : _repository = repository; | ||
|
||
final GameDataRepository _repository; | ||
|
||
@override | ||
Future<List<GameSummary>> getRawFuture(void params) => | ||
_repository.getTodayGames(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// DO NOT EDIT. This is code generated via package:intl/generate_localized.dart | ||
// This is a library that provides messages for a pt_BR locale. All the | ||
// messages from the main program should be duplicated here with the same | ||
// function name. | ||
|
||
// Ignore issues from commonly used lints in this file. | ||
// ignore_for_file:unnecessary_brace_in_string_interps, unnecessary_new | ||
// ignore_for_file:prefer_single_quotes,comment_references, directives_ordering | ||
// ignore_for_file:annotate_overrides,prefer_generic_function_type_aliases | ||
// ignore_for_file:unused_import, file_names, avoid_escaping_inner_quotes | ||
// ignore_for_file:unnecessary_string_interpolations, unnecessary_string_escapes | ||
|
||
import 'package:intl/intl.dart'; | ||
import 'package:intl/message_lookup_by_library.dart'; | ||
|
||
final messages = new MessageLookup(); | ||
|
||
typedef String MessageIfAbsent(String messageStr, List<dynamic> args); | ||
|
||
class MessageLookup extends MessageLookupByLibrary { | ||
String get localeName => 'pt_BR'; | ||
|
||
final messages = _notInlinedMessages(_notInlinedMessages); | ||
static Map<String, Function> _notInlinedMessages(_) => <String, Function>{ | ||
"appName": MessageLookupByLibrary.simpleMessage("NBApp"), | ||
"emptyLiveGames": MessageLookupByLibrary.simpleMessage( | ||
"Não há nenhum jogo no momento.\nVolte mais tarde!"), | ||
"emptyTodayGames": MessageLookupByLibrary.simpleMessage( | ||
"Não há nenhum jogo hoje.\nVolte amanhã ou confira o "), | ||
"emptyTodayGamesLink": | ||
MessageLookupByLibrary.simpleMessage("calendário"), | ||
"homeOnboardingMessage": MessageLookupByLibrary.simpleMessage( | ||
"Bem-vindo ao NBApp!\nVocê está no lugar certo para\nacompanhar os jogos da NBA"), | ||
"liveGames": MessageLookupByLibrary.simpleMessage("Jogos agora"), | ||
"tryAgain": MessageLookupByLibrary.simpleMessage("Tentar novamente") | ||
}; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"@@locale": "pt_BR", | ||
"appName": "NBApp", | ||
"homeOnboardingMessage": "Bem-vindo ao NBApp!\nVocê está no lugar certo para\nacompanhar os jogos da NBA", | ||
"liveGames": "Jogos agora", | ||
"todayGames": "Jogos de hoje", | ||
"tryAgain": "Tentar novamente", | ||
"emptyLiveGames": "Não há nenhum jogo no momento.\nVolte mais tarde!", | ||
"emptyTodayGames": "Não há nenhum jogo hoje.\nVolte amanhã ou confira o ", | ||
"emptyTodayGamesLink": "calendário" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.