orgnote-api 0.40.22 → 0.40.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/constants/i18n-keys.d.ts
CHANGED
|
@@ -48,6 +48,9 @@ export declare enum i18n {
|
|
|
48
48
|
CONFIRM = "confirm",
|
|
49
49
|
CANCEL = "cancel",
|
|
50
50
|
CONFIRM_DELETE_ALL_DATA = "are you sure you want to delete all data? this is an irreversible event",
|
|
51
|
+
RESET_SYSTEM = "Reset system",
|
|
52
|
+
RESET_SYSTEM_WARNING = "A local reset will result in complete local data deletion. Be careful: if there is no backup, it\u2019s impossible to restore the data.",
|
|
53
|
+
RESET_SYSTEM_DESCRIPTION = "Delete all local data, including notes, files, account information, settings, etc.",
|
|
51
54
|
IRREVERSIBLE_EVENT = "This is an irreversible event",
|
|
52
55
|
CONFIRM_DELETE_NOTES = "Are you sure you want to delete all notes? This is an irreversible event",
|
|
53
56
|
CONFIRM_DELETE_ACCOUNT = "Are you sure you want to delete your account? This is an irreversible event",
|
|
@@ -185,6 +188,7 @@ export declare const I18N: {
|
|
|
185
188
|
READ_WIKI: DefaultCommands.READ_WIKI;
|
|
186
189
|
SPONSOR: DefaultCommands.SPONSOR;
|
|
187
190
|
DELETE_ALL_DATA: DefaultCommands.DELETE_ALL_DATA;
|
|
191
|
+
RESET_SYSTEM: DefaultCommands.RESET_SYSTEM;
|
|
188
192
|
DELETE_ALL_NOTES: DefaultCommands.DELETE_ALL_NOTES;
|
|
189
193
|
DELETE_ACCOUNT: DefaultCommands.DELETE_ACCOUNT;
|
|
190
194
|
STORAGE_SETTINGS: DefaultCommands.STORAGE_SETTINGS;
|
|
@@ -275,6 +279,8 @@ export declare const I18N: {
|
|
|
275
279
|
CONFIRM: i18n.CONFIRM;
|
|
276
280
|
CANCEL: i18n.CANCEL;
|
|
277
281
|
CONFIRM_DELETE_ALL_DATA: i18n.CONFIRM_DELETE_ALL_DATA;
|
|
282
|
+
RESET_SYSTEM_WARNING: i18n.RESET_SYSTEM_WARNING;
|
|
283
|
+
RESET_SYSTEM_DESCRIPTION: i18n.RESET_SYSTEM_DESCRIPTION;
|
|
278
284
|
IRREVERSIBLE_EVENT: i18n.IRREVERSIBLE_EVENT;
|
|
279
285
|
CONFIRM_DELETE_NOTES: i18n.CONFIRM_DELETE_NOTES;
|
|
280
286
|
CONFIRM_DELETE_ACCOUNT: i18n.CONFIRM_DELETE_ACCOUNT;
|
package/constants/i18n-keys.js
CHANGED
|
@@ -49,6 +49,9 @@ export var i18n;
|
|
|
49
49
|
i18n["CONFIRM"] = "confirm";
|
|
50
50
|
i18n["CANCEL"] = "cancel";
|
|
51
51
|
i18n["CONFIRM_DELETE_ALL_DATA"] = "are you sure you want to delete all data? this is an irreversible event";
|
|
52
|
+
i18n["RESET_SYSTEM"] = "Reset system";
|
|
53
|
+
i18n["RESET_SYSTEM_WARNING"] = "A local reset will result in complete local data deletion. Be careful: if there is no backup, it\u2019s impossible to restore the data.";
|
|
54
|
+
i18n["RESET_SYSTEM_DESCRIPTION"] = "Delete all local data, including notes, files, account information, settings, etc.";
|
|
52
55
|
i18n["IRREVERSIBLE_EVENT"] = "This is an irreversible event";
|
|
53
56
|
i18n["CONFIRM_DELETE_NOTES"] = "Are you sure you want to delete all notes? This is an irreversible event";
|
|
54
57
|
i18n["CONFIRM_DELETE_ACCOUNT"] = "Are you sure you want to delete your account? This is an irreversible event";
|
|
@@ -34,6 +34,7 @@ export declare enum DefaultCommands {
|
|
|
34
34
|
READ_WIKI = "read wiki",
|
|
35
35
|
SPONSOR = "sponsor",
|
|
36
36
|
DELETE_ALL_DATA = "delete all data",
|
|
37
|
+
RESET_SYSTEM = "Reset system",
|
|
37
38
|
DELETE_ALL_NOTES = "delete all notes",
|
|
38
39
|
DELETE_ACCOUNT = "delete account",
|
|
39
40
|
STORAGE_SETTINGS = "storage settings",
|
|
@@ -43,6 +43,7 @@ export var DefaultCommands;
|
|
|
43
43
|
DefaultCommands["READ_WIKI"] = "read wiki";
|
|
44
44
|
DefaultCommands["SPONSOR"] = "sponsor";
|
|
45
45
|
DefaultCommands["DELETE_ALL_DATA"] = "delete all data";
|
|
46
|
+
DefaultCommands["RESET_SYSTEM"] = "Reset system";
|
|
46
47
|
DefaultCommands["DELETE_ALL_NOTES"] = "delete all notes";
|
|
47
48
|
DefaultCommands["DELETE_ACCOUNT"] = "delete account";
|
|
48
49
|
DefaultCommands["STORAGE_SETTINGS"] = "storage settings";
|