website diff i18n.php @ rev 910
i18n.php: Use include file and update POT file table
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 08 12:19:54 2012 +0100 (2012-03-08) |
parents | 6bdb0d107255 |
children | 5d0ce7e4dcd1 |
line diff
1.1 --- a/i18n.php Thu Mar 08 02:41:51 2012 +0100 1.2 +++ b/i18n.php Thu Mar 08 12:19:54 2012 +0100 1.3 @@ -4,8 +4,8 @@ 1.4 <head> 1.5 <title>SliTaz - Internationalization</title> 1.6 <meta http-equiv="content-type" content="text/html; charset=utf-8" /> 1.7 - <meta name="description" content="SliTaz GNU/Linux LiveCD operating system" /> 1.8 - <meta name="keywords" lang="en" content="Système, libre, gnu, linux, logiciels opensource, livecd" /> 1.9 + <meta name="description" content="SliTaz GNU/Linux languages" /> 1.10 + <meta name="keywords" lang="en" content="SliTaz POT, gettext, translation" /> 1.11 <meta name="robots" content="index, follow, all" /> 1.12 <meta name="modified" content="<?php echo (date( "Y-m-d H:i:s", getlastmod())); ?>" /> 1.13 <meta name="author" content="Christophe Lincoln"/> 1.14 @@ -14,20 +14,7 @@ 1.15 </head> 1.16 <body> 1.17 1.18 -<!-- Header --> 1.19 -<div id="header"> 1.20 - <div id="logo"></div> 1.21 - <div id="network"> 1.22 - <a href="./netmap.php"> 1.23 - <img src="images/network.png" alt="network.png" /></a> 1.24 - <a href="http://scn.slitaz.org/">Community</a> 1.25 - <a href="http://doc.slitaz.org/">Doc</a> 1.26 - <a href="http://forum.slitaz.org/">Forum</a> 1.27 - <a href="http://bugs.slitaz.org">Bugs</a> 1.28 - <a href="http://hg.slitaz.org/">Hg</a> 1.29 - </div> 1.30 - <h1><a href="./">SliTaz GNU/Linux</a></h1> 1.31 -</div> 1.32 +<?php include("lib/html/header.html"); ?> 1.33 1.34 <!-- Block --> 1.35 <div id="block"> 1.36 @@ -69,13 +56,14 @@ 1.37 1.38 <div class="box"> 1.39 <img src="images/locale.png" alt="locale.png" /> 1.40 + <a href="da/">Dansk</a> - 1.41 <a href="de/">Deutsch</a> - 1.42 <a href="en/">English</a> - 1.43 <a href="es/">Español</a> - 1.44 <a href="fr/">Français</a> - 1.45 <a href="id/">Indonesian</a> - 1.46 <a href="it/">Italiano</a> - 1.47 - <a href="pt/">Português</a> - 1.48 + <a href="pt_BR/">Português</a> - 1.49 <a href="cn/">Chinese</a> 1.50 </div> 1.51 1.52 @@ -161,7 +149,7 @@ 1.53 </p> 1.54 <p> 1.55 Each translation of a sub-project has its own file named with a language 1.56 - prefix, example: pt.po or fr.po. This PO file can be translated with a nice 1.57 + prefix, example: pt_BR.po or fr.po. This PO file can be translated with a nice 1.58 graphical editor like POedit on SliTaz. That means you don't need to have 1.59 programming or Linux skills to help or maintain a translation. 1.60 </p> 1.61 @@ -207,7 +195,7 @@ 1.62 tazpkg.pot</a></td> 1.63 <td> 1.64 <a href="http://hg.slitaz.org/tazpkg/raw-file/tip/po/tazpkg/fr.po">fr</a> 1.65 - <a href="http://hg.slitaz.org/tazpkg/raw-file/tip/po/tazpkg/pt.po">pt</a> 1.66 + <a href="http://hg.slitaz.org/tazpkg/raw-file/tip/po/tazpkg/pt_BR.po">pt_BR</a> 1.67 </td> 1.68 </tr> 1.69 <tr> 1.70 @@ -216,7 +204,7 @@ 1.71 tazpkg-notify.pot</a></td> 1.72 <td> 1.73 <a href="http://hg.slitaz.org/tazpkg/raw-file/tip/po/tazpkg-notify/fr.po">fr</a> 1.74 - <a href="http://hg.slitaz.org/tazpkg/raw-file/tip/po/tazpkg-notify/pt.po">pt</a> 1.75 + <a href="http://hg.slitaz.org/tazpkg/raw-file/tip/po/tazpkg-notify/pt_BR.po">pt_BR</a> 1.76 </td> 1.77 </tr> 1.78 <tr> 1.79 @@ -225,39 +213,61 @@ 1.80 tazpanel.pot</a></td> 1.81 <td> 1.82 <a href="http://hg.slitaz.org/tazpanel/raw-file/tip/po/fr.po">fr</a> 1.83 - <a href="http://hg.slitaz.org/tazpanel/raw-file/tip/po/pt.po">pt</a> 1.84 + <a href="http://hg.slitaz.org/tazpanel/raw-file/tip/po/pt_BR.po">pt_BR</a> 1.85 </td> 1.86 </tr> 1.87 <tr> 1.88 <td><a href="http://hg.slitaz.org/slitaz-tools">SliTaz Tools</a></td> 1.89 - <td><a href="http://hg.slitaz.org/slitaz-tools/file/tip/po/slitaz-tools/slitaz-tools.pot"> 1.90 + <td><a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/slitaz-tools/slitaz-tools.pot"> 1.91 slitaz-tools.pot</a></td> 1.92 <td> 1.93 - - 1.94 + <a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/slitaz-tools/es_AR.po">es_AR</a> 1.95 + <a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/slitaz-tools/fr.po">fr</a> 1.96 + <a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/slitaz-tools/pt_BR.po">pt_BR</a> 1.97 </td> 1.98 </tr> 1.99 <tr> 1.100 <td><a href="http://hg.slitaz.org/slitaz-tools">SliTaz Boxes</a></td> 1.101 - <td><a href="http://hg.slitaz.org/slitaz-tools/file/tip/po/slitaz-boxes/slitaz-boxes.pot"> 1.102 + <td><a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/slitaz-boxes/slitaz-boxes.pot"> 1.103 slitaz-boxes.pot</a></td> 1.104 <td> 1.105 - - 1.106 + <a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/slitaz-boxes/es_AR.po">es_AR</a> 1.107 + <a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/slitaz-boxes/fr.po">fr</a> 1.108 + <a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/slitaz-boxes/pt_BR.po">pt_BR</a> 1.109 </td> 1.110 </tr> 1.111 <tr> 1.112 <td><a href="http://hg.slitaz.org/slitaz-tools">TazBox</a></td> 1.113 - <td><a href="http://hg.slitaz.org/slitaz-tools/file/tip/po/tazbox/tazbox.pot"> 1.114 + <td><a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/tazbox/tazbox.pot"> 1.115 tazbox.pot</a></td> 1.116 <td> 1.117 - <a href="http://hg.slitaz.org/slitaz-tools/file/tip/po/tazbox/pt.po">pt</a> 1.118 + <a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/tazbox/es_AR.po">es_AR</a> 1.119 + <a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/tazbox/fr.po">fr</a> 1.120 + <a href="http://hg.slitaz.org/slitaz-tools/raw-file/tip/po/tazbox/pt_BR.po">pt_BR</a> 1.121 </td> 1.122 </tr> 1.123 <tr> 1.124 <td><a href="http://hg.slitaz.org/ssfs">Ssfs</a></td> 1.125 - <td><a href="http://hg.slitaz.org/ssfs/file/tip/po/ssfs/ssfs.pot"> 1.126 + <td><a href="http://hg.slitaz.org/ssfs/raw-file/tip/po/ssfs/ssfs.pot"> 1.127 ssfs.pot</a></td> 1.128 <td> 1.129 - <a href="http://hg.slitaz.org/ssfs/file/tip/po/ssfs/fr.po">fr</a> 1.130 + <a href="http://hg.slitaz.org/ssfs/raw-file/tip/po/ssfs/fr.po">fr</a> 1.131 + </td> 1.132 + </tr> 1.133 + <tr> 1.134 + <td><a href="http://hg.slitaz.org/tazusb">TazUSB</a></td> 1.135 + <td><a href="http://hg.slitaz.org/tazusb/raw-file/tip/po/tazusb/tazusb.pot"> 1.136 + tazusb.pot</a></td> 1.137 + <td> 1.138 + <a href="http://hg.slitaz.org/tazusb/raw-file/tip/po/tazusb/fr.po">fr</a> 1.139 + </td> 1.140 + </tr> 1.141 + <tr> 1.142 + <td><a href="http://hg.slitaz.org/tazusb">TazUSB Box</a></td> 1.143 + <td><a href="http://hg.slitaz.org/tazusb/raw-file/tip/po/tazusb-box/tazusb-box.pot"> 1.144 + tazusb-box.pot</a></td> 1.145 + <td> 1.146 + <a href="http://hg.slitaz.org/tazusb/raw-file/tip/po/tazusb-box/fr.po">fr</a> 1.147 </td> 1.148 </tr> 1.149 </tbody> 1.150 @@ -266,25 +276,7 @@ 1.151 <!-- End of content --> 1.152 </div> 1.153 1.154 -<!-- Footer --> 1.155 -<div id="footer"> 1.156 - Copyright © <span class="year"></span> 1.157 - <a href="http://www.slitaz.org/">SliTaz</a> - Network: 1.158 - <a href="http://scn.slitaz.org/">Community</a> 1.159 - <a href="http://doc.slitaz.org/">Doc</a> 1.160 - <a href="http://forum.slitaz.org/">Forum</a> 1.161 - <a href="http://pkgs.slitaz.org/">Packages</a> 1.162 - <a href="http://bugs.slitaz.org">Bugs</a> 1.163 - <a href="http://hg.slitaz.org/">Hg</a> 1.164 - <p> 1.165 - SliTaz @ 1.166 - <a href="http://twitter.com/slitaz">Twitter</a> 1.167 - <a href="http://www.facebook.com/slitaz">Facebook</a> 1.168 - <a href="http://distrowatch.com/slitaz">Distrowatch</a> 1.169 - <a href="http://en.wikipedia.org/wiki/SliTaz">Wikipedia</a> 1.170 - <a href="http://flattr.com/profile/slitaz">Flattr</a> 1.171 - </p> 1.172 -</div> 1.173 +<?php include("lib/html/footer.html"); ?> 1.174 1.175 </body> 1.176 </html>