1
# -*- coding: iso-8859-1 -*-
3
MoinMoin - lists of translateable strings
5
MoinMoin uses some translateable strings that do not appear at other
6
places in the source code (and thus, are not found by gettext when
7
extracting translateable strings).
8
Also, some strings need to be organized somehow.
10
TODO i18n.strings / general:
11
* fix other translations (can be done using ##master-page, but help
12
from a native speaker would be the preferred solution)
13
* delete other SystemPagesInXXXGroup if their po file is complete
15
@copyright: 2009 MoinMoin:ThomasWaldmann
16
@license: GNU GPL, see COPYING for details.
19
_ = lambda x: x # dummy translation function
21
# Some basic pages used for every language, but we only need them once in English (don't translate!):
22
not_translated_system_pages = [
32
'ProjectGroupsTemplate',
33
'PermissionDeniedPage',
36
essential_system_pages = [
38
_('WikiTipOfTheDay'), # used by RecentChanges
44
_('WikiHomePage'), # used by CategoryHomepage
46
# these are still in use, but should be killed:
47
_('WikiName'), # linked from misc. help/tips pages
48
_('WikiWikiWeb'), # used by FrontPage/WikiHomePage
51
optional_system_pages = [
59
_('EventStats/HitCounts'),
60
_('EventStats/Languages'),
61
_('EventStats/UserAgents'),
66
_('FortuneCookies'), # use by RandomQuote macro
67
_('WikiLicense'), # does not exist, but can be created by wiki admin
70
translated_system_pages = essential_system_pages + optional_system_pages
72
all_system_pages = not_translated_system_pages + translated_system_pages
74
essential_category_pages = [
75
_('CategoryCategory'),
76
_('CategoryHomepage'),
79
optional_category_pages = [
82
all_category_pages = essential_category_pages + optional_category_pages
84
essential_template_pages = [
85
_('CategoryTemplate'),
86
_('HomepageTemplate'),
89
optional_template_pages = [
91
_('HomepageReadWritePageTemplate'),
92
_('HomepageReadPageTemplate'),
93
_('HomepagePrivatePageTemplate'),
94
_('HomepageGroupsTemplate'),
95
_('SlideShowHandOutTemplate'),
96
_('SlideShowTemplate'),
101
all_template_pages = essential_template_pages + optional_template_pages
103
# Installation / Configuration / Administration Help:
105
_('HelpOnConfiguration'),
106
_('HelpOnConfiguration/EmailSupport'),
107
_('HelpOnConfiguration/SecurityPolicy'),
108
_('HelpOnConfiguration/FileAttachments'),
109
_('HelpOnConfiguration/SupplementationPage'),
110
_('HelpOnConfiguration/SurgeProtection'),
111
_('HelpOnConfiguration/UserPreferences'),
112
_('HelpOnPackageInstaller'),
113
_('HelpOnUpdatingPython'),
114
_('HelpOnAdministration'),
115
_('HelpOnAuthentication'),
116
_('HelpOnAuthentication/ExternalCookie'),
117
_('HelpOnMoinCommand'),
118
_('HelpOnMoinCommand/ExportDump'),
119
_('HelpOnNotification'),
121
_('HelpOnUserHandling'),
125
# Stuff that should live on moinmo.in wiki:
129
essential_help_pages = [
130
_('HelpOnMoinWikiSyntax'), # used by edit action
131
_('HelpOnCreoleSyntax'), # used by edit action
132
# HelpOnParsers/ReStructuredText/RstPrimer could be renamed and used in a similar way
135
optional_help_pages = [
136
_('HelpOnFormatting'), # still needed?
139
_('HelpForBeginners'),
142
_('HelpOnAccessControlLists'),
144
_('HelpOnActions/AttachFile'),
145
_('HelpOnAdmonitions'),
146
_('HelpOnAutoAdmin'),
147
_('HelpOnCategories'),
148
_('HelpOnDictionaries'),
150
_('HelpOnEditLocks'),
151
_('HelpOnEditing'), # used by edit action!
152
_('HelpOnEditing/SubPages'),
153
_('HelpOnGraphicalEditor'),
155
_('HelpOnHeadlines'),
157
_('HelpOnLanguages'),
159
_('HelpOnLinking/NotesLinks'),
163
_('HelpOnMacros/EmbedObject'),
164
_('HelpOnMacros/Include'),
165
_('HelpOnMacros/MailTo'),
166
_('HelpOnMacros/MonthCalendar'),
167
_('HelpOnNavigation'),
168
_('HelpOnOpenIDProvider'),
169
_('HelpOnPageCreation'),
170
_('HelpOnPageDeletion'),
172
_('HelpOnParsers/ReStructuredText'),
173
_('HelpOnParsers/ReStructuredText/RstPrimer'),
174
_('HelpOnProcessingInstructions'),
176
_('HelpOnSearching'),
177
_('HelpOnSlideShows'),
178
_('HelpOnSlideShows/000 Introduction'),
179
_('HelpOnSlideShows/100 Creating the slides'),
180
_('HelpOnSlideShows/900 Last but not least: Running your presentation'),
183
_('HelpOnSpellCheck'),
184
_('HelpOnSuperUser'),
185
_('HelpOnSynchronisation'),
187
_('HelpOnTemplates'),
189
_('HelpOnUserPreferences'),
190
_('HelpOnVariables'),
193
_('HelpOnSubscribing'),
195
# these are still in use, but should be killed:
196
_('CamelCase'), # linked from misc. help/course pages
199
all_help_pages = essential_help_pages + optional_help_pages
204
_('WikiCourse/01 What is a MoinMoin wiki?'),
205
_('WikiCourse/02 Finding information'),
206
_('WikiCourse/03 Staying up to date'),
207
_('WikiCourse/04 Creating a wiki account'),
208
_('WikiCourse/05 User preferences'),
209
_('WikiCourse/06 Your own wiki homepage'),
210
_('WikiCourse/07 The text editor'),
211
_('WikiCourse/08 Hot Keys'),
212
_('WikiCourse/10 Text layout with wiki markup'),
213
_('WikiCourse/11 Paragraphs'),
214
_('WikiCourse/12 Headlines'),
215
_('WikiCourse/13 Lists'),
216
_('WikiCourse/14 Text styles'),
217
_('WikiCourse/15 Tables'),
218
_('WikiCourse/16 Wiki internal links'),
219
_('WikiCourse/17 External links'),
220
_('WikiCourse/18 Attachments'),
221
_('WikiCourse/19 Symbols'),
222
_('WikiCourse/20 Dynamic content'),
223
_('WikiCourse/21 Macros'),
224
_('WikiCourse/22 Parsers'),
225
_('WikiCourse/23 Actions'),
226
_('WikiCourse/30 The graphical editor'),
227
_('WikiCourse/40 Creating more pages'),
228
_('WikiCourse/50 Wiki etiquette'),
229
_('WikiCourse/51 Applications'),
230
_('WikiCourse/52 Structure in the wiki'),
231
_('WikiCourseHandOut'),
235
essential_system_pages +
236
essential_category_pages +
237
essential_template_pages +
242
optional_system_pages +
243
optional_category_pages +
244
optional_template_pages +
258
# an list of page sets translators should look at,
259
# ordered in the order translators should look at them
261
'not_translated_system_pages',
262
'essential_system_pages',
263
'essential_help_pages',
264
'essential_category_pages',
265
'essential_template_pages',
267
'optional_system_pages',
268
'optional_help_pages',
269
'optional_category_pages',
270
'optional_template_pages',
272
'translated_system_pages',
275
'all_category_pages',
276
'all_template_pages',
283
# we use Sun at index 0 and 7 to be compatible with EU and US day indexing
284
# schemes, like it is also done within crontab entries:
285
weekdays = [_('Sun'), _('Mon'), _('Tue'), _('Wed'), _('Thu'), _('Fri'), _('Sat'), _('Sun')]
297
# the editbar link text of the default supplementation page link:
301
del _ # delete the dummy translation function