Update of /cvsroot/fink/web
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28720
Modified Files:
constants.es.inc constants.fr.inc constants.it.inc
constants.ja.inc constants.ru.inc constants.zh.inc footer.inc
Log Message:
works with Jpaanese, Chinese and Russian
Index: constants.fr.inc
===================================================================
RCS file: /cvsroot/fink/web/constants.fr.inc,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- constants.fr.inc 10 Jul 2004 18:01:35 -0000 1.7
+++ constants.fr.inc 18 Jan 2005 22:47:53 -0000 1.8
@@ -54,5 +54,5 @@
define (FOOTER_AVAILABLE_LANGUAGES, 'Langues disponibles ');
define (FOOTER_GENERATED_DYNAMICALLY, 'Généré dynamiquement par ');
define (FOOTER_DATABASE_LAST_UPDATED, 'Dernière mise à jour le %d %B %Y à
%R %Z');
-define (FOOTER_LAST_CHANGED, 'Dernière mise à jour le %d %B %Y à %R %Z par
{author}');
+define (FOOTER_LAST_CHANGED, 'Dernière mise à jour le {date} à {time} par
{author}');
?>
Index: constants.it.inc
===================================================================
RCS file: /cvsroot/fink/web/constants.it.inc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- constants.it.inc 11 Nov 2004 19:12:47 -0000 1.3
+++ constants.it.inc 18 Jan 2005 22:47:54 -0000 1.4
@@ -51,5 +51,5 @@
define (FOOTER_AVAILABLE_LANGUAGES, 'Lingue disponibili ');
define (FOOTER_GENERATED_DYNAMICALLY, 'Generato dinamicamente da ');
define (FOOTER_DATABASE_LAST_UPDATED, 'Ultimo aggiornamento: %x %X');
-define (FOOTER_LAST_CHANGED, 'Ultimo cambiamento %d %b %Y su %R %Z da parte di
{author}');
+define (FOOTER_LAST_CHANGED, 'Ultimo cambiamento {date} su {time} da parte di
{author}');
?>
Index: footer.inc
===================================================================
RCS file: /cvsroot/fink/web/footer.inc,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- footer.inc 2 Jan 2005 16:04:50 -0000 1.28
+++ footer.inc 18 Jan 2005 22:47:55 -0000 1.29
@@ -16,7 +16,7 @@
</a>
</p>
</td><td class="footer">
- <? /* Inserts Links toAvailable Languages */ ?>
+ <? /* Inserts Links to Available Languages */ ?>
<div class="footer">
<?
if (function_exists(AddLanguageNames)) {
@@ -34,15 +34,23 @@
if ($dyndate == 1) {
print FOOTER_GENERATED_DYNAMICALLY;
} elseif ($dyndate) {
- print gmstrftime(FOOTER_DATABASE_LAST_UPDATED,
$dyndate);
+ print convert_date_to_locale($dyndate);
} else {
- print gmstrftime(str_replace("{author}", $author,
FOOTER_LAST_CHANGED), $date);
+ // print gmstrftime(str_replace("{author}", $author,
FOOTER_LAST_CHANGED), $date);
+ $print_lastchanged = FOOTER_LAST_CHANGED;
+ $date_converted = gmstrftime(FINK_DATE_FORMAT, $date);
+ $date_encoding = mb_detect_encoding($date_converted);
+ $date_converted = mb_convert_encoding($date_converted,
"UTF-8", FINK_SF_ENCODING);
+
+ $print_lastchanged = str_replace("{author}", $author,
$print_lastchanged);
+ $print_lastchanged = str_replace("{date}",
$date_converted, $print_lastchanged);
+ $print_lastchanged = str_replace("{time}", gmstrftime("
%R GMT", $date), $print_lastchanged);
+ print $print_lastchanged;
}
?>
</div>
</td>
</tr>
</table>
-
</body>
</html>
Index: constants.ja.inc
===================================================================
RCS file: /cvsroot/fink/web/constants.ja.inc,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- constants.ja.inc 16 Jan 2005 17:40:45 -0000 1.8
+++ constants.ja.inc 18 Jan 2005 22:47:54 -0000 1.9
@@ -55,6 +55,6 @@
define (HEADER_HOSTED_BY, '{img} によってホストされています');
define (FOOTER_AVAILABLE_LANGUAGES, '他の言語');
define (FOOTER_GENERATED_DYNAMICALLY, '自動作成');
-define (FOOTER_DATABASE_LAST_UPDATED, 'データベースの最終更新日:
%X %x');
-define (FOOTER_LAST_CHANGED, '{author}
によって%Y年%m月%d日に変更されました');
+define (FOOTER_DATABASE_LAST_UPDATED, 'データベースの最終更新日:
%a, %b %d %Y, %R %Z');
+define (FOOTER_LAST_CHANGED, '{author} によって{date}
{time}に更新されました');
?>
Index: constants.zh.inc
===================================================================
RCS file: /cvsroot/fink/web/constants.zh.inc,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- constants.zh.inc 17 Jan 2005 01:21:20 -0000 1.7
+++ constants.zh.inc 18 Jan 2005 22:47:55 -0000 1.8
@@ -54,5 +54,5 @@
define (FOOTER_AVAILABLE_LANGUAGES, '现有语言版本');
define (FOOTER_GENERATED_DYNAMICALLY, '动态创建自');
define (FOOTER_DATABASE_LAST_UPDATED, '最后更新:%x %X');
-define (FOOTER_LAST_CHANGED, '最后修改者 {author},于 %a, %d %b %Y, %R
%Z');
+define (FOOTER_LAST_CHANGED, '最后修改者 {author},于 {date}, {time}');
?>
Index: constants.es.inc
===================================================================
RCS file: /cvsroot/fink/web/constants.es.inc,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- constants.es.inc 2 Sep 2004 23:43:36 -0000 1.2
+++ constants.es.inc 18 Jan 2005 22:47:53 -0000 1.3
@@ -59,5 +59,5 @@
define (FOOTER_AVAILABLE_LANGUAGES, 'Idiomas disponibles ');
define (FOOTER_GENERATED_DYNAMICALLY, 'Generado dinámicamente por ');
define (FOOTER_DATABASE_LAST_UPDATED, 'Actualizado por última vez el %d %B %Y
a la(s) %R %Z');
-define (FOOTER_LAST_CHANGED, 'Actualizado por última vez el %d %B %Y a la(s)
%R %Z por {author}');
+define (FOOTER_LAST_CHANGED, 'Actualizado por última vez el {date} a la(s)
{time} por {author}');
?>
Index: constants.ru.inc
===================================================================
RCS file: /cvsroot/fink/web/constants.ru.inc,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- constants.ru.inc 16 Jan 2005 17:28:44 -0000 1.3
+++ constants.ru.inc 18 Jan 2005 22:47:55 -0000 1.4
@@ -55,6 +55,6 @@
define (FOOTER_AVAILABLE_LANGUAGES, 'Языки');
define (FOOTER_GENERATED_DYNAMICALLY, 'Воспроизведено
динамически ');
define (FOOTER_DATABASE_LAST_UPDATED, 'Последнее
обновление: %a, %d %B %Y ‚ %R %Z');
-define (FOOTER_LAST_CHANGED, 'Последнее изменение: {author}
%a, %d %B %Y ‚ %R %Z ');
+define (FOOTER_LAST_CHANGED, 'Последнее изменение: {author}
{date} ‚ %R %Z ');
?>
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Fink-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-commits