Update of /cvsroot/php-blog/serendipity/plugins/serendipity_event_bbcode
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9835/plugins/serendipity_event_bbcode
Modified Files:
serendipity_event_bbcode.php
Added Files:
lang_ja.inc.php
Log Message:
updated japanese translation, including some plugins
--- NEW FILE: lang_ja.inc.php ---
<?php # $Id: lang_ja.inc.php,v 1.1 2005/01/04 10:06:34 garvinhicking Exp $
##########################################################################
# serendipity - another blogger... #
##########################################################################
# #
# (c) 2003 Jannis Hermanns <J...@ha...> #
# http://www.jannis.to/programming/serendipity.html #
# #
# Translated by #
# (c) 2004-2005 Tadashi Jokagi <el...@us...> #
# #
##########################################################################
@define('PLUGIN_EVENT_BBCODE_NAME', 'ãã¼ã¯ã¢ãã: BB ã³ã¼ã');
@define('PLUGIN_EVENT_BBCODE_DESC', 'BB ã³ã¼ãã使ç¨ããããã¹ããã¼ã¯ã¢ããã§ãã');
@define('PLUGIN_EVENT_BBCODE_TRANSFORM', '<a href="http://www.phpbb.com/phpBB/faq.php?mode=bbcode">BB ã³ã¼ã</a> æ¸å¼ã許å¯ãã¾ã');
/* vim: set sts=4 ts=4 expandtab : */
?>
Index: serendipity_event_bbcode.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_event_bbcode/serendipity_event_bbcode.php,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- serendipity_event_bbcode.php 30 Nov 2004 11:27:56 -0000 1.12
+++ serendipity_event_bbcode.php 4 Jan 2005 10:06:34 -0000 1.13
@@ -1,5 +1,11 @@
<?php # $Id$
+// Probe for a language include with constants. Still include defines later on, if some constants were missing
+$probelang = dirname(__FILE__) . '/lang_' . $serendipity['lang'] . '.inc.php';
+if (file_exists($probelang)) {
+ include $probelang;
+}
+
switch ($serendipity['lang']) {
case 'de':
@define('PLUGIN_EVENT_BBCODE_NAME', 'Textformatierung: BBCode');
|