Skip to content

Commit

Permalink
[l10n] settings for transaction app titles
Browse files Browse the repository at this point in the history
closes #189
  • Loading branch information
dreautall committed Oct 29, 2023
1 parent 2f9d10e commit ce477d0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 8 additions & 0 deletions lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,10 @@
"@settingsNLPermissionRemoveHelp": {
"description": "Dialog text giving hint how to remove the permission."
},
"settingsNLPrefillTXTitle": "Prefill transaction title with nofication title",
"@settingsNLPrefillTXTitle": {
"description": "First line for setting to use pre-fill transaction title with notification title."
},
"settingsNLServiceChecking": "Checking status…",
"@settingsNLServiceChecking": {
"description": "Checking the status of the background service"
Expand Down Expand Up @@ -633,6 +637,10 @@
"@settingsNLServiceStopped": {
"description": "A background service is stopped."
},
"settingsNLTXTitleSub": "with nofication title",
"@settingsNLTXTitleSub": {
"description": "Second line for setting to use pre-fill transaction title with notification title."
},
"settingsNotificationListener": "Notification Listener Service",
"@settingsNotificationListener": {
"description": "Setting for the notification listener service."
Expand Down
3 changes: 1 addition & 2 deletions lib/pages/settings/notifications.dart
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,7 @@ class _AppCardState extends State<AppCard> {
),
const SizedBox(height: 16),
CheckboxListTile(
title: Text("Prefill transaction title"),
subtitle: Text("with nofication title"),
title: Text(S.of(context).settingsNLPrefillTXTitle),
isThreeLine: false,
value: widget.settings.includeTitle,
onChanged: (bool? value) async {
Expand Down

0 comments on commit ce477d0

Please sign in to comment.