diff --git a/de/foot.wmi b/de/foot.wmi index 4fadc308..ff067a5a 100644 --- a/de/foot.wmi +++ b/de/foot.wmi @@ -1,25 +1,36 @@ #!/usr/bin/wml ## translation metadata -# Based-On-Revision: 1.4 +# Based-On-Revision: 1.5 # Last-Translator: peter@palfrader.org #use "functions.wmi"
+

Webmaster - # Id: developers.html,v 1.41 2005/08/31 20:19:16 thomass Exp Letzte änderung: <:{ my @stat = stat('$(LANG)/'.$WML_SRC_FILENAME); print scalar localtime($stat[9]); }:> - Zuletzt kompiliert: <: print scalar localtime(); :> +

- <: unless (translation_current()) { :> -

+ <: unless (translation_current()) { :> +

Achtung: Diese Übersetzung ist möglicherweise veraltet. Das englische Original ist auf Revision <:= translation_get_masterrevision() :> während diese Übersetzung auf <:= translation_get_basedonrevision() :> basiert. - <: } :> +

+ <: } :> + + <: if (has_translations()) { :> +

+ Diese Seite gibt es auch in den folgenden Sprachen: + <: print list_translations() :>.
+ Wie stellt man die Standardsprache ein. +

+ <: }; :>
diff --git a/en/foot.wmi b/en/foot.wmi index afd039d2..f9ef7d7b 100644 --- a/en/foot.wmi +++ b/en/foot.wmi @@ -7,20 +7,31 @@
+

Webmaster - # Id: developers.html,v 1.41 2005/08/31 20:19:16 thomass Exp +# please also translate "last modified" and "last compiled" Last modified: <:{ my @stat = stat('$(LANG)/'.$WML_SRC_FILENAME); print scalar localtime($stat[9]); }:> - Last compiled: <: print scalar localtime(); :> - +

# Uncomment this in your translation: (and translate it) ##################################### -# <: unless (translation_current()) { :> -#

+# <: unless (translation_current()) { :> +#

# Warning: This translation might be obsolete. The English original is at Revision # <:= translation_get_masterrevision() :> while this translation is based on # <:= translation_get_basedonrevision() :>. -# <: } :> +#

+# <: } :> + + <: if (has_translations()) { :> +

+ This page is also available in the following languages: + <: print list_translations() :>.
+ How to set the default document language. +

+ <: }; :>
diff --git a/fr/foot.wmi b/fr/foot.wmi index fa144305..fd9b10a7 100644 --- a/fr/foot.wmi +++ b/fr/foot.wmi @@ -1,25 +1,36 @@ #!/usr/bin/wml ## translation metadata -# Based-On-Revision: 1.4 +# Based-On-Revision: 1.5 # Last-Translator: ultra.high.temperature@gmail.com #use "functions.wmi"
+

Webmaster - # Id: developers.html,v 1.41 2005/08/31 20:19:16 thomass Exp - Letzte änderung: <:{ my @stat = stat('$(LANG)/'.$WML_SRC_FILENAME); print scalar localtime($stat[9]); }:> + Dernière modification : <:{ my @stat = stat('$(LANG)/'.$WML_SRC_FILENAME); print scalar localtime($stat[9]); }:> - - Zuletzt kompiliert: <: print scalar localtime(); :> + Dernière compilation : <: print scalar localtime(); :> +

-<: unless (translation_current()) { :> -

-Attention: Cette tradcution peut être obsolète. La version anglaise originale est la -<:= translation_get_masterrevision() :> alors que la version traduite est basée sur la -<:= translation_get_basedonrevision() :>. -<: } :> + <: unless (translation_current()) { :> +

+ Attention: Cette tradcution peut être obsolète. La version anglaise originale est la + <:= translation_get_masterrevision() :> alors que la version traduite est basée sur la + <:= translation_get_basedonrevision() :>. +

+ <: } :> + + <: if (has_translations()) { :> +

+ Cette page est aussi disponible dans les langues suivantes : + <: print list_translations() :>.
+ Comment configurer la langue par défaut du document. +

+ <: }; :>
diff --git a/images/green-flagspace.png b/images/green-flagspace.png new file mode 100644 index 00000000..0e51a9bc Binary files /dev/null and b/images/green-flagspace.png differ diff --git a/include/functions.wmi b/include/functions.wmi index 3bcf92c8..eb4c90c2 100644 --- a/include/functions.wmi +++ b/include/functions.wmi @@ -70,4 +70,23 @@ sub file_is_obsolete($$) { return (exists $translation->{'Status'} && ($translation->{'Status'} eq 'obsolete')) }; +sub list_translations() { + my @links = (); + my $page = $WML_SRC_FILENAME; + my $numlangs = 0; + $page =~ s/\.wml//; + for my $dir (sort {$LANGUAGES{$a} cmp $LANGUAGES{$b}} @LANGUAGES) { + if (-e "$dir/$WML_SRC_FILENAME") { + if ($dir ne '$(LANG)') { + push @links, sprintf('%s', $page, $dir, $LANGUAGES{$dir}); + }; + }; + }; + return join(', ', @links); +}; + +sub has_translations() { + return list_translations() ne ''; +}; + :> diff --git a/include/head.wmi b/include/head.wmi index af4f15bd..dd31468f 100644 --- a/include/head.wmi +++ b/include/head.wmi @@ -57,11 +57,15 @@ my $numlangs = 0; $page =~ s/\.wml//; for my $dir (sort {$LANGUAGES{$a} cmp $LANGUAGES{$b}} @LANGUAGES) { - next if $dir eq '$(LANG)'; if (-e "$dir/$WML_SRC_FILENAME") { - printf('%s', $page, $dir, $dir, $LANGUAGES{$dir}); - last if ++$numlangs >= 3; - } + if ($dir eq '$(LANG)') { + printf('%s ', $dir, $LANGUAGES{$dir}); + } else { + printf('%s ', $page, $dir, $dir, $LANGUAGES{$dir}); + }; + } else { + printf(' '); + }; }; }:> diff --git a/it/foot.wmi b/it/foot.wmi index f0b42c07..f7c0694e 100644 --- a/it/foot.wmi +++ b/it/foot.wmi @@ -1,32 +1,42 @@ #!/usr/bin/wml ## translation metadata -# Based-On-Revision: unknown +# Based-On-Revision: 1.5 # Last-Translator: unknown #use "functions.wmi"
+

Webmaster - # Id: developers.html,v 1.41 2005/08/31 20:19:16 thomass Exp - Last modified: <:{ my @stat = stat('$(LANG)/'.$WML_SRC_FILENAME); print scalar localtime($stat[9]); }:> + Ultima modifica: <:{ my @stat = stat('$(LANG)/'.$WML_SRC_FILENAME); print scalar localtime($stat[9]); }:> - - Last compiled: <: print scalar localtime(); :> + Ultimo moltiplicato: <: print scalar localtime(); :> +

-# Uncomment this in your translation: (and translate it) -##################################### - <: unless (translation_current()) { :> -

- Warning: This translation might be obsolete. The English original is at Revision - <:= translation_get_masterrevision() :> while this translation is based on + <: unless (translation_current()) { :> +

+ Attenzione: Questo traduzione puo essere antiquato. L'originale Inglese si puo trovare + <:= translation_get_masterrevision() :> dunque questo traduzione basa su <:= translation_get_basedonrevision() :>. - <: } :> +

+ <: } :> -

Questa traduzione non è stata controllata dagli sviluppatori di + <: if (has_translations()) { :> +

+ Questa pagina è disponibile anche nelle lingue seguenti: + <: print list_translations() :>.
+ Come configurare la lingua predefinita per i documenti. +

+ <: }; :> + +

Questa traduzione non è stata controllata dagli sviluppatori di Tor e da EFF. Può risultare non attuale o sbagliata. Il sito ufficiale di Tor è in Inglese, all'indirizzo - http://tor.eff.org/

+ http://tor.eff.org/ +

diff --git a/se/foot.wmi b/se/foot.wmi index 189d23c8..25dc5d0c 100644 --- a/se/foot.wmi +++ b/se/foot.wmi @@ -1,27 +1,38 @@ #!/usr/bin/wml ## translation metadata -# Based-On-Revision: 1.4 +# Based-On-Revision: 1.5 # Last-Translator: thomass@seul.org #use "functions.wmi"
+

Webmaster - # Id: developers.html,v 1.41 2005/08/31 20:19:16 thomass Exp - Last modified: <:{ my @stat = stat('$(LANG)/'.$WML_SRC_FILENAME); print scalar localtime($stat[9]); }:> + Senast uppdaterad: <:{ my @stat = stat('$(LANG)/'.$WML_SRC_FILENAME); print scalar localtime($stat[9]); }:> - - Last compiled: <: print scalar localtime(); :> + Senast kompilerad: <: print scalar localtime(); :> +

# Uncomment this in your translation: (and translate it) ##################################### - <: unless (translation_current()) { :> -

+ <: unless (translation_current()) { :> +

Varning: Denna översättning kan vara gammal. Det engelska originalet är revision <:= translation_get_masterrevision() :> och denna översättning är baserad på <:= translation_get_basedonrevision() :>. - <: } :> +

+ <: } :> + + <: if (has_translations()) { :> +

+ Denna sida finns även på följande språk: + <: print list_translations() :>.
+ Så ställer du in standardspråkval för dokument. +

+ <: }; :>
diff --git a/stylesheet.css b/stylesheet.css index 67e1ea94..b8134021 100644 --- a/stylesheet.css +++ b/stylesheet.css @@ -202,7 +202,7 @@ td.banner-middle a:hover { td.banner-right { background-image: url("images/top-right.png"); background-repeat: no-repeat; - width: 40px; + width: 60px; background-position: right; padding-top: 8px; }