소스 검색

Merge branch 'amadilsons-userSelfRemove' into devel

User can leave board on Standalone Wekan. Thanks to amadilsons !
Lauri Ojansivu 7 년 전
부모
커밋
5532a0071a

+ 2 - 1
CHANGELOG.md

@@ -3,7 +3,8 @@
 This release adds the following new features:
 This release adds the following new features:
 
 
 * [WIP Limits](https://github.com/wekan/wekan/pull/1278);
 * [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:
 and fixes the following bugs:
 
 

+ 11 - 7
client/components/sidebar/sidebar.jade

@@ -82,23 +82,27 @@ template(name="memberPopup")
     ul.pop-over-list
     ul.pop-over-list
       li
       li
         a.js-filter-member {{_ 'filter-cards'}}
         a.js-filter-member {{_ 'filter-cards'}}
-      if currentUser.isBoardAdmin
-        unless isSandstorm
+      unless isSandstorm
+        if currentUser.isBoardAdmin
           li
           li
             a.js-change-role
             a.js-change-role
               | {{_ 'change-permissions'}}
               | {{_ 'change-permissions'}}
               span.quiet (#{memberType})
               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")
 template(name="removeMemberPopup")
   p {{_ 'remove-member-pop' name=user.profile.fullname username=user.username boardTitle=board.title}}
   p {{_ 'remove-member-pop' name=user.profile.fullname username=user.username boardTitle=board.title}}
   button.js-confirm.negate.full(type="submit") {{_ 'remove-member'}}
   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")
 template(name="addMemberPopup")
   .js-search-member
   .js-search-member
     +esInput(index="users")
     +esInput(index="users")

+ 10 - 6
client/components/sidebar/sidebar.js

@@ -153,15 +153,13 @@ Template.memberPopup.events({
     Boards.findOne(boardId).removeMember(memberId);
     Boards.findOne(boardId).removeMember(memberId);
     Popup.close();
     Popup.close();
   }),
   }),
-  'click .js-leave-member'() {
+  'click .js-leave-member': Popup.afterConfirm('leaveBoard', () => {
     const boardId = Session.get('currentBoard');
     const boardId = Session.get('currentBoard');
     Meteor.call('quitBoard', boardId, (err, ret) => {
     Meteor.call('quitBoard', boardId, (err, ret) => {
-      if (!ret && ret) {
-        Popup.close();
-        FlowRouter.go('home');
-      }
+      Popup.close();
+      FlowRouter.go('home');
     });
     });
-  },
+  }),
 });
 });
 
 
 Template.removeMemberPopup.helpers({
 Template.removeMemberPopup.helpers({
@@ -173,6 +171,12 @@ Template.removeMemberPopup.helpers({
   },
   },
 });
 });
 
 
+Template.leaveBoardPopup.helpers({
+  board() {
+    return Boards.findOne(Session.get('currentBoard'));
+  },
+});
+
 Template.membersWidget.helpers({
 Template.membersWidget.helpers({
   isInvited() {
   isInvited() {
     const user = Meteor.user();
     const user = Meteor.user();

+ 2 - 0
i18n/ar.i18n.json

@@ -245,6 +245,8 @@
     "language": "لغة",
     "language": "لغة",
     "last-admin-desc": "لا يمكن تعديل الأدوار لأن ذلك يتطلب  صلاحيات المدير.",
     "last-admin-desc": "لا يمكن تعديل الأدوار لأن ذلك يتطلب  صلاحيات المدير.",
     "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-card": "ربط هذه البطاقة",
     "list-archive-cards": "أرضفت بطاقات هذه القائمة",
     "list-archive-cards": "أرضفت بطاقات هذه القائمة",
     "list-archive-cards-pop": "سيقتضي هذا أرشفة جميع بطاقات هذه القائمة. لمشاهدة أرشيف البطاقات أو إعادتها إلى اللوحة، اضغط على -القائمة- ثم - أرشيف العناصر-",
     "list-archive-cards-pop": "سيقتضي هذا أرشفة جميع بطاقات هذه القائمة. لمشاهدة أرشيف البطاقات أو إعادتها إلى اللوحة، اضغط على -القائمة- ثم - أرشيف العناصر-",

+ 2 - 0
i18n/br.i18n.json

@@ -245,6 +245,8 @@
     "language": "Yezh",
     "language": "Yezh",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "leave-board": "Leave Board",
     "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",
     "link-card": "Link to this card",
     "list-archive-cards": "Archive all cards in this list",
     "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”.",
     "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”.",

+ 2 - 0
i18n/ca.i18n.json

@@ -245,6 +245,8 @@
     "language": "Idioma",
     "language": "Idioma",
     "last-admin-desc": "No podeu canviar rols perquè ha d'haver-hi almenys un administrador.",
     "last-admin-desc": "No podeu canviar rols perquè ha d'haver-hi almenys un administrador.",
     "leave-board": "Abandona tauler",
     "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",
     "link-card": "Enllaç a aquesta fitxa",
     "list-archive-cards": "Arxiva totes les fitxes d'aquesta llista",
     "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 \".",
     "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 \".",

+ 2 - 0
i18n/cs.i18n.json

@@ -245,6 +245,8 @@
     "language": "Jazyk",
     "language": "Jazyk",
     "last-admin-desc": "Nelze změnit role, protože musí existovat alespoň jeden administrátor.",
     "last-admin-desc": "Nelze změnit role, protože musí existovat alespoň jeden administrátor.",
     "leave-board": "Opustit tablo",
     "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",
     "link-card": "Odkázat na tuto kartu",
     "list-archive-cards": "Archivovat všechny karty na tomto seznamu",
     "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\".",
     "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\".",

+ 2 - 0
i18n/de.i18n.json

@@ -245,6 +245,8 @@
     "language": "Sprache",
     "language": "Sprache",
     "last-admin-desc": "Sie können keine Rollen ändern, weil es mindestens einen Administrator geben muss.",
     "last-admin-desc": "Sie können keine Rollen ändern, weil es mindestens einen Administrator geben muss.",
     "leave-board": "Board verlassen",
     "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",
     "link-card": "Link zu dieser Karte",
     "list-archive-cards": "Alle Karten in dieser Liste archivieren",
     "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\".",
     "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\".",

+ 2 - 0
i18n/en-GB.i18n.json

@@ -245,6 +245,8 @@
     "language": "Language",
     "language": "Language",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "leave-board": "Leave Board",
     "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",
     "link-card": "Link to this card",
     "list-archive-cards": "Archive all cards in this list",
     "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”.",
     "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”.",

+ 2 - 0
i18n/en.i18n.json

@@ -245,6 +245,8 @@
     "language": "Language",
     "language": "Language",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "leave-board": "Leave Board",
     "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",
     "link-card": "Link to this card",
     "list-archive-cards": "Archive all cards in this list",
     "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”.",
     "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”.",

+ 2 - 0
i18n/eo.i18n.json

@@ -245,6 +245,8 @@
     "language": "Lingvo",
     "language": "Lingvo",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "leave-board": "Leave Board",
     "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",
     "link-card": "Ligi al ĉitiu karto",
     "list-archive-cards": "Archive all cards in this list",
     "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”.",
     "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”.",

+ 3 - 1
i18n/es.i18n.json

@@ -171,7 +171,7 @@
     "edit": "Editar",
     "edit": "Editar",
     "edit-avatar": "Cambiar el avatar",
     "edit-avatar": "Cambiar el avatar",
     "edit-profile": "Editar el perfil",
     "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",
     "editCardStartDatePopup-title": "Cambiar la fecha de inicio",
     "editCardDueDatePopup-title": "Cambiar la fecha de vencimiento",
     "editCardDueDatePopup-title": "Cambiar la fecha de vencimiento",
     "editLabelPopup-title": "Cambiar la etiqueta",
     "editLabelPopup-title": "Cambiar la etiqueta",
@@ -245,6 +245,8 @@
     "language": "Idioma",
     "language": "Idioma",
     "last-admin-desc": "No puedes cambiar roles porque debe haber al menos un administrador.",
     "last-admin-desc": "No puedes cambiar roles porque debe haber al menos un administrador.",
     "leave-board": "Abandonar el tablero",
     "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",
     "link-card": "Enlace a esta tarjeta",
     "list-archive-cards": "Archivar todas las tarjetas de esta lista",
     "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'.",
     "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'.",

+ 2 - 0
i18n/eu.i18n.json

@@ -245,6 +245,8 @@
     "language": "Hizkuntza",
     "language": "Hizkuntza",
     "last-admin-desc": "Ezin duzu rola aldatu gutxienez kudeatzaile bat behar delako.",
     "last-admin-desc": "Ezin duzu rola aldatu gutxienez kudeatzaile bat behar delako.",
     "leave-board": "Utzi arbela",
     "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",
     "link-card": "Lotura txartel honetara",
     "list-archive-cards": "Artxibatu zerrendako txartel guztiak",
     "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.",
     "list-archive-cards-pop": "Honek zerrenda honetako txartel guztiak arbeletik ezabatuko ditu. Artxibatutako txartelak ikusteko eta arbelera berreskuratzeko, zoaz \"Menua > Artxibatutako elementuak\" atalera.",

+ 2 - 0
i18n/fa.i18n.json

@@ -245,6 +245,8 @@
     "language": "زبان",
     "language": "زبان",
     "last-admin-desc": "شما نمی توانید نقش ـroleـ را تغییر دهید چراکه باید حداقل یک مدیری وجود داشته باشد.",
     "last-admin-desc": "شما نمی توانید نقش ـroleـ را تغییر دهید چراکه باید حداقل یک مدیری وجود داشته باشد.",
     "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-card": "ارجاع به این کارت",
     "list-archive-cards": "بایگانی تمامی کارتهای این لیست",
     "list-archive-cards": "بایگانی تمامی کارتهای این لیست",
     "list-archive-cards-pop": "این اقدام، همه کارت های این لیست از تخته راحذف خواهد کرد. جهت مشاهده کارت های بایگانی و بازگرداندن آنها ، \"Menu\",\"Archived Item\" را کلیک کنید.",
     "list-archive-cards-pop": "این اقدام، همه کارت های این لیست از تخته راحذف خواهد کرد. جهت مشاهده کارت های بایگانی و بازگرداندن آنها ، \"Menu\",\"Archived Item\" را کلیک کنید.",

+ 2 - 0
i18n/fi.i18n.json

@@ -245,6 +245,8 @@
     "language": "Kieli",
     "language": "Kieli",
     "last-admin-desc": "Et voi vaihtaa rooleja koska täytyy olla olemassa ainakin yksi ylläpitäjä.",
     "last-admin-desc": "Et voi vaihtaa rooleja koska täytyy olla olemassa ainakin yksi ylläpitäjä.",
     "leave-board": "Jää pois taululta",
     "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",
     "link-card": "Linkki tähän korttiin",
     "list-archive-cards": "Arkistoi kaikki kortit tässä listassa",
     "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”.",
     "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”.",

+ 2 - 0
i18n/fr.i18n.json

@@ -245,6 +245,8 @@
     "language": "Langue",
     "language": "Langue",
     "last-admin-desc": "Vous ne pouvez pas changer les rôles car il doit y avoir au moins un administrateur.",
     "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": "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",
     "link-card": "Lier à cette carte",
     "list-archive-cards": "Archiver toutes les cartes de cette liste",
     "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 ».",
     "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 ».",

+ 2 - 0
i18n/gl.i18n.json

@@ -245,6 +245,8 @@
     "language": "Idioma",
     "language": "Idioma",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "leave-board": "Saír do taboleiro",
     "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",
     "link-card": "Link to this card",
     "list-archive-cards": "Archive all cards in this list",
     "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”.",
     "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”.",

+ 2 - 0
i18n/he.i18n.json

@@ -245,6 +245,8 @@
     "language": "שפה",
     "language": "שפה",
     "last-admin-desc": "אין אפשרות לשנות תפקידים כיוון שחייב להיות מנהל אחד לפחות.",
     "last-admin-desc": "אין אפשרות לשנות תפקידים כיוון שחייב להיות מנהל אחד לפחות.",
     "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-card": "קישור לכרטיס זה",
     "list-archive-cards": "העברת כל הכרטיסים שברשימה זו לארכיון",
     "list-archive-cards": "העברת כל הכרטיסים שברשימה זו לארכיון",
     "list-archive-cards-pop": "פעולה זו תסיר את כל הכרטיסים שברשימה הזו מהלוח. כדי לצפות בכרטיסים שבארכיון ולהחזיר אותם בחזרה ללוח, יש ללחוץ על „תפריט“ > „פריטים בארכיון“.",
     "list-archive-cards-pop": "פעולה זו תסיר את כל הכרטיסים שברשימה הזו מהלוח. כדי לצפות בכרטיסים שבארכיון ולהחזיר אותם בחזרה ללוח, יש ללחוץ על „תפריט“ > „פריטים בארכיון“.",

+ 2 - 0
i18n/hu.i18n.json

@@ -245,6 +245,8 @@
     "language": "Nyelv",
     "language": "Nyelv",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "leave-board": "Tábla elhagyása",
     "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",
     "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": "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”.",
     "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”.",

+ 2 - 0
i18n/id.i18n.json

@@ -245,6 +245,8 @@
     "language": "Bahasa",
     "language": "Bahasa",
     "last-admin-desc": "Anda tidak dapat mengubah aturan karena harus ada minimal seorang Admin.",
     "last-admin-desc": "Anda tidak dapat mengubah aturan karena harus ada minimal seorang Admin.",
     "leave-board": "Tingalkan Panel",
     "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",
     "link-card": "Link ke kartu ini",
     "list-archive-cards": "Arsipkan semua kartu ke daftar 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\"",
     "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\"",

+ 2 - 0
i18n/it.i18n.json

@@ -245,6 +245,8 @@
     "language": "Lingua",
     "language": "Lingua",
     "last-admin-desc": "Non puoi cambiare i ruoli perché deve esserci almeno un admin.",
     "last-admin-desc": "Non puoi cambiare i ruoli perché deve esserci almeno un admin.",
     "leave-board": "Abbandona bacheca",
     "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",
     "link-card": "Link a questa scheda",
     "list-archive-cards": "Archivia tutte le schede in questa lista",
     "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”",
     "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”",

+ 2 - 0
i18n/ja.i18n.json

@@ -245,6 +245,8 @@
     "language": "言語",
     "language": "言語",
     "last-admin-desc": "最低でも1人以上の管理者が必要なためロールを変更できません。",
     "last-admin-desc": "最低でも1人以上の管理者が必要なためロールを変更できません。",
     "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-card": "このカードへのリンク",
     "list-archive-cards": "リストの全カードをアーカイブする",
     "list-archive-cards": "リストの全カードをアーカイブする",
     "list-archive-cards-pop": "ボードのこのリスト内のすべてのカードを取り除きます。アーカイブされたカードの確認やそれをボードに戻すには、メニューをクリックし、\"アーカイブされたアイテム\"をクリックしてください。",
     "list-archive-cards-pop": "ボードのこのリスト内のすべてのカードを取り除きます。アーカイブされたカードの確認やそれをボードに戻すには、メニューをクリックし、\"アーカイブされたアイテム\"をクリックしてください。",

+ 2 - 0
i18n/ko.i18n.json

@@ -245,6 +245,8 @@
     "language": "언어",
     "language": "언어",
     "last-admin-desc": "적어도 하나의 관리자가 필요하기에 이 역할을 변경할 수 없습니다.",
     "last-admin-desc": "적어도 하나의 관리자가 필요하기에 이 역할을 변경할 수 없습니다.",
     "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-card": "카드에대한 링크",
     "list-archive-cards": "목록에 있는 모든 카드를 저장소에 보관",
     "list-archive-cards": "목록에 있는 모든 카드를 저장소에 보관",
     "list-archive-cards-pop": "보드의 목록에서 모든 카드를 삭제합니다. 보관된 카드를 보거나 그것들을 보드로 되돌릴려면, \"메뉴\" > \"보관된 아이템\"을 클릭합니다.",
     "list-archive-cards-pop": "보드의 목록에서 모든 카드를 삭제합니다. 보관된 카드를 보거나 그것들을 보드로 되돌릴려면, \"메뉴\" > \"보관된 아이템\"을 클릭합니다.",

+ 2 - 0
i18n/nb.i18n.json

@@ -245,6 +245,8 @@
     "language": "Language",
     "language": "Language",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "leave-board": "Leave Board",
     "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",
     "link-card": "Link to this card",
     "list-archive-cards": "Archive all cards in this list",
     "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”.",
     "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”.",

+ 2 - 0
i18n/nl.i18n.json

@@ -245,6 +245,8 @@
     "language": "Taal",
     "language": "Taal",
     "last-admin-desc": "Je kan de permissies niet veranderen omdat er maar een administrator is.",
     "last-admin-desc": "Je kan de permissies niet veranderen omdat er maar een administrator is.",
     "leave-board": "Verlaat bord",
     "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",
     "link-card": "Link naar deze kaart",
     "list-archive-cards": "Achiveer alle kaarten in deze lijst",
     "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\"",
     "list-archive-cards-pop": "Deze actie zal alle kaarten in deze lijst archiveren. Om de gearchiveerde kaarten te bekijken, klik \"Menu\" > \"Gearchiveerde Items\"",

+ 2 - 0
i18n/pl.i18n.json

@@ -245,6 +245,8 @@
     "language": "Język",
     "language": "Język",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "leave-board": "Opuść tablicę",
     "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",
     "link-card": "Link do tej karty",
     "list-archive-cards": "Zarchiwizuj wszystkie karty z tej listy",
     "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”.",
     "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”.",

+ 2 - 0
i18n/pt-BR.i18n.json

@@ -245,6 +245,8 @@
     "language": "Idioma",
     "language": "Idioma",
     "last-admin-desc": "Você não pode alterar funções porque deve existir pelo menos um administrador.",
     "last-admin-desc": "Você não pode alterar funções porque deve existir pelo menos um administrador.",
     "leave-board": "Sair do Quadro",
     "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",
     "link-card": "Vincular a este cartão",
     "list-archive-cards": "Arquivar todos os cartões nesta lista",
     "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”.",
     "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”.",

+ 2 - 0
i18n/ro.i18n.json

@@ -245,6 +245,8 @@
     "language": "Language",
     "language": "Language",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "leave-board": "Leave Board",
     "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",
     "link-card": "Link to this card",
     "list-archive-cards": "Archive all cards in this list",
     "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”.",
     "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”.",

+ 2 - 0
i18n/ru.i18n.json

@@ -245,6 +245,8 @@
     "language": "Язык",
     "language": "Язык",
     "last-admin-desc": "Вы не можете изменять роли, для этого требуются права администратора.",
     "last-admin-desc": "Вы не можете изменять роли, для этого требуются права администратора.",
     "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-card": "Доступна по ссылке",
     "list-archive-cards": "Архивировать все карточки в этом списке",
     "list-archive-cards": "Архивировать все карточки в этом списке",
     "list-archive-cards-pop": "Это действие переместит все карточки в архив и они перестанут быть видимым на доске. Для просмотра карточек в архиве нажмите “Меню” > “Объекты в архиве”.",
     "list-archive-cards-pop": "Это действие переместит все карточки в архив и они перестанут быть видимым на доске. Для просмотра карточек в архиве нажмите “Меню” > “Объекты в архиве”.",

+ 2 - 0
i18n/sr.i18n.json

@@ -245,6 +245,8 @@
     "language": "Language",
     "language": "Language",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "leave-board": "Leave Board",
     "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",
     "link-card": "Link to this card",
     "list-archive-cards": "Archive all cards in this list",
     "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”.",
     "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”.",

+ 2 - 0
i18n/sv.i18n.json

@@ -245,6 +245,8 @@
     "language": "Språk",
     "language": "Språk",
     "last-admin-desc": "Du kan inte ändra roller för det måste finnas minst en administratör.",
     "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": "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",
     "link-card": "Länka till detta kort",
     "list-archive-cards": "Arkivera alla kort i denna lista",
     "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”.",
     "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”.",

+ 2 - 0
i18n/ta.i18n.json

@@ -245,6 +245,8 @@
     "language": "Language",
     "language": "Language",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "leave-board": "Leave Board",
     "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",
     "link-card": "Link to this card",
     "list-archive-cards": "Archive all cards in this list",
     "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”.",
     "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”.",

+ 2 - 0
i18n/th.i18n.json

@@ -245,6 +245,8 @@
     "language": "ภาษา",
     "language": "ภาษา",
     "last-admin-desc": "คุณไม่สามารถเปลี่ยนบทบาทเพราะต้องมีผู้ดูแลระบบหนึ่งคนเป็นอย่างน้อย",
     "last-admin-desc": "คุณไม่สามารถเปลี่ยนบทบาทเพราะต้องมีผู้ดูแลระบบหนึ่งคนเป็นอย่างน้อย",
     "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-card": "เชื่อมโยงไปยังการ์ดใบนี้",
     "list-archive-cards": "เก็บการ์ดทั้งหมดไว้ในรายการนี้",
     "list-archive-cards": "เก็บการ์ดทั้งหมดไว้ในรายการนี้",
     "list-archive-cards-pop": "ลบการ์ดทั้งหมดในบอร์ด มันจะถูกนำไปเก็บไว้ที่เอกสารสำคัญ สามารถนำกลับมาใหม่ได้ด้วยการคลิก “เมนูบอร์ด” > “เก็บไว้ถาวร”.",
     "list-archive-cards-pop": "ลบการ์ดทั้งหมดในบอร์ด มันจะถูกนำไปเก็บไว้ที่เอกสารสำคัญ สามารถนำกลับมาใหม่ได้ด้วยการคลิก “เมนูบอร์ด” > “เก็บไว้ถาวร”.",

+ 2 - 0
i18n/tr.i18n.json

@@ -245,6 +245,8 @@
     "language": "Dil",
     "language": "Dil",
     "last-admin-desc": "En az bir yönetici olması gerektiğinden rolleri değiştiremezsiniz.",
     "last-admin-desc": "En az bir yönetici olması gerektiğinden rolleri değiştiremezsiniz.",
     "leave-board": "Panodan ayrıl",
     "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ı",
     "link-card": "Bu kartın bağlantısı",
     "list-archive-cards": "Bu liste içindeki tüm kartları arşivle",
     "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.",
     "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.",

+ 2 - 0
i18n/uk.i18n.json

@@ -245,6 +245,8 @@
     "language": "Language",
     "language": "Language",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "leave-board": "Leave Board",
     "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",
     "link-card": "Link to this card",
     "list-archive-cards": "Archive all cards in this list",
     "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”.",
     "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”.",

+ 2 - 0
i18n/vi.i18n.json

@@ -245,6 +245,8 @@
     "language": "Language",
     "language": "Language",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "last-admin-desc": "You can’t change roles because there must be at least one admin.",
     "leave-board": "Leave Board",
     "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",
     "link-card": "Link to this card",
     "list-archive-cards": "Archive all cards in this list",
     "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”.",
     "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”.",

+ 2 - 0
i18n/zh-CN.i18n.json

@@ -245,6 +245,8 @@
     "language": "语言",
     "language": "语言",
     "last-admin-desc": "你不能更改角色,因为至少需要一名管理员。",
     "last-admin-desc": "你不能更改角色,因为至少需要一名管理员。",
     "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-card": "关联至该卡片",
     "list-archive-cards": "归档列表中的所有卡片",
     "list-archive-cards": "归档列表中的所有卡片",
     "list-archive-cards-pop": "这将会从本看板中移除该列表中的所有卡片。如果需要浏览已归档的卡片并且将其恢复至看板,请点击 \"菜单\" > \"回收箱\"",
     "list-archive-cards-pop": "这将会从本看板中移除该列表中的所有卡片。如果需要浏览已归档的卡片并且将其恢复至看板,请点击 \"菜单\" > \"回收箱\"",

+ 2 - 0
i18n/zh-TW.i18n.json

@@ -245,6 +245,8 @@
     "language": "語言",
     "language": "語言",
     "last-admin-desc": "你不能更改角色,因為至少需要一名管理員。",
     "last-admin-desc": "你不能更改角色,因為至少需要一名管理員。",
     "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-card": "關聯至該卡片",
     "list-archive-cards": "刪除清單中的所有卡片",
     "list-archive-cards": "刪除清單中的所有卡片",
     "list-archive-cards-pop": "這將會從本看板中移除該清單中的所有卡片。如果需要瀏覽已刪除的卡片並且將其回復至看板,請點選\"選單\">\"回收筒\"",
     "list-archive-cards-pop": "這將會從本看板中移除該清單中的所有卡片。如果需要瀏覽已刪除的卡片並且將其回復至看板,請點選\"選單\">\"回收筒\"",