X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fconfig.tmpl;h=8b20d1407003818b2db9594faa3b01b15b7ff94d;hb=582530fd89f3532346a1059176389b376b86c151;hp=12d4c5a66ccf85cfad58a1575551059cf2023900;hpb=ba42b86941d74677cd28f470f5e04a11fc57b1a8;p=deb%2Fpackages.git diff --git a/templates/config.tmpl b/templates/config.tmpl index 12d4c5a..8b20d14 100644 --- a/templates/config.tmpl +++ b/templates/config.tmpl @@ -1,12 +1,16 @@ [%- DEFAULT charset = 'UTF-8' - lang = 'en' + po_lang = 'en' + ddtp_lang = 'en' organisation = 'Ubuntu' - homepage = 'http://www.ubuntu.com/' - packages_homepage = 'http://packages.ubuntu.lichtenheld.net/' + project_homepage = 'http://www.ubuntu.com/' + packages_homepage = '/' + packages_homepage_abs = 'http://packages.ubuntu.com/' + packages_homepage_abs = 'http://packages.debian.net/' + old_releases = 'http://old-releases.ubuntu.com/' searchformurl = packages_homepage - search_url = '/' + search_url = '/search' tags_url = 'http://debtags.alioth.debian.org/' bugs_url = 'http://bugs.debian.org/' launchpad_url = 'https://launchpad.net/distros/ubuntu/+source/' @@ -14,11 +18,17 @@ ddpo_url = 'http://qa.debian.org/developer.php?login=' src_bugs_url = bugs_url _ 'src:' mirror_url = 'http://archive.ubuntu.com/' + security_mirror = 'security.ubuntu.com' + security_mirror_url = security_mirror _ '/ubuntu' + security_suite_suffix = '-security' changelogs_url = 'http://changelogs.ubuntu.com/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' + screenshots_url = 'http://screenshots.debian.net/package/' + screenshots_thumb_url = 'http://screenshots.debian.net/thumbnail-with-version/' logo = { - url => homepage, + url => project_homepage, src => '/Pics/openlogo-nd-25.png', alt => organisation, } @@ -28,21 +38,39 @@ years => timestamp.year, } license = { - url => homepage _ 'legal' + url => project_homepage _ 'legal' + } + trademark = { + name => copyright.name, + url => project_homepage _ 'aboutus/trademarkpolicy' } contact = { name => 'Frank Lichtenheld', mail => 'frank@lichtenheld.de', - url => homepage _ 'support', + url => project_homepage _ 'support', } admin = { name => 'Frank Lichtenheld', mail => 'frank@lichtenheld.de', } - trademarknotes = organisation _ ' is a trademark of ' _ copyright.name + trademarknotes = g('%s is a trademark of %s', organisation, trademark.url, trademark.name) +# sponsors = [ +# { +# url => 'http://example.invalid/', +# name => 'Example Sponsor, Inc.', +# }, +# { +# url => 'http://example2.invalid/', +# name => 'Example2 Sponsor, Inc.', +# }, +# ] -%] [%- # possible values for importance: high, normal, low - sitewidemsg = { importance => "high", - txt => "Please note that this is an experimental version of packages.ubuntu.com. 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.ubuntu.com', 'packages.ubuntu.com') } -%] +[%# @translators: . = decimal_point , = thousands_sep, see Number::Format %] +[%- USE num = Number.Format( decimal_point => g('.'), + thousands_sep => g(','), + decimal_fill => 1 ) -%]