mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-18 14:23:42 +00:00
feat: add extension intro links (#252)
This commit is contained in:
5 files changed
+264
-230
No files matched your search
@@ -66,6 +66,8 @@
|
|||||||
"extensionUpdateSuccess": "Updated successfully",
|
"extensionUpdateSuccess": "Updated successfully",
|
||||||
"extensionDelete": "Delete Extension",
|
"extensionDelete": "Delete Extension",
|
||||||
"extensionAlreadyLatest": "It's already the latest version",
|
"extensionAlreadyLatest": "It's already the latest version",
|
||||||
|
"extensionFind": "Find Extensions",
|
||||||
|
"extensionDevelop": "Develop Extensions",
|
||||||
"history": "History",
|
"history": "History",
|
||||||
"clearHistory": "Clear History",
|
"clearHistory": "Clear History",
|
||||||
"noHistoryFound": "No History Found"
|
"noHistoryFound": "No History Found"
|
||||||
|
|||||||
@@ -66,6 +66,8 @@
|
|||||||
"extensionUpdateSuccess": "更新成功",
|
"extensionUpdateSuccess": "更新成功",
|
||||||
"extensionDelete": "删除扩展",
|
"extensionDelete": "删除扩展",
|
||||||
"extensionAlreadyLatest": "已经是最新版本",
|
"extensionAlreadyLatest": "已经是最新版本",
|
||||||
|
"extensionFind": "获取扩展",
|
||||||
|
"extensionDevelop": "开发扩展",
|
||||||
"history": "历史记录",
|
"history": "历史记录",
|
||||||
"clearHistory": "清空历史记录",
|
"clearHistory": "清空历史记录",
|
||||||
"noHistoryFound": "暂无历史记录"
|
"noHistoryFound": "暂无历史记录"
|
||||||
|
|||||||
@@ -36,7 +36,31 @@ class ExtensionView extends GetView<ExtensionController> {
|
|||||||
body: Column(
|
body: Column(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 20),
|
Row(
|
||||||
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
|
children: [
|
||||||
|
TextButton.icon(
|
||||||
|
onPressed: () {
|
||||||
|
launchUrl(
|
||||||
|
Uri.parse(
|
||||||
|
'https://github.com/search?q=topic%3Agopeed-extension&type=repositories'),
|
||||||
|
mode: LaunchMode.externalApplication);
|
||||||
|
},
|
||||||
|
icon: const Icon(Icons.search),
|
||||||
|
label: Text('extensionFind'.tr),
|
||||||
|
),
|
||||||
|
const SizedBox(width: 16),
|
||||||
|
TextButton.icon(
|
||||||
|
onPressed: () {
|
||||||
|
launchUrl(
|
||||||
|
Uri.parse('https://docs.gopeed.com/dev-extension.html'),
|
||||||
|
mode: LaunchMode.externalApplication);
|
||||||
|
},
|
||||||
|
icon: const Icon(Icons.edit),
|
||||||
|
label: Text('extensionDevelop'.tr),
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
Obx(() => Row(
|
Obx(() => Row(
|
||||||
children: [
|
children: [
|
||||||
Expanded(
|
Expanded(
|
||||||
@@ -90,7 +114,7 @@ class ExtensionView extends GetView<ExtensionController> {
|
|||||||
: Container()
|
: Container()
|
||||||
],
|
],
|
||||||
)),
|
)),
|
||||||
const SizedBox(height: 32),
|
const SizedBox(height: 16),
|
||||||
Expanded(
|
Expanded(
|
||||||
child: Obx(() => ListView.builder(
|
child: Obx(() => ListView.builder(
|
||||||
itemCount: controller.extensions.length,
|
itemCount: controller.extensions.length,
|
||||||
|
|||||||
@@ -82,6 +82,8 @@ class LocaleKeys {
|
|||||||
static const extensionUpdateSuccess = 'extensionUpdateSuccess';
|
static const extensionUpdateSuccess = 'extensionUpdateSuccess';
|
||||||
static const extensionDelete = 'extensionDelete';
|
static const extensionDelete = 'extensionDelete';
|
||||||
static const extensionAlreadyLatest = 'extensionAlreadyLatest';
|
static const extensionAlreadyLatest = 'extensionAlreadyLatest';
|
||||||
|
static const extensionFind = 'extensionFind';
|
||||||
|
static const extensionDevelop = 'extensionDevelop';
|
||||||
static const history = 'history';
|
static const history = 'history';
|
||||||
static const clearHistory = 'clearHistory';
|
static const clearHistory = 'clearHistory';
|
||||||
static const noHistoryFound = 'noHistoryFound';
|
static const noHistoryFound = 'noHistoryFound';
|
||||||
@@ -158,6 +160,8 @@ class Locales {
|
|||||||
'extensionUpdateSuccess': 'Updated successfully',
|
'extensionUpdateSuccess': 'Updated successfully',
|
||||||
'extensionDelete': 'Delete Extension',
|
'extensionDelete': 'Delete Extension',
|
||||||
'extensionAlreadyLatest': 'It\'s already the latest version',
|
'extensionAlreadyLatest': 'It\'s already the latest version',
|
||||||
|
'extensionFind': 'Find Extensions',
|
||||||
|
'extensionDevelop': 'Develop Extensions',
|
||||||
'history': 'History',
|
'history': 'History',
|
||||||
'clearHistory': 'Clear History',
|
'clearHistory': 'Clear History',
|
||||||
'noHistoryFound': 'No History Found',
|
'noHistoryFound': 'No History Found',
|
||||||
@@ -413,9 +417,11 @@ class Locales {
|
|||||||
'extensionUpdateSuccess': '更新成功',
|
'extensionUpdateSuccess': '更新成功',
|
||||||
'extensionDelete': '删除扩展',
|
'extensionDelete': '删除扩展',
|
||||||
'extensionAlreadyLatest': '已经是最新版本',
|
'extensionAlreadyLatest': '已经是最新版本',
|
||||||
|
'extensionFind': '获取扩展',
|
||||||
|
'extensionDevelop': '开发扩展',
|
||||||
'history': '历史记录',
|
'history': '历史记录',
|
||||||
'clearHistory': '清空历史记录',
|
'clearHistory': '清空历史记录',
|
||||||
'noHistoryFound': '没有历史记录',
|
'noHistoryFound': '暂无历史记录',
|
||||||
};
|
};
|
||||||
static const zh_TW = {
|
static const zh_TW = {
|
||||||
'label': '中文 (正體) ',
|
'label': '中文 (正體) ',
|
||||||
|
|||||||
+227
-227
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user