Skip to content

Commit

Permalink
fix(copy): Capitalize Workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaviju committed Oct 3, 2023
1 parent ba70e24 commit bd41d69
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,7 @@
<tg-ui-breadcrumb
*ngIf="workflows.length > 1"
[hideLastCrumb]="editStatusFormOpened"
[crumbs]="[
t('commons.kanban'),
t('kanban.workflows').charAt(0).toLocaleUpperCase() +
t('kanban.workflows').slice(1),
workflow.name
]"
[crumbs]="[t('commons.kanban'), t('kanban.workflows'), workflow.name]"
[accent]="true"
class="kanban-header-breadcrumbs">
</tg-ui-breadcrumb>
Expand Down
6 changes: 3 additions & 3 deletions javascript/apps/taiga/src/assets/i18n/kanban/en-US.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"workflow": "workflow",
"workflows": "workflows",
"workflow": "Workflow",
"workflows": "Workflows",
"page_title": "{{projectName}} kanban",
"workflow_title": "[{{projectName}}] kanban workflow",
"title": "Kanban",
Expand Down Expand Up @@ -67,4 +67,4 @@
"workflow_empty": "Workflow name can’t be empty.",
"max_workflow_created": "You reached the max number of workflows (8)."
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@
<ng-container *transloco="let t">
<div class="breadcrumb-wrapper">
<tui-svg
[tgUiTooltip]="
t('kanban.workflow').charAt(0).toUpperCase() +
t('kanban.workflow').slice(1)
"
[tgUiTooltip]="t('kanban.workflow')"
tgUiTooltipPosition="bottom"
class="crumb-icon collapsed"
role="image"
Expand Down

0 comments on commit bd41d69

Please sign in to comment.