Files
notesnook/apps/mobile/e2e/test.ids.js

138 lines
3.1 KiB
JavaScript
Raw Permalink Normal View History

/*
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
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: {
back: "editor.back",
id: "editor.id"
2021-12-06 12:52:55 +05:00
},
2022-08-08 23:35:48 +05:00
buttons: {
add: "buttons.add"
2021-12-06 12:52:55 +05:00
},
toast: {
button: "toast.button"
},
2022-08-08 23:35:48 +05:00
listitem: {
menu: "listitem.menu"
},
2022-08-08 23:35:48 +05:00
list: {
id: "list.id"
},
2020-11-30 16:16:03 +05:00
ids: {
default: {
root: "root",
menu: "menu",
2020-11-30 16:16:03 +05:00
dialog: {
yes: "yes",
no: "no"
2020-11-30 16:16:03 +05:00
},
editor: "editor",
2020-11-30 16:16:03 +05:00
header: {
buttons: {
left: "left",
right: "right",
back: "back"
2022-08-08 23:35:48 +05:00
}
2020-11-30 16:16:03 +05:00
},
actionsheetBackdrop: "backdrop",
loginToSync: "login_to_sync",
addBtn: "btn-add-item"
2020-11-30 16:16:03 +05:00
},
dialogs: {
notebook: {
inputs: {
title: "title",
description: "description",
topic: "topic"
2020-11-30 16:16:03 +05:00
},
buttons: {
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: {
pdf: "pdf",
text: "text",
md: "md",
html: "html"
2020-12-01 17:51:58 +05:00
},
vault: {
changePwd: "change_pwd",
pwd: "pwd",
confirmPwd: "pwd",
pwdAlt: "pwd_alt",
fingerprint: "fingerprint"
2020-12-01 17:51:58 +05:00
},
sortBy: {
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: {
addNotebook: "input-addNotebook",
addTopic: "input-addTopic",
btnNotebook: "btn-addNotebook",
btnTopic: "btn-addTopic"
2020-12-01 17:51:58 +05:00
},
actionsheet: {
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: {
nightmode: "night"
2020-12-01 17:51:58 +05:00
},
note: {
menu: "note_menu",
get: (index) => "note-item-" + index
2020-12-01 22:52:01 +05:00
},
notebook: {
menu: "notebook_menu",
get: (index) => "notebook-item-" + index
2020-12-01 22:52:01 +05:00
},
topic: {
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: {
menu: "tag_menu",
get: (index) => "tag-item-" + index
2020-12-01 22:52:01 +05:00
},
list: {
getByType: (type) => "list-" + type
2022-08-08 23:35:48 +05:00
}
}
};
module.exports = {
notesnook
2020-11-30 16:16:03 +05:00
};