diff --git a/admin/views/manage-posts.php b/admin/views/manage-posts.php old mode 100644 new mode 100755 index 26db86e4..2745600c --- a/admin/views/manage-posts.php +++ b/admin/views/manage-posts.php @@ -16,7 +16,7 @@ foreach($posts as $Post) { echo ''; - echo ''.($Post->published()?'':'['.$Language->g('Draft').'] ').($Post->title()?$Post->title():'['.$Language->g('Empty title').'] ').''; + echo ''.($Post->published()?'':''.$Language->g('Draft').' ').($Post->title()?$Post->title():'['.$Language->g('Empty title').'] ').''; echo ''.$Post->dateCreated().''; echo ''.$Post->timeago().''; echo ''; diff --git a/languages/fr_FR.json b/languages/fr_FR.json index 4273d6a8..0aadd039 100755 --- a/languages/fr_FR.json +++ b/languages/fr_FR.json @@ -69,7 +69,6 @@ "website": "Site", "timezone": "Fuseau horaire", "locale": "Localisation", - "notifications": "Notifications", "new-post": "Nouvel article", "html-and-markdown-code-supported": "Code HTML et Markdown pris en charge.", "new-page": "Nouvelle page", @@ -98,7 +97,6 @@ "username-or-password-incorrect": "Nom d’utilisateur ou mot de passe incorrect.", "database-regenerated": "Base de données régénérée.", "the-changes-have-been-saved": "Les modifications on était sauvegardées.", - "html-markdown-code-supported": "Code HTML et Markdown pris en charge.", "enable-more-features-at": "Activer plus de fonctionnalités en vous rendant vers ", "username-already-exists-or-is-empty": "Le nom d’utilisateur existe déjà ou est inexistant.", "username-field-is-empty": "Le champ utilisateur est vide !", @@ -122,7 +120,6 @@ "you-can-modify-the-url-which-identifies":"Vous pouvez modifier l'URL qui identifie une page ou un article, en utilisant des mots-clés lisibles. Pas plus de 150 caractères.", "this-field-can-help-describe-the-content": "Ce champ peut aider à décrire le contenu en quelques mots. Pas plus de 150 caractères.", "write-the-tags-separeted-by-comma": "Écrivez les tags en les séparant par une virgule. par exemple : tag1, tag2, tag3", - "delete": "Supprimer", "delete-the-user-and-all-its-posts":"Supprimer l’utilisateur et tous ses messages associés.", "delete-the-user-and-associate-its-posts-to-admin-user": "Supprimez l’utilisateur et associez ses messages à l’administrateur principal.", "read-more": "Lire la suite...", @@ -136,5 +133,17 @@ "change-your-language-and-region-settings":"Modifiez vos paramètres linguistiques et régionaux.", "language-and-timezone":"Langue et fuseau horaire", "author": "Auteur", - "start-here": "Prise en main rapide" + "start-here": "Prise en main rapide", + "install-theme": "Installer ce thème", + "first-post": "Premier article", + "congratulations-you-have-successfully-installed-your-bludit": "Félicitations, vous avez correctement installé **Bludit**", + "whats-next": "pour la prochaine étape", + "manage-your-bludit-from-the-admin-panel": "Gérez Bludit dans la [zone d’administration](./admin/)", + "follow-bludit-on": "Suivez Bludit sur", + "visit-the-support-forum": "Visitez le [forum](http://forum.bludit.com) de support", + "read-the-documentation-for-more-information": "Lisez la [documentation](http://docs.bludit.com) pour plus d’information", + "share-with-your-friends-and-enjoy": "Partagez avec vos amis et apprécier !", + "the-page-has-not-been-found": "La page n’a pas été trouvée.", + "error": "Erreur" + } \ No newline at end of file diff --git a/languages/zh_TW.json b/languages/zh_TW.json new file mode 100644 index 00000000..14c86c8a --- /dev/null +++ b/languages/zh_TW.json @@ -0,0 +1,149 @@ +{ + "language-data": + { + "native": "Traditional Chinese (Taiwan)", + "english-name": "Traditional Chinese", + "last-update": "2015-08-09", + "author": "Ethan Chen", + "email": "ethan42411@gmail.com", + "website": "http://single4.ml" + }, + + "username": "使用者名稱", + "password": "使用者密碼", + "confirm-password": "確認密碼", + "editor": "作者", + "dashboard": "主頁面", + "role": "角色", + "post": "文章", + "posts": "文章", + "users": "使用者", + "administrator": "管理員", + "add": "新增", + "cancel": "取消", + "content": "內容", + "title": "標題", + "no-parent": "沒有繼承頁面", + "edit-page": "編輯頁面", + "edit-post": "編輯文章", + "add-a-new-user": "新增使用者", + "parent": "繼承頁面", + "friendly-url": "友善網址", + "description": "簡介", + "posted-by": "發表由", + "tags": "標籤", + "position": "位置", + "save": "儲存", + "draft": "草稿", + "delete": "刪除", + "registered": "已註冊", + "Notifications": "通知", + "profile": "個人檔案", + "email": "Email", + "settings": "設定", + "general": "一般設定", + "advanced": "進階設定", + "regional": "區域", + "about": "關於", + "login": "登入", + "logout": "登出", + "manage": "管理", + "themes": "佈景主題", + "prev-page": "上一頁", + "next-page": "下一頁", + "configure-plugin": "設定延伸模組", + "confirm-delete-this-action-cannot-be-undone": "確認刪除? 這個動作不可復原", + "site-title": "網站標題", + "site-slogan": "網站標語", + "site-description": "網站簡介", + "footer-text": "頁尾文字", + "posts-per-page": "每頁文章數", + "site-url": "網站網址", + "writting-settings": "撰寫設定", + "url-filters": "網址過濾器", + "page": "頁面", + "pages": "頁面", + "home": "首頁", + "welcome-back": "歡迎回來", + "language": "語言", + "website": "網站", + "timezone": "時區", + "locale": "區域", + "new-post": "新文章", + "html-and-markdown-code-supported": "支援HTML與Markdown程式碼", + "new-page": "新頁面", + "manage-posts": "管理文章", + "published-date": "發表日期", + "modified-date": "修改日期", + "empty-title": "空白標題", + "plugins": "延伸模組", + "install-plugin": "安裝延伸模組", + "uninstall-plugin": "移除延伸模組", + "new-password": "新密碼", + "edit-user": "編輯使用者", + "publish-now": "立即發表", + "first-name": "名", + "last-name": "姓", + "bludit-version": "Bludit版本", + "powered-by": "Powered by", + "recent-posts": "最新文章", + "manage-pages": "管理頁面", + "advanced-options": "進階設定", + "user-deleted": "使用者已刪除", + "page-added-successfully": "頁面已成功新增", + "post-added-successfully": "文章已成功新增", + "the-post-has-been-deleted-successfully": "頁面已成功被刪除", + "the-page-has-been-deleted-successfully": "頁面已成功被刪除", + "username-or-password-incorrect": "使用者帳號或密碼不正確", + "database-regenerated": "資料庫已經重建", + "the-changes-have-been-saved": "變更已經儲存", + "enable-more-features-at": "啟用更多功能在", + "username-already-exists": "使用者名稱已經存在", + "username-field-is-empty": "使用者名稱欄位為空白", + "the-password-and-confirmation-password-do-not-match":"使用者密碼與確認密碼不符", + "user-has-been-added-successfully": "使用者已新增成功", + "you-do-not-have-sufficient-permissions": "您沒有權限存取此頁面,請聯絡管理員", + "settings-advanced-writting-settings": "設定->進階設定->撰寫設定", + "new-posts-and-pages-synchronized": "新文章與頁面已經同步完成", + "you-can-choose-the-users-privilege": "您可以選擇使用者的權限,作者角色只能撰寫頁面與文章", + "email-will-not-be-publicly-displayed": "Email將不會被公開顯示,建議用於復原密碼或是通知", + "use-this-field-to-name-your-site": "使用這個欄位來填寫您的網站名稱,它將會被顯示在每一個頁面的最上方", + "use-this-field-to-add-a-catchy-prhase": "使用這個欄位來幫您的網站添加一個可以朗朗上口的標語吧", + "you-can-add-a-site-description-to-provide": "您可以新增一段簡短的簡介來介紹您的網站", + "you-can-add-a-small-text-on-the-bottom": "您可以在每一頁的頁尾放置一些短短的文字,例如: 版權、所有人、日期...", + "number-of-posts-to-show-per-page": "每一頁會顯示幾篇文章的數量", + "the-url-of-your-site": "網站的網址", + "add-or-edit-description-tags-or": "新增或編輯簡介、標籤或是修改友善網址", + "select-your-sites-language": "選擇您所使用的語言", + "select-a-timezone-for-a-correct": "選擇正確的時區來顯示時間", + "you-can-use-this-field-to-define-a-set-of": "您可以使用此欄位來定義相關的語言、國家與特別的參數", + "you-can-modify-the-url-which-identifies":"您可以修改網址來讓文章或頁面的網址可以更接近人類所了解的字詞,不能超過150個字", + "this-field-can-help-describe-the-content": "這個欄位可以幫助快速理解內容,不能超過150個字", + "write-the-tags-separeted-by-comma": "撰寫使用逗號分隔的標籤,例如: 標籤1, 標籤2, 標籤3", + "delete-the-user-and-all-its-posts":"刪除使用者與他所發表的文章", + "delete-the-user-and-associate-its-posts-to-admin-user": "刪除使用者,並將他所發表的文章關連至管理員權限的使用者", + "read-more": "繼續越讀", + "show-blog": "顯示部落格", + "default-home-page": "預設首頁", + "version": "版本", + "there-are-no-drafts": "沒有草稿", + "create-a-new-article-for-your-blog":"為您的網站建立一篇新文章", + "create-a-new-page-for-your-website":"為您的網站建立一個新頁面", + "invite-a-friend-to-collaborate-on-your-website":"邀請朋友來慶祝您的新網站開張", + "change-your-language-and-region-settings":"更改您所使用的語言與地區設定", + "language-and-timezone":"語言與時區", + "author": "作者", + "start-here": "從這裡開始", + "install-theme": "安裝佈景主題", + "first-post": "第一篇文章", + "congratulations-you-have-successfully-installed-your-bludit": "恭喜您已經成功安裝您的**Bludit**", + "whats-next": "接下來", + "manage-your-bludit-from-the-admin-panel": "透過[admin area](./admin/)管理您的Bludit", + "follow-bludit-on": "Follow Bludit on", + "visit-the-support-forum": "拜訪[forum](http://forum.bludit.com)來取得支援", + "read-the-documentation-for-more-information": "閱讀[documentation](http://docs.bludit.com)來獲得更多資訊", + "share-with-your-friends-and-enjoy": "分享給您的朋友們", + "the-page-has-not-been-found": "此頁面不存在", + "error": "錯誤" + +} diff --git a/plugins/maintancemode/language/zh_TW.json b/plugins/maintancemode/language/zh_TW.json new file mode 100644 index 00000000..0df80e88 --- /dev/null +++ b/plugins/maintancemode/language/zh_TW.json @@ -0,0 +1,15 @@ +{ + "plugin-data": + { + "name": "維護模式", + "description": "設定您的網站為維護模式,但是您依然可以登入到管理介面", + "author": "Bludit", + "email": "", + "website": "http://www.bludit.com", + "version": "0.1", + "releaseDate": "2015-08-02" + }, + + "enable-maintence-mode": "啟用維護模式", + "message": "訊息" +} diff --git a/plugins/opengraph/language/zh_TW.json b/plugins/opengraph/language/zh_TW.json new file mode 100644 index 00000000..394d068d --- /dev/null +++ b/plugins/opengraph/language/zh_TW.json @@ -0,0 +1,12 @@ +{ + "plugin-data": + { + "name": "開放社交關係圖", + "description": "開放社交關係圖協定可以讓任何網頁變成豐富的物件", + "author": "Bludit", + "email": "", + "website": "http://www.bludit.com", + "version": "0.1", + "releaseDate": "2015-08-02" + } +} diff --git a/plugins/pages/language/zh_TW.json b/plugins/pages/language/zh_TW.json new file mode 100644 index 00000000..c6c5fd59 --- /dev/null +++ b/plugins/pages/language/zh_TW.json @@ -0,0 +1,15 @@ +{ + "plugin-data": + { + "name": "頁面列表", + "description": "顯示所有頁面的列表", + "author": "Bludit", + "email": "", + "website": "http://www.bludit.com", + "version": "0.1", + "releaseDate": "2015-08-02" + }, + + "home": "首頁", + "show-home-link": "顯示首頁連結" +} diff --git a/plugins/pages/plugin.php b/plugins/pages/plugin.php index 6c7b8157..31d83df7 100755 --- a/plugins/pages/plugin.php +++ b/plugins/pages/plugin.php @@ -50,25 +50,25 @@ class pluginPages extends Plugin { if($Site->homepage()!==$parent->key()) { // Print the parent - $html .= '
  • '.$parent->title().'
  • '; + $html .= '
  • '.$parent->title().''; - // Check if the parent hash children + // Check if the parent has children if(isset($pagesParents[$parent->key()])) { $children = $pagesParents[$parent->key()]; // Print the children - $html .= '
  • '; } } } - $html .= ''; + $html .= '
  • '; $html .= ''; $html .= ''; diff --git a/plugins/tinymce/language/zh_TW.json b/plugins/tinymce/language/zh_TW.json new file mode 100644 index 00000000..e5fbfcd2 --- /dev/null +++ b/plugins/tinymce/language/zh_TW.json @@ -0,0 +1,12 @@ +{ + "plugin-data": + { + "name": "Tinymce", + "description": "Tinymce是一個簡單易使用的HTML編輯器,有著非常多的延伸模組與高自訂性", + "author": "Bludit", + "email": "", + "website": "http://www.bludit.com", + "version": "0.1", + "releaseDate": "2015-08-02" + } +} diff --git a/themes/pure/css/blog.css b/themes/pure/css/blog.css index e64c8e54..0fd8a85f 100644 --- a/themes/pure/css/blog.css +++ b/themes/pure/css/blog.css @@ -64,6 +64,12 @@ code { letter-spacing: 0.1em; } +.content { + padding-top: 3em; + margin-right: 30px; + margin-left: 30px; +} + #layout { padding: 0; } @@ -268,6 +274,12 @@ div.plugin-content ul > li > ul > li { margin: 0; } +div.plugin-content ul > li > ul > li:before { + color: #777; + content: "—"; + padding-right: 5px; +} + div.plugin-content ul > li > ul > li > a { color: #777; }