X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fconfig.tmpl;h=26d6e85c3e08d270c8de15a6297871072a74c8ea;hb=59da095beebcee4ec6d78531709d709db391017c;hp=74a561277c24e09ffc2520403d2135e228070d11;hpb=42a5a96dd0c539135f2e1cb044a91f9e2f441f5f;p=deb%2Fpackages.git
diff --git a/templates/config.tmpl b/templates/config.tmpl
index 74a5612..26d6e85 100644
--- a/templates/config.tmpl
+++ b/templates/config.tmpl
@@ -1,23 +1,30 @@
[%- DEFAULT
charset = 'UTF-8'
- lang = 'en'
+ po_lang = 'en'
+ ddtp_lang = 'en'
organisation = 'Debian'
- homepage = 'http://www.debian.org/'
- packages_homepage = 'http://packages.debian.org/'
+ project_homepage = 'http://www.debian.org/'
+ packages_homepage = '/'
+ packages_homepage_abs = 'http://packages.debian.org/'
+ old_releases = 'http://archive.debian.net/'
searchformurl = packages_homepage
- search_url = '/'
+ search_url = '/search'
tags_url = 'http://debtags.alioth.debian.org/'
bugs_url = 'http://bugs.debian.org/'
pts_url = 'http://packages.qa.debian.org/'
ddpo_url = 'http://qa.debian.org/developer.php?login='
src_bugs_url = bugs_url _ 'src:'
mirror_url = 'http://ftp.debian.org/'
- changelogs_url = 'http://packages.debian.org/changelogs/'
+ security_mirror = 'security.debian.org'
+ security_mirror_url = security_mirror _ '/debian-security'
+ security_suite_suffix = '/updates'
+ changelogs_url = '/changelogs/'
policy_url = 'http://www.debian.org/doc/debian-policy/'
- cn_help_url = homepage _ 'intro/cn'
+ cn_help_url = project_homepage _ 'intro/cn'
+ patch_tracking_url = 'http://patch-tracker.debian.org/package'
logo = {
- url => homepage,
+ url => project_homepage,
src => '/Pics/openlogo-nd-25.png',
alt => organisation,
}
@@ -27,21 +34,48 @@
years => '1997 - ' _ timestamp.year,
}
license = {
- url => homepage _ 'license'
+ url => project_homepage _ 'license'
+ }
+ trademark = {
+ name => copyright.name,
+ url => project_homepage _ 'trademark'
}
contact = {
- name => 'Debian Web Mailinglist',
+ name => g('Debian Web Mailinglist'),
mail => 'debian-www@lists.debian.org',
- url => homepage _ 'contact',
+ url => project_homepage _ 'contact',
}
admin = {
- name => 'Debian Webmaster',
+ name => g('%s Webmaster', organisation),
mail => 'webmaster@debian.org',
}
- trademarknotes = organisation _ ' is a trademark of ' _ copyright.name
+ trademarknotes = g('%s is a trademark of %s', organisation, trademark.url, trademark.name)
+ sponsors = [
+ {
+ url => 'http://1und1.de/',
+ name => '1&1 Internet AG',
+ },
+ {
+ url => 'http://www.hp.com/',
+ name => 'Hewlett-Packard',
+ },
+ {
+ url => 'http://cs.helsinki.fi/index.en.html',
+ name => 'University of Helsinki - Department of Computer Science',
+ },
+ {
+ url => 'http://www.csail.mit.edu/',
+ name => 'MIT Computer Science & Artificial Intelligence Lab',
+ },
+ ]
-%]
[%-
# possible values for importance: high, normal, low
# sitewidemsg = { importance => "high",
-# txt => "Please note that this is an experimental version of packages.debian.org. Errors and obsolete information should be expected" }
+# txt => g('Please note that this is an experimental version of %s. Errors and obsolete information should be expected', 'packages.debian.org', 'packages.debian.org') }
+# txt => "Site maintainance in progress, some temporary problems might occour." }
-%]
+[%# @translators: . = decimal_point , = thousands_sep, see Number::Format %]
+[%- USE num = Number.Format( decimal_point => g('.'),
+ thousands_sep => g(','),
+ decimal_fill => 1 ) -%]