Localized new strings

This commit is contained in:
Imran Remtulla
2022-12-21 04:24:17 -05:00
parent 118460ccb9
commit 626bebbe5a
12 changed files with 63 additions and 15 deletions

View File

@@ -156,10 +156,10 @@ class SettingsProvider with ChangeNotifier {
}
getCategoryFormItem({String initCategory = ''}) =>
GeneratedFormItem('category', // TODO
label: 'Category',
GeneratedFormItem('category',
label: tr('category'),
opts: [
const MapEntry('', 'No Category'),
MapEntry('', tr('noCategory')),
...categories.entries.map((e) => MapEntry(e.key, e.key)).toList()
],
defaultValue: initCategory);