diff --git a/common/framework/lang.php b/common/framework/lang.php index 792708fba..58e89068d 100644 --- a/common/framework/lang.php +++ b/common/framework/lang.php @@ -197,25 +197,54 @@ class Lang // Convert XML to a PHP array. $lang = array(); - foreach ($xml->item as $item) + self::_toArray($xml, $lang, $language); + unset($xml); + + // Save the array as a cache file. + $buff = " $value) + { + if (is_array($value)) + { + foreach ($value as $subkey => $subvalue) + { + if (is_array($subvalue)) + { + foreach ($subvalue as $subsubkey => $subsubvalue) + { + $buff .= '$lang->' . $key . "['$subkey']['$subsubkey']" . ' = ' . var_export($subsubvalue, true) . ";\n"; + } + } + else + { + $buff .= '$lang->' . $key . "['$subkey']" . ' = ' . var_export($subvalue, true) . ";\n"; + } + } + } + else + { + $buff .= '$lang->' . $key . ' = ' . var_export($value, true) . ";\n"; + } + } + \FileHandler::writeFile($output_filename, $buff); + return $output_filename; + } + + /** + * XML to array conversion callback. + * + * @param array $items + * @return void + */ + protected static function _toArray($items, &$lang, $language) + { + foreach ($items as $item) { $name = strval($item['name']); if (count($item->item)) { $lang[$name] = array(); - foreach ($item->item as $subitem) - { - $subname = strval($subitem['name']); - foreach ($subitem->value as $value) - { - $attribs = $value->attributes('xml', true); - if (strval($attribs['lang']) === $language) - { - $lang[$name][$subname] = strval($value); - break; - } - } - } + self::_toArray($item->item, $lang[$name], $language); } else { @@ -230,26 +259,6 @@ class Lang } } } - unset($xml); - - // Save the array as a cache file. - $buff = " $value) - { - if (is_array($value)) - { - foreach ($value as $subkey => $subvalue) - { - $buff .= '$lang->' . $key . "['" . $subkey . "']" . ' = ' . var_export($subvalue, true) . ";\n"; - } - } - else - { - $buff .= '$lang->' . $key . ' = ' . var_export($value, true) . ";\n"; - } - } - \FileHandler::writeFile($output_filename, $buff); - return $output_filename; } /** diff --git a/modules/editor/lang/en.php b/modules/editor/lang/en.php index f6789f5a1..75e711140 100644 --- a/modules/editor/lang/en.php +++ b/modules/editor/lang/en.php @@ -56,7 +56,22 @@ $lang->about_enable_autosave = 'You may decide whether the auto-save function wi $lang->edit['fontname'] = 'Font'; $lang->edit['fontsize'] = 'Size'; $lang->edit['use_paragraph'] = 'Paragraph Function'; +$lang->edit['fontlist']['arial'] = 'Arial, Helvetica, sans-serif'; +$lang->edit['fontlist']['tahoma'] = 'Tahoma, Geneva, sans-serif'; +$lang->edit['fontlist']['verdana'] = 'Verdana, Geneva, sans-serif'; +$lang->edit['fontlist']['sans-serif'] = 'Sans-serif'; +$lang->edit['fontlist']['georgia'] = 'Georgia, \'Times New Roman\', Times, serif'; +$lang->edit['fontlist']['palatinoLinotype'] = '\'Palatino Linotype\', \'Book Antiqua\', Palatino, serif'; +$lang->edit['fontlist']['timesNewRoman'] = '\'Times New Roman\', Times, serif'; +$lang->edit['fontlist']['serif'] = 'Serif'; +$lang->edit['fontlist']['courierNew'] = '\'Courier New\', Courier, monospace'; $lang->edit['header'] = 'Style'; +$lang->edit['header_list']['h1'] = 'Header 1'; +$lang->edit['header_list']['h2'] = 'Header 2'; +$lang->edit['header_list']['h3'] = 'Header 3'; +$lang->edit['header_list']['h4'] = 'Header 4'; +$lang->edit['header_list']['h5'] = 'Header 5'; +$lang->edit['header_list']['h6'] = 'Header 6'; $lang->edit['submit'] = 'Submit'; $lang->edit['fontcolor'] = 'Text Color'; $lang->edit['fontbgcolor'] = 'Background Color'; diff --git a/modules/editor/lang/es.php b/modules/editor/lang/es.php index 80c25d968..12d6c149d 100644 --- a/modules/editor/lang/es.php +++ b/modules/editor/lang/es.php @@ -35,6 +35,12 @@ $lang->edit['fontname'] = 'Fuente'; $lang->edit['fontsize'] = 'Tamaño'; $lang->edit['use_paragraph'] = 'Párrafo'; $lang->edit['header'] = 'Estilo'; +$lang->edit['header_list']['h1'] = 'Título 1'; +$lang->edit['header_list']['h2'] = 'Título 2'; +$lang->edit['header_list']['h3'] = 'Título 3'; +$lang->edit['header_list']['h4'] = 'Título 4'; +$lang->edit['header_list']['h5'] = 'Título 5'; +$lang->edit['header_list']['h6'] = 'Título 6'; $lang->edit['submit'] = 'Confirmar'; $lang->edit['help_fontcolor'] = 'Selecciona el color de las letras'; $lang->edit['help_fontbgcolor'] = 'Selecciona el color del fondo de la letras'; diff --git a/modules/editor/lang/fr.php b/modules/editor/lang/fr.php index f398fbf73..987139e9f 100644 --- a/modules/editor/lang/fr.php +++ b/modules/editor/lang/fr.php @@ -33,6 +33,12 @@ $lang->about_enable_autosave = 'Vous pouvez valider la fonction à Conserver Aut $lang->edit['fontname'] = 'Police de caractères'; $lang->edit['fontsize'] = 'Mesure'; $lang->edit['use_paragraph'] = 'Fonctions sur Paragraphe'; +$lang->edit['header_list']['h1'] = 'Titre 1'; +$lang->edit['header_list']['h2'] = 'Titre 2'; +$lang->edit['header_list']['h3'] = 'Titre 3'; +$lang->edit['header_list']['h4'] = 'Titre 4'; +$lang->edit['header_list']['h5'] = 'Titre 5'; +$lang->edit['header_list']['h6'] = 'Titre 6'; $lang->edit['submit'] = 'Soumettre'; $lang->edit['help_remove_format'] = 'Supprimer les balises dans l\'endroit sélectionné'; $lang->edit['help_strike_through'] = 'Représenter la ligne d\'annulation sur les lettres.'; diff --git a/modules/editor/lang/ja.php b/modules/editor/lang/ja.php index d6234e8f8..f4ae0102e 100644 --- a/modules/editor/lang/ja.php +++ b/modules/editor/lang/ja.php @@ -56,7 +56,16 @@ $lang->about_enable_autosave = '書き込みの際に自動保存機能をオン $lang->edit['fontname'] = 'フォント'; $lang->edit['fontsize'] = 'フォントサイズ'; $lang->edit['use_paragraph'] = '段落機能'; +$lang->edit['fontlist']['meiryo'] = '\'メイリオ\', \'Meiryo\', Arial, Helvetica, sans-serif'; +$lang->edit['fontlist']['hiragino'] = '\'ヒラギノ角ゴ Pro\', \'Hiragino Kaku Gothic Pro\', Arial, Helvetica, sans-serif'; +$lang->edit['fontlist']['ms_pgothic'] = '\'MS Pゴシック\', \'MS PGothic\', Arial, Helvetica, sans-serif'; $lang->edit['header'] = '書式'; +$lang->edit['header_list']['h1'] = '見出し1'; +$lang->edit['header_list']['h2'] = '見出し2'; +$lang->edit['header_list']['h3'] = '見出し3'; +$lang->edit['header_list']['h4'] = '見出し4'; +$lang->edit['header_list']['h5'] = '見出し5'; +$lang->edit['header_list']['h6'] = '見出し6'; $lang->edit['submit'] = '送信'; $lang->edit['fontcolor'] = 'テキストの色'; $lang->edit['fontbgcolor'] = 'テキストの背景色'; diff --git a/modules/editor/lang/ko.php b/modules/editor/lang/ko.php index 300708340..3df0e1144 100644 --- a/modules/editor/lang/ko.php +++ b/modules/editor/lang/ko.php @@ -56,7 +56,23 @@ $lang->about_enable_autosave = '글 작성 시 자동 저장 기능을 활성화 $lang->edit['fontname'] = '글꼴'; $lang->edit['fontsize'] = '크기'; $lang->edit['use_paragraph'] = '문단기능'; +$lang->edit['fontlist']['arial'] = 'Arial, Helvetica, sans-serif'; +$lang->edit['fontlist']['tahoma'] = 'Tahoma, Geneva, sans-serif'; +$lang->edit['fontlist']['verdana'] = 'Verdana, Geneva, sans-serif'; +$lang->edit['fontlist']['sans-serif'] = 'Sans-serif'; +$lang->edit['fontlist']['georgia'] = 'Georgia, \'Times New Roman\', Times, serif'; +$lang->edit['fontlist']['palatinoLinotype'] = '\'Palatino Linotype\', \'Book Antiqua\', Palatino, serif'; +$lang->edit['fontlist']['timesNewRoman'] = '\'Times New Roman\', Times, serif'; +$lang->edit['fontlist']['serif'] = 'Serif'; +$lang->edit['fontlist']['courierNew'] = '\'Courier New\', Courier, monospace'; +$lang->edit['fontlist']['lucidaConsole'] = '\'Lucida Console\', Monaco, monospace'; $lang->edit['header'] = '형식'; +$lang->edit['header_list']['h1'] = '제목 1'; +$lang->edit['header_list']['h2'] = '제목 2'; +$lang->edit['header_list']['h3'] = '제목 3'; +$lang->edit['header_list']['h4'] = '제목 4'; +$lang->edit['header_list']['h5'] = '제목 5'; +$lang->edit['header_list']['h6'] = '제목 6'; $lang->edit['submit'] = '확인'; $lang->edit['fontcolor'] = '글자 색'; $lang->edit['fontbgcolor'] = '글자 배경색'; diff --git a/modules/editor/lang/ru.php b/modules/editor/lang/ru.php index da3117485..28dd7e72e 100644 --- a/modules/editor/lang/ru.php +++ b/modules/editor/lang/ru.php @@ -48,6 +48,12 @@ $lang->edit['fontname'] = 'Шрифт'; $lang->edit['fontsize'] = 'Размер'; $lang->edit['use_paragraph'] = 'Функции параграфа'; $lang->edit['header'] = 'Стиль'; +$lang->edit['header_list']['h1'] = 'Заголовок 1'; +$lang->edit['header_list']['h2'] = 'Заголовок 2'; +$lang->edit['header_list']['h3'] = 'Заголовок 3'; +$lang->edit['header_list']['h4'] = 'Заголовок 4'; +$lang->edit['header_list']['h5'] = 'Заголовок 5'; +$lang->edit['header_list']['h6'] = 'Заголовок 6'; $lang->edit['submit'] = 'Принять'; $lang->edit['fontcolor'] = 'Цвет текста'; $lang->edit['fontbgcolor'] = 'Цвет Фона'; diff --git a/modules/editor/lang/tr.php b/modules/editor/lang/tr.php index 4ec920378..12e1eadaf 100644 --- a/modules/editor/lang/tr.php +++ b/modules/editor/lang/tr.php @@ -49,6 +49,12 @@ $lang->edit['fontname'] = 'Yazı Tipi'; $lang->edit['fontsize'] = 'Boyut'; $lang->edit['use_paragraph'] = 'Paragraf Özelliği'; $lang->edit['header'] = 'Tarz'; +$lang->edit['header_list']['h1'] = 'Konu 1'; +$lang->edit['header_list']['h2'] = 'Konu 2'; +$lang->edit['header_list']['h3'] = 'Konu 3'; +$lang->edit['header_list']['h4'] = 'Konu 4'; +$lang->edit['header_list']['h5'] = 'Konu 5'; +$lang->edit['header_list']['h6'] = 'Konu 6'; $lang->edit['submit'] = 'Gönder'; $lang->edit['fontcolor'] = 'Yazı Rengi'; $lang->edit['fontbgcolor'] = 'Arkaplan Rengi'; diff --git a/modules/editor/lang/vi.php b/modules/editor/lang/vi.php index 85edd9305..7b3c69df8 100644 --- a/modules/editor/lang/vi.php +++ b/modules/editor/lang/vi.php @@ -50,6 +50,12 @@ $lang->edit['fontname'] = 'Kiểu chữ'; $lang->edit['fontsize'] = 'Cỡ chữ'; $lang->edit['use_paragraph'] = 'Chức năng Paragraph'; $lang->edit['header'] = 'Tiêu đề lớn'; +$lang->edit['header_list']['h1'] = 'Cỡ 1'; +$lang->edit['header_list']['h2'] = 'Cỡ 2'; +$lang->edit['header_list']['h3'] = 'Cỡ 3'; +$lang->edit['header_list']['h4'] = 'Cỡ 4'; +$lang->edit['header_list']['h5'] = 'Cỡ 5'; +$lang->edit['header_list']['h6'] = 'Cỡ 6'; $lang->edit['submit'] = 'Gửi bài'; $lang->edit['fontcolor'] = 'Màu chữ'; $lang->edit['fontbgcolor'] = 'Màu nền'; diff --git a/modules/editor/lang/zh-CN.php b/modules/editor/lang/zh-CN.php index 73985139a..4ff949d03 100644 --- a/modules/editor/lang/zh-CN.php +++ b/modules/editor/lang/zh-CN.php @@ -51,6 +51,12 @@ $lang->edit['fontname'] = '字体'; $lang->edit['fontsize'] = '大小'; $lang->edit['use_paragraph'] = '段落功能'; $lang->edit['header'] = '样式'; +$lang->edit['header_list']['h1'] = '标题 1'; +$lang->edit['header_list']['h2'] = '标题 2'; +$lang->edit['header_list']['h3'] = '标题 3'; +$lang->edit['header_list']['h4'] = '标题 4'; +$lang->edit['header_list']['h5'] = '标题 5'; +$lang->edit['header_list']['h6'] = '标题 6'; $lang->edit['submit'] = '确认'; $lang->edit['fontcolor'] = '文本颜色'; $lang->edit['fontbgcolor'] = '背景颜色'; diff --git a/modules/editor/lang/zh-TW.php b/modules/editor/lang/zh-TW.php index 8964e2664..d9db8a058 100644 --- a/modules/editor/lang/zh-TW.php +++ b/modules/editor/lang/zh-TW.php @@ -51,6 +51,12 @@ $lang->edit['fontname'] = '字體'; $lang->edit['fontsize'] = '大小'; $lang->edit['use_paragraph'] = '段落功能'; $lang->edit['header'] = '樣式'; +$lang->edit['header_list']['h1'] = '標題 1'; +$lang->edit['header_list']['h2'] = '標題 2'; +$lang->edit['header_list']['h3'] = '標題 3'; +$lang->edit['header_list']['h4'] = '標題 4'; +$lang->edit['header_list']['h5'] = '標題 5'; +$lang->edit['header_list']['h6'] = '標題 6'; $lang->edit['submit'] = '確認'; $lang->edit['fontcolor'] = '文字顏色'; $lang->edit['fontbgcolor'] = '背景顏色'; diff --git a/modules/integration_search/lang/en.php b/modules/integration_search/lang/en.php index 5347e5cbf..bdf9c0992 100644 --- a/modules/integration_search/lang/en.php +++ b/modules/integration_search/lang/en.php @@ -11,6 +11,14 @@ $lang->is_result_text = 'There are %d result(s) for \'% $lang->multimedia = 'Images/Video'; $lang->include_search_target = 'Search for selected modules'; $lang->exclude_search_target = 'Exclude selected modules from search'; +$lang->is_search_option['document']['title_content'] = 'Subject+Content'; +$lang->is_search_option['document']['title'] = 'Subject'; +$lang->is_search_option['document']['content'] = 'Content'; +$lang->is_search_option['document']['tag'] = 'Tags'; +$lang->is_search_option['trackback']['url'] = 'Target URL'; +$lang->is_search_option['trackback']['blog_name'] = 'Target Site Name'; +$lang->is_search_option['trackback']['title'] = 'Title'; +$lang->is_search_option['trackback']['excerpt'] = 'Excerpt'; $lang->is_sort_option['regdate'] = 'Registered Date'; $lang->is_sort_option['comment_count'] = 'Number of Comments'; $lang->is_sort_option['readed_count'] = 'Number of Hits'; diff --git a/modules/integration_search/lang/es.php b/modules/integration_search/lang/es.php index e1909d403..8ec0a5c2c 100644 --- a/modules/integration_search/lang/es.php +++ b/modules/integration_search/lang/es.php @@ -7,6 +7,14 @@ $lang->msg_no_keyword = 'Ingrese la palabra para la búsqueda'; $lang->is_result_text = '%d Resultados con la palabra \'%s\' '; $lang->include_search_target = 'Sólo en determinados '; $lang->exclude_search_target = 'Búsqueda para el destino de'; +$lang->is_search_option['document']['title_content'] = 'Título+Contenido'; +$lang->is_search_option['document']['title'] = 'Título'; +$lang->is_search_option['document']['content'] = 'Contenido'; +$lang->is_search_option['document']['tag'] = 'Etiqueta'; +$lang->is_search_option['trackback']['url'] = 'URL objetivo'; +$lang->is_search_option['trackback']['blog_name'] = 'Ojetivo del nombre de sitio'; +$lang->is_search_option['trackback']['title'] = 'Título'; +$lang->is_search_option['trackback']['excerpt'] = 'Contenido'; $lang->is_sort_option['regdate'] = 'Fecha del registro'; $lang->is_sort_option['comment_count'] = 'Número de commentarios'; $lang->is_sort_option['readed_count'] = 'Número de query'; diff --git a/modules/integration_search/lang/fr.php b/modules/integration_search/lang/fr.php index 2dadbe978..ad732391f 100644 --- a/modules/integration_search/lang/fr.php +++ b/modules/integration_search/lang/fr.php @@ -7,6 +7,14 @@ $lang->msg_no_keyword = 'Entrez le mot de clé à rechercher, S.V.P.'; $lang->is_result_text = 'Il y a %d résultat(s) pour \'%s\''; $lang->include_search_target = 'Seulement dans certaines cibles '; $lang->exclude_search_target = 'Recherche de la destination sélectionnée à partir de'; +$lang->is_search_option['document']['title_content'] = 'Titre+Contenu'; +$lang->is_search_option['document']['title'] = 'Titre'; +$lang->is_search_option['document']['content'] = 'Contenu'; +$lang->is_search_option['document']['tag'] = 'Balise'; +$lang->is_search_option['trackback']['url'] = 'URL objectif'; +$lang->is_search_option['trackback']['blog_name'] = 'Nom du Site objectif'; +$lang->is_search_option['trackback']['title'] = 'Titre'; +$lang->is_search_option['trackback']['excerpt'] = 'Contenu'; $lang->is_sort_option['regdate'] = 'Enrégistré'; $lang->is_sort_option['comment_count'] = 'Commentaires'; $lang->is_sort_option['readed_count'] = 'Vues'; diff --git a/modules/integration_search/lang/ja.php b/modules/integration_search/lang/ja.php index 9fa240541..6d591c65d 100644 --- a/modules/integration_search/lang/ja.php +++ b/modules/integration_search/lang/ja.php @@ -11,6 +11,14 @@ $lang->is_result_text = '\'%s\'に対する検索結果 $lang->multimedia = '画像/動画'; $lang->include_search_target = '選択された対象のみ'; $lang->exclude_search_target = '選択した対象を検索から除外'; +$lang->is_search_option['document']['title_content'] = 'タイトル+内容'; +$lang->is_search_option['document']['title'] = 'タイトル'; +$lang->is_search_option['document']['content'] = '内容'; +$lang->is_search_option['document']['tag'] = 'タグ'; +$lang->is_search_option['trackback']['url'] = '対象URL'; +$lang->is_search_option['trackback']['blog_name'] = '対象サイト(ブログ)名'; +$lang->is_search_option['trackback']['title'] = 'タイトル'; +$lang->is_search_option['trackback']['excerpt'] = '内容'; $lang->is_sort_option['regdate'] = '登録日'; $lang->is_sort_option['comment_count'] = 'コメント数'; $lang->is_sort_option['readed_count'] = '閲覧数'; diff --git a/modules/integration_search/lang/ko.php b/modules/integration_search/lang/ko.php index e3890db6e..65bf21697 100644 --- a/modules/integration_search/lang/ko.php +++ b/modules/integration_search/lang/ko.php @@ -11,6 +11,14 @@ $lang->is_result_text = '\'%s\'에 대한 검색결과 $lang->multimedia = '이미지/동영상'; $lang->include_search_target = '선택된 대상만 검색'; $lang->exclude_search_target = '선택된 대상을 검색에서 제외'; +$lang->is_search_option['document']['title_content'] = '제목+내용'; +$lang->is_search_option['document']['title'] = '제목'; +$lang->is_search_option['document']['content'] = '내용'; +$lang->is_search_option['document']['tag'] = '태그'; +$lang->is_search_option['trackback']['url'] = '대상 URL'; +$lang->is_search_option['trackback']['blog_name'] = '대상 사이트 이름'; +$lang->is_search_option['trackback']['title'] = '제목'; +$lang->is_search_option['trackback']['excerpt'] = '내용'; $lang->is_sort_option['regdate'] = '등록일'; $lang->is_sort_option['comment_count'] = '댓글 수'; $lang->is_sort_option['readed_count'] = '조회 수'; diff --git a/modules/integration_search/lang/ru.php b/modules/integration_search/lang/ru.php index ca9c862be..9b7e92ae3 100644 --- a/modules/integration_search/lang/ru.php +++ b/modules/integration_search/lang/ru.php @@ -9,6 +9,14 @@ $lang->is_result_text = '%d результатов для multimedia = 'Картинки/Видео'; $lang->include_search_target = 'Поиск только для выбранных модулей'; $lang->exclude_search_target = 'Исключить выбранные модули из поиска'; +$lang->is_search_option['document']['title_content'] = 'Заголовок+Содержание'; +$lang->is_search_option['document']['title'] = 'Тема'; +$lang->is_search_option['document']['content'] = 'Содержание'; +$lang->is_search_option['document']['tag'] = 'Теги'; +$lang->is_search_option['trackback']['url'] = 'URL'; +$lang->is_search_option['trackback']['blog_name'] = 'Имя сайта'; +$lang->is_search_option['trackback']['title'] = 'Заголовок'; +$lang->is_search_option['trackback']['excerpt'] = 'Содержание'; $lang->is_sort_option['regdate'] = 'Дата регистрации'; $lang->is_sort_option['comment_count'] = 'Кол-во комментариев'; $lang->is_sort_option['readed_count'] = 'Кол-во хитов'; diff --git a/modules/integration_search/lang/tr.php b/modules/integration_search/lang/tr.php index f4bb83750..3e58404ba 100644 --- a/modules/integration_search/lang/tr.php +++ b/modules/integration_search/lang/tr.php @@ -8,6 +8,14 @@ $lang->is_result_text = '\'%s\' için yaklaşık %dmultimedia = 'Resimler/ Görüntüler'; $lang->include_search_target = 'Seçili modüller içinde ara'; $lang->exclude_search_target = 'Seçili modülleri arama dışında tut'; +$lang->is_search_option['document']['title_content'] = 'Konu+İçerik'; +$lang->is_search_option['document']['title'] = 'Konu'; +$lang->is_search_option['document']['content'] = 'İçerik'; +$lang->is_search_option['document']['tag'] = 'Etiketler'; +$lang->is_search_option['trackback']['url'] = 'Hedef URL'; +$lang->is_search_option['trackback']['blog_name'] = 'Hedef Site İsmi'; +$lang->is_search_option['trackback']['title'] = 'Başlık'; +$lang->is_search_option['trackback']['excerpt'] = 'Alıntı'; $lang->is_sort_option['regdate'] = 'Kayıt Zamanı'; $lang->is_sort_option['comment_count'] = 'Yorum Sayısı'; $lang->is_sort_option['readed_count'] = 'Tıklanma Sayısı'; diff --git a/modules/integration_search/lang/vi.php b/modules/integration_search/lang/vi.php index dd394d03b..5d136b893 100644 --- a/modules/integration_search/lang/vi.php +++ b/modules/integration_search/lang/vi.php @@ -6,6 +6,14 @@ $lang->about_sample_code = 'Bạn có thể sử dụng chức năng tìm kiếm $lang->msg_no_keyword = 'Hãy nhập từ khóa để tìm kiếm!'; $lang->is_result_text = 'Tìm thấy %d kết quả cho \'%s\''; $lang->multimedia = 'Hình ảnh/ Video'; +$lang->is_search_option['document']['title_content'] = 'T.Đề+N.Dung'; +$lang->is_search_option['document']['title'] = 'Tiêu đề'; +$lang->is_search_option['document']['content'] = 'Nội dung'; +$lang->is_search_option['document']['tag'] = 'Tag'; +$lang->is_search_option['trackback']['url'] = 'URL'; +$lang->is_search_option['trackback']['blog_name'] = 'Tên Website'; +$lang->is_search_option['trackback']['title'] = 'Tiêu đề'; +$lang->is_search_option['trackback']['excerpt'] = 'Trích mô tả'; $lang->is_sort_option['regdate'] = 'Ngày gửi'; $lang->is_sort_option['comment_count'] = 'Số bình luận'; $lang->is_sort_option['readed_count'] = 'Lượt xem'; diff --git a/modules/integration_search/lang/zh-CN.php b/modules/integration_search/lang/zh-CN.php index b5b37e5d2..f41deadc6 100644 --- a/modules/integration_search/lang/zh-CN.php +++ b/modules/integration_search/lang/zh-CN.php @@ -11,6 +11,14 @@ $lang->is_result_text = '符合\'%s\'的搜索结果约有multimedia = '图片/视频'; $lang->include_search_target = '只搜索所选对象'; $lang->exclude_search_target = '所选对象从搜索中排除'; +$lang->is_search_option['document']['title_content'] = '标题+内容'; +$lang->is_search_option['document']['title'] = '标题'; +$lang->is_search_option['document']['content'] = '内容'; +$lang->is_search_option['document']['tag'] = '标签'; +$lang->is_search_option['trackback']['url'] = '对象URL'; +$lang->is_search_option['trackback']['blog_name'] = '对象网站名称'; +$lang->is_search_option['trackback']['title'] = '标题'; +$lang->is_search_option['trackback']['excerpt'] = '内容'; $lang->is_sort_option['regdate'] = '日期'; $lang->is_sort_option['comment_count'] = '评论'; $lang->is_sort_option['readed_count'] = '查看'; diff --git a/modules/integration_search/lang/zh-TW.php b/modules/integration_search/lang/zh-TW.php index 0cd1f55be..2729fbb5f 100644 --- a/modules/integration_search/lang/zh-TW.php +++ b/modules/integration_search/lang/zh-TW.php @@ -11,6 +11,14 @@ $lang->is_result_text = '符合\'%s\'的搜尋結果,約有multimedia = '圖片/影片'; $lang->include_search_target = '尋找所選模組'; $lang->exclude_search_target = '排除所選模組'; +$lang->is_search_option['document']['title_content'] = '標題+內容'; +$lang->is_search_option['document']['title'] = '標題'; +$lang->is_search_option['document']['content'] = '內容'; +$lang->is_search_option['document']['tag'] = '標籤'; +$lang->is_search_option['trackback']['url'] = '目標網址'; +$lang->is_search_option['trackback']['blog_name'] = '目標網站名稱'; +$lang->is_search_option['trackback']['title'] = '標題'; +$lang->is_search_option['trackback']['excerpt'] = '內容'; $lang->is_sort_option['regdate'] = '日期'; $lang->is_sort_option['comment_count'] = '評論'; $lang->is_sort_option['readed_count'] = '檢視';