1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-04-28 03:10:45 +00:00

update sdoc version and sdoc translate

This commit is contained in:
杨顺强 2023-11-20 18:06:49 +08:00
parent cbe3a724a2
commit b006f96204
17 changed files with 42 additions and 24 deletions

View File

@ -11,7 +11,7 @@
"@gatsbyjs/reach-router": "1.3.9",
"@seafile/react-image-lightbox": "2.0.2",
"@seafile/resumablejs": "1.1.16",
"@seafile/sdoc-editor": "0.3.2",
"@seafile/sdoc-editor": "0.3.3",
"@seafile/seafile-calendar": "0.0.12",
"@seafile/seafile-editor": "0.4.8",
"@uiw/codemirror-extensions-langs": "^4.19.4",
@ -4615,9 +4615,9 @@
"integrity": "sha512-8rBbmAEuuwOAGHYGCtEzpx+bxAcGS+V30otMmhRe7bPAdh4E57RWgCa8x7pkzHGFlY1t5d+ILz1gojvPVMYQig=="
},
"node_modules/@seafile/sdoc-editor": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.3.2.tgz",
"integrity": "sha512-MxlZSX/UoLAeeiiEzDfB4/gQwQrJTuj6w1+N5a0m2vncAjIJYtg+OBtoyvEllHeGbEfS2R/2KrgU3zSNlQ7vrQ==",
"version": "0.3.3",
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.3.3.tgz",
"integrity": "sha512-rjzOzz667EUO2ZICm2gPjoi9KsUvapUONAKZZs/sRlmn05X5+BXi6nmu6/BAbqnb0DucSn9WvuhPgdubDglNhg==",
"dependencies": {
"@seafile/react-image-lightbox": "2.0.4",
"@seafile/slate": "0.91.8",
@ -29863,9 +29863,9 @@
"integrity": "sha512-8rBbmAEuuwOAGHYGCtEzpx+bxAcGS+V30otMmhRe7bPAdh4E57RWgCa8x7pkzHGFlY1t5d+ILz1gojvPVMYQig=="
},
"@seafile/sdoc-editor": {
"version": "0.3.2",
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.3.2.tgz",
"integrity": "sha512-MxlZSX/UoLAeeiiEzDfB4/gQwQrJTuj6w1+N5a0m2vncAjIJYtg+OBtoyvEllHeGbEfS2R/2KrgU3zSNlQ7vrQ==",
"version": "0.3.3",
"resolved": "https://registry.npmjs.org/@seafile/sdoc-editor/-/sdoc-editor-0.3.3.tgz",
"integrity": "sha512-rjzOzz667EUO2ZICm2gPjoi9KsUvapUONAKZZs/sRlmn05X5+BXi6nmu6/BAbqnb0DucSn9WvuhPgdubDglNhg==",
"requires": {
"@seafile/react-image-lightbox": "2.0.4",
"@seafile/slate": "0.91.8",

View File

@ -6,7 +6,7 @@
"@gatsbyjs/reach-router": "1.3.9",
"@seafile/react-image-lightbox": "2.0.2",
"@seafile/resumablejs": "1.1.16",
"@seafile/sdoc-editor": "0.3.2",
"@seafile/sdoc-editor": "0.3.3",
"@seafile/seafile-calendar": "0.0.12",
"@seafile/seafile-editor": "0.4.8",
"@uiw/codemirror-extensions-langs": "^4.19.4",

View File

@ -412,5 +412,5 @@
"xxx_added_a_reply": "{{author}} added a reply",
"New": "Nový",
"Table_template": "Table template",
"Jump_to_source_doc": "Jump to the source document"
"Jump_to_original_doc": "Jump to the original document"
}

View File

@ -412,5 +412,5 @@
"xxx_added_a_reply": "{{author}} added a reply",
"New": "Erstellen",
"Table_template": "Table template",
"Jump_to_source_doc": "Jump to the source document"
"Jump_to_original_doc": "Jump to the original document"
}

View File

@ -412,5 +412,5 @@
"xxx_added_a_reply": "{{author}} added a reply",
"New": "New",
"Table_template": "Table template",
"Jump_to_source_doc": "Jump to the source document"
"Jump_to_original_doc": "Jump to the original document"
}

View File

@ -412,5 +412,5 @@
"xxx_added_a_reply": "{{author}} added a reply",
"New": "Nuevo",
"Table_template": "Table template",
"Jump_to_source_doc": "Jump to the source document"
"Jump_to_original_doc": "Jump to the original document"
}

View File

@ -412,5 +412,5 @@
"xxx_added_a_reply": "{{author}} added a reply",
"New": "Créer",
"Table_template": "Table template",
"Jump_to_source_doc": "Jump to the source document"
"Jump_to_original_doc": "Jump to the original document"
}

View File

@ -412,5 +412,5 @@
"xxx_added_a_reply": "{{author}} added a reply",
"New": "Nuovo",
"Table_template": "Table template",
"Jump_to_source_doc": "Jump to the source document"
"Jump_to_original_doc": "Jump to the original document"
}

View File

@ -411,6 +411,6 @@
"xxx_added_a_new_comment": "{{author}} добавил новый комментарий",
"xxx_added_a_reply": "{{author}} добавил ответ",
"New": "Новый",
"Table_template": "Table template",
"Jump_to_source_doc": "Jump to the source document"
"Table_template": "Шаблон таблицы",
"Jump_to_original_doc": "Jump to the original document"
}

View File

@ -412,5 +412,5 @@
"xxx_added_a_reply": "{{author}} 添加了一条回复",
"New": "新",
"Table_template": "表格模版",
"Jump_to_source_doc": "跳转到源文档"
"Jump_to_original_doc": "跳转到源文档"
}

View File

@ -412,5 +412,5 @@
"xxx_added_a_reply": "{{author}} 添加了一条回复",
"New": "新",
"Table_template": "表格模版",
"Jump_to_source_doc": "跳转到源文档"
"Jump_to_original_doc": "跳转到源文档"
}

View File

@ -1,11 +1,11 @@
@font-face {
font-family: "sdocfont"; /* Project id 4097705 */
src: url('./sdoc-editor-font/iconfont.eot?t=1699007792511'); /* IE9 */
src: url('./sdoc-editor-font/iconfont.eot?t=1699007792511#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('./sdoc-editor-font/iconfont.woff2?t=1699007792511') format('woff2'),
url('./sdoc-editor-font/iconfont.woff?t=1699007792511') format('woff'),
url('./sdoc-editor-font/iconfont.ttf?t=1699007792511') format('truetype'),
url('./sdoc-editor-font/iconfont.svg?t=1699007792511#sdocfont') format('svg');
src: url('./sdoc-editor-font/iconfont.eot?t=1700460885427'); /* IE9 */
src: url('./sdoc-editor-font/iconfont.eot?t=1700460885427#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('./sdoc-editor-font/iconfont.woff2?t=1700460885427') format('woff2'),
url('./sdoc-editor-font/iconfont.woff?t=1700460885427') format('woff'),
url('./sdoc-editor-font/iconfont.ttf?t=1700460885427') format('truetype'),
url('./sdoc-editor-font/iconfont.svg?t=1700460885427#sdocfont') format('svg');
}
.sdocfont {
@ -16,6 +16,18 @@
-moz-osx-font-smoothing: grayscale;
}
.sdoc-jump-to:before {
content: "\e65a";
}
.sdoc-callout:before {
content: "\e65c";
}
.sdoc-chart:before {
content: "\e65b";
}
.sdoc-add:before {
content: "\e658";
}

View File

@ -14,6 +14,12 @@
/>
<missing-glyph />
<glyph glyph-name="sdoc-jump-to" unicode="&#58970;" d="M361.6 896c32 0 54.4-16 54.4-48S393.6 800 361.6 800H96v-832h832v262.4c0 32 16 57.6 48 57.6s48-25.6 48-57.6v-300.8c0-32-28.8-57.6-60.8-57.6H60.8c-32 0-60.8 25.6-60.8 57.6V835.2C0 870.4 25.6 896 60.8 896h300.8zM992 896c19.2 0 32-12.8 32-32v-332.8c0-28.8-19.2-51.2-48-51.2s-48 22.4-48 51.2V729.6L531.2 336c-6.4-9.6-19.2-16-35.2-16-12.8 0-25.6 6.4-35.2 16-19.2 19.2-19.2 51.2 0 70.4L857.6 800h-198.4c-28.8 0-51.2 19.2-51.2 48S630.4 896 656 896H992z" horiz-adv-x="1024" />
<glyph glyph-name="sdoc-callout" unicode="&#58972;" d="M992 352H32c-19.2 0-32 12.8-32 32V832c0 19.2 12.8 32 32 32h960c19.2 0 32-12.8 32-32v-448c0-19.2-12.8-32-32-32zM96 448h832V768H96v-320z m-96-224v-96h1024v96H0z m0-224v-96h576v96H0z" horiz-adv-x="1024" />
<glyph glyph-name="sdoc-chart" unicode="&#58971;" d="M992-128H32c-19.2 0-32 12.8-32 32V864c0 19.2 12.8 32 32 32h960c19.2 0 32-12.8 32-32v-960c0-19.2-12.8-32-32-32zM96-32h832V800H96v-832z m0 464v-96h832v96H96zM560 800h-96v-832h96V800z" horiz-adv-x="1024" />
<glyph glyph-name="sdoc-add" unicode="&#58968;" d="M512-128C227.2-128 0 99.2 0 384S227.2 896 512 896s512-227.2 512-512-227.2-512-512-512z m-51.2 563.2H291.2c-19.2 0-35.2-12.8-35.2-35.2v-35.2c0-19.2 12.8-35.2 35.2-35.2h169.6V160c0-19.2 12.8-35.2 35.2-35.2h35.2c19.2 0 35.2 12.8 35.2 35.2v169.6H736c19.2 0 35.2 12.8 35.2 35.2v35.2c0 19.2-12.8 35.2-35.2 35.2h-169.6V604.8c0 19.2-12.8 35.2-35.2 35.2h-35.2c-19.2 0-35.2-12.8-35.2-35.2v-169.6z" horiz-adv-x="1024" />
<glyph glyph-name="sdoc-tag" unicode="&#58969;" d="M521.353986 860.33363l466.979644-466.979644c22.389435-22.389435 35.183398-51.175851 35.183398-83.160758s-12.793963-60.771324-35.183398-83.160759l-323.047562-319.849071c-22.389435-22.389435-51.175851-35.183398-79.962268-35.183398-31.984907 0-60.771324 12.793963-83.160758 35.183398L35.183398 374.163042c-25.587926 25.587926-38.381889 60.771324-31.984907 95.954721l31.984907 291.062655c6.396981 54.374342 47.977361 95.954721 102.351703 102.351703l291.062654 31.984907c31.984907 3.198491 67.168305-9.595472 92.756231-35.183398zM444.590209 767.577399L159.924536 735.592492l-31.984908-281.467182L578.926819-0.060372l316.65058 313.45209L444.590209 767.577399z m12.793963-127.939628c57.572833-57.572833 57.572833-147.130573 0-204.703406-25.587926-25.587926-63.969814-41.580379-102.351703-41.580379-38.381889 0-73.565286 12.793963-102.351703 41.580379-57.572833 57.572833-57.572833 147.130573 0 204.703406 57.572833 57.572833 150.329063 57.572833 204.703406 0z m-102.351703-70.366796c-6.396981 0-15.992454-3.198491-22.389435-9.595472-12.793963-12.793963-12.793963-31.984907 0-44.77887 12.793963-12.793963 31.984907-12.793963 44.77887 0 12.793963 12.793963 12.793963 31.984907 0 44.77887-6.396981 6.396981-12.793963 9.595472-22.389435 9.595472z" horiz-adv-x="1024" />

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 48 KiB