This file is indexed.

/usr/share/pyshared/MoinMoin/i18n/strings.py is in python-moinmoin 1.9.3-1ubuntu2.3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
# -*- coding: iso-8859-1 -*-
"""
    MoinMoin - lists of translateable strings

    MoinMoin uses some translateable strings that do not appear at other
    places in the source code (and thus, are not found by gettext when
    extracting translateable strings).
    Also, some strings need to be organized somehow.

    TODO i18n.strings / general:
    * fix other translations (can be done using ##master-page, but help
      from a native speaker would be the preferred solution)
    * delete other SystemPagesInXXXGroup if their po file is complete

    @copyright: 2009 MoinMoin:ThomasWaldmann
    @license: GNU GPL, see COPYING for details.
"""

_ = lambda x: x # dummy translation function

# Some basic pages used for every language, but we only need them once in English (don't translate!):
not_translated_system_pages = [
    'LanguageSetup',
    'InterWikiMap',
    'BadContent',
    'LocalBadContent',
    'EditedSystemPages',
    'LocalSpellingWords',
    'SystemAdmin',
    'SystemInfo',
    'ProjectTemplate',
    'ProjectGroupsTemplate',
    'PermissionDeniedPage',
]

essential_system_pages = [
    _('RecentChanges'),
    _('WikiTipOfTheDay'), # used by RecentChanges
    _('TitleIndex'),
    _('WordIndex'),
    _('FindPage'),
    _('MissingPage'),
    _('MissingHomePage'),
    _('WikiHomePage'), # used by CategoryHomepage

    # these are still in use, but should be killed:
    _('WikiName'), # linked from misc. help/tips pages
    _('WikiWikiWeb'), # used by FrontPage/WikiHomePage
]

optional_system_pages = [
    _('FrontPage'),
    _('WikiSandBox'),
    _('InterWiki'),
    _('AbandonedPages'),
    _('OrphanedPages'),
    _('WantedPages'),
    _('EventStats'),
    _('EventStats/HitCounts'),
    _('EventStats/Languages'),
    _('EventStats/UserAgents'),
    _('PageSize'),
    _('PageHits'),
    _('RandomPage'),
    _('XsltVersion'),
    _('FortuneCookies'), # use by RandomQuote macro
    _('WikiLicense'), # does not exist, but can be created by wiki admin
]

translated_system_pages = essential_system_pages + optional_system_pages

all_system_pages = not_translated_system_pages + translated_system_pages

essential_category_pages = [
    _('CategoryCategory'),
    _('CategoryHomepage'),
]

optional_category_pages = [
]

all_category_pages = essential_category_pages + optional_category_pages

essential_template_pages = [
    _('CategoryTemplate'),
    _('HomepageTemplate'),
]

optional_template_pages = [
    _('HelpTemplate'),
    _('HomepageReadWritePageTemplate'),
    _('HomepageReadPageTemplate'),
    _('HomepagePrivatePageTemplate'),
    _('HomepageGroupsTemplate'),
    _('SlideShowHandOutTemplate'),
    _('SlideShowTemplate'),
    _('SlideTemplate'),
    _('SyncJobTemplate'),
]

all_template_pages = essential_template_pages + optional_template_pages

# Installation / Configuration / Administration Help:
admin_pages = [
    _('HelpOnConfiguration'),
    _('HelpOnConfiguration/EmailSupport'),
    _('HelpOnConfiguration/SecurityPolicy'),
    _('HelpOnConfiguration/FileAttachments'),
    _('HelpOnConfiguration/SupplementationPage'),
    _('HelpOnConfiguration/SurgeProtection'),
    _('HelpOnConfiguration/UserPreferences'),
    _('HelpOnPackageInstaller'),
    _('HelpOnUpdatingPython'),
    _('HelpOnAdministration'),
    _('HelpOnAuthentication'),
    _('HelpOnAuthentication/ExternalCookie'),
    _('HelpOnMoinCommand'),
    _('HelpOnMoinCommand/ExportDump'),
    _('HelpOnNotification'),
    _('HelpOnSessions'),
    _('HelpOnUserHandling'),
    _('HelpOnXapian'),
]

# Stuff that should live on moinmo.in wiki:
obsolete_pages = [
]

essential_help_pages = [
    _('HelpOnMoinWikiSyntax'), # used by edit action
    _('HelpOnCreoleSyntax'), # used by edit action
    # HelpOnParsers/ReStructuredText/RstPrimer could be renamed and used in a similar way
]

optional_help_pages = [
    _('HelpOnFormatting'), # still needed?
    _('MoinMoin'),
    _('HelpContents'),
    _('HelpForBeginners'),
    _('HelpForUsers'),
    _('HelpIndex'),
    _('HelpOnAccessControlLists'),
    _('HelpOnActions'),
    _('HelpOnActions/AttachFile'),
    _('HelpOnAdmonitions'),
    _('HelpOnAutoAdmin'),
    _('HelpOnCategories'),
    _('HelpOnDictionaries'),
    _('HelpOnDrawings'),
    _('HelpOnEditLocks'),
    _('HelpOnEditing'), # used by edit action!
    _('HelpOnEditing/SubPages'),
    _('HelpOnGraphicalEditor'),
    _('HelpOnGroups'),
    _('HelpOnHeadlines'),
    _('HelpOnImages'),
    _('HelpOnLanguages'),
    _('HelpOnLinking'),
    _('HelpOnLinking/NotesLinks'),
    _('HelpOnLists'),
    _('HelpOnLogin'),
    _('HelpOnMacros'),
    _('HelpOnMacros/EmbedObject'),
    _('HelpOnMacros/Include'),
    _('HelpOnMacros/MailTo'),
    _('HelpOnMacros/MonthCalendar'),
    _('HelpOnNavigation'),
    _('HelpOnOpenIDProvider'),
    _('HelpOnPageCreation'),
    _('HelpOnPageDeletion'),
    _('HelpOnParsers'),
    _('HelpOnParsers/ReStructuredText'),
    _('HelpOnParsers/ReStructuredText/RstPrimer'),
    _('HelpOnProcessingInstructions'),
    _('HelpOnRules'),
    _('HelpOnSearching'),
    _('HelpOnSlideShows'),
    _('HelpOnSlideShows/000 Introduction'),
    _('HelpOnSlideShows/100 Creating the slides'),
    _('HelpOnSlideShows/900 Last but not least: Running your presentation'),
    _('HelpOnSmileys'),
    _('HelpOnSpam'),
    _('HelpOnSpellCheck'),
    _('HelpOnSuperUser'),
    _('HelpOnSynchronisation'),
    _('HelpOnTables'),
    _('HelpOnTemplates'),
    _('HelpOnThemes'),
    _('HelpOnUserPreferences'),
    _('HelpOnVariables'),
    _('HelpOnXmlPages'),
    _('HelpOnComments'),
    _('HelpOnSubscribing'),

    # these are still in use, but should be killed:
    _('CamelCase'), # linked from misc. help/course pages
]

all_help_pages = essential_help_pages + optional_help_pages

# Wiki Course:
course_pages = [
    _('WikiCourse'),
    _('WikiCourse/01 What is a MoinMoin wiki?'),
    _('WikiCourse/02 Finding information'),
    _('WikiCourse/03 Staying up to date'),
    _('WikiCourse/04 Creating a wiki account'),
    _('WikiCourse/05 User preferences'),
    _('WikiCourse/06 Your own wiki homepage'),
    _('WikiCourse/07 The text editor'),
    _('WikiCourse/08 Hot Keys'),
    _('WikiCourse/10 Text layout with wiki markup'),
    _('WikiCourse/11 Paragraphs'),
    _('WikiCourse/12 Headlines'),
    _('WikiCourse/13 Lists'),
    _('WikiCourse/14 Text styles'),
    _('WikiCourse/15 Tables'),
    _('WikiCourse/16 Wiki internal links'),
    _('WikiCourse/17 External links'),
    _('WikiCourse/18 Attachments'),
    _('WikiCourse/19 Symbols'),
    _('WikiCourse/20 Dynamic content'),
    _('WikiCourse/21 Macros'),
    _('WikiCourse/22 Parsers'),
    _('WikiCourse/23 Actions'),
    _('WikiCourse/30 The graphical editor'),
    _('WikiCourse/40 Creating more pages'),
    _('WikiCourse/50 Wiki etiquette'),
    _('WikiCourse/51 Applications'),
    _('WikiCourse/52 Structure in the wiki'),
    _('WikiCourseHandOut'),
]

essential_pages = (
    essential_system_pages +
    essential_category_pages +
    essential_template_pages +
    essential_help_pages
)

optional_pages = (
    optional_system_pages +
    optional_category_pages +
    optional_template_pages +
    optional_help_pages
)

all_pages = (
    all_system_pages +
    all_category_pages +
    all_template_pages +
    all_help_pages +
    admin_pages +
    obsolete_pages +
    course_pages
)

# an list of page sets translators should look at,
# ordered in the order translators should look at them
pagesets = [
    'not_translated_system_pages',
    'essential_system_pages',
    'essential_help_pages',
    'essential_category_pages',
    'essential_template_pages',
    'essential_pages',
    'optional_system_pages',
    'optional_help_pages',
    'optional_category_pages',
    'optional_template_pages',
    'optional_pages',
    'translated_system_pages',
    'all_system_pages',
    'all_help_pages',
    'all_category_pages',
    'all_template_pages',
    'admin_pages',
    'course_pages',
    'obsolete_pages',
    'all_pages',
]

# we use Sun at index 0 and 7 to be compatible with EU and US day indexing
# schemes, like it is also done within crontab entries:
weekdays = [_('Sun'), _('Mon'), _('Tue'), _('Wed'), _('Thu'), _('Fri'), _('Sat'), _('Sun')]

actions = [
    _('AttachFile'),
    _('DeletePage'),
    _('LikePages'),
    _('LocalSiteMap'),
    _('RenamePage'),
    _('SpellCheck'),
]

misc = [
    # the editbar link text of the default supplementation page link:
    _('Discussion'),
]

del _ # delete the dummy translation function