OSDN Git Service

BugTrack2/377 Add 'Template pages' label for template page list
authorumorigu <umorigu@gmail.com>
Fri, 12 Feb 2016 18:40:31 +0000 (03:40 +0900)
committerumorigu <umorigu@gmail.com>
Fri, 12 Feb 2016 18:40:31 +0000 (03:40 +0900)
en.lng.php
ja.lng.php
lib/html.php

index 7ca3256..4384192 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 // PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: en.lng.php,v 1.16 2007/02/11 05:53:29 henoheno Exp $
-// Copyright (C)
-//   2002-2005 PukiWiki Developers Team
+// en.lng.php
+// Copyright
+//   2002-2016 PukiWiki Development Team
 //   2001-2002 Originally written by yu-ji
 // License: GPL v2 or (at your option) any later version
 //
@@ -71,6 +71,7 @@ $_btn_template  = 'Use page as template';
 $_btn_load      = 'Load';
 $_btn_edit      = 'Edit';
 $_btn_delete    = 'Delete';
+$_label_template_pages = 'Template pages';
 
 ///////////////////////////////////////
 // Authentication
index 43b7af8..f2bb9fc 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 // PukiWiki - Yet another WikiWikiWeb clone.
-// $Id: ja.lng.php,v 1.15 2007/02/11 05:53:29 henoheno Exp $
-// Copyright (C)
-//   2002-2005 PukiWiki Developers Team
+// ja.lng.php
+// Copyright
+//   2002-2016 PukiWiki Development Team
 //   2001-2002 Originally written by yu-ji
 // License: GPL v2 or (at your option) any later version
 //
@@ -73,6 +73,7 @@ $_btn_template  = '雛形とするページ';
 $_btn_load      = '読込';
 $_btn_edit      = '編集';
 $_btn_delete    = '削除';
+$_label_template_pages = 'テンプレートページ';
 
 ///////////////////////////////////////
 // Authentication
index be10bf9..e915a7a 100644 (file)
@@ -1,7 +1,7 @@
 <?php
 // PukiWiki - Yet another WikiWikiWeb clone.
 // html.php
-// Copyright (C)
+// Copyright
 //   2002-2016 PukiWiki Development Team
 //   2001-2002 Originally written by yu-ji
 // License: GPL v2 or (at your option) any later version
@@ -190,7 +190,7 @@ function edit_form($page, $postdata, $digest = FALSE, $b_template = TRUE)
        global $_btn_preview, $_btn_repreview, $_btn_update, $_btn_cancel, $_msg_help;
        global $whatsnew, $_btn_template, $_btn_load, $load_template_func;
        global $notimeupdate;
-       global $_title_list;
+       global $_title_list, $_label_template_pages;
 
        // Newly generate $digest or not
        if ($digest === FALSE) $digest = md5(join('', get_source($page)));
@@ -253,7 +253,7 @@ function edit_form($page, $postdata, $digest = FALSE, $b_template = TRUE)
                $template = <<<EOD
   <select name="template_page">
    <option value="">-- $_btn_template --</option>
-   <optgroup label="$_btn_template">
+   <optgroup label="$_label_template_pages">
 $s_tpages
    </optgroup>
    <optgroup label="$_title_list">