xref: /plugin/annotations/lang/en/lang.php (revision 43d2073c014d8cf78420fa47c6568a01e7249305)
1<?php
2
3/**
4 * English language strings for the annotations plugin.
5 */
6
7// must be run within DokuWiki
8if (!defined('DOKU_INC')) die();
9
10// ---------------------------------------------------------------------
11// User-settings toggle
12// ---------------------------------------------------------------------
13
14/** @var string label shown on the preferences page for the on/off toggle */
15$lang['toggle_label'] = 'Enable annotations';
16
17/** @var string description shown below the toggle */
18$lang['toggle_desc']  = 'Highlight annotated text and show the annotation panel on wiki pages.';
19
20// ---------------------------------------------------------------------
21// Page counter / toolbar
22// ---------------------------------------------------------------------
23
24/** @var string plural annotation counter, %d = count */
25$lang['counter_annotations'] = '%d annotations';
26
27/** @var string singular annotation counter */
28$lang['counter_annotation']  = '1 annotation';
29
30/** @var string orphaned annotation counter link, %d = count */
31$lang['counter_orphaned']    = '%d orphaned';
32
33/** @var string shown when there are no annotations on the page */
34$lang['counter_none']        = 'No annotations';
35
36/** @var string button: clear all resolved annotations (admin) */
37$lang['btn_clear_resolved']  = 'Clear resolved';
38
39/** @var string button: clear all orphaned annotations (admin) */
40$lang['btn_clear_orphaned']  = 'Clear orphaned';
41
42// ---------------------------------------------------------------------
43// Annotation thread panel
44// ---------------------------------------------------------------------
45
46/** @var string button: open the reply form */
47$lang['btn_reply']           = 'Reply';
48
49/** @var string button: mark annotation as resolved */
50$lang['btn_resolve']         = 'Resolve';
51
52/** @var string button: reopen a resolved annotation */
53$lang['btn_reopen']          = 'Reopen';
54
55/** @var string button: edit annotation or reply body */
56$lang['btn_edit']            = 'Edit';
57
58/** @var string button: delete annotation or reply */
59$lang['btn_delete']          = 'Delete';
60
61/** @var string button: save an edit or new annotation/reply */
62$lang['btn_save']            = 'Save';
63
64/** @var string button: cancel edit/new-annotation form */
65$lang['btn_cancel']          = 'Cancel';
66
67/** @var string button: submit new annotation */
68$lang['btn_annotate']        = 'Annotate';
69
70// ---------------------------------------------------------------------
71// Status pills
72// ---------------------------------------------------------------------
73
74/** @var string status pill shown on open annotations */
75$lang['status_open']         = 'Open';
76
77/** @var string status pill shown on resolved annotations */
78$lang['status_resolved']     = 'Resolved';
79
80// ---------------------------------------------------------------------
81// Inline form placeholder text
82// ---------------------------------------------------------------------
83
84/** @var string placeholder text inside the body textarea */
85$lang['placeholder_body']    = 'Add a comment…';
86
87/** @var string placeholder text inside the reply textarea */
88$lang['placeholder_reply']   = 'Write a reply…';
89
90// ---------------------------------------------------------------------
91// Selection tooltip
92// ---------------------------------------------------------------------
93
94/** @var string text shown in the tooltip bubble when the user selects text */
95$lang['tooltip_annotate']    = 'Annotate selection';
96
97// ---------------------------------------------------------------------
98// Orphaned annotations section heading
99// ---------------------------------------------------------------------
100
101/** @var string heading for the orphaned-annotations section in the panel */
102$lang['orphaned_heading']    = 'Orphaned annotations';
103
104/** @var string explanatory note under the orphaned heading */
105$lang['orphaned_note']       = 'These annotations reference text that no longer appears on the page.';
106
107// ---------------------------------------------------------------------
108// Error / confirmation messages
109// ---------------------------------------------------------------------
110
111/** @var string generic save error shown in the panel */
112$lang['error_save']          = 'Could not save — please try again.';
113
114/** @var string shown when the selection is too short to annotate */
115$lang['error_selection']     = 'Please select some text to annotate.';
116
117/** @var string confirmation prompt before deleting an annotation */
118$lang['confirm_delete']      = 'Delete this annotation?';
119
120/** @var string confirmation prompt before clearing resolved annotations */
121$lang['confirm_clear_resolved'] = 'Delete all resolved annotations on this page?';
122
123/** @var string confirmation prompt before clearing orphaned annotations */
124$lang['confirm_clear_orphaned'] = 'Delete all orphaned annotations on this page?';
125