Skip to content

Commit

Permalink
update sdoc version and sdoc translate
Browse files Browse the repository at this point in the history
  • Loading branch information
shuntian committed Nov 21, 2023
1 parent 9712dfc commit b125b81
Show file tree
Hide file tree
Showing 17 changed files with 38 additions and 23 deletions.
14 changes: 7 additions & 7 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.3",
"@seafile/sdoc-editor": "0.3.5",
"@seafile/seafile-calendar": "0.0.12",
"@seafile/seafile-editor": "0.4.8",
"@uiw/codemirror-extensions-langs": "^4.19.4",
Expand Down
3 changes: 2 additions & 1 deletion media/sdoc-editor/locales/cs/sdoc-editor.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,5 +412,6 @@
"xxx_added_a_reply": "{{author}} added a reply",
"New": "Nový",
"Table_template": "Table template",
"Jump_to_original_doc": "Jump to the original document"
"Jump_to_original_doc": "Jump to the original document",
"Selected_text": "Selected text"
}
3 changes: 2 additions & 1 deletion media/sdoc-editor/locales/de/sdoc-editor.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,5 +412,6 @@
"xxx_added_a_reply": "{{author}} added a reply",
"New": "Erstellen",
"Table_template": "Table template",
"Jump_to_original_doc": "Jump to the original document"
"Jump_to_original_doc": "Jump to the original document",
"Selected_text": "Selected text"
}
3 changes: 2 additions & 1 deletion media/sdoc-editor/locales/en/sdoc-editor.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,5 +412,6 @@
"xxx_added_a_reply": "{{author}} added a reply",
"New": "New",
"Table_template": "Table template",
"Jump_to_original_doc": "Jump to the original document"
"Jump_to_original_doc": "Jump to the original document",
"Selected_text": "Selected text"
}
3 changes: 2 additions & 1 deletion media/sdoc-editor/locales/es/sdoc-editor.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,5 +412,6 @@
"xxx_added_a_reply": "{{author}} added a reply",
"New": "Nuevo",
"Table_template": "Table template",
"Jump_to_original_doc": "Jump to the original document"
"Jump_to_original_doc": "Jump to the original document",
"Selected_text": "Selected text"
}
3 changes: 2 additions & 1 deletion media/sdoc-editor/locales/fr/sdoc-editor.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,5 +412,6 @@
"xxx_added_a_reply": "{{author}} added a reply",
"New": "Créer",
"Table_template": "Table template",
"Jump_to_original_doc": "Jump to the original document"
"Jump_to_original_doc": "Jump to the original document",
"Selected_text": "Selected text"
}
3 changes: 2 additions & 1 deletion media/sdoc-editor/locales/it/sdoc-editor.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,5 +412,6 @@
"xxx_added_a_reply": "{{author}} added a reply",
"New": "Nuovo",
"Table_template": "Table template",
"Jump_to_original_doc": "Jump to the original document"
"Jump_to_original_doc": "Jump to the original document",
"Selected_text": "Selected text"
}
3 changes: 2 additions & 1 deletion media/sdoc-editor/locales/ru/sdoc-editor.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,5 +412,6 @@
"xxx_added_a_reply": "{{author}} добавил ответ",
"New": "Новый",
"Table_template": "Шаблон таблицы",
"Jump_to_original_doc": "Jump to the original document"
"Jump_to_original_doc": "Перейти к исходному документу",
"Selected_text": "Selected text"
}
3 changes: 2 additions & 1 deletion media/sdoc-editor/locales/zh-CN/sdoc-editor.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,5 +412,6 @@
"xxx_added_a_reply": "{{author}} 添加了一条回复",
"New": "",
"Table_template": "表格模版",
"Jump_to_original_doc": "跳转到源文档"
"Jump_to_original_doc": "跳转到源文档",
"Selected_text": "选中的文本"
}
3 changes: 2 additions & 1 deletion media/sdoc-editor/locales/zh_CN/sdoc-editor.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,5 +412,6 @@
"xxx_added_a_reply": "{{author}} 添加了一条回复",
"New": "",
"Table_template": "表格模版",
"Jump_to_original_doc": "跳转到源文档"
"Jump_to_original_doc": "跳转到源文档",
"Selected_text": "选中的文本"
}
16 changes: 10 additions & 6 deletions media/sdoc-editor/sdoc-editor-font.css
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@font-face {
font-family: "sdocfont"; /* Project id 4097705 */
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');
src: url('./sdoc-editor-font/iconfont.eot?t=1700547401892'); /* IE9 */
src: url('./sdoc-editor-font/iconfont.eot?t=1700547401892#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('./sdoc-editor-font/iconfont.woff2?t=1700547401892') format('woff2'),
url('./sdoc-editor-font/iconfont.woff?t=1700547401892') format('woff'),
url('./sdoc-editor-font/iconfont.ttf?t=1700547401892') format('truetype'),
url('./sdoc-editor-font/iconfont.svg?t=1700547401892#sdocfont') format('svg');
}

.sdocfont {
Expand All @@ -16,6 +16,10 @@
-moz-osx-font-smoothing: grayscale;
}

.sdoc-freezed:before {
content: "\e65d";
}

.sdoc-jump-to:before {
content: "\e65a";
}
Expand Down
Binary file modified media/sdoc-editor/sdoc-editor-font/sdoc-editor-font/iconfont.eot
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified media/sdoc-editor/sdoc-editor-font/sdoc-editor-font/iconfont.ttf
Binary file not shown.
Binary file modified media/sdoc-editor/sdoc-editor-font/sdoc-editor-font/iconfont.woff
Binary file not shown.
Binary file modified media/sdoc-editor/sdoc-editor-font/sdoc-editor-font/iconfont.woff2
Binary file not shown.

0 comments on commit b125b81

Please sign in to comment.