Update language.
This commit is contained in:
parent
80a4c9bc1b
commit
67f3deeb59
|
@ -251,6 +251,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"schedule" : MessageLookupByLibrary.simpleMessage("Schedule"),
|
||||
"search" : MessageLookupByLibrary.simpleMessage("Search"),
|
||||
"searchEpisode" : MessageLookupByLibrary.simpleMessage("Search episode"),
|
||||
"searchHelper" : MessageLookupByLibrary.simpleMessage("Type the podcast name, keywords or enter a feed url."),
|
||||
"searchInvalidRss" : MessageLookupByLibrary.simpleMessage("Invalid RSS link"),
|
||||
"searchPodcast" : MessageLookupByLibrary.simpleMessage("Search for podcasts"),
|
||||
"secCount" : m24,
|
||||
|
|
|
@ -251,6 +251,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"schedule" : MessageLookupByLibrary.simpleMessage("Horario"),
|
||||
"search" : MessageLookupByLibrary.simpleMessage("Buscar"),
|
||||
"searchEpisode" : MessageLookupByLibrary.simpleMessage("Buscar episodio"),
|
||||
"searchHelper" : MessageLookupByLibrary.simpleMessage("Type the podcast name, keywords or enter a feed url."),
|
||||
"searchInvalidRss" : MessageLookupByLibrary.simpleMessage("Enlace RSS invalido "),
|
||||
"searchPodcast" : MessageLookupByLibrary.simpleMessage("Buscar podcast"),
|
||||
"secCount" : m24,
|
||||
|
|
|
@ -251,6 +251,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"schedule" : MessageLookupByLibrary.simpleMessage("Programmation"),
|
||||
"search" : MessageLookupByLibrary.simpleMessage("Rechercher"),
|
||||
"searchEpisode" : MessageLookupByLibrary.simpleMessage("Rechercher un épisode"),
|
||||
"searchHelper" : MessageLookupByLibrary.simpleMessage("Type the podcast name, keywords or enter a feed url."),
|
||||
"searchInvalidRss" : MessageLookupByLibrary.simpleMessage("Lien RSS invalide"),
|
||||
"searchPodcast" : MessageLookupByLibrary.simpleMessage("Chercher un podcast"),
|
||||
"secCount" : m24,
|
||||
|
|
|
@ -251,6 +251,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"schedule" : MessageLookupByLibrary.simpleMessage("Programmazione"),
|
||||
"search" : MessageLookupByLibrary.simpleMessage("Cerca"),
|
||||
"searchEpisode" : MessageLookupByLibrary.simpleMessage("Cerca episodio"),
|
||||
"searchHelper" : MessageLookupByLibrary.simpleMessage("Type the podcast name, keywords or enter a feed url."),
|
||||
"searchInvalidRss" : MessageLookupByLibrary.simpleMessage("Link RSS invalido"),
|
||||
"searchPodcast" : MessageLookupByLibrary.simpleMessage("Cerca un podcast"),
|
||||
"secCount" : m24,
|
||||
|
|
|
@ -251,6 +251,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"schedule" : MessageLookupByLibrary.simpleMessage("Horário"),
|
||||
"search" : MessageLookupByLibrary.simpleMessage("Procurar"),
|
||||
"searchEpisode" : MessageLookupByLibrary.simpleMessage("Procurar episódio"),
|
||||
"searchHelper" : MessageLookupByLibrary.simpleMessage("Type the podcast name, keywords or enter a feed url."),
|
||||
"searchInvalidRss" : MessageLookupByLibrary.simpleMessage("Ligação RSS inválida"),
|
||||
"searchPodcast" : MessageLookupByLibrary.simpleMessage("Procurar podcasts"),
|
||||
"secCount" : m24,
|
||||
|
|
|
@ -251,6 +251,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
|||
"schedule" : MessageLookupByLibrary.simpleMessage("定时"),
|
||||
"search" : MessageLookupByLibrary.simpleMessage("搜索"),
|
||||
"searchEpisode" : MessageLookupByLibrary.simpleMessage("搜索节目"),
|
||||
"searchHelper" : MessageLookupByLibrary.simpleMessage("请输入播客名,关键字或者RSS链接。"),
|
||||
"searchInvalidRss" : MessageLookupByLibrary.simpleMessage("RSS 链接错误"),
|
||||
"searchPodcast" : MessageLookupByLibrary.simpleMessage("搜索播客"),
|
||||
"secCount" : m24,
|
||||
|
|
|
@ -1746,6 +1746,16 @@ class S {
|
|||
);
|
||||
}
|
||||
|
||||
/// `Type the podcast name, keywords or enter a feed url.`
|
||||
String get searchHelper {
|
||||
return Intl.message(
|
||||
'Type the podcast name, keywords or enter a feed url.',
|
||||
name: 'searchHelper',
|
||||
desc: '',
|
||||
args: [],
|
||||
);
|
||||
}
|
||||
|
||||
/// `Invalid RSS link`
|
||||
String get searchInvalidRss {
|
||||
return Intl.message(
|
||||
|
|
|
@ -172,48 +172,62 @@ class DiscoveryPageState extends State<DiscoveryPage> {
|
|||
future: _getHideDiscovery(),
|
||||
initialData: true,
|
||||
builder: (context, snapshot) => snapshot.data
|
||||
? SingleChildScrollView(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
_historyList(),
|
||||
SizedBox(height: 100),
|
||||
SizedBox(
|
||||
height: 150,
|
||||
child: Center(
|
||||
child: Icon(
|
||||
Icons.search,
|
||||
size: 80,
|
||||
color: Colors.grey[400],
|
||||
? ScrollConfiguration(
|
||||
behavior: NoGrowBehavior(),
|
||||
child: SingleChildScrollView(
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
_historyList(),
|
||||
SizedBox(height: 50),
|
||||
SizedBox(
|
||||
height: 150,
|
||||
child: Center(
|
||||
child: Icon(
|
||||
Icons.search,
|
||||
size: 80,
|
||||
color: Colors.grey[400],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
SizedBox(
|
||||
height: 50,
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Icon(
|
||||
LineIcons.microphone_solid,
|
||||
size: 30,
|
||||
color: Colors.redAccent,
|
||||
),
|
||||
SizedBox(width: 50),
|
||||
Icon(
|
||||
LineIcons.broadcast_tower_solid,
|
||||
size: 30,
|
||||
color: Colors.deepPurple,
|
||||
),
|
||||
SizedBox(width: 50),
|
||||
Icon(
|
||||
LineIcons.rss_square_solid,
|
||||
size: 30,
|
||||
color: Colors.blueGrey,
|
||||
),
|
||||
],
|
||||
SizedBox(
|
||||
height: 50,
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
Icon(
|
||||
LineIcons.microphone_solid,
|
||||
size: 30,
|
||||
color: Colors.lightBlue,
|
||||
),
|
||||
SizedBox(width: 50),
|
||||
Icon(
|
||||
LineIcons.broadcast_tower_solid,
|
||||
size: 30,
|
||||
color: Colors.deepPurple,
|
||||
),
|
||||
SizedBox(width: 50),
|
||||
Icon(
|
||||
LineIcons.rss_square_solid,
|
||||
size: 30,
|
||||
color: Colors.blueGrey,
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
Padding(
|
||||
padding: EdgeInsets.fromLTRB(50, 20, 50, 20),
|
||||
child: Center(
|
||||
child: Text(
|
||||
context.s.searchHelper,
|
||||
textAlign: TextAlign.center,
|
||||
style: context.textTheme.headline6
|
||||
.copyWith(color: Colors.grey[400]),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
)
|
||||
: PodcastSlideup(
|
||||
|
|
|
@ -146,20 +146,6 @@ class MyHomePageDelegate extends SearchDelegate<int> {
|
|||
}
|
||||
},
|
||||
itemBuilder: (context) => [
|
||||
PopupMenuItem(
|
||||
value: SearchEngine.listenNotes,
|
||||
child: Container(
|
||||
padding: EdgeInsets.only(left: 10),
|
||||
child: Row(
|
||||
children: <Widget>[
|
||||
Text('ListenNotes'),
|
||||
Spacer(),
|
||||
if (_searchEngine == SearchEngine.listenNotes)
|
||||
DotIndicator()
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
PopupMenuItem(
|
||||
value: SearchEngine.podcastIndex,
|
||||
child: Container(
|
||||
|
@ -174,6 +160,20 @@ class MyHomePageDelegate extends SearchDelegate<int> {
|
|||
),
|
||||
),
|
||||
),
|
||||
PopupMenuItem(
|
||||
value: SearchEngine.listenNotes,
|
||||
child: Container(
|
||||
padding: EdgeInsets.only(left: 10),
|
||||
child: Row(
|
||||
children: <Widget>[
|
||||
Text('ListenNotes'),
|
||||
Spacer(),
|
||||
if (_searchEngine == SearchEngine.listenNotes)
|
||||
DotIndicator()
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
|
@ -433,6 +433,8 @@
|
|||
"@search": {},
|
||||
"searchEpisode": "Search episode",
|
||||
"@searchEpisode": {},
|
||||
"searchHelper": "Type the podcast name, keywords or enter a feed url.",
|
||||
"@searchHelper": {},
|
||||
"searchInvalidRss": "Invalid RSS link",
|
||||
"@searchInvalidRss": {},
|
||||
"searchPodcast": "Search for podcasts",
|
||||
|
|
|
@ -433,6 +433,8 @@
|
|||
"@search": {},
|
||||
"searchEpisode": "Buscar episodio",
|
||||
"@searchEpisode": {},
|
||||
"searchHelper": "Type the podcast name, keywords or enter a feed url.",
|
||||
"@searchHelper": {},
|
||||
"searchInvalidRss": "Enlace RSS invalido ",
|
||||
"@searchInvalidRss": {},
|
||||
"searchPodcast": "Buscar podcast",
|
||||
|
|
|
@ -433,6 +433,8 @@
|
|||
"@search": {},
|
||||
"searchEpisode": "Rechercher un épisode",
|
||||
"@searchEpisode": {},
|
||||
"searchHelper": "Type the podcast name, keywords or enter a feed url.",
|
||||
"@searchHelper": {},
|
||||
"searchInvalidRss": "Lien RSS invalide",
|
||||
"@searchInvalidRss": {},
|
||||
"searchPodcast": "Chercher un podcast",
|
||||
|
|
|
@ -433,6 +433,8 @@
|
|||
"@search": {},
|
||||
"searchEpisode": "Cerca episodio",
|
||||
"@searchEpisode": {},
|
||||
"searchHelper": "Type the podcast name, keywords or enter a feed url.",
|
||||
"@searchHelper": {},
|
||||
"searchInvalidRss": "Link RSS invalido",
|
||||
"@searchInvalidRss": {},
|
||||
"searchPodcast": "Cerca un podcast",
|
||||
|
|
|
@ -433,6 +433,8 @@
|
|||
"@search": {},
|
||||
"searchEpisode": "Procurar episódio",
|
||||
"@searchEpisode": {},
|
||||
"searchHelper": "Type the podcast name, keywords or enter a feed url.",
|
||||
"@searchHelper": {},
|
||||
"searchInvalidRss": "Ligação RSS inválida",
|
||||
"@searchInvalidRss": {},
|
||||
"searchPodcast": "Procurar podcasts",
|
||||
|
|
|
@ -433,6 +433,8 @@
|
|||
"@search": {},
|
||||
"searchEpisode": "搜索节目",
|
||||
"@searchEpisode": {},
|
||||
"searchHelper": "请输入播客名,关键字或者RSS链接。",
|
||||
"@searchHelper": {},
|
||||
"searchInvalidRss": "RSS 链接错误",
|
||||
"@searchInvalidRss": {},
|
||||
"searchPodcast": "搜索播客",
|
||||
|
|
Loading…
Reference in New Issue