X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=templates%2Fconfig.tmpl;h=e4ccf7210df2a181afd7048e4d45b635413d746e;hp=6fb12e0c8e214cb5f4cd88e8d969e806de646451;hb=694cb1687b2502b24c32f1f10b6a227fa484920e;hpb=fd3a4878c0c933947c195f10ebb44ee83401a0e9 diff --git a/templates/config.tmpl b/templates/config.tmpl index 6fb12e0..e4ccf72 100644 --- a/templates/config.tmpl +++ b/templates/config.tmpl @@ -1,9 +1,10 @@ [%- DEFAULT charset = 'UTF-8' - lang = 'en' + po_lang = 'en' + ddtp_lang = 'en' organisation = 'Debian' - homepage = 'http://www.debian.org/' + project_homepage = 'http://www.debian.org/' packages_homepage = 'http://packages.debian.net/' searchformurl = packages_homepage search_url = '/' @@ -13,11 +14,14 @@ 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' + cn_help_url = project_homepage _ 'intro/cn' logo = { - url => homepage, + url => project_homepage, src => '/Pics/openlogo-nd-25.png', alt => organisation, } @@ -27,21 +31,29 @@ 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) -%] [%- # 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 ) -%]