diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 3053e31990..aaa5cf3a5a 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -131,6 +131,9 @@ "DescriptionBookmarksfilegoogle": { "message": "the file name of the bookmarks file that will reside in your Google Drive (make sure this name is unique in your Drive)" }, + "DescriptionBookmarksfilegit": { + "message": "a path to the bookmarks file relative to your Git repository root (all folders in the path must already exist). e.g. personal_stuff/bookmarks.xbel" + }, "LabelServerfolder": { "message": "Server target" }, @@ -689,5 +692,17 @@ }, "DescriptionSyncscheduled": { "message": "This profile will be synced soon. We're either waiting for other devices of yours, or other profiles on this device, to finish syncing." + }, + "LabelAdaptergit": { + "message": "Git over HTTPS" + }, + "DescriptionAdaptergit": { + "message": "The Git option syncs your bookmarks by storing them in a file in the provided Git repository. There is no accompanying web UI for this option, but you can use it with any Git hosting server, like Github, Gitlab, Gitea, etc. It can sync http, ftp, data, file and javascript bookmarks." + }, + "LabelGiturl": { + "message": "Repository URL using HTTP" + }, + "LabelGitbranch": { + "message": "Git branch" } } diff --git a/src/ui/components/OptionsGit.vue b/src/ui/components/OptionsGit.vue new file mode 100644 index 0000000000..909351be6e --- /dev/null +++ b/src/ui/components/OptionsGit.vue @@ -0,0 +1,175 @@ + + + + + diff --git a/src/ui/views/AccountOptions.vue b/src/ui/views/AccountOptions.vue index 8ae832d7db..a755f4e223 100644 --- a/src/ui/views/AccountOptions.vue +++ b/src/ui/views/AccountOptions.vue @@ -143,6 +143,11 @@ v-bind.sync="data" @reset="onReset" @delete="onDelete" /> + + + + +