generated from obsidianmd/obsidian-sample-plugin
-
Notifications
You must be signed in to change notification settings - Fork 260
Expand file tree
/
Copy pathen.ts
More file actions
238 lines (232 loc) · 12.2 KB
/
en.ts
File metadata and controls
238 lines (232 loc) · 12.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
// English
export default {
// flashcard-modal.tsx
DECKS: "Decks",
DUE_CARDS: "Due Cards",
NEW_CARDS: "New Cards",
TOTAL_CARDS: "Total Cards",
BACK: "Back",
SKIP: "Skip",
EDIT_CARD: "Edit Card",
RESET_CARD_PROGRESS: "Reset card's progress",
HARD: "Hard",
GOOD: "Good",
EASY: "Easy",
SHOW_ANSWER: "Show Answer",
CARD_PROGRESS_RESET: "Card's progress has been reset.",
SAVE: "Save",
CANCEL: "Cancel",
NO_INPUT: "No input provided.",
CURRENT_EASE_HELP_TEXT: "Current Ease: ",
CURRENT_INTERVAL_HELP_TEXT: "Current Interval: ",
CARD_GENERATED_FROM: "Generated from: ${notePath}",
DELETE_CARD: "Delete Card",
DELETE_CARD_CONFIRMATION: "Are you sure you want to delete this card?",
// main.ts
OPEN_NOTE_FOR_REVIEW: "Open a note for review",
REVIEW_CARDS: "Review flashcards",
REVIEW_DIFFICULTY_FILE_MENU: "Review: ${difficulty}",
REVIEW_NOTE_DIFFICULTY_CMD: "Review note as ${difficulty}",
CRAM_ALL_CARDS: "Select a deck to cram",
REVIEW_ALL_CARDS: "Review flashcards from all notes",
REVIEW_CARDS_IN_NOTE: "Review flashcards in this note",
CRAM_CARDS_IN_NOTE: "Cram flashcards in this note",
VIEW_STATS: "View statistics",
OPEN_REVIEW_QUEUE_VIEW: "Open Notes Review Queue in sidebar",
STATUS_BAR: "Review: ${dueNotesCount} note(s), ${dueFlashcardsCount} card(s) due",
SYNC_TIME_TAKEN: "Sync took ${t}ms",
NOTE_IN_IGNORED_FOLDER: "Note is saved under ignored folder (check settings).",
PLEASE_TAG_NOTE: "Please tag the note appropriately for reviewing (in settings).",
RESPONSE_RECEIVED: "Response received.",
NO_DECK_EXISTS: "No deck exists for ${deckName}",
ALL_CAUGHT_UP: "You're all caught up now :D.",
// scheduling.ts
DAYS_STR_IVL: "${interval} day(s)",
MONTHS_STR_IVL: "${interval} month(s)",
YEARS_STR_IVL: "${interval} year(s)",
DAYS_STR_IVL_MOBILE: "${interval}d",
MONTHS_STR_IVL_MOBILE: "${interval}m",
YEARS_STR_IVL_MOBILE: "${interval}y",
// settings.ts
SETTINGS_HEADER: "Spaced Repetition",
GROUP_TAGS_FOLDERS: "Tags & Folders",
GROUP_FLASHCARD_REVIEW: "Flashcard Review",
GROUP_FLASHCARD_SEPARATORS: "Flashcard Separators",
GROUP_DATA_STORAGE: "Storage of Scheduling Data",
GROUP_DATA_STORAGE_DESC: "Choose where to store the scheduling data",
GROUP_FLASHCARDS_NOTES: "Flashcards & Notes",
GROUP_CONTRIBUTING: "Contributing",
CHECK_WIKI: 'For more information, check the <a href="${wikiUrl}">wiki</a>.',
GITHUB_DISCUSSIONS:
'Visit the <a href="${discussionsUrl}">discussions</a> section for Q&A help, feedback, and general discussion.',
GITHUB_ISSUES:
'Raise an issue <a href="${issuesUrl}">here</a> if you have a feature request or a bug report.',
GITHUB_SOURCE_CODE:
'The project\'s source code is available on <a href="${githubProjectUrl}">GitHub</a>.',
CODE_CONTRIBUTION_INFO:
'<a href="${codeContributionUrl}">Here\'s</a> how to contribute code to the plugin.',
TRANSLATION_CONTRIBUTION_INFO:
'<a href="${translationContributionUrl}">Here\'s</a> how to translate the plugin to another language.',
FOLDERS_TO_IGNORE: "Folders to ignore",
FOLDERS_TO_IGNORE_DESC:
"Enter folder paths or glob patterns on separate lines e.g. Templates/Scripts or **/*.excalidraw.md. This setting is common to both flashcards and notes.",
OBSIDIAN_INTEGRATION: "Integration into Obsidian",
FLASHCARDS: "Flashcards",
FLASHCARD_EASY_LABEL: "Easy Button Text",
FLASHCARD_GOOD_LABEL: "Good Button Text",
FLASHCARD_HARD_LABEL: "Hard Button Text",
FLASHCARD_EASY_DESC: 'Customize the label for the "Easy" Button',
FLASHCARD_GOOD_DESC: 'Customize the label for the "Good" Button',
FLASHCARD_HARD_DESC: 'Customize the label for the "Hard" Button',
REVIEW_BUTTON_DELAY: "Button Press Delay (ms)",
REVIEW_BUTTON_DELAY_DESC: "Add a delay to the review buttons before they can be pressed again.",
FLASHCARD_TAGS: "Flashcard tags",
FLASHCARD_TAGS_DESC:
"Enter tags separated by spaces or newlines i.e. #flashcards #deck2 #deck3.",
CONVERT_FOLDERS_TO_DECKS: "Convert folders to decks and subdecks",
CONVERT_FOLDERS_TO_DECKS_DESC: "This is an alternative to the Flashcard tags option above.",
INLINE_SCHEDULING_COMMENTS:
"Save scheduling comment on the same line as the flashcard's last line?",
INLINE_SCHEDULING_COMMENTS_DESC:
"Turning this on will make the HTML comments not break list formatting.",
BURY_SIBLINGS_TILL_NEXT_DAY: "Bury sibling cards until the next day",
BURY_SIBLINGS_TILL_NEXT_DAY_DESC:
"Siblings are cards generated from the same card text i.e. cloze deletions",
SHOW_CARD_CONTEXT: "Show context in cards",
SHOW_CARD_CONTEXT_DESC: "i.e. Title > Heading 1 > Subheading > ... > Subheading",
SHOW_INTERVAL_IN_REVIEW_BUTTONS: "Show next review time in the review buttons",
SHOW_INTERVAL_IN_REVIEW_BUTTONS_DESC:
"Useful to know how far in the future your cards are being pushed.",
SHOW_DELETE_BUTTON: "Show Delete button",
SHOW_DELETE_BUTTON_DESC: "Add a delete button to the card review UI.",
CARD_MODAL_HEIGHT_PERCENT: "Flashcard Height Percentage",
CARD_MODAL_SIZE_PERCENT_DESC:
"Should be set to 100% on mobile or if you have very large images",
RESET_DEFAULT: "Reset to default",
CARD_MODAL_WIDTH_PERCENT: "Flashcard Width Percentage",
RANDOMIZE_CARD_ORDER: "Randomize card order during review?",
REVIEW_CARD_ORDER_WITHIN_DECK: "Order cards in a deck are displayed during review",
REVIEW_CARD_ORDER_NEW_FIRST_SEQUENTIAL: "Sequentially within a deck (All new cards first)",
REVIEW_CARD_ORDER_DUE_FIRST_SEQUENTIAL: "Sequentially within a deck (All due cards first)",
REVIEW_CARD_ORDER_NEW_FIRST_RANDOM: "Randomly within a deck (All new cards first)",
REVIEW_CARD_ORDER_DUE_FIRST_RANDOM: "Randomly within a deck (All due cards first)",
REVIEW_CARD_ORDER_RANDOM_DECK_AND_CARD: "Random card from random deck",
REVIEW_DECK_ORDER: "Order decks are displayed during review",
REVIEW_DECK_ORDER_PREV_DECK_COMPLETE_SEQUENTIAL:
"Sequentially (once all cards in previous deck reviewed)",
REVIEW_DECK_ORDER_PREV_DECK_COMPLETE_RANDOM:
"Randomly (once all cards in previous deck reviewed)",
REVIEW_DECK_ORDER_RANDOM_DECK_AND_CARD: "Random card from random deck",
DISABLE_CLOZE_CARDS: "Disable cloze cards?",
CONVERT_HIGHLIGHTS_TO_CLOZES: "Convert ==highlights== to clozes",
CONVERT_HIGHLIGHTS_TO_CLOZES_DESC:
'Add/remove the <code>${defaultPattern}</code> from your "Cloze Patterns"',
CONVERT_BOLD_TEXT_TO_CLOZES: "Convert **bolded text** to clozes",
CONVERT_BOLD_TEXT_TO_CLOZES_DESC:
'Add/remove the <code>${defaultPattern}</code> from your "Cloze Patterns"',
CONVERT_CURLY_BRACKETS_TO_CLOZES: "Convert {{curly brackets}} to clozes",
CONVERT_CURLY_BRACKETS_TO_CLOZES_DESC:
'Add/remove the <code>${defaultPattern}</code> from your "Cloze Patterns"',
CLOZE_PATTERNS: "Cloze Patterns",
CLOZE_PATTERNS_DESC:
'Enter cloze patterns separated by newlines. Check the <a href="${docsUrl}">wiki</a> for guidance.',
INLINE_CARDS_SEPARATOR: "Separator for inline flashcards",
FIX_SEPARATORS_MANUALLY_WARNING:
"Note that after changing this you have to manually edit any flashcards you already have.",
INLINE_REVERSED_CARDS_SEPARATOR: "Separator for inline reversed flashcards",
MULTILINE_CARDS_SEPARATOR: "Separator for multiline flashcards",
MULTILINE_REVERSED_CARDS_SEPARATOR: "Separator for multiline reversed flashcards",
MULTILINE_CARDS_END_MARKER: "Characters denoting the end of clozes and multiline flashcards",
NOTES: "Notes",
NOTE: "Note",
REVIEW_PANE_ON_STARTUP: "Enable note review pane on startup",
TAGS_TO_REVIEW: "Tags to review",
TAGS_TO_REVIEW_DESC: "Enter tags separated by spaces or newlines i.e. #review #tag2 #tag3.",
OPEN_RANDOM_NOTE: "Open a random note for review",
OPEN_RANDOM_NOTE_DESC: "When you turn this off, notes are ordered by importance (PageRank).",
AUTO_NEXT_NOTE: "Open next note automatically after a review",
MAX_N_DAYS_REVIEW_QUEUE: "Maximum number of days to display on note review panel",
MIN_ONE_DAY: "The number of days must be at least 1.",
VALID_NUMBER_WARNING: "Please provide a valid number.",
UI: "User Interface",
OPEN_IN_TAB: "Open in new tab",
OPEN_IN_TAB_DESC: "Turn this off to open the plugin in a modal window",
SHOW_STATUS_BAR: "Show status bar",
SHOW_STATUS_BAR_DESC:
"Turn this off to hide the flashcard's review status in Obsidian's status bar",
SHOW_RIBBON_ICON: "Show icon in the ribbon bar",
SHOW_RIBBON_ICON_DESC: "Turn this off to hide the plugin icon from Obsidian's ribbon bar",
ENABLE_FILE_MENU_REVIEW_OPTIONS:
"Enable the review options in the file menu (e.g. Review: Easy, Good, Hard)",
ENABLE_FILE_MENU_REVIEW_OPTIONS_DESC:
"If you disable the review options in the file menu, you can review your notes using the plugin commands and, if you defined them, the associated command hotkeys.",
INITIALLY_EXPAND_SUBDECKS_IN_TREE: "Deck trees should be initially displayed as expanded",
INITIALLY_EXPAND_SUBDECKS_IN_TREE_DESC:
"Turn this off to collapse nested decks in the same card. Useful if you have cards which belong to many decks in the same file.",
ALGORITHM: "Algorithm",
CHECK_ALGORITHM_WIKI:
'For more information, check the <a href="${algoUrl}">algorithm details</a>.',
SM2_OSR_VARIANT: "OSR's variant of SM-2",
BASE_EASE: "Base ease",
BASE_EASE_DESC: "minimum = 130, preferrably approximately 250.",
BASE_EASE_MIN_WARNING: "The base ease must be at least 130.",
LAPSE_INTERVAL_CHANGE: "Interval change when you review a flashcard/note as hard",
LAPSE_INTERVAL_CHANGE_DESC: "newInterval = oldInterval * intervalChange / 100.",
EASY_BONUS: "Easy Bonus",
EASY_BONUS_DESC:
"The easy bonus allows you to set the difference in intervals between answering Good and Easy on a flashcard/note (minimum = 100%).",
EASY_BONUS_MIN_WARNING: "The easy bonus must be at least 100.",
LOAD_BALANCE: "Enable load balancer",
LOAD_BALANCE_DESC: `Slightly tweaks the interval so that the number of reviews per day is more consistent.
It's like Anki's fuzz but instead of being random, it picks the day with the least amount of reviews.
It's turned off for small intervals.`,
MAX_INTERVAL: "Maximum interval in days",
MAX_INTERVAL_DESC: "Allows you to place an upper limit on the interval (default = 100 years).",
MAX_INTERVAL_MIN_WARNING: "The maximum interval must be at least 1 day.",
MAX_LINK_CONTRIB: "Maximum link contribution",
MAX_LINK_CONTRIB_DESC:
"Maximum contribution of the weighted ease of linked notes to the initial ease.",
LOGGING: "Logging",
DISPLAY_SCHEDULING_DEBUG_INFO:
"Show the scheduler's debugging information on the developer console",
DISPLAY_PARSER_DEBUG_INFO: "Show the parser's debugging information on the developer console",
SCHEDULING: "Scheduling",
EXPERIMENTAL: "Experimental",
HELP: "Help",
STORE_IN_NOTES: "In the notes",
// sidebar.ts
NOTES_REVIEW_QUEUE: "Notes Review Queue",
CLOSE: "Close",
NEW: "New",
YESTERDAY: "Yesterday",
TODAY: "Today",
TOMORROW: "Tomorrow",
// stats-modal.tsx
STATS_TITLE: "Statistics",
MONTH: "Month",
QUARTER: "Quarter",
YEAR: "Year",
LIFETIME: "Lifetime",
FORECAST: "Forecast",
FORECAST_DESC: "The number of cards due in the future",
SCHEDULED: "Scheduled",
DAYS: "Days",
NUMBER_OF_CARDS: "Number of cards",
REVIEWS_PER_DAY: "Average: ${avg} reviews/day",
INTERVALS: "Intervals",
INTERVALS_DESC: "Delays until reviews are shown again",
COUNT: "Count",
INTERVALS_SUMMARY: "Average interval: ${avg}, Longest interval: ${longest}",
EASES: "Eases",
EASES_SUMMARY: "Average ease: ${avgEase}",
EASE: "Ease",
CARD_TYPES: "Card Types",
CARD_TYPES_DESC: "This includes buried cards as well, if any",
CARD_TYPE_NEW: "New",
CARD_TYPE_YOUNG: "Young",
CARD_TYPE_MATURE: "Mature",
CARD_TYPES_SUMMARY: "Total cards: ${totalCardsCount}",
SEARCH: "Search",
PREVIOUS: "Previous",
NEXT: "Next",
};