浏览代码

Merge branch 'wekan:master' into master

Vid Smole 2 年之前
父节点
当前提交
e5123f2d81

+ 9 - 5
CHANGELOG.md

@@ -33,11 +33,13 @@ Thanks to above GitHub users for their contributions and translators for their t
 
 This release adds the following new features:
 
-- Preview PDF.
-  [Part 1](https://github.com/wekan/wekan/pull/4989),
-  [Part 2](https://github.com/wekan/wekan/commit/83ae1d4a19925363d8f176553fb10a98a77420be).
-  Thanks to VidVidex and xet7.
-- [Show Meteor dependency chain with rebuild-wekan.sh](commit ba9f9705d43189d2491266af1fd4817ff34a3b59).
+- [Preview PDF](https://github.com/wekan/wekan/pull/4989).
+  Thanks to VidVidex.
+- [Preview PDF translations](https://github.com/wekan/wekan/commit/83ae1d4a19925363d8f176553fb10a98a77420be).
+  Thanks xet7.
+- [Preview PDF to have full width, close at top, and improve viewing at mobile](https://github.com/wekan/wekan/commit/4be5727a18472920ed775b8a2024b9c8ca2fdf0a).
+  Thanks to xet7.
+- [Show Meteor dependency chain with rebuild-wekan.sh](https://github.com/wekan/wekan/commit/ba9f9705d43189d2491266af1fd4817ff34a3b59).
   Thanks to xet7.
 
 and adds the following updates:
@@ -48,6 +50,8 @@ and adds the following updates:
   [Part 1](https://github.com/wekan/wekan/commit/7d59ae93f9263c383a1c8c8605490d54b1e09ed7),
   [Part 2](https://github.com/wekan/wekan/commit/3c2cc351f4bbe82b6870bab0e1891823c359e789).
   Thanks to xet7.
+- [MongoDB 6.0.7 at Snap](https://github.com/wekan/wekan/commit/5babe0358deae4b01261ee8655ec0e5a38f0344d).
+  Thanks to MongoDB developers.
 
 and fixes the following bugs:
 

+ 6 - 12
client/components/cards/attachments.css

@@ -96,7 +96,8 @@
   text-align: center;
 }
 #pdf-viewer {
-  width: 40vw;
+  margin-top: 4vh;
+  width: 100%;
   height: 100vh;
 }
 .pdf-preview-error{
@@ -105,18 +106,7 @@
   font-size: 2em;
   color: white;
 }
-@media screen and (max-width: 1600px) {
-  #pdf-viewer {
-    width: 60vw;
-  }
-}
-
 @media screen and (max-width: 800px) {
-
-  #pdf-viewer {
-    width: 100vh;
-  }
-
   .attachments-gallery .attachment-item {
     width: 48%;
   }
@@ -128,6 +118,10 @@
   }
 }
 @media screen and (max-width: 360px) {
+  #pdf-viewer {
+    margin-top: 5vh;
+    width: 100%;
+  }
   .attachments-gallery .attachment-item {
     width: 100%;
   }

+ 1 - 1
imports/i18n/data/de.i18n.json

@@ -1220,5 +1220,5 @@
   "max-avatar-filesize": "Maximale Profilbild Größe in Bytes:",
   "allowed-avatar-filetypes": "Erlaubte Profilbild Dateitypen:",
   "invalid-file": "Wenn der Dateiname ungültig ist, wird das Hochladen oder Umbenennen abgebrochen.",
-  "preview-pdf-not-supported": "Your device does not support previewing PDF. Try downloading instead."
+  "preview-pdf-not-supported": "Dein Gerät unterstützt keine PDF Vorschau. Versuche sie stattdessen herunterzuladen."
 }

+ 3 - 3
imports/i18n/data/eu.i18n.json

@@ -732,7 +732,7 @@
   "description-on-minicard": "Description on minicard",
   "cover-attachment-on-minicard": "minitxartelaren azalaren irudia",
   "badge-attachment-on-minicard": "Eranskinen kopurua minitxartelean",
-  "card-sorting-by-number-on-minicard": "Card sorting by number on minicard",
+  "card-sorting-by-number-on-minicard": "Txartelak zenbakien arabera ordenatzea minitxartelean",
   "prefix-with-full-path": "Prefix with full path",
   "prefix-with-parent": "Prefix with parent",
   "subtext-with-full-path": "Subtext with full path",
@@ -1089,7 +1089,7 @@
   "label-names": "Label Names",
   "archived-at": "hemen gordeta:",
   "sort-cards": "Ordenatu txartelak",
-  "sort-is-on": "Sort is on",
+  "sort-is-on": "Ordenatzea aktibatuta dago",
   "cardsSortPopup-title": "Ordenatu txartelak",
   "due-date": "Due Date",
   "server-error": "Server Error",
@@ -1220,5 +1220,5 @@
   "max-avatar-filesize": "Avatar fitxategien gehienezko tamaina bytetan:",
   "allowed-avatar-filetypes": "Baimendutako avatar fitxategi motak:",
   "invalid-file": "Fitxategi-izena baliogabea bada, karga edo izena aldaketa bertan behera geratuko da.",
-  "preview-pdf-not-supported": "Your device does not support previewing PDF. Try downloading instead."
+  "preview-pdf-not-supported": "Zure gailuak ez du onartzen PDF aurrebistarik. Saiatu deskargatzen."
 }

+ 1 - 1
imports/i18n/data/he.i18n.json

@@ -1220,5 +1220,5 @@
   "max-avatar-filesize": "גודל ההעלאה המרבי לתמונת משתמש בבתים:",
   "allowed-avatar-filetypes": "סוגי תמונות משתמשים מותרים:",
   "invalid-file": "אם שם הקובץ שגוי, העלאה או שינוי שם מושבתים.",
-  "preview-pdf-not-supported": "Your device does not support previewing PDF. Try downloading instead."
+  "preview-pdf-not-supported": "המכשיר שלך לא תומך בהצגה מקדימה של PDF. כדאי לנסות להוריד במקום."
 }

+ 1 - 1
imports/i18n/data/ko.i18n.json

@@ -1220,5 +1220,5 @@
   "max-avatar-filesize": "최대 아바타 바이트 단위 파일크기:",
   "allowed-avatar-filetypes": "허용된 아바타 파일유형:",
   "invalid-file": "파일명이 잘못됐다면, 업로드 또는 이름 바꾸기가 취소됩니다.",
-  "preview-pdf-not-supported": "Your device does not support previewing PDF. Try downloading instead."
+  "preview-pdf-not-supported": "장치가 PDF 미리보기를 지원하지 않습니다. 대신 내려받기를 시도하세요."
 }

+ 1 - 1
imports/i18n/data/nl.i18n.json

@@ -1220,5 +1220,5 @@
   "max-avatar-filesize": "Maximale avatar bestandsgrootte in bytes:",
   "allowed-avatar-filetypes": "Toegestane avatar bestandstypen:",
   "invalid-file": "Als de bestandsnaam ongeldig is wordt de upload of het hernoemen geannuleerd.",
-  "preview-pdf-not-supported": "Your device does not support previewing PDF. Try downloading instead."
+  "preview-pdf-not-supported": "Dit apparaat ondersteund geen voorbeeld PDF. Probeer het daarom te downloaden. "
 }

+ 1 - 1
imports/i18n/data/pt-BR.i18n.json

@@ -1220,5 +1220,5 @@
   "max-avatar-filesize": "Tamanho máximo do arquivo do avatar em bytes:",
   "allowed-avatar-filetypes": "Tipos de arquivos permitidos para avatar:",
   "invalid-file": "Se nome do arquivo for inválido, o upload ou renomeação será cancelada.",
-  "preview-pdf-not-supported": "Your device does not support previewing PDF. Try downloading instead."
+  "preview-pdf-not-supported": "Seu dispositivo não suporta a pré-visualização de PDF. Tente baixar o arquivo."
 }

+ 1 - 1
snapcraft.yaml

@@ -65,7 +65,7 @@ apps:
 
 parts:
     mongodb:
-        source: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-6.0.6.tgz
+        source: https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu2004-6.0.7.tgz
         plugin: dump
         stage-packages:
             - libssl1.1