feat: add thanks item for contributors (#325)

This commit is contained in:
Levi authored and GitHub committed 2024-01-16 19:02:20 +08:00
1 parent 3a542054fc
commit 922ef969a6
7 files changed
+28

No files matched your search

@@ -365,6 +365,18 @@ class SettingView extends GetView<SettingController> {
); );
} }
buildThanks() {
const thankPage =
'https://github.com/GopeedLab/gopeed/graphs/contributors';
return ListTile(
title: Text('thanks'.tr),
subtitle: Text('thanksDesc'.tr),
onTap: () {
launchUrl(Uri.parse(thankPage), mode: LaunchMode.externalApplication);
},
);
}
// advanced config proxy items start // advanced config proxy items start
final buildProxy = _buildConfigItem( final buildProxy = _buildConfigItem(
'proxy', 'proxy',
@@ -702,6 +714,7 @@ class SettingView extends GetView<SettingController> {
children: _addDivider([ children: _addDivider([
buildHomepage(), buildHomepage(),
buildVersion(), buildVersion(),
buildThanks(),
]), ]),
)), )),
]), ]),
+3
View File
@@ -81,5 +81,8 @@ const enUS = {
'proxy': 'Proxy', 'proxy': 'Proxy',
'username': 'Username', 'username': 'Username',
'password': 'Password', 'password': 'Password',
'thanks': 'Thanks',
'thanksDesc':
'Thanks to all the contributors who have helped build and develop the Gopeed community!',
}, },
}; };
+3
View File
@@ -57,5 +57,8 @@ const faIR = {
'newVersionTitle': '@version عنوان: کشف نسخه جدید', 'newVersionTitle': '@version عنوان: کشف نسخه جدید',
'newVersionUpdate': 'بروزرسانی', 'newVersionUpdate': 'بروزرسانی',
'newVersionLater': 'بعداً', 'newVersionLater': 'بعداً',
'thanks': 'تشکر',
'thanksDesc':
'از تمامی افرادی که در ساخت و توسعه‌ی جامعه‌ی Gopeed مشارکت کرده‌اند، سپاسگزاری می‌کنیم!',
} }
}; };
+2
View File
@@ -59,5 +59,7 @@ const jaJP = {
'newVersionTitle': '新しいバージョン @version を発見する', 'newVersionTitle': '新しいバージョン @version を発見する',
'newVersionUpdate': 'アップデート', 'newVersionUpdate': 'アップデート',
'newVersionLater': '後で', 'newVersionLater': '後で',
'thanks': '感謝',
'thanksDesc': 'Gopeedコミュニティの建設に協力してくださったすべての貢献者の方々に感謝します!',
} }
}; };
+3
View File
@@ -73,5 +73,8 @@ const ruRU = {
'history': 'История', 'history': 'История',
'clearHistory': 'Очистить историю', 'clearHistory': 'Очистить историю',
'noHistoryFound': 'История не найдена', 'noHistoryFound': 'История не найдена',
'thanks': 'Благодарности',
'thanksDesc':
'Благодарим всех участников за их вклад в строительство и развитие сообщества Gopeed!',
} }
}; };
+2
View File
@@ -79,5 +79,7 @@ const zhCN = {
'proxy': '代理', 'proxy': '代理',
'username': '用户名', 'username': '用户名',
'password': '密码', 'password': '密码',
'thanks': '鸣谢',
'thanksDesc': '感谢所有为 Gopeed 社区建设添砖加瓦的贡献者们!',
} }
}; };
+2
View File
@@ -79,5 +79,7 @@ const zhTW = {
'proxy': '代理', 'proxy': '代理',
'username': '名稱', 'username': '名稱',
'password': '密碼', 'password': '密碼',
'thanks': '鳴謝',
'thanksDesc': '感謝所有為 Gopeed 社群建設添磚加瓦的貢獻者們!'
} }
}; };