@@ -96,35 +96,34 @@ class UserHeaderItem extends StatelessWidget {
9696 children: < Widget > [
9797 new Expanded (
9898 child: new Center (
99- child: new Text ("仓库\n " + userInfo.public_repos.toString (), textAlign: TextAlign .center, style: GSYConstant .subSmallText),
99+ child: new Text (GSYStrings .user_tab_repos + "\n " + userInfo.public_repos.toString (),
100+ textAlign: TextAlign .center, style: GSYConstant .subSmallText),
100101 ),
101102 ),
102- new Container (width: 0.3 , height: 40.0 , color: Color (GSYColors .subLightTextColor)),
103+ new Container (width: 0.3 , height: 40.0 , color: Color (GSYColors .subLightTextColor)),
103104 new Expanded (
104105 child: new Center (
105- child: new Text ("粉丝\n " + userInfo.followers.toString (), textAlign: TextAlign .center, style: GSYConstant .subSmallText),
106+ child: new Text (GSYStrings .user_tab_fans + "\n " + userInfo.followers.toString (),
107+ textAlign: TextAlign .center, style: GSYConstant .subSmallText),
106108 ),
107109 ),
108- new Container (width: 0.3 , height: 40.0 , color: Color (GSYColors .subLightTextColor)),
110+ new Container (width: 0.3 , height: 40.0 , color: Color (GSYColors .subLightTextColor)),
109111 new Expanded (
110112 child: new Center (
111- child: new Text (
112- "关注\n " + userInfo.following.toString (),
113- textAlign: TextAlign .center,
114- style: GSYConstant .subSmallText,
115- ),
113+ child: new Text (GSYStrings .user_tab_focus + "\n " + userInfo.following.toString (),
114+ textAlign: TextAlign .center, style: GSYConstant .subSmallText),
116115 ),
117116 ),
118- new Container (width: 0.3 , height: 40.0 , color: Color (GSYColors .subLightTextColor)),
117+ new Container (width: 0.3 , height: 40.0 , color: Color (GSYColors .subLightTextColor)),
119118 new Expanded (
120119 child: new Center (
121- child: new Text ("星标 \n ---" , textAlign: TextAlign .center, style: GSYConstant .subSmallText),
120+ child: new Text (GSYStrings .user_tab_star + " \n ---" , textAlign: TextAlign .center, style: GSYConstant .subSmallText),
122121 ),
123122 ),
124- new Container (width: 0.3 , height: 40.0 , color: Color (GSYColors .subLightTextColor)),
123+ new Container (width: 0.3 , height: 40.0 , color: Color (GSYColors .subLightTextColor)),
125124 new Expanded (
126125 child: new Center (
127- child: new Text ("荣耀 \n ---" , textAlign: TextAlign .center, style: GSYConstant .subSmallText),
126+ child: new Text (GSYStrings .user_tab_honor + " \n ---" , textAlign: TextAlign .center, style: GSYConstant .subSmallText),
128127 ),
129128 ),
130129 ],
0 commit comments