Update of /cvsroot/php-blog/serendipity/plugins/serendipity_plugin_creativecommons
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32583/plugins/serendipity_plugin_creativecommons
Modified Files:
serendipity_plugin_creativecommons.php
Added Files:
lang_ja.inc.php
Log Message:
Japanese translation updates
--- NEW FILE: lang_ja.inc.php ---
<?php # $Id: lang_ja.inc.php,v 1.1 2005/01/08 12:25:14 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_SIDEBAR_CREATIVECOMMONS_NAME', 'ã¯ãªã¨ã¤ãã£ãã³ã¢ã³ãº');
@define('PLUGIN_SIDEBAR_CREATIVECOMMONS_DESC', 'ãµã¤ããã¼ã«ã¯ãªã¨ã¤ãã£ãã³ã¢ã³ãºãå示ãã¾ãã');
?>
Index: serendipity_plugin_creativecommons.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/plugins/serendipity_plugin_creativecommons/serendipity_plugin_creativecommons.php,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- serendipity_plugin_creativecommons.php 2 Dec 2004 10:55:07 -0000 1.8
+++ serendipity_plugin_creativecommons.php 8 Jan 2005 12:25:14 -0000 1.9
@@ -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_SIDEBAR_CREATIVECOMMONS_NAME', 'Creative Commons');
|