mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 02:43:40 -05:00
Merge pull request #9538 from overleaf/ta-galileo-week5
Galileo Week5 Pack GitOrigin-RevId: 8a72efd15ec59955c2fa3a0f1e5d38fb200f018f
This commit is contained in:
parent
19c73cbd73
commit
687ce143f3
3 changed files with 31 additions and 13 deletions
|
@ -155,6 +155,20 @@
|
||||||
"from_external_url": "",
|
"from_external_url": "",
|
||||||
"from_provider": "",
|
"from_provider": "",
|
||||||
"full_doc_history": "",
|
"full_doc_history": "",
|
||||||
|
"galileo_feedback_button": "",
|
||||||
|
"galileo_feedback_detail": "",
|
||||||
|
"galileo_feedback_intro": "",
|
||||||
|
"galileo_feedback_reason_incomplete": "",
|
||||||
|
"galileo_feedback_reason_incorrect": "",
|
||||||
|
"galileo_feedback_reason_not_relevant": "",
|
||||||
|
"galileo_feedback_reason_other": "",
|
||||||
|
"galileo_feedback_reasons": "",
|
||||||
|
"galileo_feedback_send_debug": "",
|
||||||
|
"galileo_feedback_send_debug_more": "",
|
||||||
|
"galileo_feedback_source": "",
|
||||||
|
"galileo_feedback_source_other": "",
|
||||||
|
"galileo_feedback_title": "",
|
||||||
|
"galileo_toogle_description": "",
|
||||||
"generic_linked_file_compile_error": "",
|
"generic_linked_file_compile_error": "",
|
||||||
"generic_something_went_wrong": "",
|
"generic_something_went_wrong": "",
|
||||||
"get_collaborative_benefits": "",
|
"get_collaborative_benefits": "",
|
||||||
|
@ -432,6 +446,7 @@
|
||||||
"select_from_source_files": "",
|
"select_from_source_files": "",
|
||||||
"select_from_your_computer": "",
|
"select_from_your_computer": "",
|
||||||
"selected": "",
|
"selected": "",
|
||||||
|
"send": "",
|
||||||
"send_first_message": "",
|
"send_first_message": "",
|
||||||
"sending": "",
|
"sending": "",
|
||||||
"server_error": "",
|
"server_error": "",
|
||||||
|
|
|
@ -36,7 +36,6 @@ EditorContext.Provider.propTypes = {
|
||||||
showGalileo: PropTypes.bool,
|
showGalileo: PropTypes.bool,
|
||||||
toggleGalileo: PropTypes.func,
|
toggleGalileo: PropTypes.func,
|
||||||
insertGalileoAutocomplete: PropTypes.func,
|
insertGalileoAutocomplete: PropTypes.func,
|
||||||
insertGalileoCiteAutocomplete: PropTypes.func,
|
|
||||||
isProjectOwner: PropTypes.bool,
|
isProjectOwner: PropTypes.bool,
|
||||||
isRestrictedTokenMember: PropTypes.bool,
|
isRestrictedTokenMember: PropTypes.bool,
|
||||||
permissionsLevel: PropTypes.oneOf(['readOnly', 'readAndWrite', 'owner']),
|
permissionsLevel: PropTypes.oneOf(['readOnly', 'readAndWrite', 'owner']),
|
||||||
|
@ -143,18 +142,10 @@ export function EditorProvider({ children, settings }) {
|
||||||
)
|
)
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
const insertGalileoAutocomplete = useCallback(text => {
|
const insertGalileoAutocomplete = useCallback(suggestion => {
|
||||||
window.dispatchEvent(
|
window.dispatchEvent(
|
||||||
new CustomEvent('editor:insert-galileo-completion', {
|
new CustomEvent('editor:insert-galileo-completion', {
|
||||||
detail: { text, cite: false },
|
detail: suggestion,
|
||||||
})
|
|
||||||
)
|
|
||||||
}, [])
|
|
||||||
|
|
||||||
const insertGalileoCiteAutocomplete = useCallback(text => {
|
|
||||||
window.dispatchEvent(
|
|
||||||
new CustomEvent('editor:insert-galileo-completion', {
|
|
||||||
detail: { text, cite: true },
|
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
}, [])
|
}, [])
|
||||||
|
@ -174,7 +165,6 @@ export function EditorProvider({ children, settings }) {
|
||||||
showGalileo,
|
showGalileo,
|
||||||
toggleGalileo,
|
toggleGalileo,
|
||||||
insertGalileoAutocomplete,
|
insertGalileoAutocomplete,
|
||||||
insertGalileoCiteAutocomplete,
|
|
||||||
}),
|
}),
|
||||||
[
|
[
|
||||||
cobranding,
|
cobranding,
|
||||||
|
@ -189,7 +179,6 @@ export function EditorProvider({ children, settings }) {
|
||||||
showGalileo,
|
showGalileo,
|
||||||
toggleGalileo,
|
toggleGalileo,
|
||||||
insertGalileoAutocomplete,
|
insertGalileoAutocomplete,
|
||||||
insertGalileoCiteAutocomplete,
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1736,6 +1736,20 @@
|
||||||
"you_get_access_to_info": "These features are available only to you (the subscriber).",
|
"you_get_access_to_info": "These features are available only to you (the subscriber).",
|
||||||
"symbol_palette": "Symbol palette",
|
"symbol_palette": "Symbol palette",
|
||||||
"symbol_palette_info": "A quick and convenient way to insert math symbols into your document.",
|
"symbol_palette_info": "A quick and convenient way to insert math symbols into your document.",
|
||||||
|
"galileo_toogle_description": "Toggle Galileo",
|
||||||
|
"galileo_feedback_button": "Give feedback",
|
||||||
|
"galileo_feedback_title": "Galileo Feedback",
|
||||||
|
"galileo_feedback_intro": "We are working on improving Galileo, your feedback is very welcome. ",
|
||||||
|
"galileo_feedback_source": "Select a recent suggestion",
|
||||||
|
"galileo_feedback_source_other": "My feedback is not about a recent suggestion",
|
||||||
|
"galileo_feedback_reasons": "Choose a reason",
|
||||||
|
"galileo_feedback_reason_not_relevant": "Suggestion not relevant",
|
||||||
|
"galileo_feedback_reason_incorrect": "Suggestion incorrect",
|
||||||
|
"galileo_feedback_reason_incomplete": "Suggestion incomplete",
|
||||||
|
"galileo_feedback_reason_other": "Other",
|
||||||
|
"galileo_feedback_detail": "Tell us more",
|
||||||
|
"galileo_feedback_send_debug": "Share additional data",
|
||||||
|
"galileo_feedback_send_debug_more": "Share the part of your document that was used to generate the suggestion",
|
||||||
"github_only_integration_lowercase": "GitHub integration",
|
"github_only_integration_lowercase": "GitHub integration",
|
||||||
"github_only_integration_lowercase_info": "Link your Overleaf projects directly to a GitHub repository that acts as a remote repository for your overleaf project. This allows you to share with collaborators outside of Overleaf, and integrate Overleaf into more complex workflows.",
|
"github_only_integration_lowercase_info": "Link your Overleaf projects directly to a GitHub repository that acts as a remote repository for your overleaf project. This allows you to share with collaborators outside of Overleaf, and integrate Overleaf into more complex workflows.",
|
||||||
"git_integration_lowercase": "Git integration",
|
"git_integration_lowercase": "Git integration",
|
||||||
|
|
Loading…
Reference in a new issue