forked from balisujohn/localwriter
-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathresearch_cache_fluff.py
More file actions
81 lines (77 loc) · 1.88 KB
/
Copy pathresearch_cache_fluff.py
File metadata and controls
81 lines (77 loc) · 1.88 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
# WriterAgent - AI Writing Assistant for LibreOffice
# Copyright (c) 2024 John Balis
# Copyright (c) 2026 KeithCu (modifications and relicensing)
#
# Web-research cache fluff: _('…') literals for gettext (make extract-strings / auto-translate).
from plugin.framework.deal_shim import deal
@deal.post(lambda result: isinstance(result, tuple) and len(result) > 0)
def translated_research_cache_fluff() -> tuple[str, ...]:
"""Instruction fluff for the active LO UI locale (standard gettext _() calls)."""
from plugin.framework.i18n import _
return (
_("about"),
_("aim"),
_("any"),
_("awards"),
_("best"),
_("brief"),
_("can"),
_("choices"),
_("compile"),
_("concise"),
_("depth"),
_("description"),
_("detail"),
_("details"),
_("display"),
_("each"),
_("features"),
_("find"),
_("get"),
_("give"),
_("how"),
_("identify"),
_("include"),
_("info"),
_("information"),
_("key"),
_("least"),
_("limit"),
_("list"),
_("me"),
_("notable"),
_("overall"),
_("plain"),
_("plain text"),
_("please"),
_("preferences"),
_("provide"),
_("query"),
_("question"),
_("ratings"),
_("recommendation"),
_("report"),
_("research"),
_("reviews"),
_("search"),
_("short"),
_("show"),
_("signature"),
_("source"),
_("sources"),
_("such"),
_("suitable"),
_("summary"),
_("tell"),
_("text"),
_("their"),
_("top"),
_("trends"),
_("types"),
_("what"),
_("when"),
_("where"),
_("who"),
_("why"),
_("you"),
)