finish pages i18n
This commit is contained in:
parent
1a8c8537a4
commit
692c70d324
13 changed files with 144 additions and 86 deletions
|
|
@ -11,85 +11,75 @@
|
|||
= f.input :parent_id, as: :select, collection: parent_pages_to_select(@page)
|
||||
.form-actions
|
||||
= button_tag :name => 'preview', class: 'btn' do
|
||||
%i.icon-search
|
||||
Vorschau
|
||||
%i.icon-search= t '.preview'
|
||||
= button_tag class: 'btn' do
|
||||
%i.icon-save
|
||||
Speichern
|
||||
= link_to "oder abbrechen", @page
|
||||
%i.icon-save= t 'ui.save'
|
||||
= link_to t('ui.or_cancel'), @page
|
||||
|
||||
.span4
|
||||
%h3 Schnelle Formatierungshilfe
|
||||
%h3= t '.help.title'
|
||||
%table.table
|
||||
%tbody
|
||||
%tr
|
||||
%td(colspan=2)
|
||||
%b Zeichenformatierung
|
||||
%b= t '.help.section_character'
|
||||
%tr
|
||||
%td
|
||||
%i kursiv
|
||||
%i= t '.help.italic'
|
||||
%td
|
||||
%pre
|
||||
''kursiv''<br />
|
||||
''#{t '.help.italic'}''<br />
|
||||
%tr
|
||||
%td
|
||||
%b fett
|
||||
%b= t '.help.bold'
|
||||
%td
|
||||
%pre '''Fett'''<br />
|
||||
%pre '''#{t '.help.bold'}'''<br />
|
||||
%tr
|
||||
%td= t '.help.noformat'
|
||||
%td
|
||||
Keine Wiki-<br/>Formatierung
|
||||
%td
|
||||
%pre <nowiki>text</nowiki>
|
||||
%pre <nowiki>#{t '.help.text'}</nowiki>
|
||||
%tr
|
||||
%td(colspan=2)
|
||||
%b Block-Formatierung
|
||||
%b= t '.help.section_block'
|
||||
%tr
|
||||
%td
|
||||
Überschriften
|
||||
%td= t '.help.headings'
|
||||
%td
|
||||
%pre
|
||||
\== Ebene 1 ==
|
||||
\== #{t '.help.heading', level: 1} ==
|
||||
%pre
|
||||
\=== Ebene 2 ===
|
||||
\=== #{t '.help.heading', level: 2} ===
|
||||
%pre
|
||||
\==== Ebene 3 ====
|
||||
\==== #{t '.help.heading', level: 3} ====
|
||||
%tr
|
||||
%td
|
||||
Listen mit Punkten
|
||||
%td= t '.help.unordered_list'
|
||||
%td
|
||||
%pre
|
||||
* Erster Punkt
|
||||
* #{t '.help.list_item_1'}
|
||||
%pre
|
||||
** Zweiter Punkt
|
||||
** #{t '.help_list_item_2'}
|
||||
%tr
|
||||
%td
|
||||
Listen mit Zahlen
|
||||
%td= t '.help.ordered_list'
|
||||
%td
|
||||
%pre
|
||||
\# Ersten Punkt
|
||||
\# #{t '.help.list_item_1'}
|
||||
%pre
|
||||
\# Zweiter Punkt
|
||||
\# #{t '.help.list_item_2'}
|
||||
%tr
|
||||
%td(colspan=2)
|
||||
%b Link-Formatierung
|
||||
%b= t '.help.section_link'
|
||||
%tr
|
||||
%td
|
||||
Wiki-Links
|
||||
%td= t '.help.wiki_links'
|
||||
%td
|
||||
%pre
|
||||
[[Foodsoft Wiki Seite]]
|
||||
[[#{t '.help.wiki_link_ex'}]]
|
||||
%tr
|
||||
%td
|
||||
Externe Links
|
||||
%td= t '.help.external_links'
|
||||
%td
|
||||
%pre
|
||||
[http://addresse.net Externe Seite]
|
||||
[http://example.net #{t '.help.external_link_ex'}]
|
||||
%tr
|
||||
%td(colspan=2)
|
||||
%b Tabellenformatierung
|
||||
%tr
|
||||
%td
|
||||
Siehe
|
||||
= link_to "Tabellen", "http://www.mediawiki.org/wiki/Help:Tables", :target => '_blank'
|
||||
%td!= t '.help.see_tables', tables_link: link_to(t('.help.tables_link'), "http://www.mediawiki.org/wiki/Help:Tables", :target => '_blank')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue