[aur-dev] [PATCH] Tweak index.php and update translations.

Loui louipc.ist at gmail.com
Wed Jul 23 10:40:21 EDT 2008


Just a basic maintenance patch.

-------------- next part --------------
>From 154c534fcaf37f60d0c94c7174dc7465c0a01e2e Mon Sep 17 00:00:00 2001
From: Loui Chang <louipc.ist at gmail.com>
Date: Wed, 23 Jul 2008 10:07:53 -0400
Subject: [PATCH] Tweak index.php and update translations.

Signed-off-by: Loui Chang <louipc.ist at gmail.com>
---
 web/html/index.php       |   31 ++++++++++++++++---------------
 web/lang/ca/index_po.inc |    3 +--
 web/lang/de/index_po.inc |    2 +-
 web/lang/es/index_po.inc |    2 +-
 web/lang/fr/index_po.inc |    2 +-
 web/lang/it/index_po.inc |    4 +---
 web/lang/pl/index_po.inc |    5 ++---
 web/lang/pt/index_po.inc |    5 +----
 web/lang/ru/index_po.inc |    3 +--
 9 files changed, 25 insertions(+), 32 deletions(-)

diff --git a/web/html/index.php b/web/html/index.php
index f5e10ee..c7847f2 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -20,37 +20,36 @@ $dbh = db_connect();
 <span class="f3">AUR <?php print __("Home"); ?></span>
 </div>
 <div class="frontpgboxbody">
-<table border='0' cellpadding='0' cellspacing='3' width='90%'>
-<tr>
-<td class='boxSoft' valign='top' colspan='2'>
 <p>
 
 <?php 
-print __( 'Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR TU Guidelines%h for more information.'
-        , '<a href="http://wiki.archlinux.org/index.php/AUR_User_Guidelines">'
-        , '</a>'
-        , '<a href="http://wiki.archlinux.org/index.php/AUR_Trusted_User_Guidelines">'
-        , '</a>'
+echo __(
+	'Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR TU Guidelines%h for more information.',
+	'<a href="http://wiki.archlinux.org/index.php/AUR_User_Guidelines">',
+	'</a>',
+	'<a href="http://wiki.archlinux.org/index.php/AUR_Trusted_User_Guidelines">',
+	'</a>'
         );
 ?>
 
-<br>
+<br />
 
 <?php
-print __( 'Contributed PKGBUILDs <b>must</b> conform to the %hArch Packaging Standards%h otherwise they will be deleted!'
-        , '<a href="http://wiki.archlinux.org/index.php/Arch_Packaging_Standards">'
-        , '</a>'
+echo __(
+	'Contributed PKGBUILDs %hmust%h conform to the %hArch Packaging Standards%h otherwise they will be deleted!',
+	'<b>', '</b>',
+	'<a href="http://wiki.archlinux.org/index.php/Arch_Packaging_Standards">',
+	'</a>'
         );
 ?>
 
 </p>
 <p>
-<?php print __("Remember to vote for your favourite packages!"); ?>
+<?php echo __('Remember to vote for your favourite packages!'); ?>
 <br />
 <?php echo __('Some packages may be provided as binaries in [community].'); ?>
 </p>
-</td>
-</tr>
+<table border='0' cellpadding='0' cellspacing='3' width='90%'>
 <tr>
 <td class='boxSoft' valign='top'>
 <?php updates_table($dbh); ?>
@@ -70,6 +69,7 @@ general_stats_table($dbh);
 </tr>
 </table>
 
+<br />
 <div class="important"><?php
 echo __('DISCLAIMER') . ':<br />';
 echo __('Unsupported PKGBUILDs are user produced content. Any use of files is at your own risk.');
@@ -80,3 +80,4 @@ echo __('Unsupported PKGBUILDs are user produced content. Any use of files is at
 
 <?php
 html_footer(AUR_VERSION);
+
diff --git a/web/lang/ca/index_po.inc b/web/lang/ca/index_po.inc
index cd930a2..ca6c1ac 100644
--- a/web/lang/ca/index_po.inc
+++ b/web/lang/ca/index_po.inc
@@ -39,7 +39,7 @@ $_t["ca"]["Error trying to generate session id."] = "S'ha produ?t un error en i
 
 $_t["ca"]["Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR TU Guidelines%h for more information."] = "Benvingut a l'AUR! Si us plau llegiu la %hGuia d'usuari de l'AUR%h i la %hGuia de TU de l'AUR%h per a m?s informaci?.";
 
-$_t["ca"]["Contributed PKGBUILDs <b>must</b> conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "Els PKGBUILDs enviats han de seguir els %hEst?ndards d'empaquetament d'Arch%h sin? seran esborrats!";
+$_t["ca"]["Contributed PKGBUILDs %hmust%h conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "Els PKGBUILDs enviats %hhan%h de seguir els %hEst?ndards d'empaquetament d'Arch%h sin? seran esborrats!";
 
 $_t["ca"]["Login"] = "Entra";
 
@@ -55,4 +55,3 @@ $_t["ca"]["Logged-in as: %h%s%h"] = "Identificat com: %h%s%h";
 
 $_t["ca"]["Incorrect password for username, %s."] = "Contrasenya incorrecta per a l'usuari, %s.";
 
-?>
diff --git a/web/lang/de/index_po.inc b/web/lang/de/index_po.inc
index 1b55775..377a669 100644
--- a/web/lang/de/index_po.inc
+++ b/web/lang/de/index_po.inc
@@ -39,7 +39,7 @@ $_t["de"]["Error trying to generate session id."] = "Fehler beim Erstellen der S
 
 $_t["de"]["Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR TU Guidelines%h for more information."] = "Willkommen beim AUR! F?r weitergehende Informationen lies bitte das %hAUR Benutzerhandbuch%h und die %hAUR TU Richtlinien%h.";
 
-$_t["de"]["Contributed PKGBUILDs <b>must</b> conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "Deine PKGBUILDs <strong>m?ssen</strong> dem %hArch Paket Standard%h entsprechen. Andernfalls werden sie gel?scht!";
+$_t["de"]["Contributed PKGBUILDs %hmust%h conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "Deine PKGBUILDs %hm?ssen%h dem %hArch Paket Standard%h entsprechen. Andernfalls werden sie gel?scht!";
 
 $_t["de"]["Login"] = "Anmelden";
 
diff --git a/web/lang/es/index_po.inc b/web/lang/es/index_po.inc
index 77e5ee9..821c09d 100644
--- a/web/lang/es/index_po.inc
+++ b/web/lang/es/index_po.inc
@@ -39,7 +39,7 @@ $_t["es"]["Error trying to generate session id."] = "Error al intentar crear un
 
 $_t["es"]["Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR TU Guidelines%h for more information."] = "?Bienvenido al AUR! Por favor lea la %hGu?a AUR del Usuario%h y la %hGu?a TU del AUR%h para m?s informaci?n.";
 
-$_t["es"]["Contributed PKGBUILDs <b>must</b> conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "?Los PKGBUILDS enviados <b>deben</b> cumplir las %hNormas de empaquetado de Arch%h sino ser?n eliminados!";
+$_t["es"]["Contributed PKGBUILDs %hmust%h conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "?Los PKGBUILDS enviados %hdeben%h cumplir las %hNormas de empaquetado de Arch%h sino ser?n eliminados!";
 
 $_t["es"]["Login"] = "Entrar";
 
diff --git a/web/lang/fr/index_po.inc b/web/lang/fr/index_po.inc
index 7c67bf4..3e522a2 100644
--- a/web/lang/fr/index_po.inc
+++ b/web/lang/fr/index_po.inc
@@ -40,7 +40,7 @@ $_t["fr"]["Error trying to generate session id."] = "Erreur en essayant de g?n
 
 $_t["fr"]["Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR TU Guidelines%h for more information."] = "Bienvenue sur AUR ! Lisez, s'il vous pla?t, le %hGuide Utilisateur AUR%h et le %hGuide des Utilisateurs de Confiance%h pour plus d'informations.";
 
-$_t["fr"]["Contributed PKGBUILDs <b>must</b> conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "Les PKGBUILDs propos?s <b>doivent</b> se conformer aux %hStandards de l'empaquetage Arch%h sans quoi ils seront supprim?s!";
+$_t["fr"]["Contributed PKGBUILDs %hmust%h conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "Les PKGBUILDs propos?s %hdoivent%h se conformer aux %hStandards de l'empaquetage Arch%h sans quoi ils seront supprim?s!";
 
 $_t["fr"]["Login"] = "Se connecter";
 
diff --git a/web/lang/it/index_po.inc b/web/lang/it/index_po.inc
index 6619d94..1770470 100644
--- a/web/lang/it/index_po.inc
+++ b/web/lang/it/index_po.inc
@@ -45,8 +45,6 @@ $_t["it"]["Email discussion about the AUR takes place on the %sTUR Users List%s.
 
 $_t["it"]["Recent Updates"] = "Aggiornamenti recenti";
 
-$_t["it"]["Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR TU Guidelines%h for more information. Contributed PKGBUILDs <b>must</b> conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "Benvenuto in AUR! Per ottenere maggiori informazioni, leggi le %hAUR User Guidelines%h e %hAUR TU Guidelines%h. I PKGBUILD inviati <b>devono</b> essere conformi agli %hArch Packaging Standards%h altrimenti saranno cancellati!";
-
 $_t["it"]["Community"] = "Community";
 
 $_t["it"]["Package Counts"] = "Conteggio dei pacchetti";
@@ -55,7 +53,7 @@ $_t["it"]["Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR
 
 $_t["it"]["Unsupported"] = "Unsupported";
 
-$_t["it"]["Contributed PKGBUILDs <b>must</b> conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "I PKGBUILD inviati <b>devono</b> essere conformi agli %hArch Packaging Standards%h altrimenti saranno cancellati!";
+$_t["it"]["Contributed PKGBUILDs %hmust%h conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "I PKGBUILD inviati %hdevono%h essere conformi agli %hArch Packaging Standards%h altrimenti saranno cancellati!";
 
 $_t["it"]["Statistics"] = "Statistiche";
 
diff --git a/web/lang/pl/index_po.inc b/web/lang/pl/index_po.inc
index a93c690..889a841 100644
--- a/web/lang/pl/index_po.inc
+++ b/web/lang/pl/index_po.inc
@@ -24,7 +24,7 @@ $_t["pl"]["You must supply an email address."] = "Musisz poda? adres e-mail.";
 $_t["pl"]["Incorrect password for email address, %s."] = "Nieprawid?owe has?o dla adresu %s.";
 $_t["pl"]["Incorrect password for username, %s."] = "Nieprawid?owe has?o dla u?ytkownika %s.";
 $_t["pl"]["Logged in as: %h%s%h"] = "Zalogowany jako: %h%s%h";
-$_t["pl"]["Logged-in as: %h%s%h"] = "Zalogowany jako: %h%s%h";
+
 $_t["pl"]["Error looking up username, %s."] = "B??d podczas wyszukiwania u?ytkownika %s.";
 $_t["pl"]["Welcome to the AUR! If you're a newcomer, you may want to read the %hGuidelines%h."] = "Witamy w AUR! Je?eli jeste? tu po raz pierwszy, by? mo?e zechcesz przeczyta? %hInstrukcj?%h.";
 $_t["pl"]["If you have feedback about the AUR, please leave it in %hFlyspray%h."] = "Je?eli masz uwagi lub pomys?y odno?nie AUR, %hFlyspray%h jest odpowiednim miejscem do ich pozostawienia.";
@@ -52,7 +52,7 @@ $_t["pl"]["Packages in [community]"] = "Pakiet?w w [community]";
 
 $_t["pl"]["Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR TU Guidelines%h for more information."] = "Witamy w AUR! Aby uzyska? wi?cej informacji, przeczytaj %hInstrukcj? U?ytkownika%h oraz %hInstrukcj? Zaufanego U?ytkownika%h.";
 
-$_t["pl"]["Contributed PKGBUILDs <b>must</b> conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "Pliki PKGBUILD <b>musz?</b> by? zgodne ze %hStandardami Pakiet?w Archa%h, inaczej b?d? usuwane!";
+$_t["pl"]["Contributed PKGBUILDs %hmust%h conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "Pliki PKGBUILD %hmusz?%h by? zgodne ze %hStandardami Pakiet?w Archa%h, inaczej b?d? usuwane!";
 
 $_t["pl"]["Registered Users"] = "Zarejestrowanych u?ytkownik?w";
 
@@ -72,4 +72,3 @@ $_t["pl"]["Home"] = "Start";
 
 $_t["pl"]["DISCLAIMER"] = "ZRZECZENIE";
 
-?>
\ No newline at end of file
diff --git a/web/lang/pt/index_po.inc b/web/lang/pt/index_po.inc
index 7fe4283..66de424 100644
--- a/web/lang/pt/index_po.inc
+++ b/web/lang/pt/index_po.inc
@@ -53,8 +53,6 @@ $_t["pt"]["Email discussion about the AUR takes place on the %sTUR Users List%s.
 
 $_t["pt"]["Recent Updates"] = "Atualiza??es Recentes";
 
-$_t["pt"]["Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR TU Guidelines%h for more information. Contributed PKGBUILDs <b>must</b> conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "Bem-vindo ao AUR! Por favor leia as %hregras de usu?rio do AUR%h e as %hregras de TU do AUR%h para maiores informa??es.PKGBUILDs contribu?dos <b>devem</b> seguir os %hpadr?es Arch de Empacotamento%h caso contr?rio, eles ser?o exclu?dos!";
-
 $_t["pt"]["Community"] = "Comunidade";
 
 $_t["pt"]["Package Counts"] = "Contagem de Pacotes";
@@ -63,7 +61,7 @@ $_t["pt"]["Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR
 
 $_t["pt"]["Unsupported"] = "Sem Suporte";
 
-$_t["pt"]["Contributed PKGBUILDs <b>must</b> conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "PKGBUILDs contribu?dos <b>devem</b> seguir os %hpadr?es Arch de Empacotamento%h caso contr?rio, eles ser?o exclu?dos!";
+$_t["pt"]["Contributed PKGBUILDs %hmust%h conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "PKGBUILDs contribu?dos %hdevem%h seguir os %hpadr?es Arch de Empacotamento%h caso contr?rio, eles ser?o exclu?dos!";
 
 $_t["pt"]["Statistics"] = "Estat?sticas";
 
@@ -93,4 +91,3 @@ $_t["pt"]["My Statistics"] = "Minhas Estat?sticas";
 
 $_t["pt"]["Flagged as safe by me"] = "Pacotes que marquei como seguros";
 
-?>
\ No newline at end of file
diff --git a/web/lang/ru/index_po.inc b/web/lang/ru/index_po.inc
index 45b2d40..1a464a0 100644
--- a/web/lang/ru/index_po.inc
+++ b/web/lang/ru/index_po.inc
@@ -39,7 +39,7 @@ $_t["ru"]["Error trying to generate session id."] = "?????? ???????
 
 $_t["ru"]["Welcome to the AUR! Please read the %hAUR User Guidelines%h and %hAUR TU Guidelines%h for more information."] = "????? ?????????? ? AUR! ?????????? ?????????? %hAUR User Guidelines%h ? %hAUR TU Guidelines%h, ????? ???????? ?????? ??????????.";
 
-$_t["ru"]["Contributed PKGBUILDs <b>must</b> conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "????????? PKGBUILD <b>??????</b> ??????????????? %hArch Packaging Standards%h ??? ????? ???????!";
+$_t["ru"]["Contributed PKGBUILDs %hmust%h conform to the %hArch Packaging Standards%h otherwise they will be deleted!"] = "????????? PKGBUILD %h??????%h ??????????????? %hArch Packaging Standards%h ??? ????? ???????!";
 
 $_t["ru"]["Login"] = "?????";
 
@@ -69,4 +69,3 @@ $_t["ru"]["My Statistics"] = "??? ??????????";
 
 $_t["ru"]["Home"] = "????????? ????????";
 
-?>
\ No newline at end of file
-- 
1.5.6.4



More information about the aur-dev mailing list