Skip to content

Commit

Permalink
Betere strings (#5)
Browse files Browse the repository at this point in the history
Made them more consistent, concise and correct.
  • Loading branch information
QkeleQ10 authored Sep 18, 2021
1 parent 6fafec0 commit f36f13a
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 deletions.
6 changes: 3 additions & 3 deletions lib/src/layout.dart
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class HomeState extends State<Home> with AfterLayoutMixin<Home> {
onPressed: () => Navigator.pop(context),
),
TextButton(
child: Text("Verwijder"),
child: Text("Verwijderen"),
onPressed: () {
Navigator.pop(context);
accounts.delete(accounts.toMap().entries.firstWhere((a) => a.value.id == acc.id).key);
Expand All @@ -116,11 +116,11 @@ class HomeState extends State<Home> with AfterLayoutMixin<Home> {
itemBuilder: (BuildContext context) => <PopupMenuEntry>[
const PopupMenuItem(
value: "verwijder",
child: Text('Verwijder'),
child: Text('Verwijderen'),
),
const PopupMenuItem(
value: "herlaad",
child: Text('Herlaad'),
child: Text('Herladen'),
),
],
),
Expand Down
2 changes: 1 addition & 1 deletion lib/src/ui/tabs/Berichten.dart
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ class NieuwBerichtPagina extends StatelessWidget {
return Scaffold(
appBar: AppBar(
title: Text(
"Nieuw bericht",
"Bericht opstellen",
),
),
body: SingleChildScrollView(
Expand Down
6 changes: 3 additions & 3 deletions lib/src/ui/tabs/Info.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ class _Info extends State<Info> {
bottom: TabBar(
tabs: [
Tab(
text: "Over",
text: "Info",
),
Tab(
text: "Auteurs",
),
],
),
title: Text("Info"),
title: Text("Over deze app"),
body: TabBarView(
children: [
ListView(
Expand Down Expand Up @@ -96,7 +96,7 @@ class _Info extends State<Info> {
ExpansionTile(
leading: Icon(Icons.person_outlined),
title: Text('Guus van Meerveld'),
subtitle: Text('Bijdrage: UI'),
subtitle: Text('Bijdrage: Interface'),
children: [
ListTile(
leading: Icon(Icons.public_outlined),
Expand Down
10 changes: 5 additions & 5 deletions lib/src/ui/tabs/Instellingen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ class _Instellingen extends State<Instellingen> {
actions: <Widget>[
TextButton(
child: Text(
"Sluit",
"Sluiten",
),
onPressed: () {
Navigator.of(context).pop();
Expand Down Expand Up @@ -489,12 +489,12 @@ class _Instellingen extends State<Instellingen> {
children: divideListTiles([
SwitchInstelling(
title: "Verberg foto",
subtitle: "Vervangt je foto voor een emoji",
subtitle: "Vervangt je foto voor pictogram",
setting: "useIcon",
onChange: () => appState.setState(() {}),
),
SwitchInstelling(
title: "Zijbalk met terugknop",
title: "Menu met terugknop",
subtitle: "Opent het menu met de terugknop",
setting: "backOpensDrawer",
onChange: () => appState.setState(() {}),
Expand Down Expand Up @@ -612,15 +612,15 @@ class _Instellingen extends State<Instellingen> {
},
),
CustomInstelling(
title: 'Error log',
title: 'Foutenlogboek',
onTap: () {
Navigator.of(context).push(
MaterialPageRoute(
builder: (context) => LogPagina(),
),
);
},
subtitle: 'Bekijk de error log van de app',
subtitle: 'Bekijk het foutenlogboek van de app',
)
]),
);
Expand Down
2 changes: 1 addition & 1 deletion lib/src/utils/tabs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class Tabs {
},
if (account.has("Profiel", "Read"))
{
"name": Text("Mijn Gegevens"),
"name": Text("Mijn gegevens"),
"icon": Icons.person_outlined,
"page": MijnGegevens(),
"color": Colors.pink[200],
Expand Down

0 comments on commit f36f13a

Please sign in to comment.