From: garvinhicking Date: Mon, 22 Jan 2007 10:45:39 +0000 (+0000) Subject: Allow some WP import tweaks by jtb X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=9359bc6d1f04a787b5c81c12b4b4a365e762ad65;p=s9y.git Allow some WP import tweaks by jtb --- diff --git a/docs/NEWS b/docs/NEWS index e712fd5..6b64436 100644 --- a/docs/NEWS +++ b/docs/NEWS @@ -3,6 +3,10 @@ Version 1.2 () ------------------------------------------------------------------------ + * Improve WP importer by only fetching real posts (attachments/static + only optional) and splitting a post into extended/normal entry. + Thanks to jtb! + * Update Spartacus plugin to allow configuring whether to fetch Themes or Plugins, or only one/none of them (garvinhicking) diff --git a/include/admin/importers/wordpress.inc.php b/include/admin/importers/wordpress.inc.php index f65f87a..3fbbcfa 100644 --- a/include/admin/importers/wordpress.inc.php +++ b/include/admin/importers/wordpress.inc.php @@ -48,7 +48,13 @@ class Serendipity_Import_WordPress extends Serendipity_Import { array('text' => ACTIVATE_AUTODISCOVERY, 'type' => 'bool', 'name' => 'autodiscovery', - 'default' => 'false') + 'default' => 'false'), + + array('text' => IMPORT_WP_PAGES, + 'type' => 'bool', + 'name' => 'import_all', + 'default' => 'false' + ) ); } @@ -164,7 +170,11 @@ class Serendipity_Import_WordPress extends Serendipity_Import { serendipity_rebuildCategoryTree(); /* Entries */ - $res = @$this->nativeQuery("SELECT * FROM {$this->data['prefix']}posts ORDER BY post_date;", $wpdb); + if (serendipity_db_bool($this->data['import_all'])) { + $res = @$this->nativeQuery("SELECT * FROM {$this->data['prefix']}posts WHERE post_status IN ('publish', 'draft') ORDER BY post_date;", $wpdb); + } else { + $res = @$this->nativeQuery("SELECT * FROM {$this->data['prefix']}posts ORDER BY post_date;", $wpdb); + } if ( !$res ) { return sprintf(COULDNT_SELECT_ENTRY_INFO, mysql_error($wpdb)); } @@ -172,11 +182,16 @@ class Serendipity_Import_WordPress extends Serendipity_Import { for ( $x=0 ; $x', $entries[$x]['post_content'], 2); + $body = $content[0]; + $extended = $content[1]; + $entry = array('title' => $this->decode($entries[$x]['post_title']), // htmlentities() is called later, so we can leave this. 'isdraft' => ($entries[$x]['post_status'] == 'publish') ? 'false' : 'true', 'allow_comments' => ($entries[$x]['comment_status'] == 'open' ) ? 'true' : 'false', 'timestamp' => strtotime($entries[$x]['post_date']), - 'body' => $this->strtr($entries[$x]['post_content'])); + 'body' => $this->strtr($body), + 'extended' => $this->strtr($extended)); foreach ( $users as $user ) { if ( $user['ID'] == $entries[$x]['post_author'] ) { diff --git a/lang/UTF-8/plugin_lang.php b/lang/UTF-8/plugin_lang.php index de5433d..b1ab842 100644 --- a/lang/UTF-8/plugin_lang.php +++ b/lang/UTF-8/plugin_lang.php @@ -89,3 +89,4 @@ foreach($const['missing'] AS $file => $constants) { @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_bg.inc.php b/lang/UTF-8/serendipity_lang_bg.inc.php index fdbf2c8..cb982a3 100644 --- a/lang/UTF-8/serendipity_lang_bg.inc.php +++ b/lang/UTF-8/serendipity_lang_bg.inc.php @@ -876,3 +876,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Показване само на автори с най-малко X статии'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_cn.inc.php b/lang/UTF-8/serendipity_lang_cn.inc.php index 74d4e23..442f98d 100644 --- a/lang/UTF-8/serendipity_lang_cn.inc.php +++ b/lang/UTF-8/serendipity_lang_cn.inc.php @@ -889,3 +889,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_cs.inc.php b/lang/UTF-8/serendipity_lang_cs.inc.php index d3c708b..8cfc945 100644 --- a/lang/UTF-8/serendipity_lang_cs.inc.php +++ b/lang/UTF-8/serendipity_lang_cs.inc.php @@ -1,4 +1,4 @@ - @@ -897,3 +897,4 @@ $i18n_filename_to = array ( @define('PERMISSION_FORBIDDEN_HOOKS', 'Zakázané události'); @define('PERMISSION_FORBIDDEN_ENABLE', 'Povolit Plugin ACL pro uživatelské skupiny?'); @define('PERMISSION_FORBIDDEN_ENABLE_DESC', 'Jestliže je volba "Plugin ACL pro uživatelské skupiny" v konfiguraci povolena, můžete určit, které skupiny uživatelů mohou provádět určité pluginy/události.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_cz.inc.php b/lang/UTF-8/serendipity_lang_cz.inc.php index 519bf3f..d37f50b 100644 --- a/lang/UTF-8/serendipity_lang_cz.inc.php +++ b/lang/UTF-8/serendipity_lang_cz.inc.php @@ -1,4 +1,4 @@ - @@ -897,3 +897,4 @@ $i18n_filename_to = array ( @define('PERMISSION_FORBIDDEN_HOOKS', 'Zakázané události'); @define('PERMISSION_FORBIDDEN_ENABLE', 'Povolit Plugin ACL pro uživatelské skupiny?'); @define('PERMISSION_FORBIDDEN_ENABLE_DESC', 'Jestliže je volba "Plugin ACL pro uživatelské skupiny" v konfiguraci povolena, můžete určit, které skupiny uživatelů mohou provádět určité pluginy/události.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_da.inc.php b/lang/UTF-8/serendipity_lang_da.inc.php index a5a9d2f..ed60c3d 100644 --- a/lang/UTF-8/serendipity_lang_da.inc.php +++ b/lang/UTF-8/serendipity_lang_da.inc.php @@ -886,3 +886,4 @@ @define('PERMISSION_FORBIDDEN_ENABLE_DESC', 'Mulighed for at bestemme hvilke grupper der mÃ¥ anvende hvilke plugins.'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_de.inc.php b/lang/UTF-8/serendipity_lang_de.inc.php index 0a37b07..0d78b6d 100644 --- a/lang/UTF-8/serendipity_lang_de.inc.php +++ b/lang/UTF-8/serendipity_lang_de.inc.php @@ -884,3 +884,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Fügen Sie diesen Link als Lesezeichen/Favoriten hinzu. Dann können Sie dieses Lesezeichen auf jeder beliebigen Seite benutzen um so sofort in ihr Serendipity-Blog zu gelangen.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_en.inc.php b/lang/UTF-8/serendipity_lang_en.inc.php index dc4aff2..c1804ef 100644 --- a/lang/UTF-8/serendipity_lang_en.inc.php +++ b/lang/UTF-8/serendipity_lang_en.inc.php @@ -885,3 +885,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_es.inc.php b/lang/UTF-8/serendipity_lang_es.inc.php index adf38fb..8e882b6 100644 --- a/lang/UTF-8/serendipity_lang_es.inc.php +++ b/lang/UTF-8/serendipity_lang_es.inc.php @@ -905,3 +905,4 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ?? @define('PLUGIN_AUTHORS_MINCOUNT', 'Sólo mostrar aquellos autores con al menos X artículos'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_fa.inc.php b/lang/UTF-8/serendipity_lang_fa.inc.php index 8d9a57c..4b6370f 100644 --- a/lang/UTF-8/serendipity_lang_fa.inc.php +++ b/lang/UTF-8/serendipity_lang_fa.inc.php @@ -889,3 +889,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'به نویسندگان حداقل X مطلب نشان داده شود'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_fi.inc.php b/lang/UTF-8/serendipity_lang_fi.inc.php index d050f98..867f117 100644 --- a/lang/UTF-8/serendipity_lang_fi.inc.php +++ b/lang/UTF-8/serendipity_lang_fi.inc.php @@ -887,3 +887,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_fr.inc.php b/lang/UTF-8/serendipity_lang_fr.inc.php index 1d0f28a..39d2f74 100644 --- a/lang/UTF-8/serendipity_lang_fr.inc.php +++ b/lang/UTF-8/serendipity_lang_fr.inc.php @@ -894,3 +894,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_hu.inc.php b/lang/UTF-8/serendipity_lang_hu.inc.php index 397a190..1e9d72c 100644 --- a/lang/UTF-8/serendipity_lang_hu.inc.php +++ b/lang/UTF-8/serendipity_lang_hu.inc.php @@ -888,3 +888,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_is.inc.php b/lang/UTF-8/serendipity_lang_is.inc.php index 284d64f..22c0de8 100644 --- a/lang/UTF-8/serendipity_lang_is.inc.php +++ b/lang/UTF-8/serendipity_lang_is.inc.php @@ -888,3 +888,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_it.inc.php b/lang/UTF-8/serendipity_lang_it.inc.php index 114df94..b0aac4f 100644 --- a/lang/UTF-8/serendipity_lang_it.inc.php +++ b/lang/UTF-8/serendipity_lang_it.inc.php @@ -891,3 +891,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_ja.inc.php b/lang/UTF-8/serendipity_lang_ja.inc.php index 3e2cb55..fd9d1b9 100644 --- a/lang/UTF-8/serendipity_lang_ja.inc.php +++ b/lang/UTF-8/serendipity_lang_ja.inc.php @@ -890,3 +890,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_ko.inc.php b/lang/UTF-8/serendipity_lang_ko.inc.php index d571978..7236923 100644 --- a/lang/UTF-8/serendipity_lang_ko.inc.php +++ b/lang/UTF-8/serendipity_lang_ko.inc.php @@ -890,3 +890,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_nl.inc.php b/lang/UTF-8/serendipity_lang_nl.inc.php index f0bf291..7cfcea0 100644 --- a/lang/UTF-8/serendipity_lang_nl.inc.php +++ b/lang/UTF-8/serendipity_lang_nl.inc.php @@ -1,4 +1,4 @@ - @@ -890,3 +890,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_no.inc.php b/lang/UTF-8/serendipity_lang_no.inc.php index d147b0b..f90c3e0 100644 --- a/lang/UTF-8/serendipity_lang_no.inc.php +++ b/lang/UTF-8/serendipity_lang_no.inc.php @@ -890,3 +890,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_pl.inc.php b/lang/UTF-8/serendipity_lang_pl.inc.php index a6269c7..02289dd 100644 --- a/lang/UTF-8/serendipity_lang_pl.inc.php +++ b/lang/UTF-8/serendipity_lang_pl.inc.php @@ -1,4 +1,4 @@ - @@ -890,4 +890,5 @@ $i18n_unknown = 'tw'; @define('DELETE_SELECTED_ENTRIES', '刪除選擇的文章'); @define('PLUGIN_AUTHORS_MINCOUNT', '顯示多於 X 文章的作者'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', '書籤'); -@define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', '將這個連結設為書籤可以讓您快速的進入網誌。'); \ No newline at end of file +@define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', '將這個連結設為書籤可以讓您快速的進入網誌。'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_tr.inc.php b/lang/UTF-8/serendipity_lang_tr.inc.php index a213258..d6a0f6d 100644 --- a/lang/UTF-8/serendipity_lang_tr.inc.php +++ b/lang/UTF-8/serendipity_lang_tr.inc.php @@ -891,3 +891,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_tw.inc.php b/lang/UTF-8/serendipity_lang_tw.inc.php index 6a1ed86..a5c3226 100644 --- a/lang/UTF-8/serendipity_lang_tw.inc.php +++ b/lang/UTF-8/serendipity_lang_tw.inc.php @@ -1,4 +1,4 @@ - @@ -891,4 +891,4 @@ $i18n_unknown = 'tw'; @define('DELETE_SELECTED_ENTRIES', '刪除選擇的文章'); @define('PLUGIN_AUTHORS_MINCOUNT', '顯示多於 X 文章的作者'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', '書籤'); -@define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', '將這個連結設為書籤可以讓您快速的進入網誌。'); \ No newline at end of file +@define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', '將這個連結設為書籤可以讓您快速的進入網誌。');@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/UTF-8/serendipity_lang_zh.inc.php b/lang/UTF-8/serendipity_lang_zh.inc.php index c246a7c..db77229 100644 --- a/lang/UTF-8/serendipity_lang_zh.inc.php +++ b/lang/UTF-8/serendipity_lang_zh.inc.php @@ -888,3 +888,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/addlang.txt b/lang/addlang.txt index 917f8ec..1046322 100644 --- a/lang/addlang.txt +++ b/lang/addlang.txt @@ -1,2 +1 @@ -@define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); -@define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/plugin_lang.php b/lang/plugin_lang.php index de5433d..b1ab842 100644 --- a/lang/plugin_lang.php +++ b/lang/plugin_lang.php @@ -89,3 +89,4 @@ foreach($const['missing'] AS $file => $constants) { @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_bg.inc.php b/lang/serendipity_lang_bg.inc.php index f8ca2e2..b04b8f5 100644 --- a/lang/serendipity_lang_bg.inc.php +++ b/lang/serendipity_lang_bg.inc.php @@ -876,3 +876,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Ïîêàçâàíå ñàìî íà àâòîðè ñ íàé-ìàëêî X ñòàòèè'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_cn.inc.php b/lang/serendipity_lang_cn.inc.php index ad14afa..146176d 100644 --- a/lang/serendipity_lang_cn.inc.php +++ b/lang/serendipity_lang_cn.inc.php @@ -889,3 +889,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_cs.inc.php b/lang/serendipity_lang_cs.inc.php index 9e4c4f9..73fe97e 100644 --- a/lang/serendipity_lang_cs.inc.php +++ b/lang/serendipity_lang_cs.inc.php @@ -897,3 +897,4 @@ $i18n_filename_to = array ( @define('PERMISSION_FORBIDDEN_HOOKS', 'Zakázané události'); @define('PERMISSION_FORBIDDEN_ENABLE', 'Povolit Plugin ACL pro uživatelské skupiny?'); @define('PERMISSION_FORBIDDEN_ENABLE_DESC', 'Jestliže je volba "Plugin ACL pro uživatelské skupiny" v konfiguraci povolena, mùžete urèit, které skupiny uživatelù mohou provádìt urèité pluginy/události.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_cz.inc.php b/lang/serendipity_lang_cz.inc.php index af7c378..1792b22 100644 --- a/lang/serendipity_lang_cz.inc.php +++ b/lang/serendipity_lang_cz.inc.php @@ -897,3 +897,4 @@ $i18n_filename_to = array ( @define('PERMISSION_FORBIDDEN_HOOKS', 'Zakázané události'); @define('PERMISSION_FORBIDDEN_ENABLE', 'Povolit Plugin ACL pro u¾ivatelské skupiny?'); @define('PERMISSION_FORBIDDEN_ENABLE_DESC', 'Jestli¾e je volba "Plugin ACL pro u¾ivatelské skupiny" v konfiguraci povolena, mù¾ete urèit, které skupiny u¾ivatelù mohou provádìt urèité pluginy/události.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_da.inc.php b/lang/serendipity_lang_da.inc.php index 68ea804..4c2cd6e 100644 --- a/lang/serendipity_lang_da.inc.php +++ b/lang/serendipity_lang_da.inc.php @@ -886,3 +886,4 @@ @define('PERMISSION_FORBIDDEN_ENABLE_DESC', 'Mulighed for at bestemme hvilke grupper der må anvende hvilke plugins.'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_de.inc.php b/lang/serendipity_lang_de.inc.php index 3132eca..8b59b5a 100644 --- a/lang/serendipity_lang_de.inc.php +++ b/lang/serendipity_lang_de.inc.php @@ -884,3 +884,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Fügen Sie diesen Link als Lesezeichen/Favoriten hinzu. Dann können Sie dieses Lesezeichen auf jeder beliebigen Seite benutzen um so sofort in ihr Serendipity-Blog zu gelangen.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_en.inc.php b/lang/serendipity_lang_en.inc.php index 6efa25e..96ac068 100644 --- a/lang/serendipity_lang_en.inc.php +++ b/lang/serendipity_lang_en.inc.php @@ -885,3 +885,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_es.inc.php b/lang/serendipity_lang_es.inc.php index f93d3fa..c05ae59 100644 --- a/lang/serendipity_lang_es.inc.php +++ b/lang/serendipity_lang_es.inc.php @@ -905,3 +905,4 @@ Melvin TODO [20060128]: What spanish word do we use for "referrers" ?? @define('PLUGIN_AUTHORS_MINCOUNT', 'Sólo mostrar aquellos autores con al menos X artículos'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_fa.inc.php b/lang/serendipity_lang_fa.inc.php index 2b50329..640af23 100644 --- a/lang/serendipity_lang_fa.inc.php +++ b/lang/serendipity_lang_fa.inc.php @@ -889,3 +889,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'به نویسندگان حداقل X مطلب نشان داده شود'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_fi.inc.php b/lang/serendipity_lang_fi.inc.php index a275e91..24ddcf3 100644 --- a/lang/serendipity_lang_fi.inc.php +++ b/lang/serendipity_lang_fi.inc.php @@ -887,3 +887,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_fr.inc.php b/lang/serendipity_lang_fr.inc.php index 895ff97..af884ba 100644 --- a/lang/serendipity_lang_fr.inc.php +++ b/lang/serendipity_lang_fr.inc.php @@ -894,3 +894,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_hu.inc.php b/lang/serendipity_lang_hu.inc.php index a1b5881..a0fe359 100644 --- a/lang/serendipity_lang_hu.inc.php +++ b/lang/serendipity_lang_hu.inc.php @@ -888,3 +888,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_is.inc.php b/lang/serendipity_lang_is.inc.php index ba6e020..078d914 100644 --- a/lang/serendipity_lang_is.inc.php +++ b/lang/serendipity_lang_is.inc.php @@ -888,3 +888,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_it.inc.php b/lang/serendipity_lang_it.inc.php index 47a5228..adc2c3d 100644 --- a/lang/serendipity_lang_it.inc.php +++ b/lang/serendipity_lang_it.inc.php @@ -891,3 +891,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_ja.inc.php b/lang/serendipity_lang_ja.inc.php index f0771f8..5b3bdf6 100644 --- a/lang/serendipity_lang_ja.inc.php +++ b/lang/serendipity_lang_ja.inc.php @@ -890,3 +890,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_ko.inc.php b/lang/serendipity_lang_ko.inc.php index 8ce9bdc..14d28c3 100644 --- a/lang/serendipity_lang_ko.inc.php +++ b/lang/serendipity_lang_ko.inc.php @@ -890,3 +890,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_nl.inc.php b/lang/serendipity_lang_nl.inc.php index 8b6eb4b..588da5f 100644 --- a/lang/serendipity_lang_nl.inc.php +++ b/lang/serendipity_lang_nl.inc.php @@ -890,3 +890,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_no.inc.php b/lang/serendipity_lang_no.inc.php index 90a2869..ffd3b78 100644 --- a/lang/serendipity_lang_no.inc.php +++ b/lang/serendipity_lang_no.inc.php @@ -890,3 +890,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_pl.inc.php b/lang/serendipity_lang_pl.inc.php index 7c477b9..36fab6b 100644 --- a/lang/serendipity_lang_pl.inc.php +++ b/lang/serendipity_lang_pl.inc.php @@ -885,3 +885,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Poka¿ tylko autorów maj±cych co najmniej X wpisów'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark (dodaj do Ulubionych) ten link i u¿yj na dowolnej stronie, o której chcesz blogowaæ, by szybko dostaæ siê do swojego bloga.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_pt.inc.php b/lang/serendipity_lang_pt.inc.php index b42d637..058a195 100644 --- a/lang/serendipity_lang_pt.inc.php +++ b/lang/serendipity_lang_pt.inc.php @@ -892,3 +892,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_pt_PT.inc.php b/lang/serendipity_lang_pt_PT.inc.php index 8288b55..8446abf 100644 --- a/lang/serendipity_lang_pt_PT.inc.php +++ b/lang/serendipity_lang_pt_PT.inc.php @@ -899,3 +899,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Mostar apenas Autores com um mínimo de X artigos'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Marque esta ligação e use-a em qualquer página em que quiser blogar para aceder rapidamente ao seu blogue Serendipity.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_ro.inc.php b/lang/serendipity_lang_ro.inc.php index 0299251..378c3bb 100644 --- a/lang/serendipity_lang_ro.inc.php +++ b/lang/serendipity_lang_ro.inc.php @@ -888,3 +888,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_ru.inc.php b/lang/serendipity_lang_ru.inc.php index f9ad5af..5f54150 100644 --- a/lang/serendipity_lang_ru.inc.php +++ b/lang/serendipity_lang_ru.inc.php @@ -891,3 +891,4 @@ $i18n_filename_to = array('_', 'a', 'A', 'b', 'B', 'v', 'V', 'g', 'G', 'd', 'D @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_sa.inc.php b/lang/serendipity_lang_sa.inc.php index 025a34e..e2b602f 100644 --- a/lang/serendipity_lang_sa.inc.php +++ b/lang/serendipity_lang_sa.inc.php @@ -806,3 +806,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_se.inc.php b/lang/serendipity_lang_se.inc.php index a08ea98..eff3609 100644 --- a/lang/serendipity_lang_se.inc.php +++ b/lang/serendipity_lang_se.inc.php @@ -887,3 +887,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_ta.inc.php b/lang/serendipity_lang_ta.inc.php index 7decd22..b8aaeb2 100644 --- a/lang/serendipity_lang_ta.inc.php +++ b/lang/serendipity_lang_ta.inc.php @@ -887,3 +887,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_tn.inc.php b/lang/serendipity_lang_tn.inc.php index e6ad229..162effe 100644 --- a/lang/serendipity_lang_tn.inc.php +++ b/lang/serendipity_lang_tn.inc.php @@ -891,3 +891,4 @@ $i18n_unknown = 'tw'; @define('PLUGIN_AUTHORS_MINCOUNT', '顯示多於 X 文章的作者'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', '書籤'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', '將這個連結設為書籤可以讓您快速的進入網誌。'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_tr.inc.php b/lang/serendipity_lang_tr.inc.php index a213258..d6a0f6d 100644 --- a/lang/serendipity_lang_tr.inc.php +++ b/lang/serendipity_lang_tr.inc.php @@ -891,3 +891,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_tw.inc.php b/lang/serendipity_lang_tw.inc.php index e8266af..4fd6bca 100644 --- a/lang/serendipity_lang_tw.inc.php +++ b/lang/serendipity_lang_tw.inc.php @@ -891,4 +891,4 @@ $i18n_unknown = 'tw'; @define('DELETE_SELECTED_ENTRIES', '§R°£¿ï¾Üªº¤å³¹'); @define('PLUGIN_AUTHORS_MINCOUNT', 'Åã¥Ü¦h©ó X ¤å³¹ªº§@ªÌ'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', '®ÑÅÒ'); -@define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', '±N³o­Ó³sµ²³]¬°®ÑÅÒ¥i¥HÅý±z§Ö³tªº¶i¤Jºô»x¡C'); \ No newline at end of file +@define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', '±N³o­Ó³sµ²³]¬°®ÑÅÒ¥i¥HÅý±z§Ö³tªº¶i¤Jºô»x¡C');@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?'); diff --git a/lang/serendipity_lang_zh.inc.php b/lang/serendipity_lang_zh.inc.php index 1f6bd1a..50e3cbb 100644 --- a/lang/serendipity_lang_zh.inc.php +++ b/lang/serendipity_lang_zh.inc.php @@ -888,3 +888,4 @@ @define('PLUGIN_AUTHORS_MINCOUNT', 'Show only authors with at least X articles'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET', 'Bookmarklet'); @define('FURTHER_LINKS_S9Y_BOOKMARKLET_DESC', 'Bookmark this link and then use it on any page you want to blog about to quickly access your Serendipity Blog.'); +@define('IMPORT_WP_PAGES', 'Also fetch attachments and staticpages as normal blog entries?');