2022-08-31 06:33:37 +05:00
|
|
|
/*
|
|
|
|
|
This file is part of the Notesnook project (https://notesnook.com/)
|
|
|
|
|
|
2023-01-16 13:44:52 +05:00
|
|
|
Copyright (C) 2023 Streetwriters (Private) Limited
|
2022-08-31 06:33:37 +05:00
|
|
|
|
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
2022-08-30 16:13:11 +05:00
|
|
|
|
2022-08-08 23:35:48 +05:00
|
|
|
const notesnook = {
|
|
|
|
|
editor: {
|
2022-08-26 16:19:39 +05:00
|
|
|
back: "editor.back",
|
|
|
|
|
id: "editor.id"
|
2021-12-06 12:52:55 +05:00
|
|
|
},
|
2022-08-08 23:35:48 +05:00
|
|
|
buttons: {
|
2022-08-26 16:19:39 +05:00
|
|
|
add: "buttons.add"
|
2021-12-06 12:52:55 +05:00
|
|
|
},
|
2021-12-11 20:27:52 +05:00
|
|
|
toast: {
|
2022-08-26 16:19:39 +05:00
|
|
|
button: "toast.button"
|
2021-12-11 20:27:52 +05:00
|
|
|
},
|
2022-08-08 23:35:48 +05:00
|
|
|
listitem: {
|
2022-08-26 16:19:39 +05:00
|
|
|
menu: "listitem.menu"
|
2021-12-11 20:27:52 +05:00
|
|
|
},
|
2022-08-08 23:35:48 +05:00
|
|
|
list: {
|
2022-08-26 16:19:39 +05:00
|
|
|
id: "list.id"
|
2021-12-11 20:27:52 +05:00
|
|
|
},
|
2020-11-30 16:16:03 +05:00
|
|
|
ids: {
|
|
|
|
|
default: {
|
2022-08-26 16:19:39 +05:00
|
|
|
root: "root",
|
|
|
|
|
menu: "menu",
|
2020-11-30 16:16:03 +05:00
|
|
|
dialog: {
|
2022-08-26 16:19:39 +05:00
|
|
|
yes: "yes",
|
|
|
|
|
no: "no"
|
2020-11-30 16:16:03 +05:00
|
|
|
},
|
2022-08-26 16:19:39 +05:00
|
|
|
editor: "editor",
|
2020-11-30 16:16:03 +05:00
|
|
|
header: {
|
|
|
|
|
buttons: {
|
2022-08-26 16:19:39 +05:00
|
|
|
left: "left",
|
|
|
|
|
right: "right",
|
|
|
|
|
back: "back"
|
2022-08-08 23:35:48 +05:00
|
|
|
}
|
2020-11-30 16:16:03 +05:00
|
|
|
},
|
2022-08-26 16:19:39 +05:00
|
|
|
actionsheetBackdrop: "backdrop",
|
|
|
|
|
loginToSync: "login_to_sync",
|
|
|
|
|
addBtn: "btn-add-item"
|
2020-11-30 16:16:03 +05:00
|
|
|
},
|
|
|
|
|
dialogs: {
|
|
|
|
|
notebook: {
|
|
|
|
|
inputs: {
|
2022-08-26 16:19:39 +05:00
|
|
|
title: "title",
|
|
|
|
|
description: "description",
|
|
|
|
|
topic: "topic"
|
2020-11-30 16:16:03 +05:00
|
|
|
},
|
|
|
|
|
buttons: {
|
2022-08-26 16:19:39 +05:00
|
|
|
add: "add"
|
2022-08-08 23:35:48 +05:00
|
|
|
}
|
2020-11-30 16:16:03 +05:00
|
|
|
},
|
2020-12-01 17:51:58 +05:00
|
|
|
export: {
|
2022-08-26 16:19:39 +05:00
|
|
|
pdf: "pdf",
|
|
|
|
|
text: "text",
|
|
|
|
|
md: "md",
|
|
|
|
|
html: "html"
|
2020-12-01 17:51:58 +05:00
|
|
|
},
|
|
|
|
|
vault: {
|
2022-08-26 16:19:39 +05:00
|
|
|
changePwd: "change_pwd",
|
|
|
|
|
pwd: "pwd",
|
|
|
|
|
confirmPwd: "pwd",
|
|
|
|
|
pwdAlt: "pwd_alt",
|
|
|
|
|
fingerprint: "fingerprint"
|
2020-12-01 17:51:58 +05:00
|
|
|
},
|
|
|
|
|
sortBy: {
|
2022-08-26 16:19:39 +05:00
|
|
|
order: "orderby",
|
|
|
|
|
default: "btn-default",
|
|
|
|
|
alphabetical: "btn-alphabetical",
|
|
|
|
|
year: "btn-year",
|
|
|
|
|
week: "btn-week",
|
|
|
|
|
month: "btn-month"
|
2020-12-01 17:51:58 +05:00
|
|
|
},
|
|
|
|
|
addTo: {
|
2022-08-26 16:19:39 +05:00
|
|
|
addNotebook: "input-addNotebook",
|
|
|
|
|
addTopic: "input-addTopic",
|
|
|
|
|
btnNotebook: "btn-addNotebook",
|
|
|
|
|
btnTopic: "btn-addTopic"
|
2020-12-01 17:51:58 +05:00
|
|
|
},
|
|
|
|
|
actionsheet: {
|
2022-08-26 16:19:39 +05:00
|
|
|
delete: "icon-Delete",
|
|
|
|
|
hashtagInput: "hashtag_input",
|
|
|
|
|
export: "icon-Export",
|
|
|
|
|
addTo: "icon-Add to",
|
|
|
|
|
pin: "item_pin",
|
|
|
|
|
pinMenu: "item_pin_menu",
|
|
|
|
|
favorite: "note_favorite",
|
|
|
|
|
vault: "vault_btn",
|
|
|
|
|
copy: "icon-Copy",
|
|
|
|
|
sync: "btn-sync-now",
|
|
|
|
|
night: "nightswitch",
|
|
|
|
|
color: (color) => "icon-color-" + color
|
2022-08-08 23:35:48 +05:00
|
|
|
}
|
2020-11-30 16:16:03 +05:00
|
|
|
},
|
|
|
|
|
menu: {
|
2022-08-26 16:19:39 +05:00
|
|
|
nightmode: "night"
|
2020-12-01 17:51:58 +05:00
|
|
|
},
|
|
|
|
|
note: {
|
2022-08-26 16:19:39 +05:00
|
|
|
menu: "note_menu",
|
|
|
|
|
get: (index) => "note-item-" + index
|
2020-12-01 22:52:01 +05:00
|
|
|
},
|
|
|
|
|
notebook: {
|
2022-08-26 16:19:39 +05:00
|
|
|
menu: "notebook_menu",
|
|
|
|
|
get: (index) => "notebook-item-" + index
|
2020-12-01 22:52:01 +05:00
|
|
|
},
|
|
|
|
|
topic: {
|
2022-08-26 16:19:39 +05:00
|
|
|
menu: "topic_menu",
|
|
|
|
|
get: (index) => "topic-item-" + index
|
2020-12-01 22:52:01 +05:00
|
|
|
},
|
2022-08-08 23:35:48 +05:00
|
|
|
tag: {
|
2022-08-26 16:19:39 +05:00
|
|
|
menu: "tag_menu",
|
|
|
|
|
get: (index) => "tag-item-" + index
|
2020-12-01 22:52:01 +05:00
|
|
|
},
|
|
|
|
|
list: {
|
2022-08-26 16:19:39 +05:00
|
|
|
getByType: (type) => "list-" + type
|
2022-08-08 23:35:48 +05:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
|
notesnook
|
2020-11-30 16:16:03 +05:00
|
|
|
};
|