mirror of
https://github.com/wekan/wekan.git
synced 2026-01-01 07:08:49 +01:00
Shared Templates. In Progress.
Part 3: - Template container titles "Card/List/Board Templates" automatically translated. Thanks to xet7 ! Related #3313
This commit is contained in:
parent
2dca6e8e7c
commit
7f17bc9fb0
3 changed files with 22 additions and 8 deletions
|
|
@ -225,7 +225,8 @@ const CreateBoard = BlazeComponent.extendComponent({
|
|||
|
||||
this.boardId.set(
|
||||
Boards.insert({
|
||||
title: TAPi18n.__('templates'),
|
||||
// title: TAPi18n.__('templates'),
|
||||
title: title,
|
||||
permission: 'private',
|
||||
type: 'template-container',
|
||||
}),
|
||||
|
|
@ -233,7 +234,8 @@ const CreateBoard = BlazeComponent.extendComponent({
|
|||
|
||||
// Insert the card templates swimlane
|
||||
Swimlanes.insert({
|
||||
title: TAPi18n.__('card-templates-swimlane'),
|
||||
// title: TAPi18n.__('card-templates-swimlane'),
|
||||
title: 'Card Templates',
|
||||
boardId: this.boardId.get(),
|
||||
sort: 1,
|
||||
type: 'template-container',
|
||||
|
|
@ -242,7 +244,8 @@ const CreateBoard = BlazeComponent.extendComponent({
|
|||
// Insert the list templates swimlane
|
||||
Swimlanes.insert(
|
||||
{
|
||||
title: TAPi18n.__('list-templates-swimlane'),
|
||||
// title: TAPi18n.__('list-templates-swimlane'),
|
||||
title: 'List Templates',
|
||||
boardId: this.boardId.get(),
|
||||
sort: 2,
|
||||
type: 'template-container',
|
||||
|
|
@ -252,7 +255,8 @@ const CreateBoard = BlazeComponent.extendComponent({
|
|||
// Insert the board templates swimlane
|
||||
Swimlanes.insert(
|
||||
{
|
||||
title: TAPi18n.__('board-templates-swimlane'),
|
||||
//title: TAPi18n.__('board-templates-swimlane'),
|
||||
title: 'Board Templates',
|
||||
boardId: this.boardId.get(),
|
||||
sort: 3,
|
||||
type: 'template-container',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue