Skip to content

Commit

Permalink
fix(OptionSyncFolder): Make more clear what each option does and the …
Browse files Browse the repository at this point in the history
…implications of that

see #1436
  • Loading branch information
marcelklehr committed Dec 5, 2023
1 parent 60014f4 commit b8eb5f1
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 10 deletions.
19 changes: 14 additions & 5 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -132,16 +132,22 @@
"message": "the file name of the bookmarks file that will reside in your Google Drive (make sure this name is unique in your Drive)"
},
"LabelServerfolder": {
"message": "Server folder"
"message": "Server target"
},
"DescriptionServerfolder": {
"message": "This is the path prefix under which this account will operate on the server. Leave this empty to use no prefix at all."
"message": "When syncing, your bookmarks in this browser will be stored as links under this path on the server. Note, that this path represents a folder in the Nextcloud Bookmarks app, not a folder in Nextcloud Files. Leave this empty to just put all links in the topmost folder on the server."
},
"LabelLocaltarget": {
"message": "Local target"
},
"DescriptionLocaltarget": {
"message": "Choose here, whether you want to sync browser bookmarks, or browser tabs."
},
"LabelLocalfolder": {
"message": "Local folder"
"message": "Bookmarks folder"
},
"DescriptionLocalfolder": {
"message": "This is the local bookmarks folder in this browser that will be synced to the server. Note that some browser don't allow creating new items under the root folder (e.g. Firefox and Google Chrome)"
"message": "Bookmarks in this bookmarks folder will be stored as links on the server and links on the server will be stored as bookmarks in this bookmarks folder in this browser."
},
"LabelRootfolder": {
"message": "Root folder"
Expand Down Expand Up @@ -418,7 +424,10 @@
"message": "Folder not found"
},
"LabelSyncTabs": {
"message": "Sync Tabs"
"message": "Browser tabs"
},
"DescriptionSyncTabs": {
"message": "Links that are stored on the server will be opened as browser tabs in your browser and existing open browser tabs are stored as links on your server. Note that depending how many links are stored on the server, since they will all be opened as tabs on the next sync run, this may possibly overwhelm your browser."
},
"LabelTabs": {
"message": "Tabs"
Expand Down
13 changes: 8 additions & 5 deletions src/ui/components/OptionSyncFolder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,16 @@
<div>
<div>
<div class="text-h6">
{{ t('LabelLocalfolder') }}
</div>
<div class="caption">
{{ t('DescriptionLocalfolder') }}
{{ t('LabelLocaltarget') }}
</div>
<v-radio-group
v-model="mode"
column>
<v-radio value="folder">
<template #label>
{{ t('LabelLocalfolder') }}
&nbsp;
<v-text-field
class="ml-2"
v-model="path"
readonly
@click="onTriggerFinder">
Expand All @@ -28,9 +25,15 @@
</v-text-field>
</template>
</v-radio>
<div class="caption ml-8 mb-6">
{{ t('DescriptionLocalfolder') }}
</div>
<v-radio
:label="t('LabelSyncTabs')"
value="tabs" />
<div class="caption ml-8 mb-2">
{{ t('DescriptionSyncTabs') }}
</div>
</v-radio-group>
</div>
<v-dialog
Expand Down

0 comments on commit b8eb5f1

Please sign in to comment.