瀏覽代碼

- Add Duplicate Board tooltip, and remove adding text "Copy" to duplicated board.

Thanks to xet7 !
Lauri Ojansivu 6 年之前
父節點
當前提交
0f15b6d198

+ 3 - 1
client/components/boards/boardsList.jade

@@ -22,7 +22,9 @@ template(name="boardList")
                 i.fa.js-star-board(
                   class="fa-star{{#if isStarred}} is-star-active{{else}}-o{{/if}}"
                   title="{{_ 'star-board-title'}}")
-              i.fa.js-clone-board(class="fa-clone")
+              i.fa.js-clone-board(
+                  class="fa-clone"
+                  title="{{_ 'duplicate-board'}}")
                 if hasSpentTimeCards
                   i.fa.js-has-spenttime-cards(
                     class="fa-circle{{#if hasOvertimeCards}} has-overtime-card-active{{else}} no-overtime-card-active{{/if}}"

+ 2 - 1
i18n/ar.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/bg.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/br.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/ca.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/cs.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Něco se pokazilo",
     "error-ldap-login": "Během přihlašování nastala chyba",
     "display-authentication-method": "Zobraz způsob ověřování",
-    "default-authentication-method": "Zobraz způsob ověřování"
+    "default-authentication-method": "Zobraz způsob ověřování",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/da.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/de.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Etwas ist schief gelaufen",
     "error-ldap-login": "Es ist ein Fehler beim Anmelden aufgetreten",
     "display-authentication-method": "Anzeige Authentifizierungsverfahren",
-    "default-authentication-method": "Standardauthentifizierungsverfahren"
+    "default-authentication-method": "Standardauthentifizierungsverfahren",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/el.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

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

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 1 - 1
i18n/en.i18n.json

@@ -686,5 +686,5 @@
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
     "default-authentication-method": "Default Authentication Method",
-    "copy-tag": "Copy"
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/eo.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/es-AR.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/es.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Algo no está bien",
     "error-ldap-login": "Ocurrió un error al intentar acceder",
     "display-authentication-method": "Mostrar el método de autenticación",
-    "default-authentication-method": "Método de autenticación por defecto"
+    "default-authentication-method": "Método de autenticación por defecto",
+    "duplicate-board": "Duplicar tablero"
 }

+ 2 - 1
i18n/eu.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/fa.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "یک اشتباه رخ داده شده است",
     "error-ldap-login": "هنگام تلاش برای ورود به یک خطا رخ داد",
     "display-authentication-method": "نمایش نوع اعتبارسنجی",
-    "default-authentication-method": "نوع اعتبارسنجی پیشفرض"
+    "default-authentication-method": "نوع اعتبارسنجی پیشفرض",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/fi.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Jotain meni pieleen",
     "error-ldap-login": "Virhe tapahtui yrittäessä kirjautua sisään",
     "display-authentication-method": "Näytä kirjautumistapa",
-    "default-authentication-method": "Oletus kirjautumistapa"
+    "default-authentication-method": "Oletus kirjautumistapa",
+    "duplicate-board": "Tee kaksoiskappale taulusta"
 }

+ 2 - 1
i18n/fr.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Une erreur inconnue s'est produite",
     "error-ldap-login": "Une erreur s'est produite lors de la tentative de connexion",
     "display-authentication-method": "Afficher la méthode d'authentification",
-    "default-authentication-method": "Méthode d'authentification par défaut"
+    "default-authentication-method": "Méthode d'authentification par défaut",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/gl.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/he.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "מהו השתבש",
     "error-ldap-login": "אירעה שגיאה בעת ניסיון הכניסה",
     "display-authentication-method": "הצגת שיטת אימות",
-    "default-authentication-method": "שיטת אימות כבררת מחדל"
+    "default-authentication-method": "שיטת אימות כבררת מחדל",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/hi.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/hu.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Valami hiba történt",
     "error-ldap-login": "Hiba történt bejelentkezés közben",
     "display-authentication-method": "Hitelelesítési mód mutatása",
-    "default-authentication-method": "Alapértelmezett hitelesítési mód"
+    "default-authentication-method": "Alapértelmezett hitelesítési mód",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/hy.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/id.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/ig.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/it.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Qualcosa è andato storto",
     "error-ldap-login": "C'è stato un errore mentre provavi ad effettuare il login",
     "display-authentication-method": "Mostra il metodo di autenticazione",
-    "default-authentication-method": "Metodo di autenticazione predefinito"
+    "default-authentication-method": "Metodo di autenticazione predefinito",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/ja.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/ka.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/km.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/ko.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/lv.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/mk.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/mn.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/nb.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/nl.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/oc.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/pl.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Coś poszło nie tak",
     "error-ldap-login": "Wystąpił błąd w trakcie logowania",
     "display-authentication-method": "Wyświetl metodę logowania",
-    "default-authentication-method": "Domyślna metoda logowania"
+    "default-authentication-method": "Domyślna metoda logowania",
+    "duplicate-board": "Duplicate Board"
 }

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

@@ -682,5 +682,6 @@
     "error-undefined": "Algo deu errado",
     "error-ldap-login": "Um erro ocorreu enquanto tentava entrar",
     "display-authentication-method": "Mostrar Método de Autenticação",
-    "default-authentication-method": "Método de Autenticação Padrão"
+    "default-authentication-method": "Método de Autenticação Padrão",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/pt.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/ro.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/ru.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Что-то пошло не так",
     "error-ldap-login": "Ошибка при попытке авторизации",
     "display-authentication-method": "Показывать способ авторизации",
-    "default-authentication-method": "Способ авторизации по умолчанию"
+    "default-authentication-method": "Способ авторизации по умолчанию",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/sr.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/sv.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Något gick fel",
     "error-ldap-login": "Ett fel uppstod när du försökte logga in",
     "display-authentication-method": "Visa autentiseringsmetod",
-    "default-authentication-method": "Standard autentiseringsmetod"
+    "default-authentication-method": "Standard autentiseringsmetod",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/sw.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/ta.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/th.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/tr.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Bir şeyler yanlış gitti",
     "error-ldap-login": "Giriş yapmaya çalışırken bir hata oluştu",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/uk.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
i18n/vi.i18n.json

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

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

@@ -682,5 +682,6 @@
     "error-undefined": "出了点问题",
     "error-ldap-login": "尝试登陆时出错",
     "display-authentication-method": "显示认证方式",
-    "default-authentication-method": "缺省认证方式"
+    "default-authentication-method": "缺省认证方式",
+    "duplicate-board": "Duplicate Board"
 }

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

@@ -682,5 +682,6 @@
     "error-undefined": "Something went wrong",
     "error-ldap-login": "An error occurred while trying to login",
     "display-authentication-method": "Display Authentication Method",
-    "default-authentication-method": "Default Authentication Method"
+    "default-authentication-method": "Default Authentication Method",
+    "duplicate-board": "Duplicate Board"
 }

+ 2 - 1
models/import.js

@@ -39,7 +39,8 @@ Meteor.methods({
     const addData = {};
     addData.membersMapping = wekanMembersMapper.getMembersToMap(data);
     const creator =  new WekanCreator(addData);
-    data.title = `${data.title  } - ${  TAPi18n.__('copy-tag')}`;
+    //data.title = `${data.title  } - ${  TAPi18n.__('copy-tag')}`;
+    data.title = `${data.title}`;
     return creator.create(data, currentBoardId);
   },
 });