comparison MoinMoin/i18n/strings.py @ 4682:088e291e6a21

rename i18n/dummy to i18n/strings, use it for new approach for SystemPages later
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 13 Apr 2009 23:05:56 +0200
parents MoinMoin/i18n/dummy.py@4f49f6e762a8
children 2f5fa1f9aa32
comparison
equal deleted inserted replaced
4681:b94ed1321130 4682:088e291e6a21
1 # -*- coding: iso-8859-1 -*-
2 """
3 MoinMoin - lists of translateable strings
4
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.
9
10 @copyright: 2009 MoinMoin:ThomasWaldmann
11 @license: GNU GPL, see COPYING for details.
12 """
13
14 _ = lambda x: x # dummy translation function
15
16 # TODO: check lists against SystemPagesInEnglishGroup
17
18 essential_system_pages = [
19 _('FrontPage'),
20 _('RecentChanges'),
21 _('TitleIndex'),
22 _('WordIndex'),
23 _('FindPage'),
24 _('SiteNavigation'),
25 _('HelpContents'),
26 _('HelpOnFormatting'),
27 _('WikiLicense'),
28 _('MissingPage'),
29 _('MissingHomePage'),
30 ]
31
32 optional_system_pages = [
33 ]
34
35 system_pages = essential_system_pages + optional_system_pages
36
37 # we use Sun at index 0 and 7 to be compatible with EU/US day indexing scheme,
38 # like it is also done by crontab entries etc.
39 weekdays = [_('Sun'), _('Mon'), _('Tue'), _('Wed'), _('Thu'), _('Fri'), _('Sat'), _('Sun')]
40
41 actions = [
42 _('AttachFile'),
43 _('DeletePage'),
44 _('LikePages'),
45 _('LocalSiteMap'),
46 _('RenamePage'),
47 _('SpellCheck'),
48 ]
49
50 misc = [
51 # the editbar link text of the default supplementation page link:
52 _('Discussion'),
53 ]
54
55 del _ # delete the dummy translation function
56