Update of /cvsroot/php-blog/serendipity/plugins/serendipity_plugin_templatedropdown
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9835/plugins/serendipity_plugin_templatedropdown
Modified Files:
serendipity_plugin_templatedropdown.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:39 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_TEMPLATEDROPDOWN_NAME', 'ãã³ãã¬ã¼ããããããã¦ã³');
@define('PLUGIN_TEMPLATEDROPDOWN_DESC', 'ãã³ãã¬ã¼ã夿´ã®ããã¯ã¹ã表示ãã¾ãã');
@define('PLUGIN_TEMPLATEDROPDOWN_SUBMIT', 'éä¿¡ãã¿ã³ã®è¡¨ç¤ºã¯?');
@define('PLUGIN_TEMPLATEDROPDOWN_SUBMIT_DESC', 'éä¿¡ãã¿ã³ã®è¡¨ç¤ºããã¾ãã?');
/* vim: set sts=4 ts=4 expandtab : */
?>
Index: serendipity_plugin_templatedropdown.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_plugin_templatedropdown/serendipity_plugin_templatedropdown.php,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- serendipity_plugin_templatedropdown.php 6 Dec 2004 12:45:49 -0000 1.6
+++ serendipity_plugin_templatedropdown.php 4 Jan 2005 10:06:39 -0000 1.7
@@ -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_TEMPLATEDROPDOWN_NAME', 'Template dropdown');
|