diff --git a/CHANGELOG.md b/CHANGELOG.md
index 0e3e583..df42484 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,4 @@
-# In beta testing: FlatPress 1.2 "Legato"
-[Release info and download](https://github.com/flatpressblog/flatpress/releases/tag/1.2.beta1)
+# 2021-03-20: [FlatPress 1.2 "Legato"](https://github.com/flatpressblog/flatpress/releases/tag/1.2)
## General
- FlatPress now runs smoothly with PHP 7.4 and PHP 8
- Performance: Lazy loading for images
@@ -31,6 +30,7 @@
- Fixed "syntax error, unexpected '\['" bug, reported [here](https://forum.flatpress.org/viewtopic.php?f=2&t=131)
- Setup sets date and FP version for the freshly created static pages
- Annoying translation error in German language pack fixed
+- ... and many more!
## Translations
- Added French language pack by Marc Thibeault and Dimitri Soufflet, reworked by Gee
- Added Japanese Language Pack by [NORTH HILL WORK STUDIO](https://nhws.localinfo.jp/)
diff --git a/README.md b/README.md
index 8493620..533e507 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,5 @@
-[[flatpress.org](https://www.flatpress.org/)] [[Support forum](https://forum.flatpress.org/)] [[Wiki](https://wiki.flatpress.org/)] [[GitHub](https://github.com/flatpressblog/flatpress)] [[Twitter](https://www.twitter.com/FlatPress)] [[Changelog](./CHANGELOG.md)] [[Contributors](./CONTRIBUTORS.md)]
+[[flatpress.org](https://www.flatpress.org/)] [[Support forum](https://forum.flatpress.org/)] [[Wiki](https://wiki.flatpress.org/)] [[GitHub](https://github.com/flatpressblog/flatpress)] [Mastodon] [[Twitter](https://www.twitter.com/FlatPress)] [[Changelog](./CHANGELOG.md)] [[Contributors](./CONTRIBUTORS.md)]
# Welcome to FlatPress!
FlatPress is a lightweight, easy-to-set-up blogging engine. Plain and simple, just PHP. No database needed!
@@ -7,7 +7,7 @@ FlatPress is a lightweight, easy-to-set-up blogging engine. Plain and simple, ju
## Getting started
Installing and running FlatPress is really easy:
- [Download FlatPress](https://www.flatpress.org/download), unzip, upload
-- Browse to your web server, run FlatPress installer
+- Browse to your web server, run simple FlatPress installer
- Enjoy blogging with FlatPress!
## Requirements
@@ -17,4 +17,5 @@ FlatPress runs on any web server (e.g. Apache or IIS) with PHP 5.6 or higher. Si
There are many people who contributed to FlatPress over the years. [See them here.](./CONTRIBUTORS.md)
+
diff --git a/admin/main.php b/admin/main.php
old mode 100755
new mode 100644
index afa6879..23b24a3
--- a/admin/main.php
+++ b/admin/main.php
@@ -1,228 +1,186 @@
assign('panel', $panel);
+
+ // redirect to admin main page if requested panel does not exist
+ if (!admin_panelexists($panel)) {
+ // will lead to login if not logged in already
+ utils_redirect("admin.php");
+ die();
}
-
- /*
- function admin_is_user_loggedin() {
- return ($u=user_loggedin()) && utils_checkreferer() ;
+
+ $panelprefix = "admin.$panel";
+ $panelpath = ADMIN_DIR . "panels/$panel/$panelprefix.php";
+
+ $fp_admin = null;
+
+ if (file_exists($panelpath)) {
+
+ include ($panelpath);
+ $panelclass = "admin_$panel";
+
+ if (!class_exists($panelclass))
+ trigger_error("No class defined for requested panel", E_USER_ERROR);
+
+ $fp_admin = new $panelclass($smarty);
}
- */
-
-
- function main() {
-
- // general setup
-
- global $panel, $action, $lang, $smarty, $fp_admin, $fp_admin_action;
-
- $panels = admin_getpanels();
-
- $panel = (isset($_GET['p']))? $_GET['p'] : $panels[0];
- define('ADMIN_PANEL', $panel);
- $smarty->assign('panel', $panel);
- if (!admin_panelexists($panel))
- trigger_error('Requested panel does not exists!', E_USER_ERROR);
-
-
- $panelprefix = "admin.$panel";
- $panelpath = ADMIN_DIR."panels/$panel/$panelprefix.php";
-
-
- $fp_admin = null;
-
- if (file_exists($panelpath)) {
-
- include($panelpath);
- $panelclass = "admin_$panel";
-
- if (!class_exists($panelclass))
- trigger_error("No class defined for requested panel", E_USER_ERROR);
-
- $fp_admin = new $panelclass($smarty);
-
- }
+ /* check if user is loggedin */
- /* check if user is loggedin */
-
- if (!user_loggedin()) {
- utils_redirect("login.php");
- die();
- }
-
-
- $action = isset($_GET['action'])? $_GET['action'] : 'default';
- if (!$fp_admin)
- return;
-
- $fp_admin_action = $fp_admin->get_action($action);
-
-
- define('ADMIN_PANEL_ACTION', $action);
- $smarty->assign('action', $action);
- $panel_url = BLOG_BASEURL . "admin.php?p={$panel}";
- $action_url = $panel_url . "&action={$action}";
- $smarty->assign('panel_url', $panel_url);
- $smarty->assign('action_url', $action_url);
-
-
- if (!empty($_POST))
- check_admin_referer("admin_{$panel}_{$action}");
-
-
-
-
- $smarty->assign('success', sess_remove("success_{$panel}"));
- $retval = $fp_admin_action->exec();
-
- if ($retval > 0) { // if has REDIRECT option
- // clear postdata by a redirect
-
- sess_add("success_{$panel}", $smarty->get_template_vars('success'));
- $smarty->get_template_vars('success');
-
- $to_action = $retval > 1 ? ('&action=' . $action) : '';
- $with_mod = isset($_GET['mod'])? ('&mod=' . $_GET['mod']) : '';
- $with_arguments = '';
+ if (!user_loggedin()) {
+ utils_redirect("login.php");
+ die();
+ }
- if ($retval == PANEL_REDIRECT_CURRENT) {
- foreach ($fp_admin_action->args as $mandatory_argument) {
- $with_arguments .= '&' . $mandatory_argument .
- '=' . $_REQUEST[$mandatory_argument];
- }
+ $action = isset($_GET ['action']) ? $_GET ['action'] : 'default';
+ if (!$fp_admin)
+ return;
+
+ $fp_admin_action = $fp_admin->get_action($action);
+
+ define('ADMIN_PANEL_ACTION', $action);
+ $smarty->assign('action', $action);
+ $panel_url = BLOG_BASEURL . "admin.php?p={$panel}";
+ $action_url = $panel_url . "&action={$action}";
+ $smarty->assign('panel_url', $panel_url);
+ $smarty->assign('action_url', $action_url);
+
+ if (!empty($_POST))
+ check_admin_referer("admin_{$panel}_{$action}");
+
+ $smarty->assign('success', sess_remove("success_{$panel}"));
+ $retval = $fp_admin_action->exec();
+
+ if ($retval > 0) { // if has REDIRECT option
+ // clear postdata by a redirect
+
+ sess_add("success_{$panel}", $smarty->get_template_vars('success'));
+ $smarty->get_template_vars('success');
+
+ $to_action = $retval > 1 ? ('&action=' . $action) : '';
+ $with_mod = isset($_GET ['mod']) ? ('&mod=' . $_GET ['mod']) : '';
+ $with_arguments = '';
+
+ if ($retval == PANEL_REDIRECT_CURRENT) {
+ foreach ($fp_admin_action->args as $mandatory_argument) {
+ $with_arguments .= '&' . $mandatory_argument . '=' . $_REQUEST [$mandatory_argument];
}
-
- $url = "admin.php?p={$panel}{$to_action}{$with_mod}{$with_arguments}";
- utils_redirect($url);
-
}
-
- $smarty->register_modifier('action_link', 'admin_filter_action');
- $smarty->register_modifier('cmd_link', 'admin_filter_command');
+ $url = "admin.php?p={$panel}{$to_action}{$with_mod}{$with_arguments}";
+ utils_redirect($url);
}
-
- // smarty tag
- function admin_filter_action($string, $action) {
- if (strpos($string, '?')===false)
- return $string .= "?action={$action}";
- else
- return $string .= wp_specialchars("&action={$action}");
- }
-
- // smarty tag
- function admin_filter_command($string, $cmd, $val) {
-
- global $panel, $action;
-
- $arg = $cmd? "&{$cmd}" : $cmd;
-
- return wp_nonce_url("{$string}{$arg}={$val}", "admin_{$panel}_{$action}_{$cmd}_{$val}");
-
- }
-
-
- function admin_panelstrings($panelprefix) {
-
- global $lang, $smarty;
-
- lang_load('admin');
- lang_load($panelprefix);
-
- $smarty->assign('subject', $lang['admin']['head']);
- $smarty->assign('menubar', admin_getpanels());
-
- add_filter('wp_title', 'admin_panel_title', 10, 2);
- }
-
- function admin_panel_title($title, $sep) {
-
- global $lang, $panel;
-
- $t = @$lang['admin']['panels'][$panel];
- $title = "$title $sep $t";
- return $title;
- }
-
-
- function showcontrolpanel($params, &$smarty) {
- $smarty->display(ABS_PATH. ADMIN_DIR . 'main.tpl');
- }
-
- // html header
-
- function admin_title($title, $sep) {
- global $lang;
- return $title = "$title $sep {$lang['admin']['head']}";
- }
-
- add_filter('wp_title', 'admin_title', 10, 2);
+ $smarty->register_modifier('action_link', 'admin_filter_action');
+ $smarty->register_modifier('cmd_link', 'admin_filter_command');
+}
+// smarty tag
+function admin_filter_action($string, $action) {
+ if (strpos($string, '?') === false)
+ return $string .= "?action={$action}";
+ else
+ return $string .= wp_specialchars("&action={$action}");
+}
- // setup admin_header
- function admin_header_default_action() {
- global $panel, $action;
- do_action("admin_{$panel}_{$action}_head");
- }
- add_filter('admin_head', 'admin_header_default_action');
-
-
- $fp_config = config_load();
- system_init();
- main();
- admin_panelstrings('admin.'.ADMIN_PANEL);
- theme_init($smarty);
- $smarty->register_function('controlpanel', 'showcontrolpanel');
-
- $v = $lang['admin'][$panel][$action];
-
-
- $smarty->assign_by_ref('panelstrings', $v);
- $smarty->assign_by_ref('plang', $v);
+// smarty tag
+function admin_filter_command($string, $cmd, $val) {
+ global $panel, $action;
- // We create a varible to write user name in tpls
- if($user = user_loggedin()) {
- $smarty->assign("username", $user['userid']);
- } else {
- $smarty->assign("username", "#NAME#");
- }
-
- // Custom lang message for admin panel
- $smarty->assign("help_top", $lang['admin']['general']['help_top']);
- $smarty->assign("logout", $lang['admin']['general']['logout_top']);
- $smarty->assign("close", $lang['admin']['general']['close']);
- $smarty->assign("blog", $lang['admin']['general']['blog']);
- $smarty->assign("footer", $lang['admin']['general']['footer']);
+ $arg = $cmd ? "&{$cmd}" : $cmd;
- $smarty->assign("sceditor_display", "bbcode");
+ return wp_nonce_url("{$string}{$arg}={$val}", "admin_{$panel}_{$action}_{$cmd}_{$val}");
+}
- if (isset($_GET['mod'])) {
+function admin_panelstrings($panelprefix) {
+ global $lang, $smarty;
- switch ($_GET['mod']) {
- case 'inline' :
+ lang_load('admin');
+ lang_load($panelprefix);
+
+ $smarty->assign('subject', $lang ['admin'] ['head']);
+ $smarty->assign('menubar', admin_getpanels());
+
+ add_filter('wp_title', 'admin_panel_title', 10, 2);
+}
+
+function admin_panel_title($title, $sep) {
+ global $lang, $panel;
+
+ $t = @$lang ['admin'] ['panels'] [$panel];
+ $title = "$title $sep $t";
+ return $title;
+}
+
+function showcontrolpanel($params, &$smarty) {
+ $smarty->display(ABS_PATH . ADMIN_DIR . 'main.tpl');
+}
+
+// html header
+function admin_title($title, $sep) {
+ global $lang;
+ return $title = "$title $sep {$lang['admin']['head']}";
+}
+
+add_filter('wp_title', 'admin_title', 10, 2);
+
+// setup admin_header
+function admin_header_default_action() {
+ global $panel, $action;
+ do_action("admin_{$panel}_{$action}_head");
+}
+add_filter('admin_head', 'admin_header_default_action');
+
+$fp_config = config_load();
+system_init();
+main();
+admin_panelstrings('admin.' . ADMIN_PANEL);
+theme_init($smarty);
+$smarty->register_function('controlpanel', 'showcontrolpanel');
+
+$v = $lang ['admin'] [$panel] [$action];
+
+$smarty->assign_by_ref('panelstrings', $v);
+$smarty->assign_by_ref('plang', $v);
+
+if (isset($_GET ['mod'])) {
+
+ switch ($_GET ['mod']) {
+ case 'inline':
$smarty->display(ABS_PATH . ADMIN_DIR . 'admin-inline.tpl');
break;
- case 'ajax' :
+ case 'ajax':
echo $smarty->get_template_vars('success');
}
+} else {
+ $smarty->display('admin.tpl');
+}
- } else {
- #$smarty->display('admin.tpl');
- $smarty->display(ABS_PATH . ADMIN_DIR . 'admin.tpl');
- }
?>
diff --git a/admin/panels/maintain/admin.maintain.php b/admin/panels/maintain/admin.maintain.php
index 5b0511f..55316d9 100755
--- a/admin/panels/maintain/admin.maintain.php
+++ b/admin/panels/maintain/admin.maintain.php
@@ -17,7 +17,7 @@
class tpl_deleter extends fs_filelister {
function __construct() {
-
+
// $this->smarty = $GLOBALS['_FP_SMARTY'];
$this->_directory = CACHE_DIR;
parent::__construct();
@@ -31,7 +31,7 @@ class tpl_deleter extends fs_filelister {
// trigger_error($file, E_USER_NOTICE);
return 0;
}
-
+
}
class s_entry_crawler extends fs_filelister {
@@ -48,18 +48,18 @@ class s_entry_crawler extends fs_filelister {
if (is_dir($f) && ctype_digit($file)) {
return 1;
}
-
+
if (fnmatch('entry*' . EXT, $file)) {
$id = basename($file, EXT);
$arr = entry_parse($id, true);
-
+
echo "[POST] $id => {$arr['subject']}\n";
$this->index->add($id, $arr);
-
+
return 0;
}
}
-
+
}
/**
@@ -73,7 +73,7 @@ class admin_maintain extends AdminPanel {
'default' => false,
'updates' => false
);
-
+
}
class admin_maintain_updates extends AdminPanelAction {
@@ -91,12 +91,14 @@ class admin_maintain_updates extends AdminPanelAction {
$success = -1;
$ver = array(
'stable' => 'unknown',
- 'unstable' => 'unknown'
+ 'unstable' => 'unknown',
+ 'notice' => ''
);
-
+
+ // retrieve content of update file
$file = utils_geturl($this->web);
-
- if ($file) {
+
+ if (!$file ['errno'] && $file ['http_code'] < 400) {
$ver = utils_kexplode($file ['content']);
if (!isset($ver ['stable'])) {
$success = -1;
@@ -108,13 +110,15 @@ class admin_maintain_updates extends AdminPanelAction {
} else {
$success = -1;
}
-
- $this->smarty->assign('updates', $ver);
+
+ $this->smarty->assign('stableversion', $ver ['stable']);
+ $this->smarty->assign('unstableversion', $ver ['unstable']);
+ $this->smarty->assign('notice', $ver ['notice']);
$this->smarty->assign('fpweb', $this->fpweb);
$this->smarty->assign('sfweb', $this->sfweb);
$this->smarty->assign('success', $success);
}
-
+
}
class admin_maintain_default extends AdminPanelAction {
@@ -127,27 +131,27 @@ class admin_maintain_default extends AdminPanelAction {
switch ($do) {
case 'rebuild':
{
-
+
if (substr(INDEX_DIR, -1) == '/')
$oldidx = substr(INDEX_DIR, 0, -1);
-
+
$movedir = $oldidx . time();
-
+
header('Content-Type: text/plain');
echo "ENTERING LOWRES MODE\n\n";
-
+
if (file_exists(INDEX_DIR)) {
-
+
echo "BACKUP INDEX to $movedir\n";
$ret = @rename($oldidx, $movedir);
if (!$ret)
trigger_error('Cannot backup old index. STOP.', E_USER_ERROR);
}
fs_mkdir(INDEX_DIR);
-
+
new s_entry_crawler();
exit("\nDONE \nPlease, select the back arrow in your browser");
-
+
return PANEL_NOREDIRECT;
}
case 'restorechmods':
@@ -167,10 +171,10 @@ class admin_maintain_default extends AdminPanelAction {
$this->smarty->compile_check = true;
$this->smarty->force_compile = true;
$this->smarty->assign('success', 1);
-
+
if (!file_exists(CACHE_DIR))
fs_mkdir(CACHE_DIR);
-
+
return PANEL_NOREDIRECT;
}
case 'phpinfo':
@@ -179,17 +183,17 @@ class admin_maintain_default extends AdminPanelAction {
phpinfo();
$info = ob_get_contents();
ob_end_clean();
-
+
$this->smarty->assign('phpinfo', preg_replace('%^.*
{$updates.notice}
+ {else} +{$panelstrings.no_news}
+ {/if} +{$updates.notice}
- {else} -{$panelstrings.no_news}
- {/if} - -I Widget possono essere trascinati in aree specifiche del tuo tema chiamate
WidgetSets. Il numero e il nome dei WidgetSets possono variare a seconda
@@ -54,7 +54,7 @@
/* "raw" panel */
$lang['admin']['widgets']['raw'] = array(
- 'head' => 'Gestione Widget (raw editor)',
+ 'head' => 'Gestione Widget (editor grezzo)',
'descr' => 'Un '.
'Widget è un elemento visuale di un
diff --git a/fp-interface/lang/ja-jp/lang.comments.php b/fp-interface/lang/ja-jp/lang.comments.php
index c83b4cd..4712e26 100644
--- a/fp-interface/lang/ja-jp/lang.comments.php
+++ b/fp-interface/lang/ja-jp/lang.comments.php
@@ -1,7 +1,5 @@
diff --git a/fp-interface/lang/pt-br/lang.comments.php b/fp-interface/lang/pt-br/lang.comments.php
index 0368e2a..51a8ba1 100644
--- a/fp-interface/lang/pt-br/lang.comments.php
+++ b/fp-interface/lang/pt-br/lang.comments.php
@@ -1,8 +1,6 @@
diff --git a/fp-interface/sharedtpls/comment-atom.tpl b/fp-interface/sharedtpls/comment-atom.tpl
index 1d8a17b..15d8d50 100644
--- a/fp-interface/sharedtpls/comment-atom.tpl
+++ b/fp-interface/sharedtpls/comment-atom.tpl
@@ -5,7 +5,7 @@
- This blog is proudly powered by FlatPress.
+ This blog is proudly powered by FlatPress.
+
' . $lang ['plugin'] ['adminarea'] ['welcome'] . '' . $userid . '!
%s
bude použito.',
+ 'save_conf'=>'Uložit nastavení',
+
+ # Edit policy page
+ 'apply_to'=>'Aplikovat',
+ 'editpol'=>'Editovat pravidla',
+ 'createpol'=>'Vytvořit pravidla',
+ 'some_entries'=>'Nějaké záznamy',
+ 'properties'=>'Záznam s určitými vlastnostmi',
+ 'se_desc'=>'Když vyberete %s, vložte prosím záznamy, které chcete použít pro toto pravidlo.',
+ 'se_fill'=>'Vyplňte pole s identifikací záznamu (entryYYMMDD-HHMMSS
).',
+ 'po_title'=>'Vlastnosti',
+ 'po_desc'=>'Když vyberete %s, vyplňte prosím vlastnosti.',
+ 'po_comp'=>'Pole nejsou povinná, ale musíte vyplnit alespoň jedno pravidlo, '.
+ 'které bude použito na všechny záznamy.',
+ 'po_time'=>'Nastavení času',
+ 'po_older'=>'Použito pro záznamy starší než ',
+ 'days'=>'dní.',
+ 'save_policy'=>'Uložit pravidla',
+
+ # Delete policies page
+ 'del_policies'=>'Smazat pravidla',
+ 'del_descs'=>'Chystáte se smazat toto pravidlo: ',
+ 'del_descm'=>'Chystáte se smazat tyto pravidla: ',
+ 'sure'=>'Jste si jistý?',
+ 'del_subs'=>'Ano, prosím smažte jej',
+ 'del_subm'=>'Ano, prosím smažte je',
+ 'del_cancel'=>'Ne, vrátit se zpět na panel',
+
+ # Approve comments page
+ 'app_title'=>'Schválit komentáře',
+ 'app_desc'=>'Zde můžete schválit komentáře.',
+ 'app_date'=>'Datum',
+ 'app_content'=>'Kommentář',
+ 'app_author'=>'Autor',
+ 'app_email'=>'Email',
+ 'app_ip'=>'IP',
+ 'app_actions'=>'Akce',
+ 'app_publish'=>'Publikovat',
+ 'app_delete'=>'Smazat',
+ 'app_nocomms'=>'Zde není žádný komentář.',
+ 'app_pselected'=>'Publikovat označené komentáře',
+ 'app_dselected'=>'Vyjmout označené komentáře',
+ 'app_other'=>'Ostatní komentáře',
+ 'app_akismet'=>'Označit jako spam',
+ 'app_spamdesc'=>'Tyto komentáře zablokoval Akismet.',
+ 'app_hamsubmit'=>'Informovat Akismet pokud je zveřejníte.',
+ 'app_pubnotham'=>'Publikujte je, ale nepředávejte je Akismet',
+
+ # Delete comments page
+ 'delc_title'=>'Smazat komentáře',
+ 'delc_descs'=>'Chystáte se smazat tento komentář: ',
+ 'delc_descm'=>'Chystáte se smazat tyto komentáře: ',
+
+ # Manage comments page
+ 'man_searcht'=>'Najít záznam',
+ 'man_searchd'=>'Vložte id záznamu, u kterého chcete editovat komentáře.',
+ 'man_search'=>'Najít',
+ 'man_commfor'=>'Komentáře k %s',
+ 'man_spam'=>'Odeslat jako spam do Akismet',
+
+ # The simple edit
+ 'simple_pre'=>'Komentář k tomuto záznamu ',
+ 'simple_1'=>'je povolen.',
+ 'simple_0'=>'vyžaduje váš souhlas.',
+ 'simple_-1'=>'je blokován.',
+ 'simple_manage'=>'Spravovat komentáře k tomuto záznamu.',
+ 'simple_edit'=>'Editovat pravidla',
+
+ # Akismet warnings
+ 'akismet_errors'=>array(
+ -1=>'Akismet klíč je prázdný. Prosím vložte jej.',
+ -2=>'Nemůžeme se spojit s Akismet serverem.',
+ -3=>'Odpověď od Akismet nepřišla.',
+ -4=>'Akismet klíč je špatný.',
+ ),
+
+ # Messages
+ 'msgs'=>array(
+ 1=>'Nastavení uloženo.',
+ -1=>'Při pokusu o uložení nastavení došlo k chybě.',
+
+ 2=>'Pravidla uložena.',
+ -2=>'Při pokusu o uložení pravidel došlo k chybě (možná je špatné nastavení).',
+
+ 3=>'Pravidla přesunuta.',
+ -3=>'Při pokusu o přesun pravidel došlo k chybě (nebo nemůže být přesunuto).',
+
+ 4=>'Pravidla vyjmuta.',
+ -4=>'Při pokusu o vyjmutí pravidel došlo k chybě (nebo není vybráno žádné pravidlo).',
+
+ 5=>'Komentář zveřejněn.',
+ -5=>'Při pokusu o zveřejnění komentáře došlo k chybě.',
+
+ 6=>'Komentář vyjmut.',
+ -6=>'Při pokusu o vyjmutí komentáře došlo k chybě. (nebo není vybrán žádný komentář).',
+
+ 7=>'Komentář odeslán.',
+ -7=>'Při pokusu o odeslání komentáře došlo k chybě.',
+ ),
+
+ # Errors
+ 'errors'=>array(
+ 'pol_nonex'=>'Pravidlo které chcete upravit, neexistuje.',
+ 'entry_nf'=>'Záznam který jste vybral neexistuje.',
+ ),
+);
+$lang['plugin']['commentcenter']=array(
+ 'akismet_error'=>'Je nám líto, ale máme technické potíže.',
+ 'lock'=>'Komentáře k tomuto zýznamu jsou blokovány.',
+ 'approvation'=>'Komentář byl uložen, ale správce jej musí před zobrazením schválit.',
+
+ # Mail for comments
+ 'mail_subj'=>'Nový komentář ke schválení %s',
+);
+
+$lang['plugin']['commentcenter']['mail_text']=<<%s
will be used.',
+ 'save_conf' => 'Save Configuration',
- # Configuration page
- 'configure'=>'Configure the plugin',
- 'desc_conf'=>'Here you can modify the options of the plugin.',
- 'log_all'=>'Log blocked comments',
- 'log_all_long'=>'Check it if you want to log also comments that are blocked.',
- 'email_alert'=>'Notify comments via email',
- 'email_alert_long'=>'Check it if you want that when there is a comment to approve you want to be '.
- 'informed via email.',
- 'akismet'=>'Akismet',
- 'akismet_use'=>'Enable Akismet check',
- 'akismet_key'=>'Akismet Key',
- 'akismet_key_long'=>'The Akismet service provide you a key to use it. Insert here.',
- 'akismet_url'=>'Blog base URL for Akismet',
- 'akismet_url_long'=>'I think for Akismet free service you should use just a domain. '.
- 'You can leave blank this field, %s
will be used.',
- 'save_conf'=>'Save Configuration',
+ // Edit policy page
+ 'apply_to' => 'Apply to',
+ 'editpol' => 'Edit a policy',
+ 'createpol' => 'Create a policy',
+ 'some_entries' => 'Some Entries',
+ 'properties' => 'Entry with certain properties',
+ 'se_desc' => 'If you selected the %s option, please insert entries you want to apply to this policy.',
+ 'se_fill' => 'Please fill the fields with the id of the entries (entryYYMMDD-HHMMSS
).',
+ 'po_title' => 'Properties',
+ 'po_desc' => 'If you selected the %s option, please fill the properties.',
+ 'po_comp' => 'The fields aren\'t compulsory but you must fill at least one or the policy ' . 'will apply on all entries.',
+ 'po_time' => 'Time options',
+ 'po_older' => 'Apply to entries older than ',
+ 'days' => 'days.',
+ 'save_policy' => 'Save Policy',
- # Edit policy page
- 'apply_to'=>'Apply to',
- 'editpol'=>'Edit a policy',
- 'createpol'=>'Create a policy',
- 'some_entries'=>'Some Entries',
- 'properties'=>'Entry with certain properties',
- 'se_desc'=>'If you selected the %s option, please insert entries you want to apply to this policy.',
- 'se_fill'=>'Please fill the fields with the id of the entries (entryYYMMDD-HHMMSS
).',
- 'po_title'=>'Properties',
- 'po_desc'=>'If you selected the %s option, please fill the properties.',
- 'po_comp'=>'The fields aren\'t compulsory but you must fill at least one or the policy '.
- 'will apply on all entries.',
- 'po_time'=>'Time options',
- 'po_older'=>'Apply to entries older than ',
- 'days'=>'days.',
- 'save_policy'=>'Save Policy',
+ // Delete policies page
+ 'del_policies' => 'Delete Policies',
+ 'del_descs' => 'You are going to delete this policy: ',
+ 'del_descm' => 'You are going to delete these policies: ',
+ 'sure' => 'Are you sure?',
+ 'del_subs' => 'Yes, please delete it',
+ 'del_subm' => 'Yes, please delete them',
+ 'del_cancel' => 'No, take me back to the panel',
- # Delete policies page
- 'del_policies'=>'Delete Policies',
- 'del_descs'=>'You are going to delete this policy: ',
- 'del_descm'=>'You are going to delete these policies: ',
- 'sure'=>'Are you sure?',
- 'del_subs'=>'Yes, please delete it',
- 'del_subm'=>'Yes, please delete them',
- 'del_cancel'=>'No, take me back to the panel',
+ // Approve comments page
+ 'app_title' => 'Approve comment',
+ 'app_desc' => 'Here you can approve comments.',
+ 'app_date' => 'Date',
+ 'app_content' => 'Comment',
+ 'app_author' => 'Author',
+ 'app_email' => 'Email',
+ 'app_ip' => 'IP',
+ 'app_actions' => 'Actions',
+ 'app_publish' => 'Publish',
+ 'app_delete' => 'Delete',
+ 'app_nocomms' => 'There isn\'t any comment.',
+ 'app_pselected' => 'Publish selected comment(s)',
+ 'app_dselected' => 'Remove selected comment(s)',
+ 'app_other' => 'Other Comments',
+ 'app_akismet' => 'Signed as spam',
+ 'app_spamdesc' => 'These comments were blocked by Akismet.',
+ 'app_hamsubmit' => 'Submit to Akismet as ham when you publish them.',
+ 'app_pubnotham' => 'Publish it but dont\'submit as ham',
- # Approve comments page
- 'app_title'=>'Approve comment',
- 'app_desc'=>'Here you can approve comments.',
- 'app_date'=>'Date',
- 'app_content'=>'Comment',
- 'app_author'=>'Author',
- 'app_email'=>'Email',
- 'app_ip'=>'IP',
- 'app_actions'=>'Actions',
- 'app_publish'=>'Publish',
- 'app_delete'=>'Delete',
- 'app_nocomms'=>'There isn\'t any comment.',
- 'app_pselected'=>'Publish selected comment(s)',
- 'app_dselected'=>'Remove selected comment(s)',
- 'app_other'=>'Other Comments',
- 'app_akismet'=>'Signed as spam',
- 'app_spamdesc'=>'These comments were blocked by Akismet.',
- 'app_hamsubmit'=>'Submit to Akismet as ham when you publish them.',
- 'app_pubnotham'=>'Publish it but dont\'submit as ham',
+ // Delete comments page
+ 'delc_title' => 'Delete Comments',
+ 'delc_descs' => 'You are going to delete this comment: ',
+ 'delc_descm' => 'You are going to delete these comments: ',
- # Delete comments page
- 'delc_title'=>'Delete Comments',
- 'delc_descs'=>'You are going to delete this comment: ',
- 'delc_descm'=>'You are going to delete these comments: ',
+ // Manage comments page
+ 'man_searcht' => 'Search an entry',
+ 'man_searchd' => 'Insert the id of the entry whose you want to manage comments.',
+ 'man_search' => 'Search',
+ 'man_commfor' => 'Comments for %s',
+ 'man_spam' => 'Submit as spam to Akismet',
- # Manage comments page
- 'man_searcht'=>'Search an entry',
- 'man_searchd'=>'Insert the id of the entry whose you want to manage comments.',
- 'man_search'=>'Search',
- 'man_commfor'=>'Comments for %s',
- 'man_spam'=>'Submit as spam to Akismet',
+ // The simple edit
+ 'simple_pre' => 'Comments for this entry will ',
+ 'simple_1' => 'be allowed.',
+ 'simple_0' => 'require your approval.',
+ 'simple_-1' => 'be blocked.',
+ 'simple_manage' => 'Manage the comments of this entry.',
+ 'simple_edit' => 'Edit Policies',
- # The simple edit
- 'simple_pre'=>'Comments for this entry will ',
- 'simple_1'=>'be allowed.',
- 'simple_0'=>'require your approval.',
- 'simple_-1'=>'be blocked.',
- 'simple_manage'=>'Manage the comments of this entry.',
- 'simple_edit'=>'Edit Policies',
-
- # Akismet warnings
- 'akismet_errors'=>array(
- -1=>'The Akismet key is empty. Please insert it.',
- -2=>'We couldn\'t call Akismet servers.',
- -3=>'The Akismet response failed.',
- -4=>'The Akismet key is not valid.',
+ // Akismet warnings
+ 'akismet_errors' => array(
+ -1 => 'The Akismet key is empty. Please insert it.',
+ -2 => 'We couldn\'t call Akismet servers.',
+ -3 => 'The Akismet response failed.',
+ -4 => 'The Akismet key is not valid.'
),
- # Messages
- 'msgs'=>array(
- 1=>'Configuration saved.',
- -1=>'An error occurred while trying to save the configuration.',
+ // Messages
+ 'msgs' => array(
+ 1 => 'Configuration saved.',
+ -1 => 'An error occurred while trying to save the configuration.',
- 2=>'Policy saved.',
- -2=>'An error occurred while trying to save the policy (maybe your settings are wrong).',
+ 2 => 'Policy saved.',
+ -2 => 'An error occurred while trying to save the policy (maybe your settings are wrong).',
- 3=>'Policy moved.',
- -3=>'An error occurred while trying to move the policy (or it can\'t be moved).',
+ 3 => 'Policy moved.',
+ -3 => 'An error occurred while trying to move the policy (or it can\'t be moved).',
- 4=>'Policy(ies) removed.',
- -4=>'An error occurred while trying to remove the policy(ies) (or you haven\'t selected any policy).',
+ 4 => 'Policy(ies) removed.',
+ -4 => 'An error occurred while trying to remove the policy(ies) (or you haven\'t selected any policy).',
- 5=>'Comment(s) published.',
- -5=>'An error occurred while trying to publish the comment(s).',
+ 5 => 'Comment(s) published.',
+ -5 => 'An error occurred while trying to publish the comment(s).',
- 6=>'Comment(s) removed.',
- -6=>'An error occurred while trying to remove the comment(s) (or you haven\'t selected any comment).',
+ 6 => 'Comment(s) removed.',
+ -6 => 'An error occurred while trying to remove the comment(s) (or you haven\'t selected any comment).',
- 7=>'Comment submitted.',
- -7=>'An error occurred while trying to submit the comment.',
+ 7 => 'Comment submitted.',
+ -7 => 'An error occurred while trying to submit the comment.'
),
- # Errors
- 'errors'=>array(
- 'pol_nonex'=>'The policy you want to edit does not exist.',
- 'entry_nf'=>'The entry you have selected does not exist.',
- ),
+ // Errors
+ 'errors' => array(
+ 'pol_nonex' => 'The policy you want to edit does not exist.',
+ 'entry_nf' => 'The entry you have selected does not exist.'
+ )
);
-$lang['plugin']['commentcenter']=array(
- 'akismet_error'=>'Sorry, we\'re encountering technical difficulties.',
- 'lock'=>'Comments for this entry are blocked, sorry.',
- 'approvation'=>'The comments has been saved but the Administrator must approve it before showing it.',
+$lang ['plugin'] ['commentcenter'] = array(
+ 'akismet_error' => 'Sorry, we\'re encountering technical difficulties.',
+ 'lock' => 'Comments for this entry are blocked, sorry.',
+ 'approvation' => 'The comments has been saved but the Administrator must approve it before showing it.',
- # Mail for comments
- 'mail_subj'=>'New comment to approve on %s',
+ // Mail for comments
+ 'mail_subj' => 'New comment to approve on %s'
);
-$lang['plugin']['commentcenter']['mail_text']=<<%s
.',
+ 'save_conf' => 'Salva configurazione',
- # Configuration page
- 'configure'=>'Configura il plugin',
- 'desc_conf'=>'Qui puoi modificare le impostazioni del plugin.',
- 'log_all'=>'Registra i commenti bloccati',
- 'log_all_long'=>'Selezionala se vuoi registrare anche i commenti che sono bloccati.',
- 'email_alert'=>'Notifica commenti via email',
- 'email_alert_long'=>'Selezionala se vuoi essere informato via email quando c\'è un nuovo commento '.
- 'da approvare.',
- 'akismet'=>'Akismet',
- 'akismet_use'=>'Abilita il controllo di Akismet',
- 'akismet_key'=>'Chiave di Akismet',
- 'akismet_key_long'=>'Per usare Akismet ti viene fornita una chiave. Inseriscila qui.',
- 'akismet_url'=>'Indirizzo di base per Akismet',
- 'akismet_url_long'=>'Penso che per il servizio gratuito di Akismet si possa usare un solo indirizzo. '.
- 'Puoi anche lasciare vuoto questo campo, al suo posto si utilizzerà %s
.',
- 'save_conf'=>'Salva configurazione',
+ // Edit policy page
+ 'apply_to' => 'Applica a',
+ 'editpol' => 'Modifica una regola',
+ 'createpol' => 'Crea una regola',
+ 'some_entries' => 'Alcuni articoli',
+ 'properties' => 'Articoli con precise caratteristiche',
+ 'se_desc' => 'Se hai selezionato l\'opzione %s, per favore inserisci gli articoli ai quali la vuoi applicare.',
+ 'se_fill' => 'Per favore riempi i campi con gli id degli articoli (entryYYMMDD-HHMMSS
).',
+ 'po_title' => 'Caratteristiche',
+ 'po_desc' => 'Se hai selezionato l\'opzione %s, per seleziona le caratteristiche.',
+ 'po_comp' => 'I campi non sono obbligatori ma ne devi selezionare almeno uno, altrimenti la regola ' . 'sarà applicata a tutti gli articoli.',
+ 'po_time' => 'Opzioni sulle date',
+ 'po_older' => 'Applica agli articoli più vecchi di ',
+ 'days' => 'giorni.',
+ 'save_policy' => 'Salva regola',
- # Edit policy page
- 'apply_to'=>'Applica a',
- 'editpol'=>'Modifica una regola',
- 'createpol'=>'Crea una regola',
- 'some_entries'=>'Alcuni post',
- 'properties'=>'Post con precise caratteristiche',
- 'se_desc'=>'Se hai selezionato l\'opzione %s, per favore inserisci i post a cui la vuoi applicare.',
- 'se_fill'=>'Per favore riempi i campi con gli id dei post (entryYYMMDD-HHMMSS
).',
- 'po_title'=>'Caratteristiche',
- 'po_desc'=>'Se hai selezionato l\'opzione %s, per seleziona le caratteristiche.',
- 'po_comp'=>'I campi non sono obbligatori ma ne devi selezionare almeno uno, altrimenti la regola '.
- 'sarà applicata a tutti i post.',
- 'po_time'=>'Opzioni sulle date',
- 'po_older'=>'Applica ai post più vecchi di ',
- 'days'=>'giorni.',
- 'save_policy'=>'Salva regola',
+ // Delete policies page
+ 'del_policies' => 'Elimina regole',
+ 'del_descs' => 'Stai per eliminare la seguente regola: ',
+ 'del_descm' => 'Stai per eliminare la seguenti regola: ',
+ 'sure' => 'Sei sicuro?',
+ 'del_subs' => 'Sì, continua l\'eliminazione',
+ 'del_subm' => 'Sì, continua l\'eliminazione',
+ 'del_cancel' => 'No, riportami al pannello',
- # Delete policies page
- 'del_policies'=>'Elimina regole',
- 'del_descs'=>'Stai per eliminare la seguente regola: ',
- 'del_descm'=>'Stai per eliminare la seguenti regoli: ',
- 'sure'=>'Sei sicuro?',
- 'del_subs'=>'Sì, continua l\'eliminazione',
- 'del_subm'=>'Sì, continua l\'eliminazione',
- 'del_cancel'=>'No, riportami al pannello',
+ // Approve comments page
+ 'app_title' => 'Approva commenti',
+ 'app_desc' => 'Qui puoi approvare i commenti.',
+ 'app_date' => 'Data',
+ 'app_content' => 'Commento',
+ 'app_author' => 'Autore',
+ 'app_email' => 'Email',
+ 'app_ip' => 'IP',
+ 'app_actions' => 'Azioni',
+ 'app_publish' => 'Pubblica',
+ 'app_delete' => 'Elimina',
+ 'app_nocomms' => 'Non c\'è nessun commento.',
+ 'app_pselected' => 'Pubblica i commenti selezionati',
+ 'app_dselected' => 'Elimina i commenti selezionati',
+ 'app_other' => 'Alti Commenti',
+ 'app_akismet' => 'Segnalati come spam',
+ 'app_spamdesc' => 'Questi commenti sono stati bloccati da Akismet.',
+ 'app_hamsubmit' => 'Inviali ad Akismet come ham quando li pubblichi.',
+ 'app_pubnotham' => 'Pubblica senza inviarlo come ham',
- # Approve comments page
- 'app_title'=>'Approva commenti',
- 'app_desc'=>'Qui puoi approvare i commenti.',
- 'app_date'=>'Data',
- 'app_content'=>'Commento',
- 'app_author'=>'Autore',
- 'app_email'=>'Email',
- 'app_ip'=>'IP',
- 'app_actions'=>'Azioni',
- 'app_publish'=>'Pubblica',
- 'app_delete'=>'Elimina',
- 'app_nocomms'=>'Non c\'è nessun commento.',
- 'app_pselected'=>'Pubblica i commenti selezionati',
- 'app_dselected'=>'Elimina i commenti selezionati',
- 'app_other'=>'Alti Commenti',
- 'app_akismet'=>'Segnalati come spam',
- 'app_spamdesc'=>'Questi commenti sono stati bloccati da Akismet.',
- 'app_hamsubmit'=>'Inviali ad Akismet come ham quando li pubblichi.',
- 'app_pubnotham'=>'Pubblica senza inviarlo come ham',
+ // Delete comments page
+ 'delc_title' => 'Elimina Commenti',
+ 'delc_descs' => 'Stai per eliminare questo commento: ',
+ 'delc_descm' => 'Stai per eliminare questi commenti: ',
- # Delete comments page
- 'delc_title'=>'Elimina Commenti',
- 'delc_descs'=>'Stai per eliminare questo commento: ',
- 'delc_descm'=>'Stai per eliminare questi commenti: ',
+ // Manage comments page
+ 'man_searcht' => 'Cerca un post',
+ 'man_searchd' => 'Inserisci l\'id dell\'articolo di cui vuoi gestire i commenti.',
+ 'man_search' => 'Cerca',
+ 'man_commfor' => 'Commenti di %s',
+ 'man_spam' => 'Segnala come spam ad Akismet',
- # Manage comments page
- 'man_searcht'=>'Cerca un post',
- 'man_searchd'=>'Inserisci l\'id del post di cui vuoi gestire i commenti.',
- 'man_search'=>'Cerca',
- 'man_commfor'=>'Commenti di %s',
- 'man_spam'=>'Segnala come spam ad Akismet',
+ // The simple edit
+ 'simple_pre' => 'In questo articolo i commenti ',
+ 'simple_1' => 'sono ammessi.',
+ 'simple_0' => 'richiedono la tua approvazione.',
+ 'simple_-1' => 'sono bloccati.',
+ 'simple_manage' => 'Gestisci i commenti di questo articolo.',
+ 'simple_edit' => 'Modifica le regole',
- # The simple edit
- 'simple_pre'=>'In questo post i commenti ',
- 'simple_1'=>'sono ammessi.',
- 'simple_0'=>'richiedono la tua approvazione.',
- 'simple_-1'=>'sono bloccati.',
- 'simple_manage'=>'Gestisci i commenti di questo post.',
- 'simple_edit'=>'Modifica le regole',
-
- # Akismet warnings
- 'akismet_errors'=>array(
- -1=>'La chiave di Akismet è vuota. Per favore inseriscila.',
- -2=>'Non abbiamo potuto chiamare i server di Akismet.',
- -3=>'La risposta di Akismet è fallita.',
- -4=>'La chiave di Akismet non è valida.',
+ // Akismet warnings
+ 'akismet_errors' => array(
+ -1 => 'La chiave di Akismet è vuota. Per favore inseriscila.',
+ -2 => 'Non abbiamo potuto chiamare i server di Akismet.',
+ -3 => 'La risposta di Akismet è fallita.',
+ -4 => 'La chiave di Akismet non è valida.'
),
- # Messages
- 'msgs'=>array(
- 1=>'Configurazione salvata.',
- -1=>'Si è verificato un errore durante il salvataggio della configurazione.',
+ // Messages
+ 'msgs' => array(
+ 1 => 'Configurazione salvata.',
+ -1 => 'Si è verificato un errore durante il salvataggio della configurazione.',
- 2=>'Regola salvata.',
- -2=>'Si è verificato un errore durante il salvataggio della regola (forse le tue opzioni sono scorrette).',
+ 2 => 'Regola salvata.',
+ -2 => 'Si è verificato un errore durante il salvataggio della regola (forse le tue opzioni sono scorrette).',
- 3=>'Regola spostata.',
- -3=>'Si è verificato un errore nello spostamento della regola (o non la si può muovere).',
+ 3 => 'Regola spostata.',
+ -3 => 'Si è verificato un errore nello spostamento della regola (o non la si può muovere).',
- 4=>'Regole rimosse.',
- -4=>'Si è verificato un errore durante la rimozione delle regole (o non hai selezionato nessuna regola).',
+ 4 => 'Regole rimosse.',
+ -4 => 'Si è verificato un errore durante la rimozione delle regole (o non hai selezionato nessuna regola).',
- 5=>'Commenti pubblicati.',
- -5=>'Si è verificato un errore durante la pubblicazione del commento.',
+ 5 => 'Commenti pubblicati.',
+ -5 => 'Si è verificato un errore durante la pubblicazione del commento.',
- 6=>'Commenti rimossi.',
- -6=>'Si è verificato un errore durante la rimozione dei commenti (o non hai selezionato nessun commento).',
+ 6 => 'Commenti rimossi.',
+ -6 => 'Si è verificato un errore durante la rimozione dei commenti (o non hai selezionato nessun commento).',
- 7=>'Commento segnalato.',
- -7=>'Si è verificato un errore durante la segnalazione del commento.',
+ 7 => 'Commento segnalato.',
+ -7 => 'Si è verificato un errore durante la segnalazione del commento.'
),
- # Errors
- 'errors'=>array(
- 'pol_nonex'=>'La regola che vuoi modificare non esiste.',
- 'entry_nf'=>'Il post da te selezionato non esiste.',
- ),
+ // Errors
+ 'errors' => array(
+ 'pol_nonex' => 'La regola che vuoi modificare non esiste.',
+ 'entry_nf' => 'L\'articolo da te selezionato non esiste.'
+ )
);
-$lang['plugin']['commentcenter']=array(
- 'akismet_error'=>'Akismet ha rilevato il tuo commento come SPAM.',
- 'lock'=>'Siamo spiacenti ma i commenti per questo post sono chiusi.',
- 'approvation'=>'Il commento è stato salvato ma l\'Amministratore lo deve approvare prima di farlo vedere.',
+$lang ['plugin'] ['commentcenter'] = array(
+ 'akismet_error' => 'Akismet ha rilevato il tuo commento come SPAM.',
+ 'lock' => 'Siamo spiacenti ma i commenti per questo articolo sono chiusi.',
+ 'approvation' => 'Il commento è stato salvato ma l\'Amministratore lo deve approvare prima di farlo vedere.',
- # Mail for comments
- 'mail_subj'=>'Nuovo commento da approvare su %s',
+ // Mail for comments
+ 'mail_subj' => 'Nuovo commento da approvare su %s'
);
-$lang['plugin']['commentcenter']['mail_text']=<<.htaccess
.',
+ 'description' => 'Tímto editorem můžete editovat Váš soubor .htaccess
.',
'cantsave' => 'Nemůžete editovat tento soubor, protože není zapisovatelný. Můžete nastavit povolení k zapisování nebo kopírovat a vložit do souboru a poté nahrát.',
'mode' => 'Režim',
'auto' => 'Automatický',
diff --git a/fp-plugins/prettyurls/lang/lang.de-de.php b/fp-plugins/prettyurls/lang/lang.de-de.php
index 4833aa0..9dbe489 100644
--- a/fp-plugins/prettyurls/lang/lang.de-de.php
+++ b/fp-plugins/prettyurls/lang/lang.de-de.php
@@ -9,8 +9,8 @@
'head' => 'PrettyURLs Konfiguration',
'htaccess' => '.htaccess',
'description'=>'Dieser Editor ermöglicht die für das PrettyUrls Plugin benötigte '.
- '.htaccess
direkt zu bearbeiten.',
- 'cantsave' => 'Diese Datei kann nicht bearbeitet werden, weil sie schreibgeschützt ist. Ändere die Zugriffsrechte oder kopiere diese Zeilen, füge sie in eine lokale Datei ein und lade diese dann hoch. Lies hierzu bitte die Anleitung',
+ '.htaccess
direkt zu bearbeiten.',
+ 'cantsave' => 'Diese Datei kann nicht bearbeitet werden, weil sie schreibgeschützt ist. Ändere die Zugriffsrechte oder kopiere diese Zeilen, füge sie in eine lokale Datei ein und lade diese dann hoch.',
'mode' => 'Modus',
'auto' => 'Automatisch',
'autodescr' => 'Ermittle die beste Möglichkeit automatisch',
diff --git a/fp-plugins/prettyurls/lang/lang.en-us.php b/fp-plugins/prettyurls/lang/lang.en-us.php
index 76c174c..11f6c96 100644
--- a/fp-plugins/prettyurls/lang/lang.en-us.php
+++ b/fp-plugins/prettyurls/lang/lang.en-us.php
@@ -9,8 +9,8 @@
'head' => 'PrettyURLs Configuration',
'htaccess' => '.htaccess',
'description'=>'This raw editor let you edit your '.
- '.htaccess
.',
- 'cantsave' => 'You can\'t edit this file, because it\'s not writable. You can give writing permission or copy and paste to a file and then upload as described here',
+ '.htaccess
.',
+ 'cantsave' => 'You can\'t edit this file, because it\'s not writable. You can give writing permission or copy and paste to a file and then upload manually.',
'mode' => 'Mode',
'auto' => 'Automatic',
'autodescr' => 'try to guess the best choice for me',
diff --git a/fp-plugins/prettyurls/lang/lang.es-es.php b/fp-plugins/prettyurls/lang/lang.es-es.php
index 8ddbcfa..bdb4146 100644
--- a/fp-plugins/prettyurls/lang/lang.es-es.php
+++ b/fp-plugins/prettyurls/lang/lang.es-es.php
@@ -9,8 +9,8 @@
'head' => 'Configuración de PrettyURLs',
'htaccess' => '.htaccess',
'description'=>'Este editor en bruto te permite editar tu '.
- '.htaccess
.',
- 'cantsave' => 'No puede editar este archivo, porque no es writable. Puede otorgar permiso de escritura o copiar y pegar en un archivo y luego cargarlo como descrito aquí',
+ '.htaccess
.',
+ 'cantsave' => 'No puede editar este archivo, porque no es writable. Puede otorgar permiso de escritura o copiar y pegar en un archivo y luego cargarlo.',
'mode' => 'Modo',
'auto' => 'Automático',
'autodescr' => 'trata de adivinar la mejor opción para mí',
diff --git a/fp-plugins/prettyurls/lang/lang.fr-fr.php b/fp-plugins/prettyurls/lang/lang.fr-fr.php
index 6a4a640..a6b8236 100644
--- a/fp-plugins/prettyurls/lang/lang.fr-fr.php
+++ b/fp-plugins/prettyurls/lang/lang.fr-fr.php
@@ -9,8 +9,8 @@
'head' => 'Configuration de PrettyURLs',
'htaccess' => '.htaccess',
'description'=>'Cet éditeur vous permet de modifier le fichier .htaccess '.
- '.htaccess
.',
- 'cantsave' => 'Vous ne pouvez pas éditer ce fichier, parce qu\'il n\'est pas autorisé en écriture. Vous devez autoriser l\'écriture du fichier ou copier-coller vers un fichier à transférer comme décrit ici',
+ '.htaccess
.',
+ 'cantsave' => 'Vous ne pouvez pas éditer ce fichier, parce qu\'il n\'est pas autorisé en écriture. Vous devez autoriser l\'écriture du fichier ou copier-coller vers un fichier à transférer.',
'mode' => 'Mode',
'auto' => 'Automatique',
'autodescr' => 'PrettyURLs va tenter de trouver la meilleur configuration',
diff --git a/fp-plugins/prettyurls/lang/lang.it-it.php b/fp-plugins/prettyurls/lang/lang.it-it.php
index 5299ca4..46de8cb 100644
--- a/fp-plugins/prettyurls/lang/lang.it-it.php
+++ b/fp-plugins/prettyurls/lang/lang.it-it.php
@@ -9,8 +9,8 @@
'head' => 'Configurazione di PrettyURLs',
'htaccess' => '.htaccess',
'description'=>'Questo editor grezzo ti permette di modificare il tuo '.
- '.htaccess
.',
- 'cantsave' => 'Non puoi modificare questo file, perché non è scrivibile. Puoi dargli i permessi di scrittura o copiarlo e incollarlo in un file e poi caricarlo come viene descritto qui',
+ '.htaccess
.',
+ 'cantsave' => 'Non puoi modificare questo file, perché non è scrivibile. Puoi dargli i permessi di scrittura o copiarlo e incollarlo in un file e poi caricarlo.',
'mode' => 'Modalità',
'auto' => 'Automatica',
'autodescr' => 'prova a cercare la migliore scelta per me',
diff --git a/fp-plugins/prettyurls/lang/lang.ja-jp.php b/fp-plugins/prettyurls/lang/lang.ja-jp.php
index 16a5959..70cfdbe 100644
--- a/fp-plugins/prettyurls/lang/lang.ja-jp.php
+++ b/fp-plugins/prettyurls/lang/lang.ja-jp.php
@@ -9,9 +9,9 @@
'head' => 'PrettyURLsの設定',
'htaccess' => '.htaccess',
'description'=>'This raw editor let you edit your '.
- '.htaccess
.',
+ '.htaccess
.',
'cantsave' => 'このファイルを編集できません、なぜなら 書き込み許可されてないからです。'.
- 'You can give writing permission or copy and paste to a file and then upload as described here',
+ 'You can give writing permission or copy and paste to a file and then upload.',
'mode' => 'モード',
'auto' => '自動',
'autodescr' => '最良の選択を推定します。',
diff --git a/fp-plugins/prettyurls/lang/lang.pt-br.php b/fp-plugins/prettyurls/lang/lang.pt-br.php
index fde227b..7df7bbd 100644
--- a/fp-plugins/prettyurls/lang/lang.pt-br.php
+++ b/fp-plugins/prettyurls/lang/lang.pt-br.php
@@ -8,8 +8,8 @@
'head' => 'PrettyURLs Configuração',
'htaccess' => '.htaccess',
'description'=>'Este editor bruto permite editar o seu '.
- '.htaccess
.',
- 'cantsave' => 'Você não pode editar este arquivo, porque ele não é gravável. Você pode conceder permissão de gravação ou copiar e colar em um arquivo e fazer o upload como explicado aqui.',
+ '.htaccess
.',
+ 'cantsave' => 'Você não pode editar este arquivo, porque ele não é gravável. Você pode conceder permissão de gravação ou copiar e colar em um arquivo e fazer o upload.',
'mode' => 'Modo',
'auto' => 'Automático',
'autodescr' => 'Tente adivinhar a melhor opção para mim.',
diff --git a/fp-plugins/prettyurls/plugin.prettyurls.php b/fp-plugins/prettyurls/plugin.prettyurls.php
index 8e33283..3890a51 100644
--- a/fp-plugins/prettyurls/plugin.prettyurls.php
+++ b/fp-plugins/prettyurls/plugin.prettyurls.php
@@ -71,7 +71,7 @@ class Plugin_PrettyURLs {
function permalink($str, $id) {
global $fpdb, $post;
- if (PRETTYURLS_TITLES)
+ if (isset($post) && PRETTYURLS_TITLES)
$title = sanitize_title($post ['subject']);
else
$title = $id;
@@ -184,18 +184,24 @@ class Plugin_PrettyURLs {
}
function handle_entry($matches) {
- if (PRETTYURLS_TITLES) {
-
- // isset($this->index[
- if ($this->cache_get($this->fp_params ['y'], $this->fp_params ['m'], $this->fp_params ['d'], md5($matches [1]))) {
- $this->fp_params ['entry'] = $this->index [$this->fp_params ['y']] [$this->fp_params ['m']] [$this->fp_params ['d']] [md5($matches [1])];
- } else {
- // a bit hackish: we make up a fake url when there is no match,
- // so that at the higher level the system will 404...
- $this->fp_params ['entry'] = 'a';
- }
- } else {
+ if (!PRETTYURLS_TITLES) {
$this->fp_params ['entry'] = $matches [1];
+ return;
+ }
+
+ // data is not as expected
+ if (!array_key_exists('y', $this->fp_params) || !array_key_exists('m', $this->fp_params) || !array_key_exists('d', $this->fp_params)) {
+ // a bit hackish: we make up a fake url when there is no match,
+ // so that at the higher level the system will 404...
+ $this->fp_params ['entry'] = 'a';
+ }
+
+ if ($this->cache_get($this->fp_params ['y'], $this->fp_params ['m'], $this->fp_params ['d'], md5($matches [1]))) {
+ $this->fp_params ['entry'] = $this->index [$this->fp_params ['y']] [$this->fp_params ['m']] [$this->fp_params ['d']] [md5($matches [1])];
+ } else {
+ // a bit hackish: we make up a fake url when there is no match,
+ // so that at the higher level the system will 404...
+ $this->fp_params ['entry'] = 'a';
}
}
@@ -499,7 +505,7 @@ class Plugin_PrettyURLs {
if (isset($this->fp_params ['paged']) && $this->fp_params ['paged'] > 1)
$page = $this->fp_params ['paged'];
- $page += $v;
+ $page += ($v . '');
if ($page > 0) {
$l .= 'page/' . $page . '/';
@@ -613,18 +619,18 @@ if (class_exists('AdminPanelAction')) {
$txt = io_load_file($f);
if (!$txt) {
- $txt = <<%s
.
+
+ Pokud chcete znovu spustit setup, prosím smažte nejdříve tento soubor.
+
+ Upozornění! Není bezpečné ponechávat setup.php
a setup/
adresář na serveru, doporučujeme je smazat!
+
+ '
+);
+
+$lang ['step1'] = array(
+ 'head' => 'Vítejte ve FlatPressu!',
+ 'descr' => 'Děkujeme, že jste si vybrali FlatPress.
+
+ Než se začnete bavit na svém zbrusu novém blogu, položíme Vám několik otázek.
+
+ Nebojte se, nezabere to moc času.',
+ 'descrl1' => 'Vyberte Váš jazyk.',
+ 'descrl2' => 'Není v seznamu?',
+ 'descrlang' => 'Pokud v tomto seznamu svůj jazyk nevidíte, podívejte se na jazykový balíček pro verzi:
+
+ %s+ + Chcete-li nainstalovat jazykovou sadu, nahrajte obsah balíčku do
flatpress/
, vše přepište a spusťte znovu instalaci..',
+ 'descrw' => 'Jediná věc kterou FlatPress potřebuje k práci, je zapisovatelný adresář.
+
+ %s' +); + +$lang ['step2'] = array( + 'head' => 'Vytvořit uživatele', + 'descr' => 'Již jste téměř hotovi, vyplňte následující podrobnosti:', + 'fpuser' => 'Uživatelské jméno', + 'fppwd' => 'Heslo', + 'fppwd2' => 'Zopakujte heslo', + 'www' => 'WWW stránka', + 'email' => 'E-Mail' +); + +$lang ['step3'] = array( + 'head' => 'Hotovo', + 'descr' => 'Jsme na konci. + + Nevěříte? + + A máte pravdu: příběh právě začíná, ale psaní je jen na vás! + +
%s+ + Für die Installation eines Sprachpakets lade dessen Inhalt einfach in dein
flatpress/
-Verzeichnis. Dann starte die Installation erneut.',
+ 'descrw' => 'Das Einzige, was du für den Betrieb von FlatPress benötigst, ist ein beschreibbares Verzeichnis.
+
+ %s' +); + +$lang ['step2'] = array( + 'head' => 'Benutzer anlegen', + 'descr' => 'Fast fertig! Nur noch die folgenden Details:', + 'fpuser' => 'Benutzername', + 'fppwd' => 'Passwort', + 'fppwd2' => 'Passwort (Wiederholung)', + 'www' => 'Homepage', + 'email' => 'E-Mail' +); + +$lang ['step3'] = array( + 'head' => 'Fertig', + 'descr' => 'Das war\'s schon. + + Nicht zu glauben? + + Nein, tatsächlich geht es jetzt erst richtig los! Aber das Bloggen ist nun deine Aufgabe ;) + +