summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-03-06 15:00:31 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-03-06 15:00:31 +0100
commite665c819c583bb25572734170a9f56e149ca308f (patch)
tree75b22c357c7849cbf733c1750018a34994cb7eb5
parent59f16377131710b4f7c9f299c58773dcf7978e32 (diff)
parentbb0319c1c7823471a4a2474712d8301e07a5f44e (diff)
Merge branch 'i18n-cz' into dev
-rw-r--r--app/i18n/cz/install.php8
-rw-r--r--app/views/stats/idle.phtml4
-rw-r--r--lib/Minz/Url.php2
3 files changed, 8 insertions, 6 deletions
diff --git a/app/i18n/cz/install.php b/app/i18n/cz/install.php
index 969b69271..bc3e01992 100644
--- a/app/i18n/cz/install.php
+++ b/app/i18n/cz/install.php
@@ -63,8 +63,8 @@ return array(
'ok' => 'Váš HTTP REFERER je znám a odpovídá Vašemu serveru.',
),
'json' => array(
- 'nok' => 'You lack a recommended library to parse JSON.',
- 'ok' => 'You have a recommended library to parse JSON.',
+ 'nok' => 'Pro parsování JSON chybí doporučená knihovna.',
+ 'ok' => 'Máte doporučenou knihovnu pro parsování JSON.',
),
'minz' => array(
'nok' => 'Nemáte framework Minz.',
@@ -91,8 +91,8 @@ return array(
'ok' => 'Oprávnění adresáře users jsou v pořádku.',
),
'xml' => array(
- 'nok' => 'You lack the required library to parse XML.',
- 'ok' => 'You have the required library to parse XML.',
+ 'nok' => 'Pro parsování XML chybí požadovaná knihovna.',
+ 'ok' => 'Máte požadovanou knihovnu pro parsování XML.',
),
),
'conf' => array(
diff --git a/app/views/stats/idle.phtml b/app/views/stats/idle.phtml
index 11b7df8c4..ba88b679f 100644
--- a/app/views/stats/idle.phtml
+++ b/app/views/stats/idle.phtml
@@ -6,10 +6,10 @@
<h1><?php echo _t('admin.stats.idle'); ?></h1>
<?php
- $current_url = urlencode(Minz_Url::display(
+ $current_url = Minz_Url::display(
array('c' => 'stats', 'a' => 'idle'),
'php', true
- ));
+ );
$nothing = true;
foreach ($this->idleFeeds as $period => $feeds) {
if (!empty($feeds)) {
diff --git a/lib/Minz/Url.php b/lib/Minz/Url.php
index 4279b045b..382437e9a 100644
--- a/lib/Minz/Url.php
+++ b/lib/Minz/Url.php
@@ -27,6 +27,8 @@ class Minz_Url {
$url_string = Minz_Request::getBaseUrl(PUBLIC_TO_INDEX_PATH);
if ($url_string === PUBLIC_TO_INDEX_PATH) {
$url_string = Minz_Request::guessBaseUrl();
+ } else {
+ $url_string .= '/';
}
} else {
$url_string = $isArray ? '.' : PUBLIC_RELATIVE;