Skip to content

Commit

Permalink
fix(messages): "Accounts" are now "profiles"
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
  • Loading branch information
marcelklehr committed Dec 7, 2023
1 parent bfaf67c commit 0bac8e6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 26 deletions.
48 changes: 24 additions & 24 deletions _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,10 @@
"message": "Set an existing folder to sync"
},
"LabelRemoveaccount": {
"message": "Remove account"
"message": "Remove profile"
},
"DescriptionRemoveaccount": {
"message": "Delete this account (this will not remove your bookmarks)"
"message": "Delete this profile (this will not remove your bookmarks)"
},
"LabelSyncfromscratch": {
"message": "Trigger sync from scratch"
Expand Down Expand Up @@ -261,7 +261,7 @@
"message": "Nextcloud Bookmarks (legacy)"
},
"DescriptionAdapternextcloud": {
"message": "The legacy option is compatible with at least version v0.11 of the Bookmarks app. It will emulate folders using tags containing the folder path. It is not recommended to use this for new accounts."
"message": "The legacy option is compatible with at least version v0.11 of the Bookmarks app. It will emulate folders using tags containing the folder path. It is not recommended to use this for new profiles."
},
"LabelAdapterwebdav": {
"message": "WebDAV share"
Expand All @@ -270,7 +270,7 @@
"message": "The WebDAV option syncs your bookmarks by storing them in a file in the provided WebDAV share. There is no accompanying web UI for this option and you can use it with any WebDAV-compatible server. It can sync http, ftp, data, file and javascript bookmarks."
},
"LabelAddaccount": {
"message": "Add account"
"message": "Add profile"
},
"LabelOpenintab": {
"message": "Open in tab"
Expand Down Expand Up @@ -319,7 +319,7 @@
},
"LabelOptionsscreen": {
"message": "{0} options",
"description": "Title of the options screen. The placeholder holds the account type."
"description": "Title of the options screen. The placeholder holds the profile type."
},
"LabelPaypal": {
"message": "Paypal"
Expand All @@ -346,7 +346,7 @@
"message": "Make a regular donation via GitHub sponsors to support the project"
},
"LegacyAdapterDeprecation": {
"message": "This legacy account type is deprecated and will soon be removed. Please switch to the new nextcloud sync method. Improved performance and accuracy await you."
"message": "This legacy profile type is deprecated and will soon be removed. Please switch to the new nextcloud sync method. Improved performance and accuracy await you."
},
"LabelUpdated": {
"message": "Floccus was updated"
Expand All @@ -370,16 +370,16 @@
"message": "Dangerous actions"
},
"LabelAccountDeleted": {
"message": "Account deleted"
"message": "Profile deleted"
},
"DescriptionAccountDeleted": {
"message": "This account was deleted"
"message": "This profile was deleted"
},
"LabelNoAccount": {
"message": "No accounts here"
"message": "No profiles here"
},
"DescriptionNoAccount": {
"message": "Create a new account to sync your bookmarks or import accounts from a different device or browser."
"message": "Create a new profile to sync your bookmarks or import profiles from a different device or browser."
},
"LabelLoginFlowStart": {
"message": "Sign in with Nextcloud"
Expand All @@ -391,34 +391,34 @@
"message": "Nextcloud login failed"
},
"LabelNewAccount": {
"message": "New Account"
"message": "New Profile"
},
"LabelNestedSync": {
"message": "Nested accounts"
"message": "Nested profiles"
},
"DescriptionNestedSync": {
"message": "You can nest accounts so that a parent folder belongs to account A and a sub folder to account A and B. Do you want to allow other accounts to sync this account's folder as well?"
"message": "You can nest profiles so that a parent folder belongs to profile A and a sub folder to profile A and B. Do you want to allow other profiles to sync this profile's folder as well?"
},
"LabelNestedSyncNo": {
"message": "No, ignore this account's folder in other accounts"
"message": "No, ignore this profile's folder in other profiles"
},
"LabelNestedSyncYes": {
"message": "Yes, include this account's folder in other accounts"
"message": "Yes, include this profile's folder in other profiles"
},
"LabelImportExport": {
"message": "Import/Export Accounts"
"message": "Import/Export Profiles"
},
"LabelExport": {
"message": "Export accounts"
"message": "Export profiles"
},
"LabelImport": {
"message": "Import accounts"
"message": "Import profiles"
},
"DescriptionExport": {
"message": "Select accounts below that you would like to export to a file, so you can easily re-create the same accounts on a different device or browser."
"message": "Select profiles below that you would like to export to a file, so you can easily re-create the same profiles on a different device or browser."
},
"DescriptionImport": {
"message": "Import a file with exported accounts here to re-create accounts exported on a different device or browser. Please make sure to set the correct sync folders again after importing."
"message": "Import a file with exported profiles here to re-create profiles exported on a different device or browser. Please make sure to set the correct sync folders again after importing."
},
"LabelFolderNotFound": {
"message": "Folder not found"
Expand Down Expand Up @@ -475,7 +475,7 @@
"message": "Disabled. Allow the removal of more than 50% of my local bookmarks without confirming with me."
},
"StatusFailsafeoff": {
"message": "Failsafe disabled. You are at risk for unintended data loss. It is recommended to enable the failsafe in the account settings."
"message": "Failsafe disabled. You are at risk for unintended data loss. It is recommended to enable the failsafe in the profile settings."
},
"LabelAdaptergoogledrive": {
"message": "Google Drive"
Expand Down Expand Up @@ -628,10 +628,10 @@
"message": "How do you want syncing to work?"
},
"LabelAccountcreated": {
"message": "Account created"
"message": "Profile created"
},
"DescriptionAccountcreated": {
"message": "Your account has been created. You can close this tab now."
"message": "Your profile has been created. You can close this tab now."
},
"DescriptionNonhttps": {
"message": "You have entered a server that uses an insecure protocol. It is recommended to only use servers with support for HTTPS."
Expand All @@ -658,7 +658,7 @@
"message": "Export Bookmarks"
},
"DescriptionExportBookmarks" : {
"message": "You can export all bookmarks in this account as a HTML file compatible with all major browsers."
"message": "You can export all bookmarks in this profile as a HTML file compatible with all major browsers."
},
"LabelShareitem": {
"message": "Share"
Expand Down
4 changes: 2 additions & 2 deletions src/errors/Error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class RequestTimeoutError extends FloccusError {

export class NetworkError extends FloccusError {
constructor() {
super('E017: Network error: Check your network connection and your account details')
super('E017: Network error: Check your network connection and your profile details')
this.code = 17
Object.setPrototypeOf(this, NetworkError.prototype)
}
Expand Down Expand Up @@ -241,7 +241,7 @@ export class FailsafeError extends FloccusError {
public percent: number

constructor(percent:number) {
super(`E029: Failsafe: The current sync run would delete ${percent}% of your bookmarks. Refusing to execute. Disable this failsafe in the account settings if you want to proceed anyway.`)
super(`E029: Failsafe: The current sync run would delete ${percent}% of your bookmarks. Refusing to execute. Disable this failsafe in the profile settings if you want to proceed anyway.`)
this.code = 29
this.percent = percent
Object.setPrototypeOf(this, FailsafeError.prototype)
Expand Down

0 comments on commit 0bac8e6

Please sign in to comment.