Skip to content

Commit

Permalink
0.1.0 Released
Browse files Browse the repository at this point in the history
  • Loading branch information
w568w committed Apr 5, 2021
1 parent d1d9c1c commit d0ce890
Show file tree
Hide file tree
Showing 5 changed files with 165 additions and 169 deletions.
37 changes: 20 additions & 17 deletions lib/generated/intl/messages_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ class MessageLookup extends MessageLookupByLibrary {
static m1(name) => "Welcome, ${name}";

final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
"app_name" : MessageLookupByLibrary.simpleMessage("DanXi"),
"cancel" : MessageLookupByLibrary.simpleMessage("Cancel"),
"change_account" : MessageLookupByLibrary.simpleMessage("Switch Account"),
"choose_area" : MessageLookupByLibrary.simpleMessage("Select Campus"),
static _notInlinedMessages(_) => <String, Function>{
"app_name": MessageLookupByLibrary.simpleMessage("DanXi"),
"cancel": MessageLookupByLibrary.simpleMessage("Cancel"),
"change_account":
MessageLookupByLibrary.simpleMessage("Switch Account"),
"choose_area": MessageLookupByLibrary.simpleMessage("Select Campus"),
"current_connection":
MessageLookupByLibrary.simpleMessage("Current Connection"),
"current_connection_failed": MessageLookupByLibrary.simpleMessage(
Expand Down Expand Up @@ -63,18 +64,20 @@ class MessageLookup extends MessageLookupByLibrary {
"good_noon": MessageLookupByLibrary.simpleMessage("Rise and shine."),
"i_see": MessageLookupByLibrary.simpleMessage("OK"),
"last_15_days": MessageLookupByLibrary.simpleMessage("Last 15 days"),
"last_30_days" : MessageLookupByLibrary.simpleMessage("Last 30 days"),
"last_7_days" : MessageLookupByLibrary.simpleMessage("Last 7 days"),
"late_night" : MessageLookupByLibrary.simpleMessage("The dead of midnight is the noon of thought."),
"loading" : MessageLookupByLibrary.simpleMessage("Loading..."),
"loading_qr_code" : MessageLookupByLibrary.simpleMessage("Loading Fudan QR Code...\nThis may take 5-10 seconds, depending on Fudan servers."),
"login" : MessageLookupByLibrary.simpleMessage("Login"),
"login_uis" : MessageLookupByLibrary.simpleMessage("Fudan UIS Login"),
"login_uis_pwd" : MessageLookupByLibrary.simpleMessage("Password"),
"login_uis_uid" : MessageLookupByLibrary.simpleMessage("ID"),
"login_with_uis" : MessageLookupByLibrary.simpleMessage("Sign in as:"),
"logining" : MessageLookupByLibrary.simpleMessage("Logging in..."),
"new_post" : MessageLookupByLibrary.simpleMessage("New Post"),
"last_30_days": MessageLookupByLibrary.simpleMessage("Last 30 days"),
"last_7_days": MessageLookupByLibrary.simpleMessage("Last 7 days"),
"late_night": MessageLookupByLibrary.simpleMessage(
"The dead of midnight is the noon of thought."),
"loading": MessageLookupByLibrary.simpleMessage("Loading..."),
"loading_qr_code": MessageLookupByLibrary.simpleMessage(
"Loading Fudan QR Code...\nThis may take 5-10 seconds, depending on Fudan servers."),
"login": MessageLookupByLibrary.simpleMessage("Login"),
"login_uis": MessageLookupByLibrary.simpleMessage("Fudan UIS Login"),
"login_uis_pwd": MessageLookupByLibrary.simpleMessage("Password"),
"login_uis_uid": MessageLookupByLibrary.simpleMessage("ID"),
"login_with_uis": MessageLookupByLibrary.simpleMessage("Sign in as:"),
"logining": MessageLookupByLibrary.simpleMessage("Logging in..."),
"new_post" : MessageLookupByLibrary.simpleMessage("New Post"),
"out_of_dining_time" : MessageLookupByLibrary.simpleMessage("It\'s not dining time right now."),
"reply_to" : m0,
"share" : MessageLookupByLibrary.simpleMessage("Share"),
Expand Down
35 changes: 18 additions & 17 deletions lib/generated/intl/messages_zh.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ class MessageLookup extends MessageLookupByLibrary {
static m1(name) => "欢迎你,${name}!";

final messages = _notInlinedMessages(_notInlinedMessages);
static _notInlinedMessages(_) => <String, Function> {
"app_name" : MessageLookupByLibrary.simpleMessage("旦兮 α"),
"cancel" : MessageLookupByLibrary.simpleMessage("取消"),
"change_account" : MessageLookupByLibrary.simpleMessage("切换账号"),
"choose_area" : MessageLookupByLibrary.simpleMessage("选择校区"),
static _notInlinedMessages(_) => <String, Function>{
"app_name": MessageLookupByLibrary.simpleMessage("旦兮 α"),
"cancel": MessageLookupByLibrary.simpleMessage("取消"),
"change_account": MessageLookupByLibrary.simpleMessage("切换账号"),
"choose_area": MessageLookupByLibrary.simpleMessage("选择校区"),
"current_connection": MessageLookupByLibrary.simpleMessage("当前连接"),
"current_connection_failed":
MessageLookupByLibrary.simpleMessage("获取 WiFi 名称失败,请授予精确定位权限"),
Expand All @@ -53,18 +53,19 @@ class MessageLookup extends MessageLookupByLibrary {
"good_noon": MessageLookupByLibrary.simpleMessage("快到中午啦"),
"i_see": MessageLookupByLibrary.simpleMessage("好"),
"last_15_days": MessageLookupByLibrary.simpleMessage("过去 15 天"),
"last_30_days" : MessageLookupByLibrary.simpleMessage("过去 30 天"),
"last_7_days" : MessageLookupByLibrary.simpleMessage("过去 7 天"),
"late_night" : MessageLookupByLibrary.simpleMessage("披星戴月,不负韶华"),
"loading" : MessageLookupByLibrary.simpleMessage("获取中..."),
"loading_qr_code" : MessageLookupByLibrary.simpleMessage("加载复活码中...\n可能需要5~10秒,取决于复旦服务器。"),
"login" : MessageLookupByLibrary.simpleMessage("登录"),
"login_uis" : MessageLookupByLibrary.simpleMessage("登录复旦UIS"),
"login_uis_pwd" : MessageLookupByLibrary.simpleMessage("UIS密码"),
"login_uis_uid" : MessageLookupByLibrary.simpleMessage("UIS账号"),
"login_with_uis" : MessageLookupByLibrary.simpleMessage("将使用以下信息匿名登录旦唧"),
"logining" : MessageLookupByLibrary.simpleMessage("正在登录..."),
"new_post" : MessageLookupByLibrary.simpleMessage("发布新帖子"),
"last_30_days": MessageLookupByLibrary.simpleMessage("过去 30 天"),
"last_7_days": MessageLookupByLibrary.simpleMessage("过去 7 天"),
"late_night": MessageLookupByLibrary.simpleMessage("披星戴月,不负韶华"),
"loading": MessageLookupByLibrary.simpleMessage("获取中..."),
"loading_qr_code": MessageLookupByLibrary.simpleMessage(
"加载复活码中...\n可能需要5~10秒,取决于复旦服务器。"),
"login": MessageLookupByLibrary.simpleMessage("登录"),
"login_uis": MessageLookupByLibrary.simpleMessage("登录复旦UIS"),
"login_uis_pwd": MessageLookupByLibrary.simpleMessage("UIS密码"),
"login_uis_uid": MessageLookupByLibrary.simpleMessage("UIS账号"),
"login_with_uis": MessageLookupByLibrary.simpleMessage("将使用以下信息匿名登录旦唧"),
"logining": MessageLookupByLibrary.simpleMessage("正在登录..."),
"new_post" : MessageLookupByLibrary.simpleMessage("发布新帖子"),
"out_of_dining_time" : MessageLookupByLibrary.simpleMessage("现在不是食堂用餐时间"),
"reply_to" : m0,
"share" : MessageLookupByLibrary.simpleMessage("分享"),
Expand Down
8 changes: 0 additions & 8 deletions lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,6 @@ class DanxiApp extends StatelessWidget {
theme: ThemeData(
brightness: Brightness.light,
primarySwatch: Colors.deepPurple,
// cardTheme: CardTheme(
// color: Colors.grey, //TODO: Delete
// elevation: 5,
// ),
),
darkTheme: ThemeData(
brightness: Brightness.dark,
Expand All @@ -108,10 +104,6 @@ class DanxiApp extends StatelessWidget {
unselectedIconTheme: IconThemeData(color: Colors.white),
selectedItemColor: Colors.white,
unselectedItemColor: Colors.white),
cardTheme: CardTheme(
elevation: 5,
color: Colors.grey,
),
textTheme: new TextTheme(
bodyText2: new TextStyle(color: Colors.red),
headline1: new TextStyle(fontSize: 78),
Expand Down
Loading

0 comments on commit d0ce890

Please sign in to comment.