]> git.deb.at Git - deb/packages.git/blobdiff - templates/config.tmpl
config.tmpl: Rename homepage to project_homepage
[deb/packages.git] / templates / config.tmpl
index def9bae5351a6f23bab2ec8754a9a0789225f7c5..e4ccf7210df2a181afd7048e4d45b635413d746e 100644 (file)
@@ -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 = '/'
@@ -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,
    }
         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),
@@ -50,5 +51,9 @@
 [%-
    # possible values for importance: high, normal, low
    sitewidemsg = { importance => "high",
-                  txt => g('Please note that this is an experimental version of <a href="http://packages.debian.org/">packages.debian.org</a>. Errors and obsolete information should be expected') }
+                  txt => g('Please note that this is an experimental version of <a href="http://%s/">%s</a>. 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 ) -%]