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