mirror of
https://gitlab.com/famedly/fluffychat.git
synced 2024-11-20 02:59:26 +01:00
change: Rename contacts to friends
This commit is contained in:
parent
9fbfca6e04
commit
87227c601a
@ -35,7 +35,7 @@ class DefaultBottomNavigationBar extends StatelessWidget {
|
|||||||
items: [
|
items: [
|
||||||
BottomNavigationBarItem(
|
BottomNavigationBarItem(
|
||||||
icon: Icon(currentIndex == 0 ? Icons.people : Icons.people_outlined),
|
icon: Icon(currentIndex == 0 ? Icons.people : Icons.people_outlined),
|
||||||
label: L10n.of(context).contacts,
|
label: L10n.of(context).friends,
|
||||||
),
|
),
|
||||||
BottomNavigationBarItem(
|
BottomNavigationBarItem(
|
||||||
icon: Icon(currentIndex == 1
|
icon: Icon(currentIndex == 1
|
||||||
|
@ -1158,8 +1158,8 @@
|
|||||||
"type": "text",
|
"type": "text",
|
||||||
"placeholders": {}
|
"placeholders": {}
|
||||||
},
|
},
|
||||||
"addNewContact": "Add new contact",
|
"addNewFriend": "Add new friend",
|
||||||
"@addNewContact": {
|
"@addNewFriend": {
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"placeholders": {}
|
"placeholders": {}
|
||||||
},
|
},
|
||||||
@ -1485,8 +1485,8 @@
|
|||||||
"type": "text",
|
"type": "text",
|
||||||
"placeholders": {}
|
"placeholders": {}
|
||||||
},
|
},
|
||||||
"contacts": "Contacts",
|
"friends": "Friends",
|
||||||
"@contacts": {
|
"@friends": {
|
||||||
"type": "text",
|
"type": "text",
|
||||||
"placeholders": {}
|
"placeholders": {}
|
||||||
},
|
},
|
||||||
|
@ -87,7 +87,7 @@ class _ContactsState extends State<Contacts> {
|
|||||||
appBar: AppBar(
|
appBar: AppBar(
|
||||||
automaticallyImplyLeading: false,
|
automaticallyImplyLeading: false,
|
||||||
elevation: 1,
|
elevation: 1,
|
||||||
title: Text(L10n.of(context).contacts),
|
title: Text(L10n.of(context).friends),
|
||||||
actions: [
|
actions: [
|
||||||
TextButton.icon(
|
TextButton.icon(
|
||||||
label: Text(
|
label: Text(
|
||||||
@ -123,7 +123,7 @@ class _ContactsState extends State<Contacts> {
|
|||||||
backgroundColor: Theme.of(context).primaryColor,
|
backgroundColor: Theme.of(context).primaryColor,
|
||||||
foregroundColor: Colors.white,
|
foregroundColor: Colors.white,
|
||||||
),
|
),
|
||||||
title: Text(L10n.of(context).addNewContact),
|
title: Text(L10n.of(context).addNewFriend),
|
||||||
onTap: () => AdaptivePageLayout.of(context)
|
onTap: () => AdaptivePageLayout.of(context)
|
||||||
.pushNamed('/newprivatechat'),
|
.pushNamed('/newprivatechat'),
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user