This commit is contained in:
Hillel Coren 2020-10-27 21:09:24 +02:00
parent 7e8414493a
commit 2ae7c4ca0a
2 changed files with 1 additions and 5 deletions

View File

@ -448,7 +448,7 @@ class InvoiceEditDesktopState extends State<InvoiceEditDesktop>
(countProducts > 0 ? ' ($countProducts)' : ''),
),
Tab(
text: localization.services +
text: localization.tasks +
(countServices > 0 ? ' ($countServices)' : ''),
),
],

View File

@ -15,7 +15,6 @@ mixin LocalizationsProvider on LocaleCodeAware {
static final Map<String, Map<String, String>> _localizedValues = {
'en': {
// STARTER: lang key - do not remove comment
'services': 'Services',
'invoice_task_timelog': 'Invoice Task Timelog',
'invoice_task_timelog_help': 'Add time details to the invoice line items',
'auto_start_tasks_help': 'Start tasks before saving',
@ -4786,9 +4785,6 @@ mixin LocalizationsProvider on LocaleCodeAware {
String get invoiceTaskTimelogHelp =>
_localizedValues[localeCode]['invoice_task_timelog_help'] ?? '';
String get services =>
_localizedValues[localeCode]['services'] ?? '';
String lookup(String key) {
final lookupKey = toSnakeCase(key);