diff --git a/CHANGELOG.md b/CHANGELOG.md index 039c1fb..e1026e6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,14 @@ # Tsacdop Changelog +## v0.4.0 + +Release date 2020/7/8 + +### New features + +* Localization, changed all UI strings in app to support locale, support languages include en & zh right now. +* Changed episode popup menu UI, add a switch to tap to open popup men. + ## v0.3.6 Release date 2020/6/30 @@ -52,4 +61,3 @@ Release date 2020/6/16 ### Other * Add privacy policy. - diff --git a/README.md b/README.md index 372f884..853da72 100644 --- a/README.md +++ b/README.md @@ -4,13 +4,17 @@
-![CircleCI](https://img.shields.io/circleci/build/github/stonega/tsacdop?token=efe1331861e017144f2abb363acd95197e436dad) ![GitHub release (latest by date)](https://img.shields.io/github/v/release/stonega/tsacdop) [![GooglePlay](https://img.shields.io/badge/Google-PlayStore-%2323CCC6)](https://play.google.com/store/apps/details?id=com.stonegate.tsacdop) +[![Build Status - Cirrus][]][Build status] +[![GitHub Release][]][Github Release - Recent] +[![Github Downloads][]][Github Release - Recent] +[![Localizely][]][Localizely - Website] +[![Google Play - Icon][]][Google Play] ## About Enjoy podcasts with Tsacdop. -Tsacdop is a podcast player developed with flutter, a clean, simply beautiful and friendly app, only support Android right now. +Tsacdop is a podcast player developed with flutter, a clean, simply beautiful and friendly app, and is free and opensource. Credit to flutter team and all involved plugins, especially [webfeed](https://github.com/witochandra/webfeed) and [Just_Audio](https://pub.dev/packages/just_audio). @@ -122,3 +126,13 @@ A few resources to get you started if this is your first Flutter project: For help getting started with Flutter, view our [online documentation](https://flutter.dev/docs), which offers tutorials, samples, guidance on mobile development, and a full API reference. + +[Build Status - Cirrus]: https://circleci.com/gh/stonega/tsacdop/tree/master.svg?style=shield +[Build status]: https://circleci.com/gh/stonega/tsacdop/tree/master +[Github Release]: https://img.shields.io/github/v/release/stonega/tsacdop +[Github Release - Recent]: https://github.com/stonega/tsacdop/releases +[Github Downloads]: https://img.shields.io/github/downloads/stonega/tsacdop/total?color=%230000d&label=downloads +[Localizely]: https://img.shields.io/badge/dynamic/json?color=%2326c6da&label=localizely&query=%24.languages.length&url=https%3A%2F%2Fapi.localizely.com%2Fv1%2Fprojects%2Fbde4e9bd-4cb2-449b-9de2-18f231ddb47d%2Fstatus +[Localizely - Website]: https://localizely.com/ +[Google Play - Icon]: https://img.shields.io/badge/google-playStore-%2323CCC6 +[Google Play]: https://play.google.com/store/apps/details?id=com.stonegate.tsacdop diff --git a/lib/generated/intl/messages_en.dart b/lib/generated/intl/messages_en.dart index 649577f..83036ec 100644 --- a/lib/generated/intl/messages_en.dart +++ b/lib/generated/intl/messages_en.dart @@ -37,11 +37,11 @@ class MessageLookup extends MessageLookupByLibrary { static m8(count) => "${Intl.plural(count, zero: 'In an hour', one: '${count} hour ago', other: '${count} hours ago')}"; - static m9(count) => "${Intl.plural(count, zero: '', one: '${count} hour', other: '${count} hours')}"; + static m9(count) => "${Intl.plural(count, zero: '0 hour', one: '${count} hour', other: '${count} hours')}"; - static m10(count) => "${Intl.plural(count, zero: '', one: '${count} minute ago', other: '${count} minutes ago')}"; + static m10(count) => "${Intl.plural(count, zero: 'Just now', one: '${count} minute ago', other: '${count} minutes ago')}"; - static m11(count) => "${Intl.plural(count, zero: '', one: '${count} min', other: '${count} mins')}"; + static m11(count) => "${Intl.plural(count, zero: '0 min', one: '${count} min', other: '${count} mins')}"; static m12(title) => "Fetch data ${title}"; diff --git a/lib/generated/intl/messages_zh-Hans.dart b/lib/generated/intl/messages_zh-Hans.dart index bbf6c75..8a40ab3 100644 --- a/lib/generated/intl/messages_zh-Hans.dart +++ b/lib/generated/intl/messages_zh-Hans.dart @@ -37,11 +37,11 @@ class MessageLookup extends MessageLookupByLibrary { static m8(count) => "${Intl.plural(count, zero: '刚刚', other: '${count}小时前')}"; - static m9(count) => "${Intl.plural(count, zero: '', other: '${count} 小时')}"; + static m9(count) => "${Intl.plural(count, zero: '0小时', other: '${count} 小时')}"; - static m10(count) => "${Intl.plural(count, zero: '', other: '${count}分钟前')}"; + static m10(count) => "${Intl.plural(count, zero: '刚刚', other: '${count}分钟前')}"; - static m11(count) => "${Intl.plural(count, zero: '', other: '${count}分钟')}"; + static m11(count) => "${Intl.plural(count, zero: '0分钟', other: '${count}分钟')}"; static m12(title) => "获取数据 ${title}"; diff --git a/lib/generated/l10n.dart b/lib/generated/l10n.dart index 100174c..1f01fe3 100644 --- a/lib/generated/l10n.dart +++ b/lib/generated/l10n.dart @@ -734,11 +734,11 @@ class S { ); } - /// `{count, plural, zero{} one{{count} hour} other{{count} hours}}` + /// `{count, plural, zero{0 hour} one{{count} hour} other{{count} hours}}` String hoursCount(num count) { return Intl.plural( count, - zero: '', + zero: '0 hour', one: '$count hour', other: '$count hours', name: 'hoursCount', @@ -947,11 +947,11 @@ class S { ); } - /// `{count, plural, zero{} one{{count} minute ago} other{{count} minutes ago}}` + /// `{count, plural, zero{Just now} one{{count} minute ago} other{{count} minutes ago}}` String minsAgo(num count) { return Intl.plural( count, - zero: '', + zero: 'Just now', one: '$count minute ago', other: '$count minutes ago', name: 'minsAgo', @@ -960,11 +960,11 @@ class S { ); } - /// `{count, plural, zero{} one{{count} min} other{{count} mins}}` + /// `{count, plural, zero{0 min} one{{count} min} other{{count} mins}}` String minsCount(num count) { return Intl.plural( count, - zero: '', + zero: '0 min', one: '$count min', other: '$count mins', name: 'minsCount', diff --git a/lib/home/about.dart b/lib/home/about.dart index a0751ab..d048d2b 100644 --- a/lib/home/about.dart +++ b/lib/home/about.dart @@ -6,7 +6,7 @@ import 'package:line_icons/line_icons.dart'; import '../util/context_extension.dart'; -const String version = '0.3.6'; +const String version = '0.4.0'; class AboutApp extends StatelessWidget { _launchUrl(String url) async { diff --git a/lib/l10n/intl_en.arb b/lib/l10n/intl_en.arb index 31edc14..e336e54 100644 --- a/lib/l10n/intl_en.arb +++ b/lib/l10n/intl_en.arb @@ -154,7 +154,7 @@ }, "hoursAgo": "{count, plural, zero{In an hour} one{{count} hour ago} other{{count} hours ago}}", "@hoursAgo": {}, - "hoursCount": "{count, plural, zero{} one{{count} hour} other{{count} hours}}", + "hoursCount": "{count, plural, zero{0 hour} one{{count} hour} other{{count} hours}}", "@hoursCount": {}, "introFourthPage": "Long press on episode card for quick actions.", "@introFourthPage": {}, @@ -198,9 +198,9 @@ "@menuViewRSS": {}, "menuVisitSite": "Visit Site", "@menuVisitSite": {}, - "minsAgo": "{count, plural, zero{} one{{count} minute ago} other{{count} minutes ago}}", + "minsAgo": "{count, plural, zero{Just now} one{{count} minute ago} other{{count} minutes ago}}", "@minsAgo": {}, - "minsCount": "{count, plural, zero{} one{{count} min} other{{count} mins}}", + "minsCount": "{count, plural, zero{0 min} one{{count} min} other{{count} mins}}", "@minsCount": {}, "network": "Network", "@network": {}, diff --git a/lib/l10n/intl_zh_Hans.arb b/lib/l10n/intl_zh_Hans.arb index c8b00da..5bbb017 100644 --- a/lib/l10n/intl_zh_Hans.arb +++ b/lib/l10n/intl_zh_Hans.arb @@ -154,7 +154,7 @@ }, "hoursAgo": "{count, plural, zero{刚刚} other{{count}小时前}}", "@hoursAgo": {}, - "hoursCount": "{count, plural, zero{} other{{count} 小时}}", + "hoursCount": "{count, plural, zero{0小时} other{{count} 小时}}", "@hoursCount": {}, "introFourthPage": "长按节目打开快捷菜单。", "@introFourthPage": {}, @@ -198,9 +198,9 @@ "@menuViewRSS": {}, "menuVisitSite": "访问网站", "@menuVisitSite": {}, - "minsAgo": "{count, plural, zero{} other{{count}分钟前}}", + "minsAgo": "{count, plural, zero{刚刚} other{{count}分钟前}}", "@minsAgo": {}, - "minsCount": "{count, plural, zero{} other{{count}分钟}}", + "minsCount": "{count, plural, zero{0分钟} other{{count}分钟}}", "@minsCount": {}, "network": "网络", "@network": {}, diff --git a/lib/settings/history.dart b/lib/settings/history.dart index f04ab13..1879960 100644 --- a/lib/settings/history.dart +++ b/lib/settings/history.dart @@ -143,7 +143,7 @@ class _PlayedHistoryState extends State