Update language.
This commit is contained in:
parent
80a4c9bc1b
commit
67f3deeb59
|
@ -251,6 +251,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||||
"schedule" : MessageLookupByLibrary.simpleMessage("Schedule"),
|
"schedule" : MessageLookupByLibrary.simpleMessage("Schedule"),
|
||||||
"search" : MessageLookupByLibrary.simpleMessage("Search"),
|
"search" : MessageLookupByLibrary.simpleMessage("Search"),
|
||||||
"searchEpisode" : MessageLookupByLibrary.simpleMessage("Search episode"),
|
"searchEpisode" : MessageLookupByLibrary.simpleMessage("Search episode"),
|
||||||
|
"searchHelper" : MessageLookupByLibrary.simpleMessage("Type the podcast name, keywords or enter a feed url."),
|
||||||
"searchInvalidRss" : MessageLookupByLibrary.simpleMessage("Invalid RSS link"),
|
"searchInvalidRss" : MessageLookupByLibrary.simpleMessage("Invalid RSS link"),
|
||||||
"searchPodcast" : MessageLookupByLibrary.simpleMessage("Search for podcasts"),
|
"searchPodcast" : MessageLookupByLibrary.simpleMessage("Search for podcasts"),
|
||||||
"secCount" : m24,
|
"secCount" : m24,
|
||||||
|
|
|
@ -251,6 +251,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||||
"schedule" : MessageLookupByLibrary.simpleMessage("Horario"),
|
"schedule" : MessageLookupByLibrary.simpleMessage("Horario"),
|
||||||
"search" : MessageLookupByLibrary.simpleMessage("Buscar"),
|
"search" : MessageLookupByLibrary.simpleMessage("Buscar"),
|
||||||
"searchEpisode" : MessageLookupByLibrary.simpleMessage("Buscar episodio"),
|
"searchEpisode" : MessageLookupByLibrary.simpleMessage("Buscar episodio"),
|
||||||
|
"searchHelper" : MessageLookupByLibrary.simpleMessage("Type the podcast name, keywords or enter a feed url."),
|
||||||
"searchInvalidRss" : MessageLookupByLibrary.simpleMessage("Enlace RSS invalido "),
|
"searchInvalidRss" : MessageLookupByLibrary.simpleMessage("Enlace RSS invalido "),
|
||||||
"searchPodcast" : MessageLookupByLibrary.simpleMessage("Buscar podcast"),
|
"searchPodcast" : MessageLookupByLibrary.simpleMessage("Buscar podcast"),
|
||||||
"secCount" : m24,
|
"secCount" : m24,
|
||||||
|
|
|
@ -251,6 +251,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||||
"schedule" : MessageLookupByLibrary.simpleMessage("Programmation"),
|
"schedule" : MessageLookupByLibrary.simpleMessage("Programmation"),
|
||||||
"search" : MessageLookupByLibrary.simpleMessage("Rechercher"),
|
"search" : MessageLookupByLibrary.simpleMessage("Rechercher"),
|
||||||
"searchEpisode" : MessageLookupByLibrary.simpleMessage("Rechercher un épisode"),
|
"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"),
|
"searchInvalidRss" : MessageLookupByLibrary.simpleMessage("Lien RSS invalide"),
|
||||||
"searchPodcast" : MessageLookupByLibrary.simpleMessage("Chercher un podcast"),
|
"searchPodcast" : MessageLookupByLibrary.simpleMessage("Chercher un podcast"),
|
||||||
"secCount" : m24,
|
"secCount" : m24,
|
||||||
|
|
|
@ -251,6 +251,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||||
"schedule" : MessageLookupByLibrary.simpleMessage("Programmazione"),
|
"schedule" : MessageLookupByLibrary.simpleMessage("Programmazione"),
|
||||||
"search" : MessageLookupByLibrary.simpleMessage("Cerca"),
|
"search" : MessageLookupByLibrary.simpleMessage("Cerca"),
|
||||||
"searchEpisode" : MessageLookupByLibrary.simpleMessage("Cerca episodio"),
|
"searchEpisode" : MessageLookupByLibrary.simpleMessage("Cerca episodio"),
|
||||||
|
"searchHelper" : MessageLookupByLibrary.simpleMessage("Type the podcast name, keywords or enter a feed url."),
|
||||||
"searchInvalidRss" : MessageLookupByLibrary.simpleMessage("Link RSS invalido"),
|
"searchInvalidRss" : MessageLookupByLibrary.simpleMessage("Link RSS invalido"),
|
||||||
"searchPodcast" : MessageLookupByLibrary.simpleMessage("Cerca un podcast"),
|
"searchPodcast" : MessageLookupByLibrary.simpleMessage("Cerca un podcast"),
|
||||||
"secCount" : m24,
|
"secCount" : m24,
|
||||||
|
|
|
@ -251,6 +251,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||||
"schedule" : MessageLookupByLibrary.simpleMessage("Horário"),
|
"schedule" : MessageLookupByLibrary.simpleMessage("Horário"),
|
||||||
"search" : MessageLookupByLibrary.simpleMessage("Procurar"),
|
"search" : MessageLookupByLibrary.simpleMessage("Procurar"),
|
||||||
"searchEpisode" : MessageLookupByLibrary.simpleMessage("Procurar episódio"),
|
"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"),
|
"searchInvalidRss" : MessageLookupByLibrary.simpleMessage("Ligação RSS inválida"),
|
||||||
"searchPodcast" : MessageLookupByLibrary.simpleMessage("Procurar podcasts"),
|
"searchPodcast" : MessageLookupByLibrary.simpleMessage("Procurar podcasts"),
|
||||||
"secCount" : m24,
|
"secCount" : m24,
|
||||||
|
|
|
@ -251,6 +251,7 @@ class MessageLookup extends MessageLookupByLibrary {
|
||||||
"schedule" : MessageLookupByLibrary.simpleMessage("定时"),
|
"schedule" : MessageLookupByLibrary.simpleMessage("定时"),
|
||||||
"search" : MessageLookupByLibrary.simpleMessage("搜索"),
|
"search" : MessageLookupByLibrary.simpleMessage("搜索"),
|
||||||
"searchEpisode" : MessageLookupByLibrary.simpleMessage("搜索节目"),
|
"searchEpisode" : MessageLookupByLibrary.simpleMessage("搜索节目"),
|
||||||
|
"searchHelper" : MessageLookupByLibrary.simpleMessage("请输入播客名,关键字或者RSS链接。"),
|
||||||
"searchInvalidRss" : MessageLookupByLibrary.simpleMessage("RSS 链接错误"),
|
"searchInvalidRss" : MessageLookupByLibrary.simpleMessage("RSS 链接错误"),
|
||||||
"searchPodcast" : MessageLookupByLibrary.simpleMessage("搜索播客"),
|
"searchPodcast" : MessageLookupByLibrary.simpleMessage("搜索播客"),
|
||||||
"secCount" : m24,
|
"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`
|
/// `Invalid RSS link`
|
||||||
String get searchInvalidRss {
|
String get searchInvalidRss {
|
||||||
return Intl.message(
|
return Intl.message(
|
||||||
|
|
|
@ -172,12 +172,14 @@ class DiscoveryPageState extends State<DiscoveryPage> {
|
||||||
future: _getHideDiscovery(),
|
future: _getHideDiscovery(),
|
||||||
initialData: true,
|
initialData: true,
|
||||||
builder: (context, snapshot) => snapshot.data
|
builder: (context, snapshot) => snapshot.data
|
||||||
? SingleChildScrollView(
|
? ScrollConfiguration(
|
||||||
|
behavior: NoGrowBehavior(),
|
||||||
|
child: SingleChildScrollView(
|
||||||
child: Column(
|
child: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
_historyList(),
|
_historyList(),
|
||||||
SizedBox(height: 100),
|
SizedBox(height: 50),
|
||||||
SizedBox(
|
SizedBox(
|
||||||
height: 150,
|
height: 150,
|
||||||
child: Center(
|
child: Center(
|
||||||
|
@ -196,7 +198,7 @@ class DiscoveryPageState extends State<DiscoveryPage> {
|
||||||
Icon(
|
Icon(
|
||||||
LineIcons.microphone_solid,
|
LineIcons.microphone_solid,
|
||||||
size: 30,
|
size: 30,
|
||||||
color: Colors.redAccent,
|
color: Colors.lightBlue,
|
||||||
),
|
),
|
||||||
SizedBox(width: 50),
|
SizedBox(width: 50),
|
||||||
Icon(
|
Icon(
|
||||||
|
@ -213,8 +215,20 @@ class DiscoveryPageState extends State<DiscoveryPage> {
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
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(
|
: PodcastSlideup(
|
||||||
searchEngine: SearchEngine.listenNotes,
|
searchEngine: SearchEngine.listenNotes,
|
||||||
|
|
|
@ -146,20 +146,6 @@ class MyHomePageDelegate extends SearchDelegate<int> {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
itemBuilder: (context) => [
|
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(
|
PopupMenuItem(
|
||||||
value: SearchEngine.podcastIndex,
|
value: SearchEngine.podcastIndex,
|
||||||
child: Container(
|
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": {},
|
"@search": {},
|
||||||
"searchEpisode": "Search episode",
|
"searchEpisode": "Search episode",
|
||||||
"@searchEpisode": {},
|
"@searchEpisode": {},
|
||||||
|
"searchHelper": "Type the podcast name, keywords or enter a feed url.",
|
||||||
|
"@searchHelper": {},
|
||||||
"searchInvalidRss": "Invalid RSS link",
|
"searchInvalidRss": "Invalid RSS link",
|
||||||
"@searchInvalidRss": {},
|
"@searchInvalidRss": {},
|
||||||
"searchPodcast": "Search for podcasts",
|
"searchPodcast": "Search for podcasts",
|
||||||
|
|
|
@ -433,6 +433,8 @@
|
||||||
"@search": {},
|
"@search": {},
|
||||||
"searchEpisode": "Buscar episodio",
|
"searchEpisode": "Buscar episodio",
|
||||||
"@searchEpisode": {},
|
"@searchEpisode": {},
|
||||||
|
"searchHelper": "Type the podcast name, keywords or enter a feed url.",
|
||||||
|
"@searchHelper": {},
|
||||||
"searchInvalidRss": "Enlace RSS invalido ",
|
"searchInvalidRss": "Enlace RSS invalido ",
|
||||||
"@searchInvalidRss": {},
|
"@searchInvalidRss": {},
|
||||||
"searchPodcast": "Buscar podcast",
|
"searchPodcast": "Buscar podcast",
|
||||||
|
|
|
@ -433,6 +433,8 @@
|
||||||
"@search": {},
|
"@search": {},
|
||||||
"searchEpisode": "Rechercher un épisode",
|
"searchEpisode": "Rechercher un épisode",
|
||||||
"@searchEpisode": {},
|
"@searchEpisode": {},
|
||||||
|
"searchHelper": "Type the podcast name, keywords or enter a feed url.",
|
||||||
|
"@searchHelper": {},
|
||||||
"searchInvalidRss": "Lien RSS invalide",
|
"searchInvalidRss": "Lien RSS invalide",
|
||||||
"@searchInvalidRss": {},
|
"@searchInvalidRss": {},
|
||||||
"searchPodcast": "Chercher un podcast",
|
"searchPodcast": "Chercher un podcast",
|
||||||
|
|
|
@ -433,6 +433,8 @@
|
||||||
"@search": {},
|
"@search": {},
|
||||||
"searchEpisode": "Cerca episodio",
|
"searchEpisode": "Cerca episodio",
|
||||||
"@searchEpisode": {},
|
"@searchEpisode": {},
|
||||||
|
"searchHelper": "Type the podcast name, keywords or enter a feed url.",
|
||||||
|
"@searchHelper": {},
|
||||||
"searchInvalidRss": "Link RSS invalido",
|
"searchInvalidRss": "Link RSS invalido",
|
||||||
"@searchInvalidRss": {},
|
"@searchInvalidRss": {},
|
||||||
"searchPodcast": "Cerca un podcast",
|
"searchPodcast": "Cerca un podcast",
|
||||||
|
|
|
@ -433,6 +433,8 @@
|
||||||
"@search": {},
|
"@search": {},
|
||||||
"searchEpisode": "Procurar episódio",
|
"searchEpisode": "Procurar episódio",
|
||||||
"@searchEpisode": {},
|
"@searchEpisode": {},
|
||||||
|
"searchHelper": "Type the podcast name, keywords or enter a feed url.",
|
||||||
|
"@searchHelper": {},
|
||||||
"searchInvalidRss": "Ligação RSS inválida",
|
"searchInvalidRss": "Ligação RSS inválida",
|
||||||
"@searchInvalidRss": {},
|
"@searchInvalidRss": {},
|
||||||
"searchPodcast": "Procurar podcasts",
|
"searchPodcast": "Procurar podcasts",
|
||||||
|
|
|
@ -433,6 +433,8 @@
|
||||||
"@search": {},
|
"@search": {},
|
||||||
"searchEpisode": "搜索节目",
|
"searchEpisode": "搜索节目",
|
||||||
"@searchEpisode": {},
|
"@searchEpisode": {},
|
||||||
|
"searchHelper": "请输入播客名,关键字或者RSS链接。",
|
||||||
|
"@searchHelper": {},
|
||||||
"searchInvalidRss": "RSS 链接错误",
|
"searchInvalidRss": "RSS 链接错误",
|
||||||
"@searchInvalidRss": {},
|
"@searchInvalidRss": {},
|
||||||
"searchPodcast": "搜索播客",
|
"searchPodcast": "搜索播客",
|
||||||
|
|
Loading…
Reference in New Issue