xref: /plugin/annotations/lang/en/lang.php (revision 9fd890c3d28899ac6132f5f0d76a031cc5c27f1a)
143d2073cStracker-user<?php
243d2073cStracker-user
343d2073cStracker-user/**
443d2073cStracker-user * English language strings for the annotations plugin.
5da56206cStracker-user *
6da56206cStracker-user * Two groups:
7da56206cStracker-user *   - top-level $lang[...]  : read by PHP via $this->getLang() (the usersettings toggle).
8da56206cStracker-user *   - $lang['js'][...]      : exposed to script.js by DokuWiki as
9da56206cStracker-user *                             LANG.plugins.annotations.<key> (see lib/exe/js.php).
1043d2073cStracker-user */
1143d2073cStracker-user
1243d2073cStracker-user// must be run within DokuWiki
1343d2073cStracker-userif (!defined('DOKU_INC')) die();
1443d2073cStracker-user
1543d2073cStracker-user// ---------------------------------------------------------------------
16da56206cStracker-user// User-settings toggle (PHP side)
1743d2073cStracker-user// ---------------------------------------------------------------------
1843d2073cStracker-user
1943d2073cStracker-user/** @var string label shown on the preferences page for the on/off toggle */
2043d2073cStracker-user$lang['toggle_label'] = 'Enable annotations';
2143d2073cStracker-user
2243d2073cStracker-user/** @var string description shown below the toggle */
2343d2073cStracker-user$lang['toggle_desc']  = 'Highlight annotated text and show the annotation panel on wiki pages.';
2443d2073cStracker-user
2543d2073cStracker-user// ---------------------------------------------------------------------
26*9fd890c3Stracker-user// Admin overview (PHP side, read via $this->getLang())
27*9fd890c3Stracker-user// ---------------------------------------------------------------------
28*9fd890c3Stracker-user
29*9fd890c3Stracker-user$lang['menu']               = 'Annotations';
30*9fd890c3Stracker-user$lang['heading']            = 'Annotated pages';
31*9fd890c3Stracker-user$lang['intro']              = 'Pages that have annotations, with their normal and orphaned counts. Orphaned annotations reference text that no longer appears on the page.';
32*9fd890c3Stracker-user
33*9fd890c3Stracker-user$lang['th_page']            = 'Page';
34*9fd890c3Stracker-user$lang['th_normal']          = 'Normal';
35*9fd890c3Stracker-user$lang['th_orphaned']        = 'Orphaned';
36*9fd890c3Stracker-user$lang['th_actions']         = 'Actions';
37*9fd890c3Stracker-user
38*9fd890c3Stracker-user$lang['filter_search']      = 'Search';
39*9fd890c3Stracker-user$lang['filter_clear']       = 'Clear';
40*9fd890c3Stracker-user
41*9fd890c3Stracker-user$lang['btn_clear_orphaned'] = 'Clear orphaned';
42*9fd890c3Stracker-user$lang['btn_clear_all']      = 'Clear all orphaned (%d)';
43*9fd890c3Stracker-user
44*9fd890c3Stracker-user$lang['confirm_clear_page'] = 'Delete all orphaned annotations on this page?';
45*9fd890c3Stracker-user$lang['confirm_clear_all']  = 'Delete all orphaned annotations on every page?';
46*9fd890c3Stracker-user
47*9fd890c3Stracker-user$lang['cleared_page']       = 'Removed %d orphaned annotation(s) from %s.';
48*9fd890c3Stracker-user$lang['cleared_all']        = 'Removed %d orphaned annotation(s) across all pages.';
49*9fd890c3Stracker-user$lang['clear_fail']         = 'Could not clear orphaned annotations.';
50*9fd890c3Stracker-user
51*9fd890c3Stracker-user$lang['none']               = 'No pages have annotations.';
52*9fd890c3Stracker-user$lang['none_match']         = 'No pages match your search.';
53*9fd890c3Stracker-user$lang['shown']              = 'Showing %d–%d of %d';
54*9fd890c3Stracker-user
55*9fd890c3Stracker-user$lang['pager_label']        = 'Pagination';
56*9fd890c3Stracker-user$lang['pager_prev']         = 'Previous page';
57*9fd890c3Stracker-user$lang['pager_next']         = 'Next page';
58*9fd890c3Stracker-user
59*9fd890c3Stracker-user$lang['helper_missing']     = 'The annotations helper is unavailable.';
60*9fd890c3Stracker-user
61*9fd890c3Stracker-user// ---------------------------------------------------------------------
62da56206cStracker-user// Front-end strings (exposed as LANG.plugins.annotations.<key>)
6343d2073cStracker-user// ---------------------------------------------------------------------
6443d2073cStracker-user
65da56206cStracker-user// Counter bar
66da56206cStracker-user$lang['js']['counter_annotation']    = '1 annotation';
67da56206cStracker-user$lang['js']['counter_annotations']   = '%d annotations';
68da56206cStracker-user$lang['js']['counter_orphaned']      = '%d orphaned';
6943d2073cStracker-user
70da56206cStracker-user// Buttons
71da56206cStracker-user$lang['js']['btn_clear_resolved']    = 'Clear resolved';
72da56206cStracker-user$lang['js']['btn_clear_orphaned']    = 'Clear orphaned';
73da56206cStracker-user$lang['js']['btn_reply']             = 'Reply';
74da56206cStracker-user$lang['js']['btn_resolve']           = 'Resolve';
75da56206cStracker-user$lang['js']['btn_reopen']            = 'Reopen';
76da56206cStracker-user$lang['js']['btn_edit']              = 'Edit';
77da56206cStracker-user$lang['js']['btn_delete']            = 'Delete';
78da56206cStracker-user$lang['js']['btn_save']              = 'Save';
79da56206cStracker-user$lang['js']['btn_cancel']            = 'Cancel';
80da56206cStracker-user$lang['js']['btn_annotate']          = 'Annotate';
8143d2073cStracker-user
8243d2073cStracker-user// Status pills
83da56206cStracker-user$lang['js']['status_open']           = 'Open';
84da56206cStracker-user$lang['js']['status_resolved']       = 'Resolved';
8543d2073cStracker-user
86da56206cStracker-user// Form placeholders
87da56206cStracker-user$lang['js']['placeholder_body']      = 'Add a comment…';
88da56206cStracker-user$lang['js']['placeholder_reply']     = 'Write a reply…';
8943d2073cStracker-user
90da56206cStracker-user// Orphaned-annotations drawer
91da56206cStracker-user$lang['js']['orphaned_heading']      = 'Orphaned annotations';
92da56206cStracker-user$lang['js']['orphaned_note']         = 'These annotations reference text that no longer appears on the page.';
93da56206cStracker-user$lang['js']['orphaned_none']         = 'None.';
9443d2073cStracker-user
95da56206cStracker-user// Accessible labels / fallbacks
96da56206cStracker-user$lang['js']['label_close']           = 'Close';
97da56206cStracker-user$lang['js']['label_annotation']      = 'Annotation';
98da56206cStracker-user$lang['js']['label_unknown']         = 'Unknown';
9943d2073cStracker-user
100da56206cStracker-user// Confirmation prompts
101da56206cStracker-user$lang['js']['confirm_delete']        = 'Delete this annotation?';
102da56206cStracker-user$lang['js']['confirm_delete_reply']  = 'Delete this reply?';
103da56206cStracker-user$lang['js']['confirm_clear_resolved'] = 'Delete all resolved annotations on this page?';
104da56206cStracker-user$lang['js']['confirm_clear_orphaned'] = 'Delete all orphaned annotations on this page?';
10543d2073cStracker-user
106da56206cStracker-user// Error messages
107da56206cStracker-user$lang['js']['error_save']            = 'Could not save — please try again.';
108da56206cStracker-user$lang['js']['error_delete']          = 'Could not delete — please try again.';
109da56206cStracker-user$lang['js']['error_status']          = 'Could not update the status — please try again.';
110da56206cStracker-user$lang['js']['error_clear']           = 'Could not clear — please try again.';
11143d2073cStracker-user
112da56206cStracker-user// Relative timestamps (%d = number)
113da56206cStracker-user$lang['js']['time_now']              = 'just now';
114da56206cStracker-user$lang['js']['time_minutes']          = '%dm ago';
115da56206cStracker-user$lang['js']['time_hours']            = '%dh ago';
116da56206cStracker-user$lang['js']['time_days']             = '%dd ago';
117