X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=templates%2Fconfig.tmpl;h=294d8f0a1ee8a3b3e764facbc44473621230f23a;hp=e89e4c9e269d10074bf3a6135439a03aa46e9f40;hb=2442b6d4d053bc955fcfa96db3c74d52416303bc;hpb=36926bc25c4342c4be4fc9babf45edc5f6862f49 diff --git a/templates/config.tmpl b/templates/config.tmpl index e89e4c9..294d8f0 100644 --- a/templates/config.tmpl +++ b/templates/config.tmpl @@ -1,6 +1,7 @@ [%- DEFAULT charset = 'UTF-8' - lang = 'en' + po_lang = 'en' + ddtp_lang = 'en' organisation = 'Debian' homepage = 'http://www.debian.org/' @@ -9,14 +10,19 @@ search_url = '/' 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/' + security_mirror = 'security.debian.org' + security_mirror_url = security_mirror _ '/debian-security' + 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' logo = { url => homepage, - src => '/Pics/openlogo-nd-50.png', + src => '/Pics/openlogo-nd-25.png', alt => organisation, } copyright = { @@ -27,19 +33,27 @@ license = { url => homepage _ 'license' } + trademark = { + name => copyright.name, + url => homepage _ 'trademark' + } contact = { - name => 'Debian Web Mailinglist', + name => g('Debian Web Mailinglist'), mail => 'debian-www@lists.debian.org', url => 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) -%] [%- # 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') } -%] +[%# @translators: . = decimal_point , = thousands_sep, see Number::Format %] +[%- USE num = Number.Format( decimal_point => g('.'), + thousands_sep => g(','), + decimal_fill => 1 ) -%]