Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Installation')
-rw-r--r--plugins/Installation/ServerFilesGenerator.php25
-rw-r--r--plugins/Installation/lang/ja.json5
-rw-r--r--plugins/Installation/lang/zh-tw.json25
3 files changed, 30 insertions, 25 deletions
diff --git a/plugins/Installation/ServerFilesGenerator.php b/plugins/Installation/ServerFilesGenerator.php
index c3eab335f6..1207024bfd 100644
--- a/plugins/Installation/ServerFilesGenerator.php
+++ b/plugins/Installation/ServerFilesGenerator.php
@@ -33,13 +33,10 @@ class ServerFilesGenerator
$denyAll = self::getDenyAllHtaccessContent();
$allow = self::getAllowHtaccessContent();
- // more selective allow/deny filters
- $noDirectoryListing = "Options -Indexes\n";
-
$allowAny =
"# Allow any file in this directory\n" .
"<Files \"*\">\n" .
- $allow . "\n" .
+ "\t" . $allow . "\n" .
"</Files>\n";
$allowStaticAssets =
@@ -55,11 +52,11 @@ class ServerFilesGenerator
"</Files>\n";
$directoriesToProtect = array(
- '/js' => $allowAny . $noDirectoryListing,
- '/libs' => $denyAll . $allowStaticAssets . $noDirectoryListing,
- '/vendor' => $denyAll . $allowStaticAssets . $noDirectoryListing,
- '/plugins' => $denyAll . $allowStaticAssets . $noDirectoryListing,
- '/misc/user' => $denyAll . $allowStaticAssets . $noDirectoryListing,
+ '/js' => $allowAny,
+ '/libs' => $denyAll . $allowStaticAssets,
+ '/vendor' => $denyAll . $allowStaticAssets,
+ '/plugins' => $denyAll . $allowStaticAssets,
+ '/misc/user' => $denyAll . $allowStaticAssets,
);
foreach ($directoriesToProtect as $directoryToProtect => $content) {
self::createHtAccess(PIWIK_INCLUDE_PATH . $directoryToProtect, $overwrite = true, $content);
@@ -67,10 +64,10 @@ class ServerFilesGenerator
// deny access to these folders
$directoriesToProtect = array(
- '/config' => $denyAll . $noDirectoryListing,
- '/core' => $denyAll . $noDirectoryListing,
- '/lang' => $denyAll . $noDirectoryListing,
- '/tmp' => $denyAll . $noDirectoryListing,
+ '/config' => $denyAll,
+ '/core' => $denyAll,
+ '/lang' => $denyAll,
+ '/tmp' => $denyAll,
);
foreach ($directoriesToProtect as $directoryToProtect => $content) {
self::createHtAccess(PIWIK_INCLUDE_PATH . $directoryToProtect, $overwrite = true, $content);
@@ -143,6 +140,8 @@ class ServerFilesGenerator
<staticContent>
<remove fileExtension=".svg" />
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
+ <remove fileExtension=".woff" />
+ <mimeMap fileExtension=".woff" mimeType="application/font-woff" />
</staticContent>
</system.webServer>
</configuration>');
diff --git a/plugins/Installation/lang/ja.json b/plugins/Installation/lang/ja.json
index c87dff8a20..de09184247 100644
--- a/plugins/Installation/lang/ja.json
+++ b/plugins/Installation/lang/ja.json
@@ -36,11 +36,14 @@
"NfsFilesystemWarning": "あなたのサーバーは、NFS ファイルシステムを使用しています。",
"NfsFilesystemWarningSuffixAdmin": "これは、ファイルベースのセッションを利用する際、Piwik が極端に遅くなることを意味します。",
"NfsFilesystemWarningSuffixInstall": "NFS 上でファイルベースのセッションを利用すると極端に遅いので、Piwik はデータベースセッションを使用します。同時に多くのダッシュボードユーザーがいる場合、データベースサーバーへのクライアント接続の最大数を増やす必要があります。",
+ "NoConfigFileFound": "Piwik 設定ファイルが見つからず、Piwik ページにアクセスしようとしています。",
+ "IfPiwikInstalledBeforeTablesCanBeKept": "以前に Piwik をインストールして DB にいくつかのテーブルがある場合は、同じテーブルを再利用して既存のデータを保持することができます。",
"Optional": "オプション",
"Password": "パスワード",
"PasswordDoNotMatch": "パスワードが一致しませんでした",
"PasswordRepeat": "パスワード (再入力)",
"PercentDone": "%s %% 完了",
+ "ProfessionalServicesAdTitle": "高度な分析とサービス",
"PleaseFixTheFollowingErrors": "次のエラーを修正してください",
"DefaultSettings": "Piwik のデフォルトの設定",
"DefaultSettingsHelp": "Piwik の設定はデフォルトです。後で管理画面からカスタマイズすることができます。",
@@ -84,6 +87,8 @@
"SystemCheckMbstringHelp": "拡張モジュール mbstring は、ユーザインタフェースと API レスポンスで、マルチバイト文字を処理するために必要です。また、php.ini で mbstring.func_overload が「 0 」に設定されていることを確認してください。",
"SystemCheckMemoryLimit": "メモリー制限",
"SystemCheckMemoryLimitHelp": "アクセス数の多いウェブサイトでは、アーカイブ処理の実行に、現在許可されている以上に多くのメモリを必要とする場合があります。<br \/>必要であれば、php.ini ファイルのディレクティブ memory_limit を参照してください。",
+ "SystemCheckNoErrorsOrWarnings": "エラーや警告はありません",
+ "SystemCheckViewFullSystemCheck": "完全なシステムチェックレポートを表示する",
"SystemCheckOpenURL": "オープン URL",
"SystemCheckOpenURLHelp": "ニュースレターの定期購読、アップデートの通知、ワンクリックアップデートには、\"curl\" エクステンション、allow_url_fopen=On、または fsockopen() が有効である必要があります。",
"SystemCheckOtherExtensions": "その他のエクステンション",
diff --git a/plugins/Installation/lang/zh-tw.json b/plugins/Installation/lang/zh-tw.json
index 69be80e9a9..94dc608066 100644
--- a/plugins/Installation/lang/zh-tw.json
+++ b/plugins/Installation/lang/zh-tw.json
@@ -12,6 +12,7 @@
"DatabaseSetupLogin": "資料庫帳號",
"DatabaseSetupServer": "資料庫伺服器",
"DatabaseSetupTablePrefix": "資料表前綴詞",
+ "Email": "Email",
"Extension": "擴充",
"GoBackAndDefinePrefix": "返回並為 Piwik 資料表定義一個資料表前綴",
"Installation": "安裝",
@@ -23,38 +24,38 @@
"PercentDone": "%s %% 已完成",
"PleaseFixTheFollowingErrors": "請修復以下錯誤",
"Requirements": "Piwik 需求",
- "SetupWebsite": "設定一個網站",
- "SetupWebsiteError": "當增加此網站時發生了一個錯誤",
+ "SetupWebsite": "設定網站",
+ "SetupWebsiteError": "增加網站時發生錯誤",
"SetupWebsiteSetupSuccess": "網站 %s 已成功建立!",
"SystemCheck": "系統檢查",
"SystemCheckAutoUpdateHelp": "注意:Piwik 的一鍵更新功能必須要有 Piwik 目錄及內容的寫入權限。",
"SystemCheckCreateFunctionHelp": "Piwik 在callbacks上使用匿名函式。",
"SystemCheckDatabaseHelp": "Piwik 需要 mysqli 擴充元件或包含 PDO 及 pdo_mysql 擴充元件。",
- "SystemCheckDebugBacktraceHelp": "檢視::無法建立模組檢視。",
+ "SystemCheckDebugBacktraceHelp": "呼叫 View::factory 將無法建立顯示。",
"SystemCheckError": "發生錯誤 - 繼續前必須先修正",
"SystemCheckEvalHelp": "必須為 HTML QuickForm 及 Smarty 模版系統。",
"SystemCheckExtensions": "其他需要的擴充元件",
"SystemCheckFileIntegrity": "檔案完整性",
"SystemCheckFunctions": "必須函式",
- "SystemCheckGDHelp": "Sparklines (小圖) 將無法運作。",
+ "SystemCheckGDHelp": "Sparklines(小圖)和圖片(Piwik 手機版和報表信件中)將無法運作。",
"SystemCheckGlobHelp": "這個內建的函式已被你的主機商停用。Piwik 將嘗試模擬這個功能,但可能會遇到更多安全限制。功能可能受到影響。",
- "SystemCheckIconvHelp": "你需要設定及重建 PHP, 然後啟用\"iconv\"支援, --with-iconv.",
+ "SystemCheckIconvHelp": "你需要設定及重建 PHP,然後啟用 iconv 支援,--with-iconv。",
"SystemCheckMailHelp": "意見回應及忘記密碼訊息若沒有 mail() 將無法寄送。",
"SystemCheckMemoryLimit": "記憶體限制",
"SystemCheckMemoryLimitHelp": "在一個高流量的網站,資料彙整歸檔過程可能超過目前所允許使用的記憶體量。<br \/>假如必要,試著變更在你的 php.ini 檔案裡的 memory_limit.",
"SystemCheckOpenURL": "開啟網址",
- "SystemCheckOpenURLHelp": "新聞訂閱、更新通知及一鍵安裝更新功能需要 \"curl\" 函式,allow_url_fopen=On, 或啟用 fsockopen().",
+ "SystemCheckOpenURLHelp": "新聞信件訂閱、更新通知及一鍵安裝更新功能需要 curl 函式,allow_url_fopen=On,或啟用 fsockopen()。",
"SystemCheckParseIniFileHelp": "內建的函式在你的空間內已被停用。Piwik 將會嘗試模擬這些功能,但可能會造成更多安全性問題。追蹤的表現也會受到影響。",
- "SystemCheckPdoAndMysqliHelp": "在 Linux 伺服器上你可以使用以下選項編譯 PHP: 在你的php.ini 中 %1$s, 加入以下幾行: %2$s",
+ "SystemCheckPdoAndMysqliHelp": "在 GNU\/Linux 伺服器上你可以使用以下選項編譯 PHP:在你的 php.ini 中 %1$s,加入以下幾行內容:%2$s",
"SystemCheckPhp": "PHP 版本",
- "SystemCheckPhpPdoAndMysqli": "更多資訊:%1$sPHP PDO%2$s 和 %3$sMYSQLI%4$s.",
- "SystemCheckSplHelp": "你需要設定及重建 PHP, 然後啟用 Standard PHP Library (SPL)。",
- "SystemCheckTimeLimitHelp": "在一個高流量的網站,執行資料彙整歸檔過程可能超過目前所允許使用的時間。<br \/>假如必要,試著變更在你的 php.ini 檔案裡的 max_execution_time.",
+ "SystemCheckPhpPdoAndMysqli": "更多資訊:%1$sPHP PDO%2$s 和 %3$sMYSQLI%4$s。",
+ "SystemCheckSplHelp": "你需要設定及重建 PHP,然後啟用 Standard PHP Library (SPL)(預設啟用)。",
+ "SystemCheckTimeLimitHelp": "在一個高流量的網站,執行資料彙整歸檔過程可能超過目前所允許使用的時間。<br \/>假如必要,試著變更在你的 php.ini 檔案裡的 max_execution_time。",
"SystemCheckWarning": "Piwik 能正常運作,但部份功能可能會失效",
- "SystemCheckWinPdoAndMysqliHelp": "在 Windows 伺服器上你可以新增以下幾行至你的 php.ini 中: %s",
+ "SystemCheckWinPdoAndMysqliHelp": "在 Windows 伺服器上你可以在你的 php.ini 中新增以下幾行內容:%s",
"SystemCheckWriteDirs": "具寫入存取權限的目錄",
"SystemCheckWriteDirsHelp": "要在你的 Linux 系統修正這個錯誤,嘗試輸入以下指令",
- "SystemCheckZlibHelp": "你需要設定及重建 PHP, 然後啟用\"zlib\"支援, --with-zlib.",
+ "SystemCheckZlibHelp": "你需要設定及重建 PHP,然後啟用 zlib 支援,--with-zlib。",
"Tables": "建立資料表中",
"TablesCreatedSuccess": "資料表已成功建立!",
"TablesDelete": "刪除已檢測到的資料表",