git.schokokeks.org
Repositories
Help
Report an Issue
tor-webwml.git
Code
Commits
Branches
Tags
Suche
Strukturansicht:
764711e15
Branches
Tags
bridges
docs-debian
jobs
master
press-clips
tor-webwml.git
projects
cy
sidenav.wmi
Update the menu on the projects page for other languages as well
Runa A. Sandvik
commited
764711e15
at 2011-09-09 02:11:00
sidenav.wmi
Blame
History
Raw
#!/usr/bin/wml ## translation metadata # Revision: $Revision: 25040 $ # Translation-Priority: 2-medium # this structure defines the side nav bar for the /projects pages # and is the input for include/side.wmi # fields: # # name - the $WML_SRC_BASENAME of the file. It should uniquely identify the # page because at build-time it is used to determine what view of the # navigation menu to generate # # url - the path to the wml page, as used the the <page> tag. This tag ensures # that links will point to the current language if supported, and alternately # the english version # # txt - the link text to be displayed. Different translations will # need to supply alternate txt <: my $sidenav; $sidenav = [ {'url' => 'projects/projects', 'txt' => 'Software & Services', 'subelements' => [ {'url' => 'torbutton/index', 'txt' => 'TorButton', }, {'url' => 'projects/torbrowser', 'txt' => 'Tor Browser Bundle', }, {'url' => 'projects/vidalia', 'txt' => 'Vidalia', }, {'url' => 'projects/arm', 'txt' => 'Arm', }, {'url' => 'https://guardianproject.info/apps/orbot/', 'txt' => 'Orbot', }, {'url' => 'https://tails.boum.org/', 'txt' => 'Tails', }, {'url' => 'http://torstatus.blutmagie.de/', 'txt' => 'TorStatus', }, {'url' => 'https://metrics.torproject.org/', 'txt' => 'Metrics Portal', }, {'url' => 'projects/cloud', 'txt' => 'Tor Cloud', } ] }]; :>