Heavy development hint

This commit is contained in:
LittleSheep 2024-11-10 19:47:48 +08:00
parent 3ffe3cb50f
commit 0a8c9fb208
3 changed files with 28 additions and 1 deletions

View File

@ -1,4 +1,6 @@
{ {
"nextVersionAlert": "Heavy Development Alert",
"nextVersionNotice": "You are using Solian 2.0 Preview, which is the first version of Solian 2.0. The current stable branch (sn.solsynth.dev) is 1.4. This version is still under heavy development, some features may not be stable, and not all features are supported. You can roll back to 1.4.X version via TestFlight, or continue to experience the new version (sn-next.solsynth.dev).",
"screen": "Screen", "screen": "Screen",
"screenHome": "Home", "screenHome": "Home",
"screenExplore": "Explore", "screenExplore": "Explore",
@ -32,6 +34,8 @@
"loading": "Loading...", "loading": "Loading...",
"delete": "Delete", "delete": "Delete",
"report": "Report", "report": "Report",
"repost": "Repost",
"reply": "Reply",
"fieldUsername": "Username", "fieldUsername": "Username",
"fieldNickname": "Nickname", "fieldNickname": "Nickname",
"fieldEmail": "Email address", "fieldEmail": "Email address",

View File

@ -1,4 +1,6 @@
{ {
"nextVersionAlert": "高强度开发提示",
"nextVersionNotice": "您正在使用的是 Solian 2.0 的抢先体验版本目前稳定分支sn.solsynth.dev版本为 1.4。该版本还在剧烈的开发中,部分功能可能不稳定,也并非所有功能都支持了。您可以通过 TestFlight 回滚到 1.4.X 或者继续体验新版本sn-next.solsynth.dev。",
"screen": "页面", "screen": "页面",
"screenHome": "首页", "screenHome": "首页",
"screenExplore": "探索", "screenExplore": "探索",
@ -32,6 +34,8 @@
"preview": "预览", "preview": "预览",
"delete": "删除", "delete": "删除",
"report": "检举", "report": "检举",
"repost": "转帖",
"reply": "回贴",
"fieldUsername": "用户名", "fieldUsername": "用户名",
"fieldNickname": "显示名", "fieldNickname": "显示名",
"fieldEmail": "电子邮箱地址", "fieldEmail": "电子邮箱地址",

View File

@ -1,6 +1,8 @@
import 'package:easy_localization/easy_localization.dart'; import 'package:easy_localization/easy_localization.dart';
import 'package:flutter/material.dart'; import 'package:material_symbols_icons/symbols.dart';
import 'package:styled_widget/styled_widget.dart';
import 'package:surface/widgets/navigation/app_scaffold.dart'; import 'package:surface/widgets/navigation/app_scaffold.dart';
import 'package:flutter/material.dart';
class HomeScreen extends StatefulWidget { class HomeScreen extends StatefulWidget {
const HomeScreen({super.key}); const HomeScreen({super.key});
@ -16,6 +18,23 @@ class _HomeScreenState extends State<HomeScreen> {
appBar: AppBar( appBar: AppBar(
title: Text("screenHome").tr(), title: Text("screenHome").tr(),
), ),
body: Column(
children: [
MaterialBanner(
leading: const Icon(Symbols.construction),
content: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text('nextVersionAlert').tr().bold(),
Text('nextVersionNotice').tr(),
],
).padding(vertical: 16),
actions: [
const SizedBox(),
],
),
],
),
); );
} }
} }