fix(receipt-import): correct Swedish labels for packaging quantity and count
This commit is contained in:
@@ -679,7 +679,7 @@ class _EditDialogState extends State<_EditDialog> {
|
||||
controller: _quantityCtrl,
|
||||
keyboardType: const TextInputType.numberWithOptions(decimal: true),
|
||||
decoration: const InputDecoration(
|
||||
labelText: 'Mangd per forpackning',
|
||||
labelText: 'Mängd per förpackning',
|
||||
border: OutlineInputBorder(),
|
||||
),
|
||||
onChanged: (_) => setState(() {}),
|
||||
@@ -702,7 +702,7 @@ class _EditDialogState extends State<_EditDialog> {
|
||||
controller: _packageCountCtrl,
|
||||
keyboardType: const TextInputType.numberWithOptions(decimal: true),
|
||||
decoration: const InputDecoration(
|
||||
labelText: 'Antal forpackningar',
|
||||
labelText: 'Antal förpackningar',
|
||||
border: OutlineInputBorder(),
|
||||
),
|
||||
onChanged: (_) => setState(() {}),
|
||||
@@ -719,7 +719,7 @@ class _EditDialogState extends State<_EditDialog> {
|
||||
),
|
||||
child: Text(
|
||||
'Totalt: ${_formatSwedishNumber(totalPreview)} $currentUnit '
|
||||
'(mangd x antal forpackningar).',
|
||||
'(mängd x antal förpackningar).',
|
||||
style: theme.textTheme.bodySmall?.copyWith(
|
||||
color: Colors.green.shade800,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user