While Perl has no problems with keywords as hash keys,
the emacs perl mode has. Quote them and fix some whitespace
oddities that were caused by this issue.
Since I copied the language footer stuff from webwml, but didn't
copy all the chinese specific hacks. Therefor this is currently
broken in more or less subtle ways. Will need to fix that first.
While this is only used by Ubuntu atm, it is still useful
to have in the master branch to not have to deal with different
sections.pot files on the different branches.
Packages::I18N::Languages: Sync with webwml/english/template/debian/languages.wml
Includes the following changes:
revision 1.141
date: 2007-04-22 00:37:25 +0200; author: jseidel; state: Exp; lines: +3 -0
Added Persian, thanks Abbas Esmaeeli Some'eh <abbas@gnu.org>
----------------------------
revision 1.140
date: 2005-08-13 00:36:22 +0200; author: djpig; state: Exp; lines: +2 -1
Add native name of Armenian and latin transliteration
----------------------------
revision 1.139
date: 2005-08-12 15:40:53 +0200; author: djpig; state: Exp; lines: +1 -0
Add dummy entry for Armenian to %selflang since this is needed to let
it appear in the language list in the footer
----------------------------
revision 1.138
date: 2005-08-12 15:19:54 +0200; author: djpig; state: Exp; lines: +1 -0
Add armenian
Packages::DoSearchContents: Avoid breaking the grep pipe
Since grep doesn't handle SIGPIPE in any sane way but instead
clutters the error.log with useless comments like
"grep: writing output: Broken pipe" for each and every line it
wants to write, lets make it happy and read all the stuff in even
if we don't use it.
create_index_pages: Make common functions available to all templates
The common functions were only available in suite_index.tmpl, but not
in index.tmpl. Fix that by giving them to the initial Packages::Template->new
call.
Directly imitate the dependency listing in the legend
by using <ul><li> inside the table cells. This makes the
legend autoadjust to any changes in the CSS for the dependency
listing and mirrors the appearance completly.
html/show.tmpl: Improve dependency list readability for blind people
Suggested by Richard Atterer <richard -at- 2007 atterer net>
Use @media to define .visual/.nonvisual to be used instead of the
slightly broken hidecss. Replace <img> by <span> since we don't intend
to show images here most of the time anyway.
Also let the list-style-type differ so that people can see the difference
even without images.
html/show.tmpl: Improve display of VCS-* information
Suggested by Joey Hess <joeyh@debian.org>
Move the detailed VCS-* links below the download table as
these can get very long, and since the URIs can't be
broken, this may make the sidebar very huge and ugly.
Still leave the links available in the sidebar but
don't display the URIs themselves.
Comment clean-up: Remove $Id$, fix FSF address, copyright years
- Remove $Id$ since we don't use them with git
- Fix some old (and some really old) references to the FSF
address
- Update some copyright years
- Add myself to some files as copyright holder
708b1364be58c9b921cc3838d7ed5f5b48959d78 fixed the handling
of ~ but broke the handling of comparing a "normal" letter
with the empty string. A letter sorts earlier than all
non-letter except ~, but of course not earlier as the empty string.
100syncarchive: Really fix retrieval of Release(.gpg) files
7f261c49b0b932c5cf04b107bac3bc8aad5f642c attempted to fix the
retrieval of the Release(.gpg) files from a local mirror but
really didn't because it didn't accounted for the chdir before
the rsync call. Really fix it this time y removing the chdir.
Packages::DoIndex: Ugly hack to fix content negotiation
Since we don't create the static pages for ddtplangs currently,
only for polangs, but we don't discriminate between the two in
the content negotiation we might try to serve a non-existant file.
Fixing the content negoation or the static file generation will
take some time and testing. For now, work around the bug by stat'ing
the requested file in DoIndex and falling back to English in case it doesn't
exist.
Update list of ddtp languages to the ones available on
ddtp.debian.net.
Fix typo in 120synctrans in the remote mirror retrieval
part.
Execute parse-translations before parse-contents in process_archive
because the latter needs way more time.
cron.d/120synctrans: Allow overriding the server for downloading translations
Suggested by Helge Kreutzmann <debian -at- helgefjell de>
Since the translations in the main Debian archive are still way outdated, use
ddtp.debian.net for now. Make overriding $ddtp_ftpsite optional and fall back
to $ftpsite automatically if no seperate $ddtp_ftpsite is defined.
apache.conf: Let apache send static files directly if possible
If we have no QUERY_STRING and a static file is requested, let
apache handle this directly. This also reenables the behaviour
that packages.debian.org/etch goes to packages.debian.org/etch/
instead of searching for etch.
In etch dpkg-source can extract source packages to a designated
directory. Use this instead of trying to extract the directory name
from dpkg-source's output which is inheriently unreliable.
Don't waste time on calling read_entry_simple for removed
packages. Also fix error detection for this call. The result
is always defined (and an array reference), errors can be
detected by checking whether the referenced array is empty.
Packages::DoDownload: Don't try to numerically compare a localized number
After formatting a number with the help of sprintf, it is localized, i.e.
the decimal point might not be a decimal point anymore. So don't try to
compare it numerically (i.e. with '<' or '>') since that will not work.
"Use of uninitialized value" mostly and two
occourence of masking an earlier defined variable.
No bugs really, but they clutter up the web servers log.