X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fconfig.tmpl;h=addbd8df4403a499319425a72a8c6bcf8142b2f0;hb=b3b605e02a0cc13e7f70de400c93c1ef21a4273e;hp=def9bae5351a6f23bab2ec8754a9a0789225f7c5;hpb=65c3333549a7b7db89fd908a68cc337431e8189b;p=deb%2Fpackages.git
diff --git a/templates/config.tmpl b/templates/config.tmpl
index def9bae..addbd8d 100644
--- a/templates/config.tmpl
+++ b/templates/config.tmpl
@@ -1,10 +1,11 @@
[%- DEFAULT
charset = 'UTF-8'
- lang = 'en'
+ po_lang = 'en'
+ ddtp_lang = 'en'
organisation = 'Debian'
- homepage = 'http://www.debian.org/'
- packages_homepage = 'http://packages.debian.net/'
+ project_homepage = 'http://www.debian.org/'
+ packages_homepage = 'http://packages.debian.org/'
searchformurl = packages_homepage
search_url = '/'
tags_url = 'http://debtags.alioth.debian.org/'
@@ -18,9 +19,9 @@
security_suite_suffix = '/updates'
changelogs_url = 'http://packages.debian.org/changelogs/'
policy_url = 'http://www.debian.org/doc/debian-policy/'
- cn_help_url = homepage _ 'intro/cn'
+ cn_help_url = project_homepage _ 'intro/cn'
logo = {
- url => homepage,
+ url => project_homepage,
src => '/Pics/openlogo-nd-25.png',
alt => organisation,
}
@@ -30,16 +31,16 @@
years => '1997 - ' _ timestamp.year,
}
license = {
- url => homepage _ 'license'
+ url => project_homepage _ 'license'
}
trademark = {
name => copyright.name,
- url => homepage _ 'trademark'
+ url => project_homepage _ 'trademark'
}
contact = {
name => g('Debian Web Mailinglist'),
mail => 'debian-www@lists.debian.org',
- url => homepage _ 'contact',
+ url => project_homepage _ 'contact',
}
admin = {
name => g('%s Webmaster', organisation),
@@ -49,6 +50,11 @@
-%]
[%-
# possible values for importance: high, normal, low
- sitewidemsg = { importance => "high",
- txt => g('Please note that this is an experimental version of packages.debian.org. Errors and obsolete information should be expected') }
+# sitewidemsg = { importance => "high",
+# 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 ) -%]