mirror of
https://github.com/wekan/wekan.git
synced 2026-02-14 20:18:07 +01:00
Update translation source file
This commit is contained in:
parent
0ce381aa0a
commit
9961de9c30
13 changed files with 188 additions and 187 deletions
|
|
@ -4,7 +4,7 @@ template(name="board")
|
|||
+boardBody
|
||||
else
|
||||
//- XXX We need a better error message in case the board has been archived
|
||||
+message(label="board-no-found")
|
||||
+message(label="board-not-found")
|
||||
else
|
||||
+spinner
|
||||
|
||||
|
|
|
|||
|
|
@ -43,9 +43,9 @@ template(name="headerBoard")
|
|||
|
||||
template(name="boardMenuPopup")
|
||||
ul.pop-over-list
|
||||
li: a.js-open-archives Archived elements
|
||||
li: a.js-open-archives {{_ 'archived-items'}}
|
||||
if currentUser.isBoardAdmin
|
||||
li: a.js-change-board-color Change color
|
||||
li: a.js-change-board-color {{_ 'board-change-color'}}
|
||||
//-
|
||||
XXX Language should be handled by sandstorm, but for now display a
|
||||
language selection link in the board menu. This link is normally present
|
||||
|
|
@ -56,7 +56,7 @@ template(name="boardMenuPopup")
|
|||
if currentUser.isBoardAdmin
|
||||
hr
|
||||
ul.pop-over-list
|
||||
li: a.js-archive-board Archive Board…
|
||||
li: a.js-archive-board {{_ 'archive-board'}}
|
||||
|
||||
template(name="boardVisibilityList")
|
||||
ul.pop-over-list
|
||||
|
|
@ -113,7 +113,7 @@ template(name="boardChangeTitlePopup")
|
|||
form
|
||||
label
|
||||
| {{_ 'title'}}
|
||||
input.js-board-name(type="text" value="{{title}}" autofocus)
|
||||
input.js-board-name(type="text" value=title autofocus)
|
||||
input.primary.wide(type="submit" value="{{_ 'rename'}}")
|
||||
|
||||
template(name="archiveBoardPopup")
|
||||
|
|
|
|||
|
|
@ -1,16 +1,13 @@
|
|||
template(name="boardList")
|
||||
.wrapper
|
||||
if boards.count
|
||||
ul.board-list.clearfix
|
||||
each boards
|
||||
li(class="{{#if isStarred}}starred{{/if}}" class=colorClass)
|
||||
a.js-open-board(href="{{pathFor 'board' id=_id slug=slug}}")
|
||||
span.details
|
||||
span.board-list-item-name= title
|
||||
i.fa.js-star-board(
|
||||
class="fa-star{{#if isStarred}} is-star-active{{else}}-o{{/if}}"
|
||||
title="{{_ 'star-board-title'}}")
|
||||
else
|
||||
ul.board-list.clearfix
|
||||
li.js-add-board
|
||||
a.label {{_ 'add-board'}}
|
||||
ul.board-list.clearfix
|
||||
each boards
|
||||
li(class="{{#if isStarred}}starred{{/if}}" class=colorClass)
|
||||
a.js-open-board(href="{{pathFor 'board' id=_id slug=slug}}")
|
||||
span.details
|
||||
span.board-list-item-name= title
|
||||
i.fa.js-star-board(
|
||||
class="fa-star{{#if isStarred}} is-star-active{{else}}-o{{/if}}"
|
||||
title="{{_ 'star-board-title'}}")
|
||||
li.js-add-board
|
||||
a.label {{_ 'add-board'}}
|
||||
|
|
|
|||
|
|
@ -14,26 +14,29 @@ template(name="cardDetails")
|
|||
class="{{#if currentUser.isBoardMember}}js-open-inlined-form is-editable{{/if}}")
|
||||
= title
|
||||
|
||||
if archived
|
||||
p.warning {{_ 'card-archived'}}
|
||||
|
||||
.card-details-items
|
||||
.card-details-item.card-details-item-members
|
||||
h3.card-details-item-title {{_ 'members'}}
|
||||
each members
|
||||
+userAvatar(userId=this cardId=../_id)
|
||||
| {{! XXX Hack to hide syntaxic coloration /// }}
|
||||
a.member.add-member.card-details-item-add-button.js-add-members
|
||||
a.member.add-member.card-details-item-add-button.js-add-members(title="{{_ 'card-members-title'}}")
|
||||
i.fa.fa-plus
|
||||
|
||||
.card-details-item.card-details-item-labels
|
||||
h3.card-details-item-title {{_ 'labels'}}
|
||||
a.js-add-labels
|
||||
a.js-add-labels(title="{{_ 'card-labels-title'}}")
|
||||
each labels
|
||||
span.card-label(class="card-label-{{color}}" title=name)= name
|
||||
a.card-label.add-label.js-add-labels
|
||||
a.card-label.add-label.js-add-labels(title="{{_ 'card-labels-title'}}")
|
||||
i.fa.fa-plus
|
||||
|
||||
//- XXX We should use "editable" to avoid repetiting ourselves
|
||||
if currentUser.isBoardMember
|
||||
h3.card-details-item-title Description
|
||||
h3.card-details-item-title {{_ 'description'}}
|
||||
+inlinedCardDescription(classNames="card-description js-card-description")
|
||||
+editor(autofocus=true)
|
||||
| {{getUnsavedValue 'cardDescription' _id description}}
|
||||
|
|
@ -49,12 +52,12 @@ template(name="cardDetails")
|
|||
| {{_ 'edit'}}
|
||||
if (hasUnsavedValue 'cardDescription' _id)
|
||||
p.quiet
|
||||
| You have an unsaved description.
|
||||
a.js-open-inlined-form View it
|
||||
| {{_ 'unsaved-description'}}
|
||||
a.js-open-inlined-form {{_ 'view-it'}}
|
||||
= ' - '
|
||||
a.js-close-inlined-form Discard
|
||||
a.js-close-inlined-form {{_ 'discard'}}
|
||||
else if description
|
||||
h3.card-details-item-title Description
|
||||
h3.card-details-item-title {{_ 'description'}}
|
||||
+viewer
|
||||
= description
|
||||
if attachments.count
|
||||
|
|
@ -74,16 +77,16 @@ template(name="cardDetails")
|
|||
|
||||
template(name="cardDetailsActionsPopup")
|
||||
ul.pop-over-list
|
||||
li: a.js-members Edit Members…
|
||||
li: a.js-labels Edit Labels…
|
||||
li: a.js-members {{_ 'card-edit-members'}}
|
||||
li: a.js-labels {{_ 'card-edit-labels'}}
|
||||
unless isSandstorm
|
||||
li: a.js-attachments Edit Attachments…
|
||||
li: a.js-attachments {{_ 'card-edit-attachments'}}
|
||||
hr
|
||||
ul.pop-over-list
|
||||
li: a.js-move-card Move card
|
||||
li: a.js-move-card {{_ 'moveCardPopup-title'}}
|
||||
unless archived
|
||||
li: a.js-archive Archive Card
|
||||
li: a.js-more More
|
||||
li: a.js-archive {{_ 'archive-card'}}
|
||||
li: a.js-more {{_ 'cardMorePopup-title'}}
|
||||
|
||||
template(name="moveCardPopup")
|
||||
+boardLists
|
||||
|
|
|
|||
|
|
@ -12,14 +12,14 @@ template(name="header")
|
|||
li
|
||||
a(href="{{pathFor 'home'}}")
|
||||
span.fa.fa-home
|
||||
| All boards
|
||||
| {{_ 'all-boards'}}
|
||||
each currentUser.starredBoards
|
||||
li.separator -
|
||||
li(class="{{#if $.Session.equals 'currentBoard' _id}}current{{/if}}")
|
||||
a(href="{{pathFor 'board' id=_id slug=slug}}")
|
||||
= title
|
||||
else
|
||||
li.current Star a board to add a shortcut in this bar.
|
||||
li.current {{_ 'quick-access-description'}}
|
||||
|
||||
li
|
||||
a.js-create-board
|
||||
|
|
@ -45,13 +45,13 @@ template(name="header")
|
|||
.wekan-logo
|
||||
img(src="/wekan-logo-header.png" alt="Wekan")
|
||||
else
|
||||
a.wekan-logo(href="{{pathFor 'home'}}")
|
||||
a.wekan-logo(href="{{pathFor 'home'}}" title="{{_ 'header-logo-title'}}")
|
||||
img(src="/wekan-logo-header.png" alt="Wekan")
|
||||
|
||||
template(name="headerTitle")
|
||||
h1 My Boards
|
||||
h1 {{_ 'my-boards'}}
|
||||
|
||||
.board-header-btns.right
|
||||
a.board-header-btn.js-open-archived-board
|
||||
i.fa.fa-archive
|
||||
span Archives
|
||||
span {{_ 'archives'}}
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
.wrapper.shortcuts-list
|
||||
h2
|
||||
i.fa.fa-keyboard-o
|
||||
| Keyboard shortcuts
|
||||
| {{_ 'keyboard-shortcuts'}}
|
||||
|
||||
each mapping
|
||||
.shortcuts-list-item
|
||||
.shortcuts-list-item-keys
|
||||
each keys
|
||||
kbd= this
|
||||
.shortcuts-list-item-action= action
|
||||
.shortcuts-list-item-action {{_ action}}
|
||||
|
|
|
|||
|
|
@ -7,13 +7,13 @@ template(name="archivesSidebar")
|
|||
+minicard(this)
|
||||
if currentUser.isBoardMember
|
||||
p.quiet
|
||||
a.js-restore-card Restore
|
||||
a.js-restore-card {{_ 'restore'}}
|
||||
| -
|
||||
a.js-delete-card Delete
|
||||
a.js-delete-card {{_ 'delete'}}
|
||||
if cardIsInArchivedList
|
||||
p.quiet.small (warning: this card is in an archived list)
|
||||
p.quiet.small ({{_ 'warn-list-archived'}})
|
||||
else
|
||||
p.no-items-message No archived cards.
|
||||
p.no-items-message {{_ 'no-archived-cards'}}
|
||||
|
||||
+tabContent(slug="lists")
|
||||
ul.archived-lists
|
||||
|
|
@ -24,4 +24,4 @@ template(name="archivesSidebar")
|
|||
i.fa.fa-undo
|
||||
= title
|
||||
else
|
||||
li.no-items-message No archived lists.
|
||||
li.no-items-message {{_ 'no-archived-lists'}}
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@ BlazeComponent.extendComponent({
|
|||
|
||||
tabs: function() {
|
||||
return [
|
||||
{ name: 'Cards', slug: 'cards' },
|
||||
{ name: 'Lists', slug: 'lists' }
|
||||
{ name: TAPi18n.__('cards'), slug: 'cards' },
|
||||
{ name: TAPi18n.__('lists'), slug: 'lists' }
|
||||
]
|
||||
},
|
||||
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ template(name="filterSidebar")
|
|||
span {{_ 'filter-clear'}}
|
||||
a.sidebar-btn.js-filter-to-selection
|
||||
i.fa.fa-check-square-o
|
||||
span Filter to selection
|
||||
span {{_ 'filter-to-selection'}}
|
||||
|
||||
template(name="multiselectionSidebar")
|
||||
ul.sidebar-list
|
||||
|
|
@ -71,14 +71,14 @@ template(name="multiselectionSidebar")
|
|||
hr
|
||||
a.sidebar-btn.js-archive-selection
|
||||
i.fa.fa-archive
|
||||
span Archive selection
|
||||
span {{_ 'archive-selection'}}
|
||||
|
||||
template(name="disambiguateMultiLabelPopup")
|
||||
p What do you want to do?
|
||||
button.wide.js-remove-label Remove the label
|
||||
button.wide.js-add-label Add the label
|
||||
p {{_ 'what-to-do'}}
|
||||
button.wide.js-remove-label Remove {{_ 'remove-label'}}
|
||||
button.wide.js-add-label Add {{_ 'add-label'}}
|
||||
|
||||
template(name="disambiguateMultiMemberPopup")
|
||||
p What do you want to do?
|
||||
button.wide.js-unassign-member Unassign member
|
||||
button.wide.js-assign-member Assign member
|
||||
p {{_ 'what-to-do'}}
|
||||
button.wide.js-unassign-member {{_ 'unassign-member'}}
|
||||
button.wide.js-assign-member {{_ 'assign-member'}}
|
||||
|
|
|
|||
|
|
@ -43,13 +43,12 @@ template(name="changeAvatarPopup")
|
|||
li: a.js-select-avatar
|
||||
.member
|
||||
img.avatar.avatar-image(src="{{url avatarUrlOptions}}")
|
||||
| Uploaded avatar
|
||||
| {{_ 'uploaded-avatar'}}
|
||||
if isSelected
|
||||
i.fa.fa-check
|
||||
p.sub-name
|
||||
unless isSelected
|
||||
a.js-delete-avatar
|
||||
| Delete
|
||||
a.js-delete-avatar {{_ 'delete'}}
|
||||
| -
|
||||
= original.name
|
||||
li: a.js-select-initials
|
||||
|
|
@ -58,11 +57,11 @@ template(name="changeAvatarPopup")
|
|||
| Initials
|
||||
if noAvatarUrl
|
||||
i.fa.fa-check
|
||||
p.sub-name Default avatar
|
||||
p.sub-name {{_ 'default-avatar'}}
|
||||
input.hide.js-upload-avatar-input(accept="image/*;capture=camera" type="file")
|
||||
button.full.js-upload-avatar
|
||||
i.fa.fa-upload
|
||||
| Upload an avatar
|
||||
| {{_ 'upload-avatar'}}
|
||||
|
||||
template(name="cardMemberPopup")
|
||||
.board-member-menu
|
||||
|
|
@ -77,4 +76,4 @@ template(name="cardMemberPopup")
|
|||
|
||||
if $eq currentUser._id user._id
|
||||
with currentUser
|
||||
li: a.js-edit-profile Edit Profile
|
||||
li: a.js-edit-profile {{_ 'edit-profile'}}
|
||||
|
|
|
|||
|
|
@ -12,10 +12,10 @@ template(name="headerUserBar")
|
|||
template(name="memberMenuPopup")
|
||||
ul.pop-over-list
|
||||
with currentUser
|
||||
li: a.js-edit-profile Edit Profile…
|
||||
li: a.js-change-avatar Change Avatar…
|
||||
li: a.js-change-password Change Password…
|
||||
li: a.js-change-language Change Language…
|
||||
li: a.js-edit-profile {{_ 'edit-profile'}}
|
||||
li: a.js-change-avatar {{_ 'edit-avatar'}}
|
||||
li: a.js-change-password {{_ 'changePasswordPopup-title'}}
|
||||
li: a.js-change-language {{_ 'changeLanguagePopup-title'}}
|
||||
hr
|
||||
ul.pop-over-list
|
||||
li: a.js-logout {{_ 'log-out'}}
|
||||
|
|
@ -23,13 +23,13 @@ template(name="memberMenuPopup")
|
|||
template(name="editProfilePopup")
|
||||
form
|
||||
label
|
||||
| {{_ "fullname"}}
|
||||
| {{_ 'fullname'}}
|
||||
input.js-profile-fullname(type="text" value=profile.fullname autofocus)
|
||||
label
|
||||
| {{_ "username"}}
|
||||
| {{_ 'username'}}
|
||||
input.js-profile-username(type="text" value=username)
|
||||
label
|
||||
| Initials
|
||||
| {{_ 'initials'}}
|
||||
input.js-profile-initials(type="text" value=profile.initials)
|
||||
input.primary.wide(type="submit" value="{{_ 'save'}}")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue