2020-05-09 06:27:05 +02:00
|
|
|
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
|
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
import 'package:intl/intl.dart';
|
|
|
|
|
import 'intl/messages_all.dart';
|
|
|
|
|
|
|
|
|
|
// **************************************************************************
|
|
|
|
|
// Generator: Flutter Intl IDE plugin
|
|
|
|
|
// Made by Localizely
|
|
|
|
|
// **************************************************************************
|
|
|
|
|
|
2020-06-10 09:42:40 +02:00
|
|
|
|
// ignore_for_file: non_constant_identifier_names, lines_longer_than_80_chars
|
|
|
|
|
|
2020-05-09 06:27:05 +02:00
|
|
|
|
class S {
|
|
|
|
|
S();
|
|
|
|
|
|
2020-06-10 09:42:40 +02:00
|
|
|
|
static S current;
|
|
|
|
|
|
2020-05-09 06:27:05 +02:00
|
|
|
|
static const AppLocalizationDelegate delegate =
|
|
|
|
|
AppLocalizationDelegate();
|
|
|
|
|
|
|
|
|
|
static Future<S> load(Locale locale) {
|
2020-05-16 05:14:32 +02:00
|
|
|
|
final name = (locale.countryCode?.isEmpty ?? false) ? locale.languageCode : locale.toString();
|
|
|
|
|
final localeName = Intl.canonicalizedLocale(name);
|
2020-05-09 06:27:05 +02:00
|
|
|
|
return initializeMessages(localeName).then((_) {
|
|
|
|
|
Intl.defaultLocale = localeName;
|
2020-06-10 09:42:40 +02:00
|
|
|
|
S.current = S();
|
|
|
|
|
|
|
|
|
|
return S.current;
|
2020-05-09 06:27:05 +02:00
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static S of(BuildContext context) {
|
|
|
|
|
return Localizations.of<S>(context, S);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Add`
|
|
|
|
|
String get add {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Add',
|
|
|
|
|
name: 'add',
|
|
|
|
|
desc: 'Subscribe new podcast',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `{count, plural, zero{} one{{count} episode in {groupName} added to playlist} other{{count} episodes in {groupName} added to playlist}}`
|
|
|
|
|
String addEpisodeGroup(Object groupName, num count) {
|
|
|
|
|
return Intl.plural(
|
|
|
|
|
count,
|
|
|
|
|
zero: '',
|
|
|
|
|
one: '$count episode in $groupName added to playlist',
|
|
|
|
|
other: '$count episodes in $groupName added to playlist',
|
|
|
|
|
name: 'addEpisodeGroup',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [groupName, count],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `{count, plural, zero{} one{{count} episode added to playlist} other{{count} episodes added to playlist}}`
|
|
|
|
|
String addNewEpisodeAll(num count) {
|
|
|
|
|
return Intl.plural(
|
|
|
|
|
count,
|
|
|
|
|
zero: '',
|
|
|
|
|
one: '$count episode added to playlist',
|
|
|
|
|
other: '$count episodes added to playlist',
|
|
|
|
|
name: 'addNewEpisodeAll',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [count],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Add new episodes to playlist`
|
|
|
|
|
String get addNewEpisodeTooltip {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Add new episodes to playlist',
|
|
|
|
|
name: 'addNewEpisodeTooltip',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Add some groups`
|
|
|
|
|
String get addSomeGroups {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Add some groups',
|
|
|
|
|
name: 'addSomeGroups',
|
|
|
|
|
desc: 'Please add new groups',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `All`
|
|
|
|
|
String get all {
|
2020-06-29 14:13:42 +02:00
|
|
|
|
return Intl.message(
|
2020-07-02 14:58:55 +02:00
|
|
|
|
'All',
|
|
|
|
|
name: 'all',
|
2020-06-29 14:13:42 +02:00
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `Auto download`
|
|
|
|
|
String get autoDownload {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Auto download',
|
|
|
|
|
name: 'autoDownload',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Back`
|
|
|
|
|
String get back {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Back',
|
|
|
|
|
name: 'back',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Buffering`
|
|
|
|
|
String get buffering {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Buffering',
|
|
|
|
|
name: 'buffering',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `CANCEL`
|
2020-07-02 14:58:55 +02:00
|
|
|
|
String get cancel {
|
2020-06-29 14:13:42 +02:00
|
|
|
|
return Intl.message(
|
2020-07-04 16:42:56 +02:00
|
|
|
|
'CANCEL',
|
2020-07-02 14:58:55 +02:00
|
|
|
|
name: 'cancel',
|
2020-06-29 14:13:42 +02:00
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Change layout`
|
|
|
|
|
String get changeLayout {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Change layout',
|
|
|
|
|
name: 'changeLayout',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Changelog`
|
|
|
|
|
String get changelog {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Changelog',
|
|
|
|
|
name: 'changelog',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Choose a`
|
|
|
|
|
String get chooseA {
|
2020-06-29 14:13:42 +02:00
|
|
|
|
return Intl.message(
|
2020-07-02 14:58:55 +02:00
|
|
|
|
'Choose a',
|
|
|
|
|
name: 'chooseA',
|
2020-06-29 14:13:42 +02:00
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Clear`
|
|
|
|
|
String get clear {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Clear',
|
|
|
|
|
name: 'clear',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `color`
|
|
|
|
|
String get color {
|
2020-06-29 14:13:42 +02:00
|
|
|
|
return Intl.message(
|
2020-07-02 14:58:55 +02:00
|
|
|
|
'color',
|
|
|
|
|
name: 'color',
|
2020-06-29 14:13:42 +02:00
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `CONFIRM`
|
2020-07-02 14:58:55 +02:00
|
|
|
|
String get confirm {
|
2020-06-29 14:13:42 +02:00
|
|
|
|
return Intl.message(
|
2020-07-04 16:42:56 +02:00
|
|
|
|
'CONFIRM',
|
2020-07-02 14:58:55 +02:00
|
|
|
|
name: 'confirm',
|
2020-06-29 14:13:42 +02:00
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Dark mode`
|
|
|
|
|
String get darkMode {
|
2020-06-29 14:13:42 +02:00
|
|
|
|
return Intl.message(
|
2020-07-02 14:58:55 +02:00
|
|
|
|
'Dark mode',
|
|
|
|
|
name: 'darkMode',
|
2020-06-29 14:13:42 +02:00
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `{count, plural, zero{Today} one{{count} day ago} other{{count} days ago}}`
|
|
|
|
|
String daysAgo(num count) {
|
|
|
|
|
return Intl.plural(
|
|
|
|
|
count,
|
|
|
|
|
zero: 'Today',
|
|
|
|
|
one: '$count day ago',
|
|
|
|
|
other: '$count days ago',
|
|
|
|
|
name: 'daysAgo',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [count],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `{count, plural, zero{Never} one{{count} day} other{{count} days}}`
|
|
|
|
|
String daysCount(num count) {
|
|
|
|
|
return Intl.plural(
|
|
|
|
|
count,
|
|
|
|
|
zero: 'Never',
|
|
|
|
|
one: '$count day',
|
|
|
|
|
other: '$count days',
|
|
|
|
|
name: 'daysCount',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [count],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Delete`
|
|
|
|
|
String get delete {
|
2020-06-29 14:13:42 +02:00
|
|
|
|
return Intl.message(
|
2020-07-02 14:58:55 +02:00
|
|
|
|
'Delete',
|
|
|
|
|
name: 'delete',
|
2020-06-29 14:13:42 +02:00
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Developer`
|
|
|
|
|
String get developer {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Developer',
|
|
|
|
|
name: 'developer',
|
2020-07-06 11:50:20 +02:00
|
|
|
|
desc: 'Can also translate to About me',
|
2020-07-04 16:42:56 +02:00
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Dismiss`
|
|
|
|
|
String get dismiss {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Dismiss',
|
|
|
|
|
name: 'dismiss',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `Done`
|
|
|
|
|
String get done {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Done',
|
|
|
|
|
name: 'done',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-06-29 14:13:42 +02:00
|
|
|
|
/// `Download`
|
2020-07-02 14:58:55 +02:00
|
|
|
|
String get download {
|
2020-06-29 14:13:42 +02:00
|
|
|
|
return Intl.message(
|
|
|
|
|
'Download',
|
2020-07-02 14:58:55 +02:00
|
|
|
|
name: 'download',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Downloaded`
|
|
|
|
|
String get downloaded {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Downloaded',
|
|
|
|
|
name: 'downloaded',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `Edit group name`
|
|
|
|
|
String get editGroupName {
|
2020-07-02 14:58:55 +02:00
|
|
|
|
return Intl.message(
|
2020-07-06 11:50:20 +02:00
|
|
|
|
'Edit group name',
|
|
|
|
|
name: 'editGroupName',
|
2020-07-02 14:58:55 +02:00
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `End of Episode`
|
|
|
|
|
String get endOfEpisode {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'End of Episode',
|
|
|
|
|
name: 'endOfEpisode',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-07 17:29:21 +02:00
|
|
|
|
/// `{count, plural, zero{} one{Episode} other{Episodes}}`
|
|
|
|
|
String episode(num count) {
|
|
|
|
|
return Intl.plural(
|
|
|
|
|
count,
|
|
|
|
|
zero: '',
|
|
|
|
|
one: 'Episode',
|
|
|
|
|
other: 'Episodes',
|
2020-07-06 11:50:20 +02:00
|
|
|
|
name: 'episode',
|
|
|
|
|
desc: '',
|
2020-07-07 17:29:21 +02:00
|
|
|
|
args: [count],
|
2020-07-06 11:50:20 +02:00
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Tap to edit group`
|
|
|
|
|
String get featureDiscoveryEditGroup {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Tap to edit group',
|
|
|
|
|
name: 'featureDiscoveryEditGroup',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `You can change group name or delete group here, but home group can not be edited or deleted`
|
|
|
|
|
String get featureDiscoveryEditGroupDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'You can change group name or delete group here, but home group can not be edited or deleted',
|
|
|
|
|
name: 'featureDiscoveryEditGroupDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Episode view`
|
|
|
|
|
String get featureDiscoveryEpisode {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Episode view',
|
|
|
|
|
name: 'featureDiscoveryEpisode',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `You can long tap to play episode or add episode to playlist.`
|
|
|
|
|
String get featureDiscoveryEpisodeDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'You can long tap to play episode or add episode to playlist.',
|
|
|
|
|
name: 'featureDiscoveryEpisodeDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Long tap to play episode instantly`
|
|
|
|
|
String get featureDiscoveryEpisodeTitle {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Long tap to play episode instantly',
|
|
|
|
|
name: 'featureDiscoveryEpisodeTitle',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `Tap to add group`
|
|
|
|
|
String get featureDiscoveryGroup {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Tap to add group',
|
|
|
|
|
name: 'featureDiscoveryGroup',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Default group is home for new podcast, you can create new group and move podcast to new group, podcast can be added to multi-groups.`
|
|
|
|
|
String get featureDiscoveryGroupDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Default group is home for new podcast, you can create new group and move podcast to new group, podcast can be added to multi-groups.',
|
|
|
|
|
name: 'featureDiscoveryGroupDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Long tap to reorder podcast`
|
|
|
|
|
String get featureDiscoveryGroupPodcast {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Long tap to reorder podcast',
|
|
|
|
|
name: 'featureDiscoveryGroupPodcast',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `You can tap to see more options, or long tap to reorder podcast in group.`
|
|
|
|
|
String get featureDiscoveryGroupPodcastDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'You can tap to see more options, or long tap to reorder podcast in group.',
|
|
|
|
|
name: 'featureDiscoveryGroupPodcastDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Tap to import OMPL`
|
|
|
|
|
String get featureDiscoveryOMPL {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Tap to import OMPL',
|
|
|
|
|
name: 'featureDiscoveryOMPL',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `You can import OMPL file, open setting or refresh all podcast at once here.`
|
|
|
|
|
String get featureDiscoveryOMPLDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'You can import OMPL file, open setting or refresh all podcast at once here.',
|
|
|
|
|
name: 'featureDiscoveryOMPLDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Tap to open playlist`
|
|
|
|
|
String get featureDiscoveryPlaylist {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Tap to open playlist',
|
|
|
|
|
name: 'featureDiscoveryPlaylist',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `You can add episode to playlist by yourself. Episode will be auto removed from playlist when played.`
|
|
|
|
|
String get featureDiscoveryPlaylistDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'You can add episode to playlist by yourself. Episode will be auto removed from playlist when played.',
|
|
|
|
|
name: 'featureDiscoveryPlaylistDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Podcast view`
|
|
|
|
|
String get featureDiscoveryPodcast {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Podcast view',
|
|
|
|
|
name: 'featureDiscoveryPodcast',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `You can tap See All to add groups or manage podcasts.`
|
|
|
|
|
String get featureDiscoveryPodcastDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'You can tap See All to add groups or manage podcasts.',
|
|
|
|
|
name: 'featureDiscoveryPodcastDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Scroll vertically to switch groups`
|
|
|
|
|
String get featureDiscoveryPodcastTitle {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Scroll vertically to switch groups',
|
|
|
|
|
name: 'featureDiscoveryPodcastTitle',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Tap to search podcast`
|
|
|
|
|
String get featureDiscoverySearch {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Tap to search podcast',
|
|
|
|
|
name: 'featureDiscoverySearch',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `You can search podcast title , key word or RSS link to subscribe new podcast.`
|
|
|
|
|
String get featureDiscoverySearchDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'You can search podcast title , key word or RSS link to subscribe new podcast.',
|
|
|
|
|
name: 'featureDiscoverySearchDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Write to me`
|
|
|
|
|
String get feedbackEmail {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Write to me',
|
|
|
|
|
name: 'feedbackEmail',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Submit issue`
|
|
|
|
|
String get feedbackGithub {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Submit issue',
|
|
|
|
|
name: 'feedbackGithub',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Rate on Play`
|
|
|
|
|
String get feedbackPlay {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Rate on Play',
|
|
|
|
|
name: 'feedbackPlay',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Join group`
|
|
|
|
|
String get feedbackTelegram {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Join group',
|
|
|
|
|
name: 'feedbackTelegram',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `Fonts`
|
|
|
|
|
String get fonts {
|
2020-07-02 14:58:55 +02:00
|
|
|
|
return Intl.message(
|
2020-07-06 11:50:20 +02:00
|
|
|
|
'Fonts',
|
|
|
|
|
name: 'fonts',
|
2020-07-02 14:58:55 +02:00
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `From {time}`
|
|
|
|
|
String from(Object time) {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'From $time',
|
|
|
|
|
name: 'from',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [time],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Good Night`
|
|
|
|
|
String get goodNight {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Good Night',
|
|
|
|
|
name: 'goodNight',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `Group existed`
|
|
|
|
|
String get groupExisted {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Group existed',
|
|
|
|
|
name: 'groupExisted',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Group filter`
|
|
|
|
|
String get groupFilter {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Group filter',
|
|
|
|
|
name: 'groupFilter',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `Are you sure you want to delete this group? Podcasts will be moved to Home group.`
|
|
|
|
|
String get groupRemoveConfirm {
|
2020-07-02 14:58:55 +02:00
|
|
|
|
return Intl.message(
|
2020-07-06 11:50:20 +02:00
|
|
|
|
'Are you sure you want to delete this group? Podcasts will be moved to Home group.',
|
|
|
|
|
name: 'groupRemoveConfirm',
|
2020-07-02 14:58:55 +02:00
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `{count, plural, zero{Group} one{Group} other{Groups}}`
|
|
|
|
|
String groups(num count) {
|
|
|
|
|
return Intl.plural(
|
|
|
|
|
count,
|
|
|
|
|
zero: 'Group',
|
|
|
|
|
one: 'Group',
|
|
|
|
|
other: 'Groups',
|
|
|
|
|
name: 'groups',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [count],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `See All`
|
|
|
|
|
String get homeGroupsSeeAll {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'See All',
|
|
|
|
|
name: 'homeGroupsSeeAll',
|
2020-06-29 14:13:42 +02:00
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Playlist`
|
|
|
|
|
String get homeMenuPlaylist {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Playlist',
|
|
|
|
|
name: 'homeMenuPlaylist',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Sort by`
|
|
|
|
|
String get homeSubMenuSortBy {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Sort by',
|
|
|
|
|
name: 'homeSubMenuSortBy',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Favorite`
|
|
|
|
|
String get homeTabMenuFavotite {
|
2020-06-29 14:13:42 +02:00
|
|
|
|
return Intl.message(
|
2020-07-02 14:58:55 +02:00
|
|
|
|
'Favorite',
|
|
|
|
|
name: 'homeTabMenuFavotite',
|
2020-06-29 14:13:42 +02:00
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Recent`
|
|
|
|
|
String get homeTabMenuRecent {
|
2020-06-29 14:13:42 +02:00
|
|
|
|
return Intl.message(
|
2020-07-02 14:58:55 +02:00
|
|
|
|
'Recent',
|
|
|
|
|
name: 'homeTabMenuRecent',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `About`
|
|
|
|
|
String get homeToprightMenuAbout {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'About',
|
|
|
|
|
name: 'homeToprightMenuAbout',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Import OMPL`
|
|
|
|
|
String get homeToprightMenuImportOMPL {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Import OMPL',
|
|
|
|
|
name: 'homeToprightMenuImportOMPL',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Refresh all`
|
|
|
|
|
String get homeToprightMenuRefreshAll {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Refresh all',
|
|
|
|
|
name: 'homeToprightMenuRefreshAll',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Hosted on {host}`
|
|
|
|
|
String hostedOn(Object host) {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Hosted on $host',
|
|
|
|
|
name: 'hostedOn',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [host],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-07 17:29:21 +02:00
|
|
|
|
/// `{count, plural, zero{In an hour} one{{count} hour ago} other{{count} hours ago}}`
|
2020-07-06 11:50:20 +02:00
|
|
|
|
String hoursAgo(num count) {
|
|
|
|
|
return Intl.plural(
|
|
|
|
|
count,
|
2020-07-07 17:29:21 +02:00
|
|
|
|
zero: 'In an hour',
|
2020-07-06 11:50:20 +02:00
|
|
|
|
one: '$count hour ago',
|
|
|
|
|
other: '$count hours ago',
|
|
|
|
|
name: 'hoursAgo',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [count],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-08 15:18:08 +02:00
|
|
|
|
/// `{count, plural, zero{0 hour} one{{count} hour} other{{count} hours}}`
|
2020-07-04 16:42:56 +02:00
|
|
|
|
String hoursCount(num count) {
|
|
|
|
|
return Intl.plural(
|
|
|
|
|
count,
|
2020-07-08 15:18:08 +02:00
|
|
|
|
zero: '0 hour',
|
2020-07-04 16:42:56 +02:00
|
|
|
|
one: '$count hour',
|
|
|
|
|
other: '$count hours',
|
|
|
|
|
name: 'hoursCount',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [count],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-15 21:42:52 +02:00
|
|
|
|
/// `Import`
|
|
|
|
|
String get import {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Import',
|
|
|
|
|
name: 'import',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-13 14:04:44 +02:00
|
|
|
|
/// `You can long press on episode card for quick actions.`
|
2020-07-06 11:50:20 +02:00
|
|
|
|
String get introFourthPage {
|
|
|
|
|
return Intl.message(
|
2020-07-13 14:04:44 +02:00
|
|
|
|
'You can long press on episode card for quick actions.',
|
2020-07-06 11:50:20 +02:00
|
|
|
|
name: 'introFourthPage',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Subscribe podcast via search or import OMPL file.`
|
|
|
|
|
String get introSecondPage {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Subscribe podcast via search or import OMPL file.',
|
|
|
|
|
name: 'introSecondPage',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-13 14:04:44 +02:00
|
|
|
|
/// `You can create new group for podcasts.`
|
2020-07-06 11:50:20 +02:00
|
|
|
|
String get introThirdPage {
|
|
|
|
|
return Intl.message(
|
2020-07-13 14:04:44 +02:00
|
|
|
|
'You can create new group for podcasts.',
|
2020-07-06 11:50:20 +02:00
|
|
|
|
name: 'introThirdPage',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Later`
|
|
|
|
|
String get later {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Later',
|
|
|
|
|
name: 'later',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Light mode`
|
|
|
|
|
String get lightMode {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Light mode',
|
|
|
|
|
name: 'lightMode',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Like`
|
|
|
|
|
String get like {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Like',
|
|
|
|
|
name: 'like',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Liked`
|
|
|
|
|
String get liked {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Liked',
|
|
|
|
|
name: 'liked',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Like date`
|
|
|
|
|
String get likeDate {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Like date',
|
|
|
|
|
name: 'likeDate',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Listen`
|
|
|
|
|
String get listen {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Listen',
|
|
|
|
|
name: 'listen',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Listened`
|
|
|
|
|
String get listened {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Listened',
|
|
|
|
|
name: 'listened',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Load more`
|
|
|
|
|
String get loadMore {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Load more',
|
|
|
|
|
name: 'loadMore',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `Mark`
|
|
|
|
|
String get mark {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Mark',
|
|
|
|
|
name: 'mark',
|
|
|
|
|
desc: 'The short the best',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Mark confirm`
|
|
|
|
|
String get markConfirm {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Mark confirm',
|
|
|
|
|
name: 'markConfirm',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Confirm mark all episodes listened?`
|
|
|
|
|
String get markConfirmContent {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Confirm mark all episodes listened?',
|
|
|
|
|
name: 'markConfirmContent',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Mark listened`
|
|
|
|
|
String get markListened {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Mark listened',
|
|
|
|
|
name: 'markListened',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Menu`
|
|
|
|
|
String get menu {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Menu',
|
|
|
|
|
name: 'menu',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `All podcasts`
|
|
|
|
|
String get menuAllPodcasts {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'All podcasts',
|
|
|
|
|
name: 'menuAllPodcasts',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Mark All Listened`
|
|
|
|
|
String get menuMarkAllListened {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Mark All Listened',
|
|
|
|
|
name: 'menuMarkAllListened',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Visit RSS Feed`
|
|
|
|
|
String get menuViewRSS {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Visit RSS Feed',
|
|
|
|
|
name: 'menuViewRSS',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Visit Site`
|
|
|
|
|
String get menuVisitSite {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Visit Site',
|
|
|
|
|
name: 'menuVisitSite',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-08 15:18:08 +02:00
|
|
|
|
/// `{count, plural, zero{Just now} one{{count} minute ago} other{{count} minutes ago}}`
|
2020-07-06 11:50:20 +02:00
|
|
|
|
String minsAgo(num count) {
|
|
|
|
|
return Intl.plural(
|
|
|
|
|
count,
|
2020-07-08 15:18:08 +02:00
|
|
|
|
zero: 'Just now',
|
2020-07-06 11:50:20 +02:00
|
|
|
|
one: '$count minute ago',
|
|
|
|
|
other: '$count minutes ago',
|
|
|
|
|
name: 'minsAgo',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [count],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-08 15:18:08 +02:00
|
|
|
|
/// `{count, plural, zero{0 min} one{{count} min} other{{count} mins}}`
|
2020-07-04 16:42:56 +02:00
|
|
|
|
String minsCount(num count) {
|
|
|
|
|
return Intl.plural(
|
|
|
|
|
count,
|
2020-07-08 15:18:08 +02:00
|
|
|
|
zero: '0 min',
|
2020-07-04 16:42:56 +02:00
|
|
|
|
one: '$count min',
|
|
|
|
|
other: '$count mins',
|
|
|
|
|
name: 'minsCount',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [count],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Network`
|
|
|
|
|
String get network {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Network',
|
|
|
|
|
name: 'network',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Newest first`
|
|
|
|
|
String get newestFirst {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Newest first',
|
|
|
|
|
name: 'newestFirst',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Create new group`
|
|
|
|
|
String get newGroup {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Create new group',
|
|
|
|
|
name: 'newGroup',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `Next`
|
|
|
|
|
String get next {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Next',
|
|
|
|
|
name: 'next',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `No episode downloaded yet`
|
|
|
|
|
String get noEpisodeDownload {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'No episode downloaded yet',
|
|
|
|
|
name: 'noEpisodeDownload',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `No episode collected yet`
|
|
|
|
|
String get noEpisodeFavorite {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'No episode collected yet',
|
|
|
|
|
name: 'noEpisodeFavorite',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `No episode received yet`
|
|
|
|
|
String get noEpisodeRecent {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'No episode received yet',
|
|
|
|
|
name: 'noEpisodeRecent',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `No podcast in this group`
|
|
|
|
|
String get noPodcastGroup {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'No podcast in this group',
|
|
|
|
|
name: 'noPodcastGroup',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-07 17:29:21 +02:00
|
|
|
|
/// `Still no show notes received \nfor this episode.`
|
|
|
|
|
String get noShownote {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Still no show notes received \nfor this episode.',
|
|
|
|
|
name: 'noShownote',
|
|
|
|
|
desc: 'Means this episode have no show notes.',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Fetch data {title}`
|
|
|
|
|
String notificaitonFatch(Object title) {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Fetch data $title',
|
|
|
|
|
name: 'notificaitonFatch',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [title],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Subscribe failed, network error {title}`
|
|
|
|
|
String notificationNetworkError(Object title) {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Subscribe failed, network error $title',
|
|
|
|
|
name: 'notificationNetworkError',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [title],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Subscribe {title}`
|
|
|
|
|
String notificationSubscribe(Object title) {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Subscribe $title',
|
|
|
|
|
name: 'notificationSubscribe',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [title],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Subscribe failed, podcast existed {title}`
|
|
|
|
|
String notificationSubscribeExisted(Object title) {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Subscribe failed, podcast existed $title',
|
|
|
|
|
name: 'notificationSubscribeExisted',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [title],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Subscribe success {title}`
|
|
|
|
|
String notificationSuccess(Object title) {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Subscribe success $title',
|
|
|
|
|
name: 'notificationSuccess',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [title],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Update {title}`
|
|
|
|
|
String notificationUpdate(Object title) {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Update $title',
|
|
|
|
|
name: 'notificationUpdate',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [title],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Update error {title}`
|
|
|
|
|
String notificationUpdateError(Object title) {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Update error $title',
|
|
|
|
|
name: 'notificationUpdateError',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [title],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Oldest first`
|
|
|
|
|
String get oldestFirst {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Oldest first',
|
|
|
|
|
name: 'oldestFirst',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Play`
|
|
|
|
|
String get play {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Play',
|
|
|
|
|
name: 'play',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Playing`
|
|
|
|
|
String get playing {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Playing',
|
|
|
|
|
name: 'playing',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `Plugins`
|
|
|
|
|
String get plugins {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Plugins',
|
|
|
|
|
name: 'plugins',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-07 17:29:21 +02:00
|
|
|
|
/// `{count, plural, zero{} one{Podcast} other{Podcasts}}`
|
|
|
|
|
String podcast(num count) {
|
|
|
|
|
return Intl.plural(
|
|
|
|
|
count,
|
|
|
|
|
zero: '',
|
|
|
|
|
one: 'Podcast',
|
|
|
|
|
other: 'Podcasts',
|
2020-07-06 11:50:20 +02:00
|
|
|
|
name: 'podcast',
|
|
|
|
|
desc: '',
|
2020-07-07 17:29:21 +02:00
|
|
|
|
args: [count],
|
2020-07-06 11:50:20 +02:00
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Podcast subscribed`
|
|
|
|
|
String get podcastSubscribed {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Podcast subscribed',
|
|
|
|
|
name: 'podcastSubscribed',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Download episode`
|
|
|
|
|
String get popupMenuDownloadDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Download episode',
|
|
|
|
|
name: 'popupMenuDownloadDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Add episode to playlist`
|
|
|
|
|
String get popupMenuLaterDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Add episode to playlist',
|
|
|
|
|
name: 'popupMenuLaterDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Add episode to favorite`
|
|
|
|
|
String get popupMenuLikeDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Add episode to favorite',
|
|
|
|
|
name: 'popupMenuLikeDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Mark episode as listened`
|
|
|
|
|
String get popupMenuMarkDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Mark episode as listened',
|
|
|
|
|
name: 'popupMenuMarkDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Play the episode`
|
|
|
|
|
String get popupMenuPlayDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Play the episode',
|
|
|
|
|
name: 'popupMenuPlayDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Privacy Policy`
|
|
|
|
|
String get privacyPolicy {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Privacy Policy',
|
|
|
|
|
name: 'privacyPolicy',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-07 17:29:21 +02:00
|
|
|
|
/// `Published at {date}`
|
|
|
|
|
String published(Object date) {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Published at $date',
|
|
|
|
|
name: 'published',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [date],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `Recover subscribe`
|
|
|
|
|
String get recoverSubscribe {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Recover subscribe',
|
|
|
|
|
name: 'recoverSubscribe',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Remove`
|
|
|
|
|
String get remove {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Remove',
|
|
|
|
|
name: 'remove',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `Remove confirm`
|
|
|
|
|
String get removeConfirm {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Remove confirm',
|
|
|
|
|
name: 'removeConfirm',
|
|
|
|
|
desc: 'unsubscribe podcast dialog',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Removed at {date}`
|
|
|
|
|
String removedAt(Object date) {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Removed at $date',
|
|
|
|
|
name: 'removedAt',
|
|
|
|
|
desc: 'For example :Removed at 2020.10.10',
|
|
|
|
|
args: [date],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Are you sure you want to unsubscribe?`
|
|
|
|
|
String get removePodcastDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Are you sure you want to unsubscribe?',
|
|
|
|
|
name: 'removePodcastDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-14 17:45:45 +02:00
|
|
|
|
/// `Save`
|
|
|
|
|
String get save {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Save',
|
|
|
|
|
name: 'save',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Schedule`
|
|
|
|
|
String get schedule {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Schedule',
|
|
|
|
|
name: 'schedule',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Invalid RSS link`
|
|
|
|
|
String get searchInvalidRss {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Invalid RSS link',
|
|
|
|
|
name: 'searchInvalidRss',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Search podcast`
|
|
|
|
|
String get searchPodcast {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Search podcast',
|
|
|
|
|
name: 'searchPodcast',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-13 14:04:44 +02:00
|
|
|
|
/// `{count, plural, zero{Just now} one{{count} second ago} other{{count} seconds ago}}`
|
2020-07-06 11:50:20 +02:00
|
|
|
|
String secondsAgo(num count) {
|
|
|
|
|
return Intl.plural(
|
|
|
|
|
count,
|
2020-07-13 14:04:44 +02:00
|
|
|
|
zero: 'Just now',
|
2020-07-06 11:50:20 +02:00
|
|
|
|
one: '$count second ago',
|
|
|
|
|
other: '$count seconds ago',
|
|
|
|
|
name: 'secondsAgo',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [count],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-15 21:42:52 +02:00
|
|
|
|
/// `Settings`
|
|
|
|
|
String get settings {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Settings',
|
|
|
|
|
name: 'settings',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Accent color`
|
|
|
|
|
String get settingsAccentColor {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Accent color',
|
|
|
|
|
name: 'settingsAccentColor',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Include the ovelay color`
|
|
|
|
|
String get settingsAccentColorDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Include the ovelay color',
|
|
|
|
|
name: 'settingsAccentColorDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Appearance`
|
|
|
|
|
String get settingsAppearance {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Appearance',
|
|
|
|
|
name: 'settingsAppearance',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Colors and themes`
|
|
|
|
|
String get settingsAppearanceDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Colors and themes',
|
|
|
|
|
name: 'settingsAppearanceDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `App Intro`
|
|
|
|
|
String get settingsAppIntro {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'App Intro',
|
|
|
|
|
name: 'settingsAppIntro',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Audio cache`
|
|
|
|
|
String get settingsAudioCache {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Audio cache',
|
|
|
|
|
name: 'settingsAudioCache',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Audio cache max size`
|
|
|
|
|
String get settingsAudioCacheDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Audio cache max size',
|
|
|
|
|
name: 'settingsAudioCacheDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Auto delete downloads after`
|
|
|
|
|
String get settingsAutoDelete {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Auto delete downloads after',
|
|
|
|
|
name: 'settingsAutoDelete',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Default 30 days`
|
|
|
|
|
String get settingsAutoDeleteDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Default 30 days',
|
|
|
|
|
name: 'settingsAutoDeleteDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Auto play next episode in playlist`
|
|
|
|
|
String get settingsAutoPlayDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Auto play next episode in playlist',
|
|
|
|
|
name: 'settingsAutoPlayDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-14 17:45:45 +02:00
|
|
|
|
/// `Backup`
|
|
|
|
|
String get settingsBackup {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Backup',
|
|
|
|
|
name: 'settingsBackup',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Backup app data`
|
|
|
|
|
String get settingsBackupDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Backup app data',
|
|
|
|
|
name: 'settingsBackupDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Default grid view`
|
|
|
|
|
String get settingsDefaultGrid {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Default grid view',
|
|
|
|
|
name: 'settingsDefaultGrid',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Download tab`
|
|
|
|
|
String get settingsDefaultGridDownload {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Download tab',
|
|
|
|
|
name: 'settingsDefaultGridDownload',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Favorite tab`
|
|
|
|
|
String get settingsDefaultGridFavorite {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Favorite tab',
|
|
|
|
|
name: 'settingsDefaultGridFavorite',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Podcast page`
|
|
|
|
|
String get settingsDefaultGridPodcast {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Podcast page',
|
|
|
|
|
name: 'settingsDefaultGridPodcast',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Recent tab`
|
|
|
|
|
String get settingsDefaultGridRecent {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Recent tab',
|
|
|
|
|
name: 'settingsDefaultGridRecent',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Discovery Features Again`
|
|
|
|
|
String get settingsDiscovery {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Discovery Features Again',
|
|
|
|
|
name: 'settingsDiscovery',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Enable Syncing`
|
|
|
|
|
String get settingsEnableSyncing {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Enable Syncing',
|
|
|
|
|
name: 'settingsEnableSyncing',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Refresh all podcasts in the background to get leatest episodes`
|
|
|
|
|
String get settingsEnableSyncingDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Refresh all podcasts in the background to get leatest episodes',
|
|
|
|
|
name: 'settingsEnableSyncingDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-15 21:42:52 +02:00
|
|
|
|
/// `Export and import app settings`
|
2020-07-02 14:58:55 +02:00
|
|
|
|
String get settingsExportDes {
|
|
|
|
|
return Intl.message(
|
2020-07-15 21:42:52 +02:00
|
|
|
|
'Export and import app settings',
|
2020-07-02 14:58:55 +02:00
|
|
|
|
name: 'settingsExportDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Feedback`
|
|
|
|
|
String get settingsFeedback {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Feedback',
|
|
|
|
|
name: 'settingsFeedback',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `Bugs and features request`
|
2020-07-02 14:58:55 +02:00
|
|
|
|
String get settingsFeedbackDes {
|
|
|
|
|
return Intl.message(
|
2020-07-06 11:50:20 +02:00
|
|
|
|
'Bugs and features request',
|
2020-07-02 14:58:55 +02:00
|
|
|
|
name: 'settingsFeedbackDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `History`
|
|
|
|
|
String get settingsHistory {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'History',
|
|
|
|
|
name: 'settingsHistory',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Listen date`
|
|
|
|
|
String get settingsHistoryDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Listen date',
|
|
|
|
|
name: 'settingsHistoryDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Info`
|
|
|
|
|
String get settingsInfo {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Info',
|
|
|
|
|
name: 'settingsInfo',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Interface`
|
|
|
|
|
String get settingsInterface {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Interface',
|
|
|
|
|
name: 'settingsInterface',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-07 17:29:21 +02:00
|
|
|
|
/// `Languages`
|
|
|
|
|
String get settingsLanguages {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Languages',
|
|
|
|
|
name: 'settingsLanguages',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Change language`
|
|
|
|
|
String get settingsLanguagesDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Change language',
|
|
|
|
|
name: 'settingsLanguagesDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Layout`
|
|
|
|
|
String get settingsLayout {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Layout',
|
|
|
|
|
name: 'settingsLayout',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `App layout`
|
|
|
|
|
String get settingsLayoutDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'App layout',
|
|
|
|
|
name: 'settingsLayoutDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Libraries`
|
|
|
|
|
String get settingsLibraries {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Libraries',
|
|
|
|
|
name: 'settingsLibraries',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Open source libraries used in app`
|
|
|
|
|
String get settingsLibrariesDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Open source libraries used in app',
|
|
|
|
|
name: 'settingsLibrariesDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Manage download`
|
|
|
|
|
String get settingsManageDownload {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Manage download',
|
|
|
|
|
name: 'settingsManageDownload',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Manage downloaded audio files`
|
|
|
|
|
String get settingsManageDownloadDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Manage downloaded audio files',
|
|
|
|
|
name: 'settingsManageDownloadDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Auto play next`
|
|
|
|
|
String get settingsMenuAutoPlay {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Auto play next',
|
|
|
|
|
name: 'settingsMenuAutoPlay',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Ask before using cellular data`
|
|
|
|
|
String get settingsNetworkCellular {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Ask before using cellular data',
|
|
|
|
|
name: 'settingsNetworkCellular',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Auto download using cellular data`
|
|
|
|
|
String get settingsNetworkCellularAuto {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Auto download using cellular data',
|
|
|
|
|
name: 'settingsNetworkCellularAuto',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `You can set podcast auto download in group manage page`
|
|
|
|
|
String get settingsNetworkCellularAutoDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'You can set podcast auto download in group manage page',
|
|
|
|
|
name: 'settingsNetworkCellularAutoDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Ask to confirm when using cellulae data to download episodes`
|
|
|
|
|
String get settingsNetworkCellularDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Ask to confirm when using cellulae data to download episodes',
|
|
|
|
|
name: 'settingsNetworkCellularDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Playlist and player`
|
|
|
|
|
String get settingsPlayDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Playlist and player',
|
|
|
|
|
name: 'settingsPlayDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Episodes popup menu`
|
|
|
|
|
String get settingsPopupMenu {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Episodes popup menu',
|
|
|
|
|
name: 'settingsPopupMenu',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Change the popup menu of episode`
|
|
|
|
|
String get settingsPopupMenuDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Change the popup menu of episode',
|
|
|
|
|
name: 'settingsPopupMenuDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Prefrence`
|
|
|
|
|
String get settingsPrefrence {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Prefrence',
|
|
|
|
|
name: 'settingsPrefrence',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Real dark`
|
|
|
|
|
String get settingsRealDark {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Real dark',
|
|
|
|
|
name: 'settingsRealDark',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Turn on if you think the night is not dark enough`
|
|
|
|
|
String get settingsRealDarkDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Turn on if you think the night is not dark enough',
|
|
|
|
|
name: 'settingsRealDarkDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Auto turn on sleep timer`
|
|
|
|
|
String get settingsSTAuto {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Auto turn on sleep timer',
|
|
|
|
|
name: 'settingsSTAuto',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Auto start sleep timer at scheduled time`
|
|
|
|
|
String get settingsSTAutoDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Auto start sleep timer at scheduled time',
|
|
|
|
|
name: 'settingsSTAutoDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Default time`
|
|
|
|
|
String get settingsSTDefaultTime {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Default time',
|
|
|
|
|
name: 'settingsSTDefaultTime',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Default time for sleep timer`
|
|
|
|
|
String get settingsSTDefautTimeDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Default time for sleep timer',
|
|
|
|
|
name: 'settingsSTDefautTimeDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Auto sleep timer mode`
|
|
|
|
|
String get settingsSTMode {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Auto sleep timer mode',
|
|
|
|
|
name: 'settingsSTMode',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Manange cache and download storage`
|
|
|
|
|
String get settingsStorageDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Manange cache and download storage',
|
|
|
|
|
name: 'settingsStorageDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Syncing`
|
|
|
|
|
String get settingsSyncing {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Syncing',
|
|
|
|
|
name: 'settingsSyncing',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Refresh podcasts in the background`
|
|
|
|
|
String get settingsSyncingDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Refresh podcasts in the background',
|
|
|
|
|
name: 'settingsSyncingDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-07 19:36:40 +02:00
|
|
|
|
/// `Tap to open popup menu`
|
|
|
|
|
String get settingsTapToOpenPopupMenu {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Tap to open popup menu',
|
|
|
|
|
name: 'settingsTapToOpenPopupMenu',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `You need to long press to open episode page`
|
|
|
|
|
String get settingsTapToOpenPopupMenuDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'You need to long press to open episode page',
|
|
|
|
|
name: 'settingsTapToOpenPopupMenuDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Theme`
|
|
|
|
|
String get settingsTheme {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Theme',
|
|
|
|
|
name: 'settingsTheme',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Storage`
|
|
|
|
|
String get settingStorage {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Storage',
|
|
|
|
|
name: 'settingStorage',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Update interval`
|
|
|
|
|
String get settingsUpdateInterval {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Update interval',
|
|
|
|
|
name: 'settingsUpdateInterval',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Default 24 hours`
|
|
|
|
|
String get settingsUpdateIntervalDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Default 24 hours',
|
|
|
|
|
name: 'settingsUpdateIntervalDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-14 17:45:45 +02:00
|
|
|
|
/// `Share`
|
|
|
|
|
String get share {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Share',
|
|
|
|
|
name: 'share',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Size`
|
|
|
|
|
String get size {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Size',
|
|
|
|
|
name: 'size',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `Skip seconds at start`
|
|
|
|
|
String get skipSecondsAtStart {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Skip seconds at start',
|
|
|
|
|
name: 'skipSecondsAtStart',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Sleep timer`
|
|
|
|
|
String get sleepTimer {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Sleep timer',
|
|
|
|
|
name: 'sleepTimer',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Subscribe`
|
|
|
|
|
String get subscribe {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Subscribe',
|
|
|
|
|
name: 'subscribe',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-15 21:42:52 +02:00
|
|
|
|
/// `Export OMPL file of all podcasts`
|
|
|
|
|
String get subscribeExportDes {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Export OMPL file of all podcasts',
|
|
|
|
|
name: 'subscribeExportDes',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `System default`
|
|
|
|
|
String get systemDefault {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'System default',
|
|
|
|
|
name: 'systemDefault',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Last time {time}`
|
|
|
|
|
String timeLastPlayed(Object time) {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Last time $time',
|
|
|
|
|
name: 'timeLastPlayed',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [time],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `{time} Left`
|
|
|
|
|
String timeLeft(Object time) {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'$time Left',
|
|
|
|
|
name: 'timeLeft',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [time],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `To {time}`
|
|
|
|
|
String to(Object time) {
|
2020-07-02 14:58:55 +02:00
|
|
|
|
return Intl.message(
|
2020-07-06 11:50:20 +02:00
|
|
|
|
'To $time',
|
2020-07-02 14:58:55 +02:00
|
|
|
|
name: 'to',
|
|
|
|
|
desc: '',
|
2020-07-06 11:50:20 +02:00
|
|
|
|
args: [time],
|
2020-07-02 14:58:55 +02:00
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Added to playlist`
|
|
|
|
|
String get toastAddPlaylist {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Added to playlist',
|
|
|
|
|
name: 'toastAddPlaylist',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Discovery feature reopened, pleast restart the app`
|
2020-07-06 11:50:20 +02:00
|
|
|
|
String get toastDiscovery {
|
2020-07-02 14:58:55 +02:00
|
|
|
|
return Intl.message(
|
|
|
|
|
'Discovery feature reopened, pleast restart the app',
|
2020-07-06 11:50:20 +02:00
|
|
|
|
name: 'toastDiscovery',
|
2020-07-02 14:58:55 +02:00
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `File error, subscribe failed`
|
2020-07-02 14:58:55 +02:00
|
|
|
|
String get toastFileError {
|
|
|
|
|
return Intl.message(
|
2020-07-06 11:50:20 +02:00
|
|
|
|
'File error, subscribe failed',
|
2020-07-02 14:58:55 +02:00
|
|
|
|
name: 'toastFileError',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `File not valid`
|
|
|
|
|
String get toastFileNotValid {
|
2020-07-02 14:58:55 +02:00
|
|
|
|
return Intl.message(
|
2020-07-06 11:50:20 +02:00
|
|
|
|
'File not valid',
|
|
|
|
|
name: 'toastFileNotValid',
|
2020-07-02 14:58:55 +02:00
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `Home group is not supported`
|
|
|
|
|
String get toastHomeGroupNotSupport {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Home group is not supported',
|
|
|
|
|
name: 'toastHomeGroupNotSupport',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `At least select one group`
|
|
|
|
|
String get toastOneGroup {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'At least select one group',
|
|
|
|
|
name: 'toastOneGroup',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Recovering, wait for a moment`
|
|
|
|
|
String get toastPodcastRecovering {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Recovering, wait for a moment',
|
|
|
|
|
name: 'toastPodcastRecovering',
|
|
|
|
|
desc: 'Resubscribe removed podcast',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Read file successfully`
|
|
|
|
|
String get toastReadFile {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Read file successfully',
|
|
|
|
|
name: 'toastReadFile',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `Podcast recover failed`
|
|
|
|
|
String get toastRecoverFailed {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Podcast recover failed',
|
|
|
|
|
name: 'toastRecoverFailed',
|
|
|
|
|
desc: 'Resubscribe removed podast',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Episode removed from playlist`
|
2020-07-02 14:58:55 +02:00
|
|
|
|
String get toastRemovePlaylist {
|
|
|
|
|
return Intl.message(
|
2020-07-06 11:50:20 +02:00
|
|
|
|
'Episode removed from playlist',
|
2020-07-02 14:58:55 +02:00
|
|
|
|
name: 'toastRemovePlaylist',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `Setting saved`
|
|
|
|
|
String get toastSettingSaved {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Setting saved',
|
|
|
|
|
name: 'toastSettingSaved',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Time is equal to end time`
|
|
|
|
|
String get toastTimeEqualEnd {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Time is equal to end time',
|
|
|
|
|
name: 'toastTimeEqualEnd',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Time is equal to start time`
|
|
|
|
|
String get toastTimeEqualStart {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Time is equal to start time',
|
|
|
|
|
name: 'toastTimeEqualStart',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-04 16:42:56 +02:00
|
|
|
|
/// `Understood`
|
|
|
|
|
String get understood {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Understood',
|
|
|
|
|
name: 'understood',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `UNDO`
|
|
|
|
|
String get undo {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'UNDO',
|
|
|
|
|
name: 'undo',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-02 14:58:55 +02:00
|
|
|
|
/// `Unlike`
|
|
|
|
|
String get unlike {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Unlike',
|
|
|
|
|
name: 'unlike',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `Episode removed from favorite`
|
2020-07-02 14:58:55 +02:00
|
|
|
|
String get unliked {
|
|
|
|
|
return Intl.message(
|
2020-07-06 11:50:20 +02:00
|
|
|
|
'Episode removed from favorite',
|
2020-07-02 14:58:55 +02:00
|
|
|
|
name: 'unliked',
|
2020-06-29 14:13:42 +02:00
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
2020-07-04 16:42:56 +02:00
|
|
|
|
|
|
|
|
|
/// `Update date`
|
|
|
|
|
String get updateDate {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Update date',
|
|
|
|
|
name: 'updateDate',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
2020-07-06 11:50:20 +02:00
|
|
|
|
/// `{count, plural, zero{No update} one{Updated {count} episode} other{Updated {count} episodes}}`
|
2020-07-04 16:42:56 +02:00
|
|
|
|
String updateEpisodesCount(num count) {
|
|
|
|
|
return Intl.plural(
|
|
|
|
|
count,
|
2020-07-06 11:50:20 +02:00
|
|
|
|
zero: 'No update',
|
|
|
|
|
one: 'Updated $count episode',
|
|
|
|
|
other: 'Updated $count episodes',
|
2020-07-04 16:42:56 +02:00
|
|
|
|
name: 'updateEpisodesCount',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [count],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Update failed, network error`
|
|
|
|
|
String get updateFailed {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Update failed, network error',
|
|
|
|
|
name: 'updateFailed',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [],
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// `Version : {version}`
|
|
|
|
|
String version(Object version) {
|
|
|
|
|
return Intl.message(
|
|
|
|
|
'Version : $version',
|
|
|
|
|
name: 'version',
|
|
|
|
|
desc: '',
|
|
|
|
|
args: [version],
|
|
|
|
|
);
|
|
|
|
|
}
|
2020-05-09 06:27:05 +02:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
class AppLocalizationDelegate extends LocalizationsDelegate<S> {
|
|
|
|
|
const AppLocalizationDelegate();
|
|
|
|
|
|
|
|
|
|
List<Locale> get supportedLocales {
|
|
|
|
|
return const <Locale>[
|
|
|
|
|
Locale.fromSubtags(languageCode: 'en'),
|
2020-07-02 14:58:55 +02:00
|
|
|
|
Locale.fromSubtags(languageCode: 'zh', scriptCode: 'Hans'),
|
2020-05-09 06:27:05 +02:00
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
bool isSupported(Locale locale) => _isSupported(locale);
|
|
|
|
|
@override
|
|
|
|
|
Future<S> load(Locale locale) => S.load(locale);
|
|
|
|
|
@override
|
|
|
|
|
bool shouldReload(AppLocalizationDelegate old) => false;
|
|
|
|
|
|
|
|
|
|
bool _isSupported(Locale locale) {
|
|
|
|
|
if (locale != null) {
|
2020-05-16 05:14:32 +02:00
|
|
|
|
for (var supportedLocale in supportedLocales) {
|
2020-05-09 06:27:05 +02:00
|
|
|
|
if (supportedLocale.languageCode == locale.languageCode) {
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|