Property changes on: trunk/extensions/SpecialForm/MediaWiki-Sample-form.wiki |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 1 | + native |
Property changes on: trunk/extensions/SpecialForm/TODO |
___________________________________________________________________ |
Added: svn:eol-style |
2 | 2 | + native |
Property changes on: trunk/extensions/SpecialForm/SpecialForm.body.php |
___________________________________________________________________ |
Added: svn:eol-style |
3 | 3 | + native |
Index: trunk/extensions/SpecialForm/SpecialForm.i18n.php |
— | — | @@ -25,21 +25,32 @@ |
26 | 26 | exit( 1 ); |
27 | 27 | } |
28 | 28 | |
29 | | -$SpecialFormMessages = |
30 | | - array('en' => array('form' => 'Form', |
31 | | - 'formnoname' => 'No Form Name', |
32 | | - 'formnonametext' => 'You must provide a form name, like "Special:Form/Nameofform".', |
33 | | - 'formbadname' => 'Bad Form Name', |
34 | | - 'formbadnametext' => 'There is no form by that name.', |
35 | | - 'formpattern' => '$1-form', |
36 | | - 'formtemplatepattern' => '$1', |
37 | | - 'formtitlepattern' => 'Add New $1', |
38 | | - 'formsave' => 'Save', |
39 | | - 'formarticleexists' => 'Article Exists', |
40 | | - 'formarticleexiststext' => 'The article [[$1]] already exists.', |
41 | | - 'formsavesummary' => 'New article using [[Special:Form/$1]]', |
42 | | - 'formsaveerror' => 'Error Saving Form', |
43 | | - 'formsaveerrortext' => 'There was an unknown error saving article \'$1\'.'), |
44 | | - 'fr' => array('form' => 'Formule')); |
| 29 | +$SpecialFormMessages =array( |
| 30 | + 'en' => array( |
| 31 | + 'form' => 'Form', |
| 32 | + 'formnoname' => 'No Form Name', |
| 33 | + 'formnonametext' => 'You must provide a form name, like "Special:Form/Nameofform".', |
| 34 | + 'formbadname' => 'Bad Form Name', |
| 35 | + 'formbadnametext' => 'There is no form by that name.', |
| 36 | + 'formpattern' => '$1-form', |
| 37 | + 'formtemplatepattern' => '$1', |
| 38 | + 'formtitlepattern' => 'Add New $1', |
| 39 | + 'formsave' => 'Save', |
| 40 | + 'formarticleexists' => 'Article Exists', |
| 41 | + 'formarticleexiststext' => 'The article [[$1]] already exists.', |
| 42 | + 'formsavesummary' => 'New article using [[Special:Form/$1]]', |
| 43 | + 'formsaveerror' => 'Error Saving Form', |
| 44 | + 'formsaveerrortext' => 'There was an unknown error saving article \'$1\'.', |
| 45 | + ), |
45 | 46 | |
| 47 | + 'fr' => array( |
| 48 | + 'form' => 'Formule', |
| 49 | + ), |
| 50 | + |
| 51 | + 'nl' => array( |
| 52 | + 'form' => 'Formulier', |
| 53 | + 'formnoname' => 'Geen formuliernaam', |
| 54 | + ), |
| 55 | +); |
| 56 | + |
46 | 57 | ?> |
\ No newline at end of file |
Property changes on: trunk/extensions/SpecialForm/SpecialForm.i18n.php |
___________________________________________________________________ |
Added: svn:eol-style |
47 | 58 | + native |
Property changes on: trunk/extensions/SpecialForm/SpecialForm.setup.php |
___________________________________________________________________ |
Added: svn:eol-style |
48 | 59 | + native |
Property changes on: trunk/extensions/SpecialForm/Template-Sample.wiki |
___________________________________________________________________ |
Added: svn:eol-style |
49 | 60 | + native |
Property changes on: trunk/extensions/SpecialForm/README |
___________________________________________________________________ |
Added: svn:eol-style |
50 | 61 | + native |
Index: trunk/extensions/Translate/Translate.php |
— | — | @@ -119,6 +119,7 @@ |
120 | 120 | 'ext-sitematrix' => 'SiteMatrixMessageGroup', |
121 | 121 | 'ext-smoothgallery' => 'SmoothGalleryExtensionGroup', |
122 | 122 | 'ext-spamblacklist' => 'SpamBlacklistMessageGroup', |
| 123 | +'ext-specialform' => 'SpecialFormMessageGroup', |
123 | 124 | 'ext-syntaxhighlightgeshi' => 'SyntaxHighlight_GeSHiMessageGroup', |
124 | 125 | 'ext-talkhere' => 'TalkHereExtensionGroup', |
125 | 126 | 'ext-templatelink' => 'TemplateLinkMessageGroup', |
Index: trunk/extensions/Translate/MessageGroups.php |
— | — | @@ -1223,6 +1223,19 @@ |
1224 | 1224 | protected $exportEnd = '),'; |
1225 | 1225 | } |
1226 | 1226 | |
| 1227 | +class SpecialFormMessageGroup extends ExtensionMessageGroup { |
| 1228 | + protected $label = 'Special Form'; |
| 1229 | + protected $id = 'ext-specialform'; |
| 1230 | + |
| 1231 | + protected $arrName = 'SpecialFormMessages'; |
| 1232 | + protected $messageFile = 'SpecialForm/SpecialForm.i18n.php'; |
| 1233 | + |
| 1234 | + protected $exportPrefix= "\t"; |
| 1235 | + protected $exportStart = '\'$CODE\' => array('; |
| 1236 | + protected $exportLineP = "\t\t"; |
| 1237 | + protected $exportEnd = "),"; |
| 1238 | +} |
| 1239 | + |
1227 | 1240 | class SyntaxHighlight_GeSHiMessageGroup extends ExtensionMessageGroup { |
1228 | 1241 | protected $label = 'Syntax Highlight GeSHi'; |
1229 | 1242 | protected $id = 'ext-syntaxhighlightgeshi'; |