summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2017-10-09 18:23:25 +0300
committerLauri Ojansivu <x@xet7.org>2017-10-09 18:23:25 +0300
commit5532a0071abd35f9478e2a26fb0c2b05585ffd27 (patch)
tree0a59b30a382fbf2f62e6b82607227f1989000e77
parentdc825823919394aee9728e92cce5dd01300905f0 (diff)
parent46d7a33575a4d7d662d50151794fae30b7cc2194 (diff)
downloadwekan-5532a0071abd35f9478e2a26fb0c2b05585ffd27.tar.gz
wekan-5532a0071abd35f9478e2a26fb0c2b05585ffd27.tar.bz2
wekan-5532a0071abd35f9478e2a26fb0c2b05585ffd27.zip
Merge branch 'amadilsons-userSelfRemove' into devel
User can leave board on Standalone Wekan. Thanks to amadilsons !
-rw-r--r--CHANGELOG.md3
-rw-r--r--client/components/sidebar/sidebar.jade18
-rw-r--r--client/components/sidebar/sidebar.js16
-rw-r--r--i18n/ar.i18n.json2
-rw-r--r--i18n/br.i18n.json2
-rw-r--r--i18n/ca.i18n.json2
-rw-r--r--i18n/cs.i18n.json2
-rw-r--r--i18n/de.i18n.json2
-rw-r--r--i18n/en-GB.i18n.json2
-rw-r--r--i18n/en.i18n.json2
-rw-r--r--i18n/eo.i18n.json2
-rw-r--r--i18n/es.i18n.json4
-rw-r--r--i18n/eu.i18n.json2
-rw-r--r--i18n/fa.i18n.json2
-rw-r--r--i18n/fi.i18n.json2
-rw-r--r--i18n/fr.i18n.json2
-rw-r--r--i18n/gl.i18n.json2
-rw-r--r--i18n/he.i18n.json2
-rw-r--r--i18n/hu.i18n.json2
-rw-r--r--i18n/id.i18n.json2
-rw-r--r--i18n/it.i18n.json2
-rw-r--r--i18n/ja.i18n.json2
-rw-r--r--i18n/ko.i18n.json2
-rw-r--r--i18n/nb.i18n.json2
-rw-r--r--i18n/nl.i18n.json2
-rw-r--r--i18n/pl.i18n.json2
-rw-r--r--i18n/pt-BR.i18n.json2
-rw-r--r--i18n/ro.i18n.json2
-rw-r--r--i18n/ru.i18n.json2
-rw-r--r--i18n/sr.i18n.json2
-rw-r--r--i18n/sv.i18n.json2
-rw-r--r--i18n/ta.i18n.json2
-rw-r--r--i18n/th.i18n.json2
-rw-r--r--i18n/tr.i18n.json2
-rw-r--r--i18n/uk.i18n.json2
-rw-r--r--i18n/vi.i18n.json2
-rw-r--r--i18n/zh-CN.i18n.json2
-rw-r--r--i18n/zh-TW.i18n.json2
38 files changed, 94 insertions, 15 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bae32c9b..8fcaab41 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -3,7 +3,8 @@
This release adds the following new features:
* [WIP Limits](https://github.com/wekan/wekan/pull/1278);
-* [REST API: Create user despite disabling registration](https://github.com/wekan/wekan/issues/1232).
+* [REST API: Create user despite disabling registration](https://github.com/wekan/wekan/issues/1232);
+* [User can leave board on Standalone Wekan](https://github.com/wekan/wekan/pull/1283).
and fixes the following bugs:
diff --git a/client/components/sidebar/sidebar.jade b/client/components/sidebar/sidebar.jade
index 6045b371..6085c2ad 100644
--- a/client/components/sidebar/sidebar.jade
+++ b/client/components/sidebar/sidebar.jade
@@ -82,23 +82,27 @@ template(name="memberPopup")
ul.pop-over-list
li
a.js-filter-member {{_ 'filter-cards'}}
- if currentUser.isBoardAdmin
- unless isSandstorm
+ unless isSandstorm
+ if currentUser.isBoardAdmin
li
a.js-change-role
| {{_ 'change-permissions'}}
span.quiet (#{memberType})
- li
- if $eq currentUser._id userId
- a.js-leave-member {{_ 'leave-board'}}
- else
- a.js-remove-member {{_ 'remove-from-board'}}
+ li
+ if $eq currentUser._id userId
+ a.js-leave-member {{_ 'leave-board'}}
+ else if currentUser.isBoardAdmin
+ a.js-remove-member {{_ 'remove-from-board'}}
template(name="removeMemberPopup")
p {{_ 'remove-member-pop' name=user.profile.fullname username=user.username boardTitle=board.title}}
button.js-confirm.negate.full(type="submit") {{_ 'remove-member'}}
+template(name="leaveBoardPopup")
+ p {{_ 'leave-board-pop' boardTitle=board.title}}
+ button.js-confirm.negate.full(type="submit") {{_ 'leave-board'}}
+
template(name="addMemberPopup")
.js-search-member
+esInput(index="users")
diff --git a/client/components/sidebar/sidebar.js b/client/components/sidebar/sidebar.js
index 1290fd13..f4f0c118 100644
--- a/client/components/sidebar/sidebar.js
+++ b/client/components/sidebar/sidebar.js
@@ -153,15 +153,13 @@ Template.memberPopup.events({
Boards.findOne(boardId).removeMember(memberId);
Popup.close();
}),
- 'click .js-leave-member'() {
+ 'click .js-leave-member': Popup.afterConfirm('leaveBoard', () => {
const boardId = Session.get('currentBoard');
Meteor.call('quitBoard', boardId, (err, ret) => {
- if (!ret && ret) {
- Popup.close();
- FlowRouter.go('home');
- }
+ Popup.close();
+ FlowRouter.go('home');
});
- },
+ }),
});
Template.removeMemberPopup.helpers({
@@ -173,6 +171,12 @@ Template.removeMemberPopup.helpers({
},
});
+Template.leaveBoardPopup.helpers({
+ board() {
+ return Boards.findOne(Session.get('currentBoard'));
+ },
+});
+
Template.membersWidget.helpers({
isInvited() {
const user = Meteor.user();
diff --git a/i18n/ar.i18n.json b/i18n/ar.i18n.json
index 132b50d8..a68706e6 100644
--- a/i18n/ar.i18n.json
+++ b/i18n/ar.i18n.json
@@ -245,6 +245,8 @@
"language": "لغة",
"last-admin-desc": "لا يمكن تعديل الأدوار لأن ذلك يتطلب صلاحيات المدير.",
"leave-board": "مغادرة اللوحة",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "ربط هذه البطاقة",
"list-archive-cards": "أرضفت بطاقات هذه القائمة",
"list-archive-cards-pop": "سيقتضي هذا أرشفة جميع بطاقات هذه القائمة. لمشاهدة أرشيف البطاقات أو إعادتها إلى اللوحة، اضغط على -القائمة- ثم - أرشيف العناصر-",
diff --git a/i18n/br.i18n.json b/i18n/br.i18n.json
index 73bc98cd..3a51ddcd 100644
--- a/i18n/br.i18n.json
+++ b/i18n/br.i18n.json
@@ -245,6 +245,8 @@
"language": "Yezh",
"last-admin-desc": "You can’t change roles because there must be at least one admin.",
"leave-board": "Leave Board",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Link to this card",
"list-archive-cards": "Archive all cards in this list",
"list-archive-cards-pop": "This will remove all the cards in this list from the board. To view archived cards and bring them back to the board, click “Menu” > “Archived Items”.",
diff --git a/i18n/ca.i18n.json b/i18n/ca.i18n.json
index ce29c894..18a5d21c 100644
--- a/i18n/ca.i18n.json
+++ b/i18n/ca.i18n.json
@@ -245,6 +245,8 @@
"language": "Idioma",
"last-admin-desc": "No podeu canviar rols perquè ha d'haver-hi almenys un administrador.",
"leave-board": "Abandona tauler",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Enllaç a aquesta fitxa",
"list-archive-cards": "Arxiva totes les fitxes d'aquesta llista",
"list-archive-cards-pop": "Això eliminarà totes les fitxes d'aquesta llista del tauler. Per veure les fitxes arxivades i recuperar-les en el tauler, feu clic a \" Menú \"/ \" Articles Arxivat \".",
diff --git a/i18n/cs.i18n.json b/i18n/cs.i18n.json
index 0a573cb3..428a323e 100644
--- a/i18n/cs.i18n.json
+++ b/i18n/cs.i18n.json
@@ -245,6 +245,8 @@
"language": "Jazyk",
"last-admin-desc": "Nelze změnit role, protože musí existovat alespoň jeden administrátor.",
"leave-board": "Opustit tablo",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Odkázat na tuto kartu",
"list-archive-cards": "Archivovat všechny karty na tomto seznamu",
"list-archive-cards-pop": "Toto odstraní z tabla všechny karty z tohoto seznamu. Pro zobrazení archivovaných karet a jejich opětovné obnovení, klikni v \"Menu\" > \"Archivované položky\".",
diff --git a/i18n/de.i18n.json b/i18n/de.i18n.json
index 8b5a1250..1cb03302 100644
--- a/i18n/de.i18n.json
+++ b/i18n/de.i18n.json
@@ -245,6 +245,8 @@
"language": "Sprache",
"last-admin-desc": "Sie können keine Rollen ändern, weil es mindestens einen Administrator geben muss.",
"leave-board": "Board verlassen",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Link zu dieser Karte",
"list-archive-cards": "Alle Karten in dieser Liste archivieren",
"list-archive-cards-pop": "Alle Karten von dieser Liste werden vom Board entfernt. Um archivierte Karten anzuzeigen und wiederherzustellen, klicken Sie auf \"Menü\" > \"Archivierte Einträge\".",
diff --git a/i18n/en-GB.i18n.json b/i18n/en-GB.i18n.json
index e2eb099a..568976b5 100644
--- a/i18n/en-GB.i18n.json
+++ b/i18n/en-GB.i18n.json
@@ -245,6 +245,8 @@
"language": "Language",
"last-admin-desc": "You can’t change roles because there must be at least one admin.",
"leave-board": "Leave Board",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Link to this card",
"list-archive-cards": "Archive all cards in this list",
"list-archive-cards-pop": "This will remove all the cards in this list from the board. To view archived cards and bring them back to the board, click “Menu” > “Archived Items”.",
diff --git a/i18n/en.i18n.json b/i18n/en.i18n.json
index 556910ff..ccd28c5f 100644
--- a/i18n/en.i18n.json
+++ b/i18n/en.i18n.json
@@ -245,6 +245,8 @@
"language": "Language",
"last-admin-desc": "You can’t change roles because there must be at least one admin.",
"leave-board": "Leave Board",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Link to this card",
"list-archive-cards": "Archive all cards in this list",
"list-archive-cards-pop": "This will remove all the cards in this list from the board. To view archived cards and bring them back to the board, click “Menu” > “Archived Items”.",
diff --git a/i18n/eo.i18n.json b/i18n/eo.i18n.json
index 1c8e1f80..0bb850af 100644
--- a/i18n/eo.i18n.json
+++ b/i18n/eo.i18n.json
@@ -245,6 +245,8 @@
"language": "Lingvo",
"last-admin-desc": "You can’t change roles because there must be at least one admin.",
"leave-board": "Leave Board",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Ligi al ĉitiu karto",
"list-archive-cards": "Archive all cards in this list",
"list-archive-cards-pop": "This will remove all the cards in this list from the board. To view archived cards and bring them back to the board, click “Menu” > “Archived Items”.",
diff --git a/i18n/es.i18n.json b/i18n/es.i18n.json
index 90a9338a..ec3ee7c1 100644
--- a/i18n/es.i18n.json
+++ b/i18n/es.i18n.json
@@ -171,7 +171,7 @@
"edit": "Editar",
"edit-avatar": "Cambiar el avatar",
"edit-profile": "Editar el perfil",
- "edit-wip-limit": "Edit WIP Limit",
+ "edit-wip-limit": "Cambiar el límite del WIP",
"editCardStartDatePopup-title": "Cambiar la fecha de inicio",
"editCardDueDatePopup-title": "Cambiar la fecha de vencimiento",
"editLabelPopup-title": "Cambiar la etiqueta",
@@ -245,6 +245,8 @@
"language": "Idioma",
"last-admin-desc": "No puedes cambiar roles porque debe haber al menos un administrador.",
"leave-board": "Abandonar el tablero",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Enlace a esta tarjeta",
"list-archive-cards": "Archivar todas las tarjetas de esta lista",
"list-archive-cards-pop": "Esto eliminara todas las tarjetas de esta lista del tablero. Para ver las tarjetas archivadas y recuperarlas en el tablero, haz clic en 'Menú' > 'Elementos archivados'.",
diff --git a/i18n/eu.i18n.json b/i18n/eu.i18n.json
index 6806a558..f3b737f9 100644
--- a/i18n/eu.i18n.json
+++ b/i18n/eu.i18n.json
@@ -245,6 +245,8 @@
"language": "Hizkuntza",
"last-admin-desc": "Ezin duzu rola aldatu gutxienez kudeatzaile bat behar delako.",
"leave-board": "Utzi arbela",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Lotura txartel honetara",
"list-archive-cards": "Artxibatu zerrendako txartel guztiak",
"list-archive-cards-pop": "Honek zerrenda honetako txartel guztiak arbeletik ezabatuko ditu. Artxibatutako txartelak ikusteko eta arbelera berreskuratzeko, zoaz \"Menua > Artxibatutako elementuak\" atalera.",
diff --git a/i18n/fa.i18n.json b/i18n/fa.i18n.json
index c4319329..10dd81bf 100644
--- a/i18n/fa.i18n.json
+++ b/i18n/fa.i18n.json
@@ -245,6 +245,8 @@
"language": "زبان",
"last-admin-desc": "شما نمی توانید نقش ـroleـ را تغییر دهید چراکه باید حداقل یک مدیری وجود داشته باشد.",
"leave-board": "خروج از تخته",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "ارجاع به این کارت",
"list-archive-cards": "بایگانی تمامی کارتهای این لیست",
"list-archive-cards-pop": "این اقدام، همه کارت های این لیست از تخته راحذف خواهد کرد. جهت مشاهده کارت های بایگانی و بازگرداندن آنها ، \"Menu\",\"Archived Item\" را کلیک کنید.",
diff --git a/i18n/fi.i18n.json b/i18n/fi.i18n.json
index 3d141af5..bff7b3a8 100644
--- a/i18n/fi.i18n.json
+++ b/i18n/fi.i18n.json
@@ -245,6 +245,8 @@
"language": "Kieli",
"last-admin-desc": "Et voi vaihtaa rooleja koska täytyy olla olemassa ainakin yksi ylläpitäjä.",
"leave-board": "Jää pois taululta",
+ "leave-board-pop": "Haluatko varmasti poistua taululta __boardTitle__? Sinut poistetaan kaikista tämän taulun korteista.",
+ "leaveBoardPopup-title": "Jää pois taululta ?",
"link-card": "Linkki tähän korttiin",
"list-archive-cards": "Arkistoi kaikki kortit tässä listassa",
"list-archive-cards-pop": "Tämä poistaa kaikki tämän listan kortit tältä taululta. Nähdäksesi arkistoidut kortit ja tuodaksesi ne takaisin taululle, klikkaa “Valikko” > “Arkistoidut kohteet”.",
diff --git a/i18n/fr.i18n.json b/i18n/fr.i18n.json
index c507eefc..de7dbc21 100644
--- a/i18n/fr.i18n.json
+++ b/i18n/fr.i18n.json
@@ -245,6 +245,8 @@
"language": "Langue",
"last-admin-desc": "Vous ne pouvez pas changer les rôles car il doit y avoir au moins un administrateur.",
"leave-board": "Quitter le tableau",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Lier à cette carte",
"list-archive-cards": "Archiver toutes les cartes de cette liste",
"list-archive-cards-pop": "Cela archivera toutes les cartes de cette liste. Pour voir les cartes archivées et les ramener vers le tableau, cliquez sur « Menu » puis sur « Éléments archivés ».",
diff --git a/i18n/gl.i18n.json b/i18n/gl.i18n.json
index 7427426e..bf924c15 100644
--- a/i18n/gl.i18n.json
+++ b/i18n/gl.i18n.json
@@ -245,6 +245,8 @@
"language": "Idioma",
"last-admin-desc": "You can’t change roles because there must be at least one admin.",
"leave-board": "Saír do taboleiro",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Link to this card",
"list-archive-cards": "Archive all cards in this list",
"list-archive-cards-pop": "This will remove all the cards in this list from the board. To view archived cards and bring them back to the board, click “Menu” > “Archived Items”.",
diff --git a/i18n/he.i18n.json b/i18n/he.i18n.json
index d4a642e9..4d73a884 100644
--- a/i18n/he.i18n.json
+++ b/i18n/he.i18n.json
@@ -245,6 +245,8 @@
"language": "שפה",
"last-admin-desc": "אין אפשרות לשנות תפקידים כיוון שחייב להיות מנהל אחד לפחות.",
"leave-board": "עזיבת הלוח",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "קישור לכרטיס זה",
"list-archive-cards": "העברת כל הכרטיסים שברשימה זו לארכיון",
"list-archive-cards-pop": "פעולה זו תסיר את כל הכרטיסים שברשימה הזו מהלוח. כדי לצפות בכרטיסים שבארכיון ולהחזיר אותם בחזרה ללוח, יש ללחוץ על „תפריט“ > „פריטים בארכיון“.",
diff --git a/i18n/hu.i18n.json b/i18n/hu.i18n.json
index d556a8a7..72b151da 100644
--- a/i18n/hu.i18n.json
+++ b/i18n/hu.i18n.json
@@ -245,6 +245,8 @@
"language": "Nyelv",
"last-admin-desc": "You can’t change roles because there must be at least one admin.",
"leave-board": "Tábla elhagyása",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Kapcsolja ehhez a kártyához",
"list-archive-cards": "Archiváld az összes kártyát ezen a listán.",
"list-archive-cards-pop": "This will remove all the cards in this list from the board. To view archived cards and bring them back to the board, click “Menu” > “Archived Items”.",
diff --git a/i18n/id.i18n.json b/i18n/id.i18n.json
index 8cb77a77..197616a4 100644
--- a/i18n/id.i18n.json
+++ b/i18n/id.i18n.json
@@ -245,6 +245,8 @@
"language": "Bahasa",
"last-admin-desc": "Anda tidak dapat mengubah aturan karena harus ada minimal seorang Admin.",
"leave-board": "Tingalkan Panel",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Link ke kartu ini",
"list-archive-cards": "Arsipkan semua kartu ke daftar ini",
"list-archive-cards-pop": "Ini akan menghapus semua kartu di daftar inidari panel. Untuk menampilkan arsip kartu dan membawa mereka kembali ke panel, klik \"Menu\" > \"Arsip item\"",
diff --git a/i18n/it.i18n.json b/i18n/it.i18n.json
index 462c7025..4c321b70 100644
--- a/i18n/it.i18n.json
+++ b/i18n/it.i18n.json
@@ -245,6 +245,8 @@
"language": "Lingua",
"last-admin-desc": "Non puoi cambiare i ruoli perché deve esserci almeno un admin.",
"leave-board": "Abbandona bacheca",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Link a questa scheda",
"list-archive-cards": "Archivia tutte le schede in questa lista",
"list-archive-cards-pop": "Questo rimuoverà dalla bacheca tutte le schede in questa lista. Per vedere le schede archiviate e portarle indietro alla bacheca, clicca “Menu” > “Elementi archiviati”",
diff --git a/i18n/ja.i18n.json b/i18n/ja.i18n.json
index ad0af3e4..dc0ccdfb 100644
--- a/i18n/ja.i18n.json
+++ b/i18n/ja.i18n.json
@@ -245,6 +245,8 @@
"language": "言語",
"last-admin-desc": "最低でも1人以上の管理者が必要なためロールを変更できません。",
"leave-board": "ボードから退出する",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "このカードへのリンク",
"list-archive-cards": "リストの全カードをアーカイブする",
"list-archive-cards-pop": "ボードのこのリスト内のすべてのカードを取り除きます。アーカイブされたカードの確認やそれをボードに戻すには、メニューをクリックし、\"アーカイブされたアイテム\"をクリックしてください。",
diff --git a/i18n/ko.i18n.json b/i18n/ko.i18n.json
index 4497a08c..aae15ab2 100644
--- a/i18n/ko.i18n.json
+++ b/i18n/ko.i18n.json
@@ -245,6 +245,8 @@
"language": "언어",
"last-admin-desc": "적어도 하나의 관리자가 필요하기에 이 역할을 변경할 수 없습니다.",
"leave-board": "보드 멤버에서 나가기",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "카드에대한 링크",
"list-archive-cards": "목록에 있는 모든 카드를 저장소에 보관",
"list-archive-cards-pop": "보드의 목록에서 모든 카드를 삭제합니다. 보관된 카드를 보거나 그것들을 보드로 되돌릴려면, \"메뉴\" > \"보관된 아이템\"을 클릭합니다.",
diff --git a/i18n/nb.i18n.json b/i18n/nb.i18n.json
index b31c5bb9..d0bde3c0 100644
--- a/i18n/nb.i18n.json
+++ b/i18n/nb.i18n.json
@@ -245,6 +245,8 @@
"language": "Language",
"last-admin-desc": "You can’t change roles because there must be at least one admin.",
"leave-board": "Leave Board",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Link to this card",
"list-archive-cards": "Archive all cards in this list",
"list-archive-cards-pop": "This will remove all the cards in this list from the board. To view archived cards and bring them back to the board, click “Menu” > “Archived Items”.",
diff --git a/i18n/nl.i18n.json b/i18n/nl.i18n.json
index f9692b0b..41ab312b 100644
--- a/i18n/nl.i18n.json
+++ b/i18n/nl.i18n.json
@@ -245,6 +245,8 @@
"language": "Taal",
"last-admin-desc": "Je kan de permissies niet veranderen omdat er maar een administrator is.",
"leave-board": "Verlaat bord",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Link naar deze kaart",
"list-archive-cards": "Achiveer alle kaarten in deze lijst",
"list-archive-cards-pop": "Deze actie zal alle kaarten in deze lijst archiveren. Om de gearchiveerde kaarten te bekijken, klik \"Menu\" > \"Gearchiveerde Items\"",
diff --git a/i18n/pl.i18n.json b/i18n/pl.i18n.json
index 97a215a0..1185a80a 100644
--- a/i18n/pl.i18n.json
+++ b/i18n/pl.i18n.json
@@ -245,6 +245,8 @@
"language": "Język",
"last-admin-desc": "You can’t change roles because there must be at least one admin.",
"leave-board": "Opuść tablicę",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Link do tej karty",
"list-archive-cards": "Zarchiwizuj wszystkie karty z tej listy",
"list-archive-cards-pop": "This will remove all the cards in this list from the board. To view archived cards and bring them back to the board, click “Menu” > “Archived Items”.",
diff --git a/i18n/pt-BR.i18n.json b/i18n/pt-BR.i18n.json
index d0a09246..1b872644 100644
--- a/i18n/pt-BR.i18n.json
+++ b/i18n/pt-BR.i18n.json
@@ -245,6 +245,8 @@
"language": "Idioma",
"last-admin-desc": "Você não pode alterar funções porque deve existir pelo menos um administrador.",
"leave-board": "Sair do Quadro",
+ "leave-board-pop": "Tem a certeza de que pretende sair de __boardTitle__? Você será removido de todos os cartões neste quadro.",
+ "leaveBoardPopup-title": "Sair do Quadro ?",
"link-card": "Vincular a este cartão",
"list-archive-cards": "Arquivar todos os cartões nesta lista",
"list-archive-cards-pop": "Isto removerá todos os cartões desta lista do quadro. Para visualizar os cartões arquivados e trazê-los de volta para o quadro, clique em “Menu” > “Itens Arquivados”.",
diff --git a/i18n/ro.i18n.json b/i18n/ro.i18n.json
index d4e69a41..7511535d 100644
--- a/i18n/ro.i18n.json
+++ b/i18n/ro.i18n.json
@@ -245,6 +245,8 @@
"language": "Language",
"last-admin-desc": "You can’t change roles because there must be at least one admin.",
"leave-board": "Leave Board",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Link to this card",
"list-archive-cards": "Archive all cards in this list",
"list-archive-cards-pop": "This will remove all the cards in this list from the board. To view archived cards and bring them back to the board, click “Menu” > “Archived Items”.",
diff --git a/i18n/ru.i18n.json b/i18n/ru.i18n.json
index 1a8270fe..9f0eabb8 100644
--- a/i18n/ru.i18n.json
+++ b/i18n/ru.i18n.json
@@ -245,6 +245,8 @@
"language": "Язык",
"last-admin-desc": "Вы не можете изменять роли, для этого требуются права администратора.",
"leave-board": "Покинуть доску",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Доступна по ссылке",
"list-archive-cards": "Архивировать все карточки в этом списке",
"list-archive-cards-pop": "Это действие переместит все карточки в архив и они перестанут быть видимым на доске. Для просмотра карточек в архиве нажмите “Меню” > “Объекты в архиве”.",
diff --git a/i18n/sr.i18n.json b/i18n/sr.i18n.json
index 178fd804..b5b92895 100644
--- a/i18n/sr.i18n.json
+++ b/i18n/sr.i18n.json
@@ -245,6 +245,8 @@
"language": "Language",
"last-admin-desc": "You can’t change roles because there must be at least one admin.",
"leave-board": "Leave Board",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Link to this card",
"list-archive-cards": "Archive all cards in this list",
"list-archive-cards-pop": "This will remove all the cards in this list from the board. To view archived cards and bring them back to the board, click “Menu” > “Archived Items”.",
diff --git a/i18n/sv.i18n.json b/i18n/sv.i18n.json
index 7aa36077..596fe4d8 100644
--- a/i18n/sv.i18n.json
+++ b/i18n/sv.i18n.json
@@ -245,6 +245,8 @@
"language": "Språk",
"last-admin-desc": "Du kan inte ändra roller för det måste finnas minst en administratör.",
"leave-board": "Lämna anslagstavla",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Länka till detta kort",
"list-archive-cards": "Arkivera alla kort i denna lista",
"list-archive-cards-pop": "Detta tar bort alla kort i denna lista från anslagstavlan. Om du se arkiverade kort och få dem tillbaka till anslagstavlan, klicka på ”Meny” > ”Arkiverade objekt”.",
diff --git a/i18n/ta.i18n.json b/i18n/ta.i18n.json
index 5f067c7c..1d6b9da6 100644
--- a/i18n/ta.i18n.json
+++ b/i18n/ta.i18n.json
@@ -245,6 +245,8 @@
"language": "Language",
"last-admin-desc": "You can’t change roles because there must be at least one admin.",
"leave-board": "Leave Board",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Link to this card",
"list-archive-cards": "Archive all cards in this list",
"list-archive-cards-pop": "This will remove all the cards in this list from the board. To view archived cards and bring them back to the board, click “Menu” > “Archived Items”.",
diff --git a/i18n/th.i18n.json b/i18n/th.i18n.json
index b7c5dba6..f3679f71 100644
--- a/i18n/th.i18n.json
+++ b/i18n/th.i18n.json
@@ -245,6 +245,8 @@
"language": "ภาษา",
"last-admin-desc": "คุณไม่สามารถเปลี่ยนบทบาทเพราะต้องมีผู้ดูแลระบบหนึ่งคนเป็นอย่างน้อย",
"leave-board": "ทิ้งบอร์ด",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "เชื่อมโยงไปยังการ์ดใบนี้",
"list-archive-cards": "เก็บการ์ดทั้งหมดไว้ในรายการนี้",
"list-archive-cards-pop": "ลบการ์ดทั้งหมดในบอร์ด มันจะถูกนำไปเก็บไว้ที่เอกสารสำคัญ สามารถนำกลับมาใหม่ได้ด้วยการคลิก “เมนูบอร์ด” > “เก็บไว้ถาวร”.",
diff --git a/i18n/tr.i18n.json b/i18n/tr.i18n.json
index b549ecfa..c233ad98 100644
--- a/i18n/tr.i18n.json
+++ b/i18n/tr.i18n.json
@@ -245,6 +245,8 @@
"language": "Dil",
"last-admin-desc": "En az bir yönetici olması gerektiğinden rolleri değiştiremezsiniz.",
"leave-board": "Panodan ayrıl",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Bu kartın bağlantısı",
"list-archive-cards": "Bu liste içindeki tüm kartları arşivle",
"list-archive-cards-pop": "Bu işlem bu listedeki tüm kartları kaldıracak ve arşivleyecek. Arşivlenmiş kartları görmek ve panoya geri yüklemek için \"Menü\" altından \"Arşivlenmiş Öğeler\"e gidebilirsiniz.",
diff --git a/i18n/uk.i18n.json b/i18n/uk.i18n.json
index 9f581750..206e626f 100644
--- a/i18n/uk.i18n.json
+++ b/i18n/uk.i18n.json
@@ -245,6 +245,8 @@
"language": "Language",
"last-admin-desc": "You can’t change roles because there must be at least one admin.",
"leave-board": "Leave Board",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Link to this card",
"list-archive-cards": "Archive all cards in this list",
"list-archive-cards-pop": "This will remove all the cards in this list from the board. To view archived cards and bring them back to the board, click “Menu” > “Archived Items”.",
diff --git a/i18n/vi.i18n.json b/i18n/vi.i18n.json
index f0a935df..fe1fcc4a 100644
--- a/i18n/vi.i18n.json
+++ b/i18n/vi.i18n.json
@@ -245,6 +245,8 @@
"language": "Language",
"last-admin-desc": "You can’t change roles because there must be at least one admin.",
"leave-board": "Leave Board",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "Link to this card",
"list-archive-cards": "Archive all cards in this list",
"list-archive-cards-pop": "This will remove all the cards in this list from the board. To view archived cards and bring them back to the board, click “Menu” > “Archived Items”.",
diff --git a/i18n/zh-CN.i18n.json b/i18n/zh-CN.i18n.json
index 67d0575c..d07838e2 100644
--- a/i18n/zh-CN.i18n.json
+++ b/i18n/zh-CN.i18n.json
@@ -245,6 +245,8 @@
"language": "语言",
"last-admin-desc": "你不能更改角色,因为至少需要一名管理员。",
"leave-board": "离开看板",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "关联至该卡片",
"list-archive-cards": "归档列表中的所有卡片",
"list-archive-cards-pop": "这将会从本看板中移除该列表中的所有卡片。如果需要浏览已归档的卡片并且将其恢复至看板,请点击 \"菜单\" > \"回收箱\"",
diff --git a/i18n/zh-TW.i18n.json b/i18n/zh-TW.i18n.json
index 38ddec06..765d69fd 100644
--- a/i18n/zh-TW.i18n.json
+++ b/i18n/zh-TW.i18n.json
@@ -245,6 +245,8 @@
"language": "語言",
"last-admin-desc": "你不能更改角色,因為至少需要一名管理員。",
"leave-board": "離開看板",
+ "leave-board-pop": "Are you sure you want to leave __boardTitle__? You will be removed from all cards on this board.",
+ "leaveBoardPopup-title": "Leave Board ?",
"link-card": "關聯至該卡片",
"list-archive-cards": "刪除清單中的所有卡片",
"list-archive-cards-pop": "這將會從本看板中移除該清單中的所有卡片。如果需要瀏覽已刪除的卡片並且將其回復至看板,請點選\"選單\">\"回收筒\"",