mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
fix: resolve build failures from missing translations and unused imports
Remove unused imports (MatSlideToggle, MatFormField, MatLabel, TranslatePipe, RouterLink) and add missing translation keys for CalDAV issue content, G.SHARE, and WORKLOG restore task from archive.
This commit is contained in:
parent
b3dfd1f6a2
commit
dae5caa6ff
4 changed files with 19 additions and 9 deletions
|
|
@ -20,13 +20,10 @@ import { DEFAULT_CLICKUP_CFG } from '../../clickup.const';
|
|||
import { SnackService } from '../../../../../../core/snack/snack.service';
|
||||
import { T } from '../../../../../../t.const';
|
||||
import { HelperClasses } from '../../../../../../app.constants';
|
||||
import { MatSlideToggle } from '@angular/material/slide-toggle';
|
||||
import { MatFormField, MatLabel } from '@angular/material/form-field';
|
||||
import { MatProgressSpinner } from '@angular/material/progress-spinner';
|
||||
import { MatButton } from '@angular/material/button';
|
||||
import { MatCheckbox } from '@angular/material/checkbox';
|
||||
import { AsyncPipe } from '@angular/common';
|
||||
import { TranslatePipe } from '@ngx-translate/core';
|
||||
import { ClickUpTeam } from '../../clickup.model';
|
||||
import { CollapsibleComponent } from '../../../../../../ui/collapsible/collapsible.component';
|
||||
|
||||
|
|
@ -39,14 +36,10 @@ import { CollapsibleComponent } from '../../../../../../ui/collapsible/collapsib
|
|||
imports: [
|
||||
FormsModule,
|
||||
ReactiveFormsModule,
|
||||
MatSlideToggle,
|
||||
MatFormField,
|
||||
MatLabel,
|
||||
MatProgressSpinner,
|
||||
MatButton,
|
||||
MatCheckbox,
|
||||
AsyncPipe,
|
||||
TranslatePipe,
|
||||
CollapsibleComponent,
|
||||
],
|
||||
standalone: true,
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ import { MatIcon } from '@angular/material/icon';
|
|||
import { MatProgressSpinner } from '@angular/material/progress-spinner';
|
||||
import { MatTab, MatTabGroup } from '@angular/material/tabs';
|
||||
import { MatTooltip } from '@angular/material/tooltip';
|
||||
import { ActivatedRoute, Router, RouterLink } from '@angular/router';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
|
||||
import { combineLatest, from, merge, Observable, Subject } from 'rxjs';
|
||||
import {
|
||||
|
|
@ -85,7 +85,6 @@ const MAGIC_YESTERDAY_MARGIN = 4 * 60 * 60 * 1000;
|
|||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
imports: [
|
||||
MatAnchor,
|
||||
RouterLink,
|
||||
MatIcon,
|
||||
InlineInputComponent,
|
||||
MatTabGroup,
|
||||
|
|
|
|||
|
|
@ -111,6 +111,13 @@ const T = {
|
|||
FORM_SECTION: {
|
||||
HELP: 'F.CALDAV.FORM_SECTION.HELP',
|
||||
},
|
||||
ISSUE_CONTENT: {
|
||||
DESCRIPTION: 'F.CALDAV.ISSUE_CONTENT.DESCRIPTION',
|
||||
LABELS: 'F.CALDAV.ISSUE_CONTENT.LABELS',
|
||||
MARK_AS_CHECKED: 'F.CALDAV.ISSUE_CONTENT.MARK_AS_CHECKED',
|
||||
STATUS: 'F.CALDAV.ISSUE_CONTENT.STATUS',
|
||||
SUMMARY: 'F.CALDAV.ISSUE_CONTENT.SUMMARY',
|
||||
},
|
||||
S: {
|
||||
CALENDAR_NOT_FOUND: 'F.CALDAV.S.CALENDAR_NOT_FOUND',
|
||||
CALENDAR_READ_ONLY: 'F.CALDAV.S.CALENDAR_READ_ONLY',
|
||||
|
|
@ -1407,6 +1414,7 @@ const T = {
|
|||
DAYS_WORKED: 'F.WORKLOG.CMP.DAYS_WORKED',
|
||||
MONTH_WORKED: 'F.WORKLOG.CMP.MONTH_WORKED',
|
||||
REPEATING_TASK: 'F.WORKLOG.CMP.REPEATING_TASK',
|
||||
RESTORE_TASK_FROM_ARCHIVE: 'F.WORKLOG.CMP.RESTORE_TASK_FROM_ARCHIVE',
|
||||
TASKS: 'F.WORKLOG.CMP.TASKS',
|
||||
TOTAL_TIME: 'F.WORKLOG.CMP.TOTAL_TIME',
|
||||
WEEK_NR: 'F.WORKLOG.CMP.WEEK_NR',
|
||||
|
|
@ -1510,6 +1518,7 @@ const T = {
|
|||
OVERDUE: 'G.OVERDUE',
|
||||
REMOVE: 'G.REMOVE',
|
||||
SAVE: 'G.SAVE',
|
||||
SHARE: 'G.SHARE',
|
||||
SUBMIT: 'G.SUBMIT',
|
||||
TITLE: 'G.TITLE',
|
||||
TODAY_TAG_TITLE: 'G.TODAY_TAG_TITLE',
|
||||
|
|
|
|||
|
|
@ -109,6 +109,13 @@
|
|||
"FORM_SECTION": {
|
||||
"HELP": "<p>Here you can configure SuperProductivity to list uncompleted CalDav todos for a specific project in the task creation panel in the daily planning view. They will be listed as suggestions and will provide a link to the todo as well as more information about it.</p> <p>In addition you can automatically add and sync all uncompleted todos to your task backlog.</p><p>To make it work for nextcloud in the webapp, you might need to whitelist \"https://app.super-productivity.com\" via the nextcloud app <a href='https://apps.nextcloud.com/apps/webapppassword'>webapppassword<a>.</p>"
|
||||
},
|
||||
"ISSUE_CONTENT": {
|
||||
"DESCRIPTION": "Description",
|
||||
"LABELS": "Labels",
|
||||
"MARK_AS_CHECKED": "Mark as checked",
|
||||
"STATUS": "Status",
|
||||
"SUMMARY": "Summary"
|
||||
},
|
||||
"S": {
|
||||
"CALENDAR_NOT_FOUND": "CalDav: Calendar \"{{calendarName}}\" not found",
|
||||
"CALENDAR_READ_ONLY": "CalDav: Calendar \"{{calendarName}}\" is readonly",
|
||||
|
|
@ -1371,6 +1378,7 @@
|
|||
"DAYS_WORKED": "Days, worked:",
|
||||
"MONTH_WORKED": "Month worked:",
|
||||
"REPEATING_TASK": "Repeating task",
|
||||
"RESTORE_TASK_FROM_ARCHIVE": "Restore task from archive",
|
||||
"TASKS": "Tasks",
|
||||
"TOTAL_TIME": "Time spent total:",
|
||||
"WEEK_NR": "Week {{nr}}",
|
||||
|
|
@ -1474,6 +1482,7 @@
|
|||
"OVERDUE": "Overdue",
|
||||
"REMOVE": "Remove",
|
||||
"SAVE": "Save",
|
||||
"SHARE": "Share",
|
||||
"SUBMIT": "Submit",
|
||||
"TITLE": "Title",
|
||||
"TODAY_TAG_TITLE": "Today",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue