ruwiki 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/Readme.rubygems +86 -0
- data/Readme.tarfile +65 -0
- data/bin/ruwiki +58 -0
- data/bin/ruwiki.cgi +87 -0
- data/bin/ruwiki_convert +56 -0
- data/bin/ruwiki_service.rb +82 -0
- data/bin/ruwiki_servlet +53 -0
- data/contrib/enscript-token.rb +55 -0
- data/contrib/rublog_integrator.rb +68 -0
- data/data/Default/ProjectIndex.ruwiki +49 -0
- data/data/Ruwiki/Antispam.ruwiki +65 -0
- data/data/Ruwiki/BugTracking.ruwiki +33 -0
- data/data/Ruwiki/ChangeLog.ruwiki +102 -0
- data/data/Ruwiki/Configuring_Ruwiki.ruwiki +151 -0
- data/data/Ruwiki/Extending_Ruwiki.ruwiki +317 -0
- data/data/Ruwiki/LicenseAndAuthorInfo.ruwiki +30 -0
- data/data/Ruwiki/ProjectIndex.ruwiki +84 -0
- data/data/Ruwiki/Roadmap.ruwiki +225 -0
- data/data/Ruwiki/RuwikiTemplatingLibrary.ruwiki +156 -0
- data/data/Ruwiki/RuwikiUtilities.ruwiki +157 -0
- data/data/Ruwiki/SandBox.ruwiki +9 -0
- data/data/Ruwiki/To_Do.ruwiki +51 -0
- data/data/Ruwiki/TroubleShooting.ruwiki +33 -0
- data/data/Ruwiki/WikiFeatures.ruwiki +17 -0
- data/data/Ruwiki/WikiMarkup.ruwiki +261 -0
- data/data/Tutorial/AddingPages.ruwiki +16 -0
- data/data/Tutorial/AddingProjects.ruwiki +16 -0
- data/data/Tutorial/ProjectIndex.ruwiki +11 -0
- data/data/Tutorial/SandBox.ruwiki +9 -0
- data/data/agents.banned +60 -0
- data/data/agents.readonly +321 -0
- data/data/hostip.banned +30 -0
- data/data/hostip.readonly +28 -0
- data/lib/ruwiki.rb +622 -0
- data/lib/ruwiki/auth.rb +56 -0
- data/lib/ruwiki/auth/gforge.rb +73 -0
- data/lib/ruwiki/backend.rb +318 -0
- data/lib/ruwiki/backend/flatfiles.rb +217 -0
- data/lib/ruwiki/config.rb +244 -0
- data/lib/ruwiki/exportable.rb +192 -0
- data/lib/ruwiki/handler.rb +342 -0
- data/lib/ruwiki/lang/de.rb +339 -0
- data/lib/ruwiki/lang/en.rb +334 -0
- data/lib/ruwiki/lang/es.rb +339 -0
- data/lib/ruwiki/page.rb +262 -0
- data/lib/ruwiki/servlet.rb +38 -0
- data/lib/ruwiki/template.rb +553 -0
- data/lib/ruwiki/utils.rb +24 -0
- data/lib/ruwiki/utils/command.rb +102 -0
- data/lib/ruwiki/utils/converter.rb +297 -0
- data/lib/ruwiki/utils/manager.rb +639 -0
- data/lib/ruwiki/utils/servletrunner.rb +295 -0
- data/lib/ruwiki/wiki.rb +147 -0
- data/lib/ruwiki/wiki/tokens.rb +136 -0
- data/lib/ruwiki/wiki/tokens/00default.rb +211 -0
- data/lib/ruwiki/wiki/tokens/01wikilinks.rb +166 -0
- data/lib/ruwiki/wiki/tokens/02actions.rb +63 -0
- data/lib/ruwiki/wiki/tokens/abbreviations.rb +40 -0
- data/lib/ruwiki/wiki/tokens/calendar.rb +147 -0
- data/lib/ruwiki/wiki/tokens/headings.rb +43 -0
- data/lib/ruwiki/wiki/tokens/lists.rb +112 -0
- data/lib/ruwiki/wiki/tokens/rubylists.rb +48 -0
- data/ruwiki.conf +22 -0
- data/ruwiki.pkg +0 -0
- data/templates/default/body.tmpl +19 -0
- data/templates/default/content.tmpl +7 -0
- data/templates/default/controls.tmpl +23 -0
- data/templates/default/edit.tmpl +27 -0
- data/templates/default/error.tmpl +14 -0
- data/templates/default/footer.tmpl +23 -0
- data/templates/default/ruwiki.css +297 -0
- data/templates/default/save.tmpl +8 -0
- data/templates/sidebar/body.tmpl +19 -0
- data/templates/sidebar/content.tmpl +8 -0
- data/templates/sidebar/controls.tmpl +8 -0
- data/templates/sidebar/edit.tmpl +27 -0
- data/templates/sidebar/error.tmpl +13 -0
- data/templates/sidebar/footer.tmpl +22 -0
- data/templates/sidebar/ruwiki.css +347 -0
- data/templates/sidebar/save.tmpl +10 -0
- data/templates/simple/body.tmpl +13 -0
- data/templates/simple/content.tmpl +7 -0
- data/templates/simple/controls.tmpl +8 -0
- data/templates/simple/edit.tmpl +25 -0
- data/templates/simple/error.tmpl +10 -0
- data/templates/simple/footer.tmpl +10 -0
- data/templates/simple/ruwiki.css +192 -0
- data/templates/simple/save.tmpl +8 -0
- data/tests/harness.rb +52 -0
- data/tests/tc_backend_flatfile.rb +103 -0
- data/tests/tc_bugs.rb +74 -0
- data/tests/tc_exportable.rb +64 -0
- data/tests/tc_template.rb +145 -0
- data/tests/tc_tokens.rb +335 -0
- data/tests/testall.rb +20 -0
- metadata +182 -0
|
@@ -0,0 +1,339 @@
|
|
|
1
|
+
#--
|
|
2
|
+
# Ruwiki
|
|
3
|
+
# Copyright � 2002 - 2004, Digikata and HaloStatue
|
|
4
|
+
# Alan Chen (alan@digikata.com)
|
|
5
|
+
# Austin Ziegler (austin@halostatue.ca)
|
|
6
|
+
# Translation by Christian Neukirchen (chneukirchen@yahoo.de) on 22oct2003
|
|
7
|
+
# Updated by Christian Neukirchen (purl.org/net/chneukirchen) on 27aug2004
|
|
8
|
+
# Updated by Christian Neukirchen (purl.org/net/chneukirchen) on 09nov2004
|
|
9
|
+
#
|
|
10
|
+
# Licensed under the same terms as Ruby.
|
|
11
|
+
#
|
|
12
|
+
# $Id: de.rb,v 1.14 2004/11/28 23:28:15 austin Exp $
|
|
13
|
+
#++
|
|
14
|
+
module Ruwiki::Lang
|
|
15
|
+
# Ruwiki::Lang::DE is the German-language output module. It contains a
|
|
16
|
+
# hash, *Message*, that contains the messages that may be reported by
|
|
17
|
+
# any method in the Ruwiki library. The messages are identified by a
|
|
18
|
+
# Symbol.
|
|
19
|
+
module DE
|
|
20
|
+
Message = Hash.new { |hh, kk| hh[kk] = "Sprachdatei-FEHLER: Unbekannter Nachrichten-Typ #{k.inspect}."; hh[kk] }
|
|
21
|
+
message = {
|
|
22
|
+
# The encoding for the webpages. This should match the encoding used
|
|
23
|
+
# to create these messages.
|
|
24
|
+
:charset_encoding => "iso-8859-15",
|
|
25
|
+
# Backend-related messages.
|
|
26
|
+
:backend_unknown => "Unbekanntes Backend %1$s.",
|
|
27
|
+
:cannot_create_project => "Kann %1$s nicht erstellen: %2$s",
|
|
28
|
+
:cannot_destroy_project => "Kann %1$s nicht zerst�ren: %2$s",
|
|
29
|
+
:cannot_destroy_topic => "Kann %1$s::%2$s nicht zerst�ren: %3$s",
|
|
30
|
+
:cannot_obtain_lock => "Kann keine Sperre f�r %1$s::%2$s erhalten. Bitte in K�rze nochmal versuchen.",
|
|
31
|
+
:cannot_release_lock => "Kann die Sperre f�r %1$s::%2$s nicht l�sen. Bitte sp�ter nochmal versuchen.",
|
|
32
|
+
:cannot_retrieve_topic => "Kann auf %1$s::%2$s nicht zugreifen: %3$s",
|
|
33
|
+
:cannot_store_topic => "Kann %1$s::%2$s nicht speichern: %3$s",
|
|
34
|
+
:cannot_list_topics => "Kann Themen f�r Projekt %1$s nicht auflisten: %2$s",
|
|
35
|
+
:error_creating_lock => "Fehler beim Erzeugen der Sperre von %1$s::%2$s: %3$s",
|
|
36
|
+
:error_releasing_lock => "Fehler beim L�sen der Sperre von %1$s::%2$s: %3$s",
|
|
37
|
+
:flatfiles_no_data_directory => "Das Daten-Verzeichnis (%1$s) existiert nicht.",
|
|
38
|
+
:no_access_list_projects => "Keine Berechtigung zum Auflisten der Projekte.",
|
|
39
|
+
:no_access_list_topics => "Keine Berechtigung zum Auflisten der Themen von Projekt %1$s.",
|
|
40
|
+
:no_access_to_create_project => "Keine Berechtigung um Projekt %1$s zu erzeugen.",
|
|
41
|
+
:no_access_to_destroy_project => "Keine Berechtigung um Projekt %1$s zu zerst�ren.",
|
|
42
|
+
:no_access_to_destroy_topic => "Keine Berechtigung um Thema %1$s::%2$s zu zerst�ren.",
|
|
43
|
+
:no_access_to_read_topic => "Keine Berechtigung um Thema %1$s::%2$s zu lesen.",
|
|
44
|
+
:no_access_to_store_topic => "Keine Berechtigung um Thema %1$s::%2$s zu speichern.",
|
|
45
|
+
:page_not_in_backend_format => "%1$s::%2$s ist in einem von Backend %3$s nicht unterst�tztem Format.",
|
|
46
|
+
:project_already_exists => "Project %1$s existiert bereits.",
|
|
47
|
+
:project_does_not_exist => "Project %1$s existiert nicht.",
|
|
48
|
+
:search_project_fail => "Suche in Projekt %1$s nach Zeichenkette %2$s gescheitert.",
|
|
49
|
+
:yaml_requires_182_or_higher => "YAML-Flatfile-Support existiert nur f�r Ruby 1.8.2 oder h�her.",
|
|
50
|
+
:not_editing_current_version => <<EOM ,
|
|
51
|
+
Sie haben eine alte Version von %1$s::%2$s abgeschickt. Die Unterschiede
|
|
52
|
+
zwischen ihrer und der jetzigen Version wurden kombiniert. Konfliktierende
|
|
53
|
+
Zeilen zeigen beide Zeilen. Bitte gehen sie sicher, dass sie die gesammte
|
|
54
|
+
Seite bearbeitet haben bevor sie nochmals speichern.
|
|
55
|
+
EOM
|
|
56
|
+
:no_empty_search_string => <<EOM ,
|
|
57
|
+
Das Suchfeld darf nicht leer sein. Bitte etwas eingeben bevor der Suchknopf
|
|
58
|
+
gedr�ckt wird.
|
|
59
|
+
EOM
|
|
60
|
+
:page_is_locked => "Die Seite ist bereits zur Bearbeitung gesperrt. Bitte warte ein paar Minuten und versuche es dann noch ein mal.",
|
|
61
|
+
|
|
62
|
+
# Config-related messages.
|
|
63
|
+
:config_not_ruwiki_config => "Die Konfiguration muss von Typ der Klasse Ruwiki::Config sein.",
|
|
64
|
+
:invalid_template_dir => "Der angegebene Pfad f�r Schablonen (%1$s) existiert nicht oder ist kein Verzeichnis.",
|
|
65
|
+
:no_template_found => "Keine Schablone %1$s im Schablonen-Set '%2$s' gefunden.",
|
|
66
|
+
:no_template_set => "Es gibt kein Schablonen-Set '%1$s' im Schablonen-Pfad.",
|
|
67
|
+
:no_webmaster_defined => "Konfigurations-Fehler: Kein Webmaster definiert.",
|
|
68
|
+
# Miscellaneous messages.
|
|
69
|
+
:complete_utter_failure => "Fataler Fehler",
|
|
70
|
+
:editing => "Editieren",
|
|
71
|
+
:error => "Fehler",
|
|
72
|
+
:invalid_path_info_value => "Fataler Fehler in der Web-Umgebung. PATH_INFO = %1$s",
|
|
73
|
+
# Should this really get translated? --chris
|
|
74
|
+
:render_arguments => "Ruwiki#render muss mit zwei oder mehr Argumenten aufgerufen werden.",
|
|
75
|
+
:unknown_feature => "Unbekanntes Feature %1$s.",
|
|
76
|
+
:topics_for_project => "Themen for Projekt ::%1$s",
|
|
77
|
+
:project_topics_link => "(Themen)",
|
|
78
|
+
:wiki_projects => "Projekte in %1$s",
|
|
79
|
+
:no_projects => "Keine Projekte bekannt.",
|
|
80
|
+
:no_topics => "Keine Themen in Projekt %1$s.",
|
|
81
|
+
:search_results_for => "= Suchergebnisse f�r: %1$s",
|
|
82
|
+
:number_of_hits => "%d Treffer",
|
|
83
|
+
|
|
84
|
+
# Labels
|
|
85
|
+
:label_search_project => "Durchsuche Projekt",
|
|
86
|
+
:label_search_all => "Alles",
|
|
87
|
+
:label_search => "Suche: ",
|
|
88
|
+
:label_project => "Projekt: ",
|
|
89
|
+
:label_topic => "Thema: ",
|
|
90
|
+
:label_edit => "Editieren",
|
|
91
|
+
:label_recent_changes => "Aktuelle �nderungen",
|
|
92
|
+
:label_topics => "Themen",
|
|
93
|
+
:label_projects => "Projekte",
|
|
94
|
+
:label_editing => "Editieren",
|
|
95
|
+
:label_text => "Text:",
|
|
96
|
+
:label_text_accelerator => "T",
|
|
97
|
+
:label_edit_comment => "Anmerkung: ",
|
|
98
|
+
:label_comment_accelerator => "R",
|
|
99
|
+
:label_save => "Speichern",
|
|
100
|
+
:label_save_accelerator => "S",
|
|
101
|
+
:label_cancel => "Abbrechen",
|
|
102
|
+
:label_cancel_accelerator => "A",
|
|
103
|
+
:label_preview => "Vorschau",
|
|
104
|
+
:label_preview_accelerator => "V",
|
|
105
|
+
:label_original_text => "Urspr�ngliche Version",
|
|
106
|
+
:label_raw => "Formatfrei",
|
|
107
|
+
:label_formatted => "Formatiert",
|
|
108
|
+
:label_send_report_by => "Schicken Sie dem Webmaster einen Report via Email.",
|
|
109
|
+
:label_send_report => "Report schicken.",
|
|
110
|
+
:label_saved_page => "Gespeicherte Seite: ",
|
|
111
|
+
|
|
112
|
+
# Note to translators: certain words should be left alone. These
|
|
113
|
+
# will be marked in comments. Description lines are restricted to 40
|
|
114
|
+
# characters and should be an array. Use this as a ruler.
|
|
115
|
+
# => [ "----------------------------------------" ]
|
|
116
|
+
:converter_usage => "Benutzung: %1$s [Optionen] <Verzeichnis>+",
|
|
117
|
+
:converter_format_desc => [ "Konvertiert gefundene Dateien (Jetziges",
|
|
118
|
+
"Format egal) in das angegebene Format",
|
|
119
|
+
"Standard ist flatfiles. Erlaubte",
|
|
120
|
+
"Formate sind: yaml marshal flatfiles" ],
|
|
121
|
+
:converter_backup_desc => [ "Erzeugt Backups der aktualisierten",
|
|
122
|
+
"Dateien. Standard ist --backup." ],
|
|
123
|
+
:converter_backupext_desc => [ 'Gibt die Backup-Erweiterung an. Standard',
|
|
124
|
+
'ist "~", das dem Datendateinamen',
|
|
125
|
+
'angeh�ngt wird.' ],
|
|
126
|
+
:converter_backupext_error => "Die Backup-Erweiterung darf nicht leer sein.",
|
|
127
|
+
:converter_extension_desc => [ "Gibt die Erweiterung der Ruwiki-",
|
|
128
|
+
"Datendateien an. Standard ist .ruwiki" ],
|
|
129
|
+
:converter_extension_error => "Die Erweiterung darf nicht leer sein.",
|
|
130
|
+
:converter_noextension_desc => [ "Gibt an, dass Ruwiki-Datendateien",
|
|
131
|
+
"keine Dateierweiterung haben." ],
|
|
132
|
+
:converter_quiet_desc => [ "Still sein. Standard sind normale",
|
|
133
|
+
"Mitteilungen." ],
|
|
134
|
+
:converter_language_desc => [ "Sprache auf LANG setzen. Standard ist",
|
|
135
|
+
"en (Englisch). Bekannte Sprachen sind:",
|
|
136
|
+
"en es de" ],
|
|
137
|
+
:converter_verbose_desc => [ "Gespr�chig sein. Standard sind normale",
|
|
138
|
+
"Mitteilungen." ],
|
|
139
|
+
:converter_help_desc => [ "Diesen Text zeigen." ],
|
|
140
|
+
:converter_num_arguments => "Fehler: Nicht genug Parameter.",
|
|
141
|
+
:converter_directory => "Verzeichnis",
|
|
142
|
+
:converter_converting_from => "Wandle von %1$s nach %2$s um... ",
|
|
143
|
+
:converter_done => "fertig.",
|
|
144
|
+
:converter_not_ruwiki => "Keine Ruwiki-Datei; �bersprungen.",
|
|
145
|
+
:converter_nosave_modified => "Kann ver�nderte Datei %1$s nicht speichern.",
|
|
146
|
+
:converter_page_format_error => "Fehler: Kann Seitenformat nicht erkennen.",
|
|
147
|
+
|
|
148
|
+
# Messages from Ruwiki::Utils::Manager
|
|
149
|
+
:manager_unknown_command => "Unbekannter Befehl: %1$s",
|
|
150
|
+
:manager_help_commands => <<EOH ,
|
|
151
|
+
Es gibt diese 'ruwiki'-Befehle:
|
|
152
|
+
|
|
153
|
+
ruwiki install Standard-Entwicklungspaket installieren.
|
|
154
|
+
ruwiki package Ruwiki-Installation einpacken.
|
|
155
|
+
ruwiki unpackage Ruwiki-Installation auspacken.
|
|
156
|
+
ruwiki service Win32::Service f�r Ruwiki verwalten.
|
|
157
|
+
|
|
158
|
+
EOH
|
|
159
|
+
:manager_help_help => <<-EOH ,
|
|
160
|
+
Diese Hilfsnachricht zeigt, wie man mehr Informationen zu diesem
|
|
161
|
+
Kommandozeilenwerkzeug erhalten kann:
|
|
162
|
+
|
|
163
|
+
ruwiki help commands Alle 'ruwiki' Befehle anzeigen.
|
|
164
|
+
ruwiki help <BEFEHL> Hilfe zu <BEFEHL> zeigen.
|
|
165
|
+
(e.g., 'ruwiki help install')
|
|
166
|
+
|
|
167
|
+
EOH
|
|
168
|
+
:manager_missing_parameter => "Fehlender Parameter f�r Option: %1$s",
|
|
169
|
+
:manager_dest_not_directory => "Das Ziel (%1$s) ist kein Verzeichnis.",
|
|
170
|
+
:manager_install_help => <<-EOH ,
|
|
171
|
+
ruwiki install [OPTIONEN] [--to ZIEL]
|
|
172
|
+
|
|
173
|
+
Erzeugt eine neue Ruwiki-Instanz. Standardm��ig installiert dies die Daten,
|
|
174
|
+
Schablonen und eine Standard-Konfigurationsdatei im derzeitigen Verzeichnis.
|
|
175
|
+
Das Ziel kann mit --to ge�ndert werden, und was installiert werden soll mit
|
|
176
|
+
der OPTIONEN-Liste. Die Elemente der OPTIONEN-Liste d�rfen durch Leerzeichen,
|
|
177
|
+
Komma oder Semikola getrennt werden. Daher haben
|
|
178
|
+
|
|
179
|
+
ruwiki install data;servlet
|
|
180
|
+
ruwiki install data,servlet
|
|
181
|
+
ruwiki install data servlet
|
|
182
|
+
|
|
183
|
+
alle die gleiche Wirkung. Die Gro�-/Kleinschreibung spielt keine Rolle.
|
|
184
|
+
Die OPTIONEN sind:
|
|
185
|
+
|
|
186
|
+
servlet # Den Ruwiki servlet stub installieren
|
|
187
|
+
service # Den Ruwiki Win32::Service stub installieren
|
|
188
|
+
CGI # Das Ruwiki CGI-Skript installieren
|
|
189
|
+
data # Ruwiki-Daten, Schablonen, und Konfiguration installieren
|
|
190
|
+
|
|
191
|
+
Optionen k�nnen durch voranstellen von '-' oder 'no' abgeschaltet werden:
|
|
192
|
+
|
|
193
|
+
ruwiki install cgi -data
|
|
194
|
+
ruwiki install cgi nodata
|
|
195
|
+
|
|
196
|
+
Dies w�rde das CGI-Skript, nicht aber die Daten installieren.
|
|
197
|
+
EOH
|
|
198
|
+
:manager_package_help => <<-EOH ,
|
|
199
|
+
ruwiki package [QUELL] [--output PAKET] [--replace]
|
|
200
|
+
ruwiki package [QUELL] [-o PAKET] [--replace]
|
|
201
|
+
|
|
202
|
+
Packt die Ruwiki-Dateien (Daten, Schablonen und Programme) vom angegebenen
|
|
203
|
+
QUELL-Verzeichnis oder dem derzeitigen Verzeichnis in das angegebene Paket
|
|
204
|
+
(oder "./%1$s"). Sollte QUELL eine Ruwuki-Konfigurationsdatei sein (z.B.
|
|
205
|
+
"%2$s"), dann wird sie verwendet, um Ort und Name der Daten- und Schablonen-
|
|
206
|
+
Verzeichnisse zu erfahren.
|
|
207
|
+
|
|
208
|
+
MERKE: Der Einpack-Prozess normalisiert die Daten- und Schablonen-
|
|
209
|
+
Verzeichnisnamen relativ zum Einpackverzeichnis. Es werden
|
|
210
|
+
niemals absolute Pfade sein.
|
|
211
|
+
EOH
|
|
212
|
+
:manager_unpackage_help => <<-EOH ,
|
|
213
|
+
ruwiki unpackage [QUELL] [--output VERZEICHNIS]
|
|
214
|
+
ruwiki unpackage [QUELL] [-o VERZEICHNIS]
|
|
215
|
+
|
|
216
|
+
Entpackt das gegebene Rukwiki-Paket (Standard: "./%1$s") in das angebene
|
|
217
|
+
Verzeichnis (oder ".").
|
|
218
|
+
EOH
|
|
219
|
+
:manager_service_broken => "Kann keinen Win32-Service verwalten, wenn Win32::Service nicht installiert ist.",
|
|
220
|
+
:manager_service_lo_argcount => "Ungen�gene Parameteranzahl: %1$s",
|
|
221
|
+
:manager_service_hi_argcount => "Zu viele Parameter: %1$s",
|
|
222
|
+
:manager_service_help => <<-EOH ,
|
|
223
|
+
ruwiki service install NAME [BESCHREIBUNG] [Optionen]
|
|
224
|
+
ruwiki service start NAME
|
|
225
|
+
ruwiki service stop NAME
|
|
226
|
+
ruwiki service delete NAME
|
|
227
|
+
|
|
228
|
+
Verwaltet das Ruwiki WEBrick servlet als Windows-Service. Der Service muss
|
|
229
|
+
benannt (NAME) sein. install unterst�tzt folgende zus�tzliche Optionen:
|
|
230
|
+
|
|
231
|
+
--rubybin RUBYPFAD Der Pfad zum Ruby-Bin�rverzeichnis.
|
|
232
|
+
--exec SERVICEPFAD Der Pfad zum Service-Programm.
|
|
233
|
+
--home PFADNACHAHAUSE Der Pfad zum Heimverzeichnis.
|
|
234
|
+
EOH
|
|
235
|
+
:manager_package_exists => "Das Paket %1$s existiert bereits.",
|
|
236
|
+
:manager_service_installed => "Service %1$s installiert.",
|
|
237
|
+
:manager_one_moment => "Moment, %1$s ...",
|
|
238
|
+
:manager_service_started => "Service %1$s gestartet.",
|
|
239
|
+
:manager_service_stopped => "Service %1$s gestoppt.",
|
|
240
|
+
:manager_service_deleted => "Service %1$s gel�scht.",
|
|
241
|
+
|
|
242
|
+
# Messages from Ruwiki::Utils::Converter
|
|
243
|
+
# Note to translators: certain words should be left alone. These
|
|
244
|
+
# will be marked in comments. Description lines are restricted to 40
|
|
245
|
+
# characters and should be an array. Use this as a ruler.
|
|
246
|
+
# => [ "----------------------------------------" ]
|
|
247
|
+
:runner_usage => "Verwendung: %1$s [Optionen]",
|
|
248
|
+
:runner_general_options => "Allgemeine Optionen:",
|
|
249
|
+
:runner_saveconfig_desc => [ "Sichert die Konfiguration nach FILENAME",
|
|
250
|
+
"und beendet. Falls FILENAME nicht",
|
|
251
|
+
"gegben ist, wird die Standardkonfig-",
|
|
252
|
+
"urationsdatei verwendet. Alle Optionen",
|
|
253
|
+
"werden von der bestehenen Konfiguration",
|
|
254
|
+
"und der Kommandozeile und gesichert.",
|
|
255
|
+
"Das Servlet wird nicht gestartet.",
|
|
256
|
+
"Der Standardname ist:" ],
|
|
257
|
+
:runner_config_desc => [ "Standardkonfiguration von FILENAME",
|
|
258
|
+
"statt der Standardkonfigurationsdatei",
|
|
259
|
+
"lesen. Optionen die bislang gesetzt",
|
|
260
|
+
"wurden werden zu den Werten, die in der",
|
|
261
|
+
"Konfigurationsdatei stehen,",
|
|
262
|
+
" zur�ckgesetzt." ],
|
|
263
|
+
:runner_webrick_options => "WEBrick-Optionen:",
|
|
264
|
+
:runner_port_desc => [ "L�sst das Ruwiki-Servlet auf dem gegebenen",
|
|
265
|
+
"Port laufen. Standard: 8808." ],
|
|
266
|
+
:runner_address_desc => [ "Schr�nkt das Ruwiki-Servlet so ein, dass",
|
|
267
|
+
"es nur die (Komma-separierten) Adressen",
|
|
268
|
+
"akzepiert. Kann mehrfach angegeben werden",
|
|
269
|
+
"Standardm��ig wird nicht eingeschr�nkt." ],
|
|
270
|
+
:runner_local_desc => [ "L�sst das Ruwiki-Servlet nur lokale",
|
|
271
|
+
"Verbindungen akzeptieren (127.0.0.1).",
|
|
272
|
+
"Hebt vorige -A Adressen auf." ],
|
|
273
|
+
:runner_mountpoint_desc => [ "Die relative URI unter der Ruwiki",
|
|
274
|
+
'zugreifbar wird. Standard: "/".' ],
|
|
275
|
+
:runner_log_desc => [ "Protokolliere WEBrick. Standard ist --log." ],
|
|
276
|
+
:runner_logfile_desc => [ "Die Datei, in die das WEBrick-Protokoll",
|
|
277
|
+
"geschrieben wird. Standard: Standard-",
|
|
278
|
+
"fehlerausgabe." ],
|
|
279
|
+
:runner_threads_desc => [ "Setzt den WEBrick-Threadcount." ],
|
|
280
|
+
:runner_ruwiki_options => "Ruwiki-Optionen:",
|
|
281
|
+
:runner_language_desc => [ 'W�hlt die Oberfl�chensprache f�r Ruwiki.',
|
|
282
|
+
'Standard: "en". Kann "en", "de", oder',
|
|
283
|
+
'"es" sein.' ],
|
|
284
|
+
:runner_webmaster_desc => [ 'Die Ruwiki-Wwebmaster Email-Adresse.',
|
|
285
|
+
'Standard: "webmaster@domain.tld".' ],
|
|
286
|
+
:runner_debug_desc => [ 'Aktiviert Ruwuki-Debugging. Standard:',
|
|
287
|
+
'--no-debug.' ],
|
|
288
|
+
:runner_title_desc => [ 'Gibt den Ruwiki-Titel an. Standard ist',
|
|
289
|
+
'"Ruwiki".' ],
|
|
290
|
+
:runner_defaultpage_desc => [ 'Eine andere Standardseite. Standard ist',
|
|
291
|
+
'"ProjectIndex".' ],
|
|
292
|
+
:runner_defaultproject_desc => [ 'Eine andere Standardprojektseite.',
|
|
293
|
+
'Standard ist "Default".' ],
|
|
294
|
+
:runner_templatepath_desc => [ 'Ort, an dem Ruwiki-Schablonen sind.',
|
|
295
|
+
'Standard ist "./templates".' ],
|
|
296
|
+
:runner_templatename_desc => [ 'Name der Ruwiki-Schablonen. Default',
|
|
297
|
+
'Standard ist "default".' ],
|
|
298
|
+
:runner_cssname_desc => [ 'Name der CSS-Datei im Schablonenpfad',
|
|
299
|
+
'Standard ist "ruwiki.css".' ],
|
|
300
|
+
:runner_storage_desc => [ 'W�hle den Speichertyp:' ],
|
|
301
|
+
:runner_datapath_desc => [ 'Ort, an dem Datendateien gespeichert sind.',
|
|
302
|
+
'Standard ist "./data".' ],
|
|
303
|
+
:runner_extension_desc => [ 'Dateierweiterung f�r Datendateien.',
|
|
304
|
+
'Standard ist "ruwiki".' ],
|
|
305
|
+
:runner_central_desc => [ 'L�sst Ruwiki mit den Daten des Standard-',
|
|
306
|
+
'RubyGem-Orts laufen .' ],
|
|
307
|
+
:runner_general_info => "Allgemeine Information:",
|
|
308
|
+
:runner_help_desc => [ "Zeigt diesen Text an." ],
|
|
309
|
+
:runner_version_desc => [ "Zeigt die Ruwuki-Version." ],
|
|
310
|
+
:runner_rejected_address => "Adresse %1$s abgewiesen. Nur Verbindungen von %2$s werden akzeptiert.",
|
|
311
|
+
:runner_banner => <<-BANNER ,
|
|
312
|
+
%1$s
|
|
313
|
+
|
|
314
|
+
WEBrick-Optionen:
|
|
315
|
+
Port %2$d
|
|
316
|
+
Erlaubte Adressen %3$s
|
|
317
|
+
Mount Point %4$s
|
|
318
|
+
Protokollieren? %5$s
|
|
319
|
+
Protokollpfad %6$s
|
|
320
|
+
Threads %7$s
|
|
321
|
+
|
|
322
|
+
Ruwiki-Options:
|
|
323
|
+
Webmaster %8$s
|
|
324
|
+
Debugging? %9$s
|
|
325
|
+
Titel %10$s
|
|
326
|
+
Standardprojekt %11$s
|
|
327
|
+
Standardseite %12$s
|
|
328
|
+
Schablonenpfad %13$s
|
|
329
|
+
Schablone %14$s
|
|
330
|
+
CSS-Datei %15$s
|
|
331
|
+
|
|
332
|
+
Speichertyp %16$s
|
|
333
|
+
Datenpfad %17$s
|
|
334
|
+
Dateierweiterung %18$s
|
|
335
|
+
BANNER
|
|
336
|
+
}
|
|
337
|
+
message.each { |kk, vv| Message[kk] = vv }
|
|
338
|
+
end
|
|
339
|
+
end
|
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
#--
|
|
2
|
+
# Ruwiki
|
|
3
|
+
# Copyright � 2002 - 2004, Digikata and HaloStatue
|
|
4
|
+
# Alan Chen (alan@digikata.com)
|
|
5
|
+
# Austin Ziegler (austin@halostatue.ca)
|
|
6
|
+
#
|
|
7
|
+
# Licensed under the same terms as Ruby.
|
|
8
|
+
#
|
|
9
|
+
# $Id: en.rb,v 1.20 2004/11/28 23:28:15 austin Exp $
|
|
10
|
+
#++
|
|
11
|
+
module Ruwiki::Lang
|
|
12
|
+
# Ruwiki::Lang::EN is the English-language output module. It contains a
|
|
13
|
+
# hash, *Message*, that contains the messages that may be reported by
|
|
14
|
+
# any method in the Ruwiki library. The messages are identified by a
|
|
15
|
+
# Symbol.
|
|
16
|
+
module EN
|
|
17
|
+
Message = Hash.new { |hh, kk| hh[kk] = "Language ERROR: Unknown message key #{kk.inspect}."; hh[kk] }
|
|
18
|
+
message = {
|
|
19
|
+
# The encoding for the webpages. This should match the encoding used
|
|
20
|
+
# to create these messages.
|
|
21
|
+
:charset_encoding => "iso-8859-15",
|
|
22
|
+
# Backend-related messages.
|
|
23
|
+
:backend_unknown => "Backend %1$s is unknown.",
|
|
24
|
+
:cannot_create_project => "Cannot create project %1$s: %2$s",
|
|
25
|
+
:cannot_destroy_project => "Cannot destroy project %1$s: %2$s",
|
|
26
|
+
:cannot_destroy_topic => "Cannot destroy %1$s::%2$s: %3$s",
|
|
27
|
+
:cannot_obtain_lock => "Unable to obtain a lock on %1$s::%2$s. Try again shortly.",
|
|
28
|
+
:cannot_release_lock => "Unable to release the lock on %1$s::%2$s. Try again shortly.",
|
|
29
|
+
:cannot_retrieve_topic => "Cannot retrieve %1$s::%2$s: %3$s",
|
|
30
|
+
:cannot_store_topic => "Cannot store %1$s::%2$s: %3$s",
|
|
31
|
+
:cannot_list_topics => "Cannot list topics for project %1$s: %2$s",
|
|
32
|
+
:error_creating_lock => "Error creating lock on %1$s::%2$s: %3$s",
|
|
33
|
+
:error_releasing_lock => "Error releasing lock on %1$s::%2$s: %3$s",
|
|
34
|
+
:flatfiles_no_data_directory => "The data directory (%1$s) does not exist.",
|
|
35
|
+
:no_access_list_projects => "No permission to list projects.",
|
|
36
|
+
:no_access_list_topics => "No permission to list topics in project %1$s.",
|
|
37
|
+
:no_access_to_create_project => "No permission to create project %1$s.",
|
|
38
|
+
:no_access_to_destroy_project => "No permission to destroy project %1$s::%2$s.",
|
|
39
|
+
:no_access_to_destroy_topic => "No permission to destroy topic %1$s::%2$s.",
|
|
40
|
+
:no_access_to_read_topic => "No permission to retrieve the %1$s::%2$s.",
|
|
41
|
+
:no_access_to_store_topic => "No permission to store the %1$s::%2$s.",
|
|
42
|
+
:page_not_in_backend_format => "%1$s::%2$s is not in the format supported by the backend %3$s.",
|
|
43
|
+
:project_already_exists => "Project %1$s already exists.",
|
|
44
|
+
:project_does_not_exist => "Project %1$s does not exist.",
|
|
45
|
+
:search_project_fail => "Failure searching project %1$s with string %2$s.",
|
|
46
|
+
:yaml_requires_182_or_higher => "YAML flatfile support exists only for Ruby version 1.8.2 or higher.",
|
|
47
|
+
:not_editing_current_version => <<EOM ,
|
|
48
|
+
You have submitted an old version of %1$s::%2$s. The differences between
|
|
49
|
+
your version and the current version of this page have been merged.
|
|
50
|
+
Conflicting lines have both lines shown. Please ensure that you have edited
|
|
51
|
+
the entire page before saving again.
|
|
52
|
+
EOM
|
|
53
|
+
:no_empty_search_string => <<EOM ,
|
|
54
|
+
The search field may not be empty. Please enter something in the search box
|
|
55
|
+
before pressing the search button.
|
|
56
|
+
EOM
|
|
57
|
+
:page_is_locked => "The page is locked for editing. Please wait a few minutes and try again.",
|
|
58
|
+
|
|
59
|
+
# Config-related messages.
|
|
60
|
+
:config_not_ruwiki_config => "Configuration must be of class Ruwiki::Config.",
|
|
61
|
+
:invalid_template_dir => "The specified path for templates (%1$s) does not exist or is not a directory.",
|
|
62
|
+
:no_template_found => "No template of %1$s found in template set %2$s.",
|
|
63
|
+
:no_template_set => "There is no template set '%1$s' in the template path.",
|
|
64
|
+
:no_webmaster_defined => "Configuration error: Webmaster is unset.",
|
|
65
|
+
# Miscellaneous messages.
|
|
66
|
+
:complete_utter_failure => "Complete and Utter Failure",
|
|
67
|
+
:editing => "Editing",
|
|
68
|
+
:error => "Error",
|
|
69
|
+
:invalid_path_info_value => "Something has gone seriously wrong with the web environment. PATH_INFO = %1$s",
|
|
70
|
+
:render_arguments => "Ruwiki#render must be called with zero or two arguments.",
|
|
71
|
+
:unknown_feature => "Unknown feature %1$s.",
|
|
72
|
+
:topics_for_project => "Topics for Project ::%1$s",
|
|
73
|
+
:project_topics_link => "(topics)",
|
|
74
|
+
:wiki_projects => "Projects in %1$s",
|
|
75
|
+
:no_projects => "No known projects.",
|
|
76
|
+
:no_topics => "No topics in project %1$s.",
|
|
77
|
+
:search_results_for => "= Search results for: %1$s",
|
|
78
|
+
:number_of_hits => "%1$d Hits",
|
|
79
|
+
|
|
80
|
+
# Labels
|
|
81
|
+
:label_search_project => "Search Project",
|
|
82
|
+
:label_search_all => "All",
|
|
83
|
+
:label_search => "Search: ",
|
|
84
|
+
:label_project => "Project: ",
|
|
85
|
+
:label_topic => "Topic: ",
|
|
86
|
+
:label_edit => "Edit",
|
|
87
|
+
:label_recent_changes => "Recent Changes",
|
|
88
|
+
:label_topics => "Topics",
|
|
89
|
+
:label_projects => "Projects",
|
|
90
|
+
:label_editing => "Editing",
|
|
91
|
+
:label_text => "Text:",
|
|
92
|
+
:label_text_accelerator => "T",
|
|
93
|
+
:label_edit_comment => "Edit Comment: ",
|
|
94
|
+
:label_comment_accelerator => "O",
|
|
95
|
+
:label_save => "Save",
|
|
96
|
+
:label_save_accelerator => "S",
|
|
97
|
+
:label_cancel => "Cancel",
|
|
98
|
+
:label_cancel_accelerator => "C",
|
|
99
|
+
:label_preview => "Preview",
|
|
100
|
+
:label_preview_accelerator => "P",
|
|
101
|
+
:label_original_text => "Original Text",
|
|
102
|
+
:label_raw => "Raw",
|
|
103
|
+
:label_formatted => "Formatted",
|
|
104
|
+
:label_send_report_by => "Send the Wiki maintainer a report by email.",
|
|
105
|
+
:label_send_report => "Send report.",
|
|
106
|
+
:label_saved_page => "Saved page: ",
|
|
107
|
+
|
|
108
|
+
# Messages from Ruwiki::Utils::Converter
|
|
109
|
+
# Note to translators: certain words should be left alone. These
|
|
110
|
+
# will be marked in comments. Description lines are restricted to 40
|
|
111
|
+
# characters and should be an array. Use this as a ruler.
|
|
112
|
+
# => [ "----------------------------------------" ]
|
|
113
|
+
:converter_usage => "Usage: %1$s [options] <directory>+",
|
|
114
|
+
:converter_format_desc => [ "Converts encountered files (regardless",
|
|
115
|
+
"of the current format), to the specified",
|
|
116
|
+
"format. Default is flatfiles. Allowed",
|
|
117
|
+
"formats are: yaml marshal flatfiles" ],
|
|
118
|
+
:converter_backup_desc => [ "Create backups of upgraded files.",
|
|
119
|
+
"Default is --backup." ],
|
|
120
|
+
:converter_backupext_desc => [ 'Specify the backup extension. Default',
|
|
121
|
+
'is "~", which is appended to the data',
|
|
122
|
+
'filename.' ],
|
|
123
|
+
:converter_backupext_error => "The backup extension must not be empty.",
|
|
124
|
+
:converter_extension_desc => [ "Specifies the extension of Ruwiki data",
|
|
125
|
+
"files. The default is .ruwiki" ],
|
|
126
|
+
:converter_extension_error => "The extension must not be empty.",
|
|
127
|
+
:converter_noextension_desc => [ "Indicates that the Ruwiki data files",
|
|
128
|
+
"have no extension." ],
|
|
129
|
+
:converter_quiet_desc => [ "Runs quietly. Default is to run with",
|
|
130
|
+
"normal messages." ],
|
|
131
|
+
:converter_language_desc => [ "Sets the language to LANG. Defaults",
|
|
132
|
+
"to en (English). Known languages",
|
|
133
|
+
"are: en es de" ],
|
|
134
|
+
:converter_verbose_desc => [ "Runs with full message. Default is to",
|
|
135
|
+
"run with normal messages." ],
|
|
136
|
+
:converter_help_desc => [ "Shows this text." ],
|
|
137
|
+
:converter_num_arguments => "Error: not enough arguments.",
|
|
138
|
+
:converter_directory => "directory",
|
|
139
|
+
:converter_converting_from => "converting from %1$s to %2$s ... ",
|
|
140
|
+
:converter_done => "done.",
|
|
141
|
+
:converter_not_ruwiki => "not a Ruwiki file; skipping.",
|
|
142
|
+
:converter_nosave_modified => "cannot save modified %1$s.",
|
|
143
|
+
:converter_page_format_error => "Error: Cannot detect the page format.",
|
|
144
|
+
|
|
145
|
+
# Messages from Ruwiki::Utils::Manager
|
|
146
|
+
:manager_unknown_command => "Unknown command: %1$s",
|
|
147
|
+
:manager_help_commands => <<EOH ,
|
|
148
|
+
The commands known to 'ruwiki' are:
|
|
149
|
+
|
|
150
|
+
ruwiki install Installs the default deployment package.
|
|
151
|
+
ruwiki package Packages a Ruwiki installation.
|
|
152
|
+
ruwiki unpackage Unpackages a Ruwiki installation.
|
|
153
|
+
ruwiki service Manages a Win32::Service for Ruwiki.
|
|
154
|
+
|
|
155
|
+
EOH
|
|
156
|
+
:manager_help_help => <<-EOH ,
|
|
157
|
+
This is a basic help message containing pointers to more information on how
|
|
158
|
+
to use this command-line tool. Try:
|
|
159
|
+
|
|
160
|
+
ruwiki help commands list all 'ruwiki' commands
|
|
161
|
+
ruwiki help <COMMAND> show help on <COMMAND>
|
|
162
|
+
(e.g., 'ruwiki help install')
|
|
163
|
+
|
|
164
|
+
EOH
|
|
165
|
+
:manager_missing_parameter => "Missing parameter for option: %1$s",
|
|
166
|
+
:manager_dest_not_directory => "The destination (%1$s) is not a directory.",
|
|
167
|
+
:manager_install_help => <<-EOH ,
|
|
168
|
+
ruwiki install [OPTIONS] [--to DEST]
|
|
169
|
+
|
|
170
|
+
Creates a new Ruwiki instance. By default this installs the data, templates,
|
|
171
|
+
and a default configuration file to the current directory. The destination
|
|
172
|
+
can be changed with the --to option, and what is installed can be specified
|
|
173
|
+
with the OPTIONS list. The OPTIONS list may be space, comma, or semi-colon
|
|
174
|
+
separated. Thus,
|
|
175
|
+
|
|
176
|
+
ruwiki install data;servlet
|
|
177
|
+
ruwiki install data,servlet
|
|
178
|
+
ruwiki install data servlet
|
|
179
|
+
|
|
180
|
+
are all equivalent. The options may be specified in any case. The
|
|
181
|
+
installation OPTIONS are:
|
|
182
|
+
|
|
183
|
+
servlet # Installs the Ruwiki servlet stub
|
|
184
|
+
service # Installs the Ruwiki Win32::Service stub
|
|
185
|
+
CGI # Installs the Ruwiki CGI script
|
|
186
|
+
data # Installs the Ruwiki data, templates, and configuration
|
|
187
|
+
|
|
188
|
+
Options may be disabled with by prepending a dash or 'no':
|
|
189
|
+
|
|
190
|
+
ruwiki install cgi -data
|
|
191
|
+
ruwiki install cgi nodata
|
|
192
|
+
|
|
193
|
+
These will install the CGI script but not the data.
|
|
194
|
+
EOH
|
|
195
|
+
:manager_package_help => <<-EOH ,
|
|
196
|
+
ruwiki package [SOURCE] [--output PACKAGE] [--replace]
|
|
197
|
+
ruwiki package [SOURCE] [-o PACKAGE] [--replace]
|
|
198
|
+
|
|
199
|
+
Packages the Ruwiki files (data, templates, and executables) from the
|
|
200
|
+
specified SOURCE or the current directory into the specified output package
|
|
201
|
+
(or "./%1$s"). If the SOURCE is a ruwiki configuration file (e.g.,
|
|
202
|
+
"%2$s"), then that will be used to determine the location and name of
|
|
203
|
+
the data and template directories.
|
|
204
|
+
|
|
205
|
+
NOTE: The packaging process will normalize the data and templates
|
|
206
|
+
directory names to be relative to the unpacking directory. They
|
|
207
|
+
will NEVER be absolute paths.
|
|
208
|
+
EOH
|
|
209
|
+
:manager_unpackage_help => <<-EOH ,
|
|
210
|
+
ruwiki unpackage [SOURCE] [--output DIRECTORY]
|
|
211
|
+
ruwiki unpackage [SOURCE] [-o DIRECTORY]
|
|
212
|
+
|
|
213
|
+
Unpackages the provided Ruwiki package (default "./%1$s") into the
|
|
214
|
+
specified directory (default ".").
|
|
215
|
+
EOH
|
|
216
|
+
:manager_service_broken => "Cannot manage a Win32 service if Win32::Service is not installed.",
|
|
217
|
+
:manager_service_lo_argcount => "Insufficient arguments: %1$s",
|
|
218
|
+
:manager_service_hi_argcount => "Too many arguments: %1$s",
|
|
219
|
+
:manager_service_help => <<-EOH ,
|
|
220
|
+
ruwiki service install NAME [DESCRIPTION] [options]
|
|
221
|
+
ruwiki service start NAME
|
|
222
|
+
ruwiki service stop NAME
|
|
223
|
+
ruwiki service delete NAME
|
|
224
|
+
|
|
225
|
+
Manages the Ruwiki WEBrick servlet as a Windows service. The service must be
|
|
226
|
+
NAMEd. install supports the following additional options:
|
|
227
|
+
|
|
228
|
+
--rubybin RUBYPATH The path to the Ruby binary.
|
|
229
|
+
--exec SERVICEPATH The path to the service executable.
|
|
230
|
+
--home PATHTOHOME The path to the home directory.
|
|
231
|
+
EOH
|
|
232
|
+
:manager_package_exists => "Package %1$s already exists.",
|
|
233
|
+
:manager_service_installed => "%1$s service installed.",
|
|
234
|
+
:manager_one_moment => "One moment, %1$s ...",
|
|
235
|
+
:manager_service_started => "%1$s service started.",
|
|
236
|
+
:manager_service_stopped => "%1$s service stopped.",
|
|
237
|
+
:manager_service_deleted => "%1$s service deleted.",
|
|
238
|
+
|
|
239
|
+
# Messages from Ruwiki::Utils::Converter
|
|
240
|
+
# Note to translators: certain words should be left alone. These
|
|
241
|
+
# will be marked in comments. Description lines are restricted to 40
|
|
242
|
+
# characters and should be an array. Use this as a ruler.
|
|
243
|
+
# => [ "----------------------------------------" ]
|
|
244
|
+
:runner_usage => "Usage: %1$s [options]",
|
|
245
|
+
:runner_general_options => "General options:",
|
|
246
|
+
:runner_saveconfig_desc => [ "Saves the configuration to FILENAME and",
|
|
247
|
+
"exit. If FILENAME is not used, then the",
|
|
248
|
+
"default configuration file will be",
|
|
249
|
+
"used. All options will be read from the",
|
|
250
|
+
"existing configuration file and the",
|
|
251
|
+
"command-line and saved. The servlet",
|
|
252
|
+
"will not start. The default name is:" ],
|
|
253
|
+
:runner_config_desc => [ "Read the default configuration from",
|
|
254
|
+
"FILENAME instead of the default config",
|
|
255
|
+
"file. Options set until this point will",
|
|
256
|
+
"be reset to the values from those read",
|
|
257
|
+
"configuration file." ],
|
|
258
|
+
:runner_webrick_options => "WEBrick options:",
|
|
259
|
+
:runner_port_desc => [ "Runs the Ruwiki servlet on the specified",
|
|
260
|
+
"port. Default 8808." ],
|
|
261
|
+
:runner_address_desc => [ "Restricts the Ruwiki servlet to accepting",
|
|
262
|
+
"connections from the specified address or",
|
|
263
|
+
"(comma-separated) addresses. May be",
|
|
264
|
+
"specified multiple times. Defaults to all",
|
|
265
|
+
"addresses." ],
|
|
266
|
+
:runner_local_desc => [ "Restricts the Ruwiki servlet to accepting",
|
|
267
|
+
"only local connections (127.0.0.1).",
|
|
268
|
+
"Overrides any previous -A addresses." ],
|
|
269
|
+
:runner_mountpoint_desc => [ "The relative URI from which Ruwiki will",
|
|
270
|
+
'be accessible. Defaults to "/".' ],
|
|
271
|
+
:runner_log_desc => [ "Log WEBrick activity. Default is --log." ],
|
|
272
|
+
:runner_logfile_desc => [ "The file to which WEBrick logs are",
|
|
273
|
+
"written. Default is standard error." ],
|
|
274
|
+
:runner_threads_desc => [ "Sets the WEBrick threadcount." ],
|
|
275
|
+
:runner_ruwiki_options => "Ruwiki options:",
|
|
276
|
+
:runner_language_desc => [ 'The interface language for Ruwiki.',
|
|
277
|
+
'Defaults to "en". May be "en", "de", or',
|
|
278
|
+
'"es".' ],
|
|
279
|
+
:runner_webmaster_desc => [ 'The Ruwiki webmaster email address.',
|
|
280
|
+
'Defaults to "webmaster@domain.tld".' ],
|
|
281
|
+
:runner_debug_desc => [ 'Turns on Ruwiki debugging. Defaults',
|
|
282
|
+
'to --no-debug.' ],
|
|
283
|
+
:runner_title_desc => [ 'Provides the Ruwiki title. Default is',
|
|
284
|
+
'"Ruwiki".' ],
|
|
285
|
+
:runner_defaultpage_desc => [ 'An alternate default page. Default is',
|
|
286
|
+
'"ProjectIndex".' ],
|
|
287
|
+
:runner_defaultproject_desc => [ 'An alternate default project. Default is',
|
|
288
|
+
'"Default".' ],
|
|
289
|
+
:runner_templatepath_desc => [ 'The location of Ruwiki templates. Default',
|
|
290
|
+
'is "./templates".' ],
|
|
291
|
+
:runner_templatename_desc => [ 'The name of the Ruwiki templates. Default',
|
|
292
|
+
'is "default".' ],
|
|
293
|
+
:runner_cssname_desc => [ 'The name of the CSS file in the template',
|
|
294
|
+
'path. Default is "ruwiki.css".' ],
|
|
295
|
+
:runner_storage_desc => [ 'Select the storage type:' ],
|
|
296
|
+
:runner_datapath_desc => [ 'The path where data files are stored.',
|
|
297
|
+
'Default is "./data".' ],
|
|
298
|
+
:runner_extension_desc => [ 'The extension for data files.',
|
|
299
|
+
'Default is "ruwiki".' ],
|
|
300
|
+
:runner_central_desc => [ 'Runs Ruwiki with the data in the default',
|
|
301
|
+
'RubyGem location.' ],
|
|
302
|
+
:runner_general_info => "General info:",
|
|
303
|
+
:runner_help_desc => [ "Shows this text." ],
|
|
304
|
+
:runner_version_desc => [ "Shows the version of Ruwiki." ],
|
|
305
|
+
:runner_rejected_address => "Rejected peer address %1$s. Connections are only accepted from %2$s.",
|
|
306
|
+
:runner_banner => <<-BANNER ,
|
|
307
|
+
%1$s
|
|
308
|
+
|
|
309
|
+
WEBrick options:
|
|
310
|
+
Port %2$d
|
|
311
|
+
Accepted Addresses %3$s
|
|
312
|
+
Mount Point %4$s
|
|
313
|
+
Logging? %5$s
|
|
314
|
+
Log Destination %6$s
|
|
315
|
+
Threads %7$s
|
|
316
|
+
|
|
317
|
+
Ruwiki options:
|
|
318
|
+
Webmaster %8$s
|
|
319
|
+
Debugging? %9$s
|
|
320
|
+
Title %10$s
|
|
321
|
+
Default Project %11$s
|
|
322
|
+
Default Page %12$s
|
|
323
|
+
Template Path %13$s
|
|
324
|
+
Template Set %14$s
|
|
325
|
+
CSS Source %15$s
|
|
326
|
+
|
|
327
|
+
Storage Type %16$s
|
|
328
|
+
Data Path %17$s
|
|
329
|
+
Extension %18$s
|
|
330
|
+
BANNER
|
|
331
|
+
}
|
|
332
|
+
message.each { |kk, vv| Message[kk] = vv }
|
|
333
|
+
end
|
|
334
|
+
end
|