change: Rename contacts to friends

This commit is contained in:
Christian Pauly 2021-02-27 11:13:39 +01:00
parent 9fbfca6e04
commit 87227c601a
3 changed files with 7 additions and 7 deletions

View File

@ -35,7 +35,7 @@ class DefaultBottomNavigationBar extends StatelessWidget {
items: [
BottomNavigationBarItem(
icon: Icon(currentIndex == 0 ? Icons.people : Icons.people_outlined),
label: L10n.of(context).contacts,
label: L10n.of(context).friends,
),
BottomNavigationBarItem(
icon: Icon(currentIndex == 1

View File

@ -1158,8 +1158,8 @@
"type": "text",
"placeholders": {}
},
"addNewContact": "Add new contact",
"@addNewContact": {
"addNewFriend": "Add new friend",
"@addNewFriend": {
"type": "text",
"placeholders": {}
},
@ -1485,8 +1485,8 @@
"type": "text",
"placeholders": {}
},
"contacts": "Contacts",
"@contacts": {
"friends": "Friends",
"@friends": {
"type": "text",
"placeholders": {}
},

View File

@ -87,7 +87,7 @@ class _ContactsState extends State<Contacts> {
appBar: AppBar(
automaticallyImplyLeading: false,
elevation: 1,
title: Text(L10n.of(context).contacts),
title: Text(L10n.of(context).friends),
actions: [
TextButton.icon(
label: Text(
@ -123,7 +123,7 @@ class _ContactsState extends State<Contacts> {
backgroundColor: Theme.of(context).primaryColor,
foregroundColor: Colors.white,
),
title: Text(L10n.of(context).addNewContact),
title: Text(L10n.of(context).addNewFriend),
onTap: () => AdaptivePageLayout.of(context)
.pushNamed('/newprivatechat'),
),