Merge branch 'master' into grunt
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
### HEAD
|
||||
### 6.2.0: January 13th, 2013
|
||||
* Implement latest Nice Search
|
||||
* Update [gallery] shortcode
|
||||
* Add Simplified Chinese, Indonesian, Korean translations
|
||||
* Move template title to `lib/utils.php`
|
||||
* Update to Bootstrap 2.2.2
|
||||
* Update to jQuery 1.8.3
|
||||
* Use `entry-summary` class for excerpts per Readability's Article Publishing Guidelines
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
Copyright (c) 2012 Ben Word and Scott Walkinshaw
|
||||
Copyright (c) Ben Word and Scott Walkinshaw
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
|
||||
BIN
lang/id_ID.mo
Normal file
BIN
lang/id_ID.mo
Normal file
Binary file not shown.
327
lang/id_ID.po
Normal file
327
lang/id_ID.po
Normal file
@@ -0,0 +1,327 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Roots Bahasa Indonesia\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-08-28 11:22-0300\n"
|
||||
"PO-Revision-Date: 2012-12-31 08:50+0800\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: Novrian Y.F. <me@novrian.info>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n"
|
||||
"X-Poedit-Basepath: ../\n"
|
||||
"X-Generator: Poedit 1.5.4\n"
|
||||
"Language: Bahasa Indonesia\n"
|
||||
"X-Poedit-SearchPath-0: .\n"
|
||||
"X-Poedit-SearchPath-1: ./templates\n"
|
||||
"X-Poedit-SearchPath-2: ./lib\n"
|
||||
|
||||
#: 404.php:5
|
||||
msgid ""
|
||||
"The page you are looking for might have been removed, had its name changed, "
|
||||
"or is temporarily unavailable."
|
||||
msgstr ""
|
||||
"Halaman yang anda cari mungkin telah dipindahkan, diganti, ataupun tidak "
|
||||
"dapat diakses untuk sementara."
|
||||
|
||||
#: 404.php:8
|
||||
msgid "Please try the following:"
|
||||
msgstr "Silahkan coba hal berikut ini:"
|
||||
|
||||
#: 404.php:10
|
||||
msgid "Check your spelling"
|
||||
msgstr "Periksa peng-eja-an"
|
||||
|
||||
#: 404.php:11
|
||||
#, php-format
|
||||
msgid "Return to the <a href=\"%s\">home page</a>"
|
||||
msgstr "Kembali ke <a href=\"%s\">Halaman Utama</a>"
|
||||
|
||||
#: 404.php:12
|
||||
msgid "Click the <a href=\"javascript:history.back()\">Back</a> button"
|
||||
msgstr "Klik tombol <a href=\"javascript:history.back()\">Kembali</a>"
|
||||
|
||||
#: functions.php:28
|
||||
msgid "Primary Navigation"
|
||||
msgstr "Menu Utama"
|
||||
|
||||
#: lib/activation.php:32 lib/activation.php:33
|
||||
msgid "Theme Activation"
|
||||
msgstr "Aktivasi Tema"
|
||||
|
||||
#: lib/activation.php:72
|
||||
#, php-format
|
||||
msgid "%s Theme Activation"
|
||||
msgstr "%s Aktivasi Tema"
|
||||
|
||||
#: lib/activation.php:87 lib/activation.php:89
|
||||
msgid "Create static front page?"
|
||||
msgstr "Buat Halaman Depan static?"
|
||||
|
||||
#: lib/activation.php:91 lib/activation.php:104 lib/activation.php:117
|
||||
#: lib/activation.php:130 lib/activation.php:143
|
||||
msgid "Yes"
|
||||
msgstr "Ya"
|
||||
|
||||
#: lib/activation.php:92 lib/activation.php:105 lib/activation.php:118
|
||||
#: lib/activation.php:131 lib/activation.php:144
|
||||
msgid "No"
|
||||
msgstr "Tidak"
|
||||
|
||||
#: lib/activation.php:95
|
||||
msgid "Create a page called Home and set it to be the static front page"
|
||||
msgstr ""
|
||||
"Buat Halaman dengan judul Home dan tentukan sebagai Halaman static di "
|
||||
"Halaman Depan"
|
||||
|
||||
#: lib/activation.php:100
|
||||
msgid "Change permalink structure?"
|
||||
msgstr "Ganti struktur permalink?"
|
||||
|
||||
#: lib/activation.php:102
|
||||
msgid "Update permalink structure?"
|
||||
msgstr "Perbaharui struktur permalink?"
|
||||
|
||||
#: lib/activation.php:108
|
||||
msgid "Change permalink structure to /%postname%/"
|
||||
msgstr "Ganti struktur permalink menjadi /%postname%/"
|
||||
|
||||
#: lib/activation.php:113
|
||||
msgid "Change uploads folder?"
|
||||
msgstr "Ganti folder upload?"
|
||||
|
||||
#: lib/activation.php:115
|
||||
msgid "Update uploads folder?"
|
||||
msgstr "Perbaharui folder Upload?"
|
||||
|
||||
#: lib/activation.php:121
|
||||
msgid "Change uploads folder to /assets/ instead of /wp-content/uploads/"
|
||||
msgstr "Ganti forlder upload ke /assets/ instead of /wp-content/uploads/"
|
||||
|
||||
#: lib/activation.php:126 lib/activation.php:128
|
||||
msgid "Create navigation menu?"
|
||||
msgstr "Buat menu navigasi?"
|
||||
|
||||
#: lib/activation.php:134
|
||||
msgid "Create the Primary Navigation menu and set the location"
|
||||
msgstr "Buat Menu Utama dan tentukan tempatnya"
|
||||
|
||||
#: lib/activation.php:139 lib/activation.php:141
|
||||
msgid "Add pages to menu?"
|
||||
msgstr "Tambah Halaman ke menu?"
|
||||
|
||||
#: lib/activation.php:147
|
||||
msgid "Add all current published pages to the Primary Navigation"
|
||||
msgstr "Tambah Halaman yang terpublikasi ke Menu Utama"
|
||||
|
||||
#: lib/cleanup.php:404
|
||||
msgid "Continued"
|
||||
msgstr "Selengkapnya"
|
||||
|
||||
#: lib/htaccess.php:26
|
||||
#, php-format
|
||||
msgid "Please make sure your <a href=\"%s\">.htaccess</a> file is writable "
|
||||
msgstr ""
|
||||
"Harap jadikan file <a href=\"%s\">.htaccess</a> anda dapat ditulis "
|
||||
"(writeable)"
|
||||
|
||||
#: lib/template-tags.php:5
|
||||
#, php-format
|
||||
msgid "Posted on %s at %s."
|
||||
msgstr "Dibuat pada tanggal %s - %s"
|
||||
|
||||
#: lib/template-tags.php:6
|
||||
msgid "Written by"
|
||||
msgstr "Ditulis oleh"
|
||||
|
||||
#: lib/widgets.php:6
|
||||
msgid "Primary Sidebar"
|
||||
msgstr "Sidebar Utama"
|
||||
|
||||
#: lib/widgets.php:14
|
||||
msgid "Footer"
|
||||
msgstr "Footer"
|
||||
|
||||
#: lib/widgets.php:30
|
||||
msgid "Use this widget to add a vCard"
|
||||
msgstr "Gunakan widget ini untuk menambah vCard"
|
||||
|
||||
#: lib/widgets.php:31
|
||||
msgid "Roots: vCard"
|
||||
msgstr "Roots: vCard"
|
||||
|
||||
#: lib/widgets.php:58
|
||||
msgid "vCard"
|
||||
msgstr "vCard"
|
||||
|
||||
#: lib/widgets.php:124
|
||||
msgid "Title (optional):"
|
||||
msgstr "Judul (opsional):"
|
||||
|
||||
#: lib/widgets.php:128
|
||||
msgid "Street Address:"
|
||||
msgstr "Alamat"
|
||||
|
||||
#: lib/widgets.php:132
|
||||
msgid "City/Locality:"
|
||||
msgstr "Kota:"
|
||||
|
||||
#: lib/widgets.php:136
|
||||
msgid "State/Region:"
|
||||
msgstr "Propinsi:"
|
||||
|
||||
#: lib/widgets.php:140
|
||||
msgid "Zipcode/Postal Code:"
|
||||
msgstr "Kode Pos:"
|
||||
|
||||
#: lib/widgets.php:144
|
||||
msgid "Telephone:"
|
||||
msgstr "Telepon:"
|
||||
|
||||
#: lib/widgets.php:148
|
||||
msgid "Email:"
|
||||
msgstr "Email:"
|
||||
|
||||
#: templates/comments.php:7
|
||||
#, php-format
|
||||
msgid "<cite class=\"fn\">%s</cite>"
|
||||
msgstr "<cite class=\"fn\">%s</cite>"
|
||||
|
||||
#: templates/comments.php:8
|
||||
#, php-format
|
||||
msgid "%1$s"
|
||||
msgstr "%1$s"
|
||||
|
||||
#: templates/comments.php:9
|
||||
msgid "(Edit)"
|
||||
msgstr "(Edit)"
|
||||
|
||||
#: templates/comments.php:15
|
||||
msgid "Your comment is awaiting moderation."
|
||||
msgstr "Komentar anda sedang dalam moderasi."
|
||||
|
||||
#: templates/comments.php:32
|
||||
msgid "This post is password protected. Enter the password to view comments."
|
||||
msgstr ""
|
||||
"Post ini dilindungi oleh password. Masukkan password untuk melihat komentar."
|
||||
|
||||
#: templates/comments.php:49
|
||||
msgid "← Older comments"
|
||||
msgstr "← Komentar sebelumnya"
|
||||
|
||||
#: templates/comments.php:50
|
||||
msgid "Newer comments →"
|
||||
msgstr "Komentar selanjutnya →"
|
||||
|
||||
#: templates/comments.php:58 templates/comments.php:68
|
||||
msgid "Comments are closed."
|
||||
msgstr "Komentar dinonaktifkan"
|
||||
|
||||
#: templates/comments.php:75
|
||||
msgid "Leave a Reply"
|
||||
msgstr "Tinggalkan Komentar"
|
||||
|
||||
#: templates/comments.php:75
|
||||
#, php-format
|
||||
msgid "Leave a Reply to %s"
|
||||
msgstr "Balasan untuk %s"
|
||||
|
||||
#: templates/comments.php:78
|
||||
#, php-format
|
||||
msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
|
||||
msgstr "Anda harus <a href=\"%s\">Login</a> untuk mengirimkan komentar."
|
||||
|
||||
#: templates/comments.php:82
|
||||
#, php-format
|
||||
msgid "Logged in as <a href=\"%s/wp-admin/profile.php\">%s</a>."
|
||||
msgstr "Login sebagai <a href=\"%s/wp-admin/profile.php\">%s</a>."
|
||||
|
||||
#: templates/comments.php:82
|
||||
msgid "Log out of this account"
|
||||
msgstr "Logout dari akun ini"
|
||||
|
||||
#: templates/comments.php:82
|
||||
msgid "Log out »"
|
||||
msgstr "Logout »"
|
||||
|
||||
#: templates/comments.php:84
|
||||
msgid "Name"
|
||||
msgstr "Nama"
|
||||
|
||||
#: templates/comments.php:84 templates/comments.php:86
|
||||
msgid " (required)"
|
||||
msgstr "(wajib diisi)"
|
||||
|
||||
#: templates/comments.php:86
|
||||
msgid "Email (will not be published)"
|
||||
msgstr "Email (tidak akan dipublikasikan)"
|
||||
|
||||
#: templates/comments.php:88
|
||||
msgid "Website"
|
||||
msgstr "Situs"
|
||||
|
||||
#: templates/comments.php:91
|
||||
msgid "Comment"
|
||||
msgstr "Komentar"
|
||||
|
||||
#: templates/comments.php:93
|
||||
msgid "Submit Comment"
|
||||
msgstr "Kirim Komentar"
|
||||
|
||||
#: templates/content-single.php:11
|
||||
msgid "Pages:"
|
||||
msgstr "Halaman:"
|
||||
|
||||
#: templates/content.php:4
|
||||
msgid "Sorry, no results were found."
|
||||
msgstr "Maaf, kami tidak menemukan apapun."
|
||||
|
||||
#: templates/content.php:26
|
||||
msgid "← Older posts"
|
||||
msgstr "← Post sebelumnya"
|
||||
|
||||
#: templates/content.php:27
|
||||
msgid "Newer posts →"
|
||||
msgstr "Post selanjutnya →"
|
||||
|
||||
#: templates/page-header.php:8
|
||||
msgid "Latest Posts"
|
||||
msgstr "Post Terbaru"
|
||||
|
||||
#: templates/page-header.php:17
|
||||
#, php-format
|
||||
msgid "Daily Archives: %s"
|
||||
msgstr "Arsip Harian: %s"
|
||||
|
||||
#: templates/page-header.php:19
|
||||
#, php-format
|
||||
msgid "Monthly Archives: %s"
|
||||
msgstr "Arsip Bulanan: %s"
|
||||
|
||||
#: templates/page-header.php:21
|
||||
#, php-format
|
||||
msgid "Yearly Archives: %s"
|
||||
msgstr "Arsip Tahunan: %s"
|
||||
|
||||
#: templates/page-header.php:25
|
||||
#, php-format
|
||||
msgid "Author Archives: %s"
|
||||
msgstr "Arsip Penulis: %s"
|
||||
|
||||
#: templates/page-header.php:30
|
||||
#, php-format
|
||||
msgid "Search Results for %s"
|
||||
msgstr "Hasil Pencarian untuk %s"
|
||||
|
||||
#: templates/page-header.php:32
|
||||
msgid "File Not Found"
|
||||
msgstr "File tidak ditemukan"
|
||||
|
||||
#: templates/searchform.php:2
|
||||
msgid "Search for:"
|
||||
msgstr "Pencarian untuk:"
|
||||
|
||||
#: templates/searchform.php:3 templates/searchform.php:4
|
||||
msgid "Search"
|
||||
msgstr "Cari"
|
||||
BIN
lang/ko_KR.mo
Normal file
BIN
lang/ko_KR.mo
Normal file
Binary file not shown.
318
lang/ko_KR.po
Executable file
318
lang/ko_KR.po
Executable file
@@ -0,0 +1,318 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Project-Id-Version: Roots Theme Korean Translation\n"
|
||||
"POT-Creation-Date: \n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: Alex Lim <contact@simonalex.com>\n"
|
||||
"Language-Team: Redfrost <contact@simonalex.com>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"X-Poedit-SourceCharset: UTF-8\n"
|
||||
"Language: Korean\n"
|
||||
"X-Generator: Poedit 1.5.4\n"
|
||||
|
||||
#: 404.php:5
|
||||
msgid ""
|
||||
"The page you are looking for might have been removed, had its name changed, "
|
||||
"or is temporarily unavailable."
|
||||
msgstr ""
|
||||
"요청하신 페이지를 찾을 수 없습니다. 페이지가 삭제되었거나 이름이 변경되었거"
|
||||
"나 일시적으로 사용할 수 없습니다."
|
||||
|
||||
#: 404.php:8
|
||||
msgid "Please try the following:"
|
||||
msgstr "다음 방법들을 시도해 보시기 바랍니다:"
|
||||
|
||||
#: 404.php:10
|
||||
msgid "Check your spelling"
|
||||
msgstr "주소의 철자법을 확인"
|
||||
|
||||
#: 404.php:11
|
||||
#, php-format
|
||||
msgid "Return to the <a href=\"%s\">home page</a>"
|
||||
msgstr "<a href=\"%s\">홈페이지</a>로 돌아가기"
|
||||
|
||||
#: 404.php:12
|
||||
msgid "Click the <a href=\"javascript:history.back()\">Back</a> button"
|
||||
msgstr "<a href=\"javascript:history.back()\">이전 페이지</a>로 돌아가기"
|
||||
|
||||
#: functions.php:28
|
||||
msgid "Primary Navigation"
|
||||
msgstr "메인메뉴"
|
||||
|
||||
#: lib/activation.php:32 lib/activation.php:33
|
||||
msgid "Theme Activation"
|
||||
msgstr "테마 활성화"
|
||||
|
||||
#: lib/activation.php:72
|
||||
#, php-format
|
||||
msgid "%s Theme Activation"
|
||||
msgstr "%s 테마를 활성화 합니다"
|
||||
|
||||
#: lib/activation.php:87 lib/activation.php:89
|
||||
msgid "Create static front page?"
|
||||
msgstr "고정 대문 페이지를 만드시겠습니까?"
|
||||
|
||||
#: lib/activation.php:91 lib/activation.php:104 lib/activation.php:117
|
||||
#: lib/activation.php:130 lib/activation.php:143
|
||||
msgid "Yes"
|
||||
msgstr "네"
|
||||
|
||||
#: lib/activation.php:92 lib/activation.php:105 lib/activation.php:118
|
||||
#: lib/activation.php:131 lib/activation.php:144
|
||||
msgid "No"
|
||||
msgstr "아니오"
|
||||
|
||||
#: lib/activation.php:95
|
||||
msgid "Create a page called Home and set it to be the static front page"
|
||||
msgstr "Home이라는 이름의 페이지를 만들고 대문 페이지로 등록합니다."
|
||||
|
||||
#: lib/activation.php:100
|
||||
msgid "Change permalink structure?"
|
||||
msgstr "고유주소(permalink) 구조를 변경하시겠습니까?"
|
||||
|
||||
#: lib/activation.php:102
|
||||
msgid "Update permalink structure?"
|
||||
msgstr "고유주소(permalink) 구조를 업데이트 하시겠습니까?"
|
||||
|
||||
#: lib/activation.php:108
|
||||
msgid "Change permalink structure to /%postname%/"
|
||||
msgstr "/%postname%/ 으로 고유주소(permalink)를 변경합니다."
|
||||
|
||||
#: lib/activation.php:113
|
||||
msgid "Change uploads folder?"
|
||||
msgstr "업로드 폴더를 변경하시겠습니까?"
|
||||
|
||||
#: lib/activation.php:115
|
||||
msgid "Update uploads folder?"
|
||||
msgstr "업로드 폴더를 업데이트 하시겠습니까?"
|
||||
|
||||
#: lib/activation.php:121
|
||||
msgid "Change uploads folder to /assets/ instead of /wp-content/uploads/"
|
||||
msgstr "기존의 업로드 경로 /wp-content/uploads를 /assets/으로 변경합니다."
|
||||
|
||||
#: lib/activation.php:126 lib/activation.php:128
|
||||
msgid "Create navigation menu?"
|
||||
msgstr "네비게이션 메뉴를 만드시겠습니까?"
|
||||
|
||||
#: lib/activation.php:134
|
||||
msgid "Create the Primary Navigation menu and set the location"
|
||||
msgstr "기본 네비게이션 메뉴를 생성합니다."
|
||||
|
||||
#: lib/activation.php:139 lib/activation.php:141
|
||||
msgid "Add pages to menu?"
|
||||
msgstr "페이지를 메뉴에 등록하시겠습니까?"
|
||||
|
||||
#: lib/activation.php:147
|
||||
msgid "Add all current published pages to the Primary Navigation"
|
||||
msgstr "생성된 모든 페이지를 기본 메뉴에 등록합니다."
|
||||
|
||||
#: lib/cleanup.php:404
|
||||
msgid "Continued"
|
||||
msgstr "더보기"
|
||||
|
||||
#: lib/htaccess.php:26
|
||||
#, php-format
|
||||
msgid "Please make sure your <a href=\"%s\">.htaccess</a> file is writable "
|
||||
msgstr "<a href=\"%s\">.htaccess</a> 파일의 쓰기 권한을 확인하시기 바랍니다."
|
||||
|
||||
#: lib/template-tags.php:5
|
||||
#, php-format
|
||||
msgid "Posted on %s at %s."
|
||||
msgstr "%s %s에 작성"
|
||||
|
||||
#: lib/template-tags.php:6
|
||||
msgid "Written by"
|
||||
msgstr "작성자:"
|
||||
|
||||
#: lib/widgets.php:6
|
||||
msgid "Primary Sidebar"
|
||||
msgstr "기본 사이드바"
|
||||
|
||||
#: lib/widgets.php:14
|
||||
msgid "Footer"
|
||||
msgstr "Footer"
|
||||
|
||||
#: lib/widgets.php:30
|
||||
msgid "Use this widget to add a vCard"
|
||||
msgstr "vCard를 등록하려면 이 위젯을 사용합니다."
|
||||
|
||||
#: lib/widgets.php:31
|
||||
msgid "Roots: vCard"
|
||||
msgstr "Roots: vCard"
|
||||
|
||||
#: lib/widgets.php:58
|
||||
msgid "vCard"
|
||||
msgstr "vCard"
|
||||
|
||||
#: lib/widgets.php:124
|
||||
msgid "Title (optional):"
|
||||
msgstr "제목(선택사항):"
|
||||
|
||||
#: lib/widgets.php:128
|
||||
msgid "Street Address:"
|
||||
msgstr "주소:"
|
||||
|
||||
#: lib/widgets.php:132
|
||||
msgid "City/Locality:"
|
||||
msgstr "시:"
|
||||
|
||||
#: lib/widgets.php:136
|
||||
msgid "State/Region:"
|
||||
msgstr "도:"
|
||||
|
||||
#: lib/widgets.php:140
|
||||
msgid "Zipcode/Postal Code:"
|
||||
msgstr "우편번호:"
|
||||
|
||||
#: lib/widgets.php:144
|
||||
msgid "Telephone:"
|
||||
msgstr "전화:"
|
||||
|
||||
#: lib/widgets.php:148
|
||||
msgid "Email:"
|
||||
msgstr "이메일:"
|
||||
|
||||
#: templates/comments.php:7
|
||||
#, php-format
|
||||
msgid "<cite class=\"fn\">%s</cite>"
|
||||
msgstr "<cite class=\"fn\">%s</cite>"
|
||||
|
||||
#: templates/comments.php:8
|
||||
#, php-format
|
||||
msgid "%1$s"
|
||||
msgstr "%1$s"
|
||||
|
||||
#: templates/comments.php:9
|
||||
msgid "(Edit)"
|
||||
msgstr "(수정)"
|
||||
|
||||
#: templates/comments.php:15
|
||||
msgid "Your comment is awaiting moderation."
|
||||
msgstr "검토중인 댓글입니다."
|
||||
|
||||
#: templates/comments.php:32
|
||||
msgid "This post is password protected. Enter the password to view comments."
|
||||
msgstr ""
|
||||
"보안된 페이지입니다. 내용을 확인하려면 패스워드를 입력해 주시기 바랍니다."
|
||||
|
||||
#: templates/comments.php:49
|
||||
msgid "← Older comments"
|
||||
msgstr "← 이전 댓글"
|
||||
|
||||
#: templates/comments.php:50
|
||||
msgid "Newer comments →"
|
||||
msgstr "최신 댓글 →"
|
||||
|
||||
#: templates/comments.php:58 templates/comments.php:68
|
||||
msgid "Comments are closed."
|
||||
msgstr "댓글을 달 수 없는 글입니다."
|
||||
|
||||
#: templates/comments.php:75
|
||||
msgid "Leave a Reply"
|
||||
msgstr "댓글 쓰기"
|
||||
|
||||
#: templates/comments.php:75
|
||||
#, php-format
|
||||
msgid "Leave a Reply to %s"
|
||||
msgstr "%s님에게 댓글 쓰기"
|
||||
|
||||
#: templates/comments.php:78
|
||||
#, php-format
|
||||
msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
|
||||
msgstr "<a href=\"%s\">로그인</a>해야만 글을 작성할 수 있습니다."
|
||||
|
||||
#: templates/comments.php:82
|
||||
#, php-format
|
||||
msgid "Logged in as <a href=\"%s/wp-admin/profile.php\">%s</a>."
|
||||
msgstr "<a href=\"%s/wp-admin/profile.php\">%s</a>님으로 로그인 되어 있습니다."
|
||||
|
||||
#: templates/comments.php:82
|
||||
msgid "Log out of this account"
|
||||
msgstr "이 계정에서 로그아웃"
|
||||
|
||||
#: templates/comments.php:82
|
||||
msgid "Log out »"
|
||||
msgstr "로그아웃 하기 »"
|
||||
|
||||
#: templates/comments.php:84
|
||||
msgid "Name"
|
||||
msgstr "이름"
|
||||
|
||||
#: templates/comments.php:84 templates/comments.php:86
|
||||
msgid " (required)"
|
||||
msgstr "(필수 입력)"
|
||||
|
||||
#: templates/comments.php:86
|
||||
msgid "Email (will not be published)"
|
||||
msgstr "이메일 주소 (공개되지 않습니다)"
|
||||
|
||||
#: templates/comments.php:88
|
||||
msgid "Website"
|
||||
msgstr "웹사이트"
|
||||
|
||||
#: templates/comments.php:91
|
||||
msgid "Comment"
|
||||
msgstr "댓글"
|
||||
|
||||
#: templates/comments.php:93
|
||||
msgid "Submit Comment"
|
||||
msgstr "댓글 쓰기"
|
||||
|
||||
#: templates/content-single.php:11
|
||||
msgid "Pages:"
|
||||
msgstr "페이지:"
|
||||
|
||||
#: templates/content.php:4
|
||||
msgid "Sorry, no results were found."
|
||||
msgstr "죄송합니다, 검색 결과가 없습니다."
|
||||
|
||||
#: templates/content.php:26
|
||||
msgid "← Older posts"
|
||||
msgstr "← 이전 포스트"
|
||||
|
||||
#: templates/content.php:27
|
||||
msgid "Newer posts →"
|
||||
msgstr "다음 포스트 →"
|
||||
|
||||
#: templates/page-header.php:8
|
||||
msgid "Latest Posts"
|
||||
msgstr "최근 포스트"
|
||||
|
||||
#: templates/page-header.php:17
|
||||
#, php-format
|
||||
msgid "Daily Archives: %s"
|
||||
msgstr "일일 아카이브: %s"
|
||||
|
||||
#: templates/page-header.php:19
|
||||
#, php-format
|
||||
msgid "Monthly Archives: %s"
|
||||
msgstr "월별 아카이브: %s"
|
||||
|
||||
#: templates/page-header.php:21
|
||||
#, php-format
|
||||
msgid "Yearly Archives: %s"
|
||||
msgstr "연간 아카이브: %s"
|
||||
|
||||
#: templates/page-header.php:25
|
||||
#, php-format
|
||||
msgid "Author Archives: %s"
|
||||
msgstr "저자별 아카이브: %s"
|
||||
|
||||
#: templates/page-header.php:30
|
||||
#, php-format
|
||||
msgid "Search Results for %s"
|
||||
msgstr "%s의 검색 결과"
|
||||
|
||||
#: templates/page-header.php:32
|
||||
msgid "File Not Found"
|
||||
msgstr "파일을 찾을 수 없습니다"
|
||||
|
||||
#: templates/searchform.php:2
|
||||
msgid "Search for:"
|
||||
msgstr "다음을 검색:"
|
||||
|
||||
#: templates/searchform.php:3 templates/searchform.php:4
|
||||
msgid "Search"
|
||||
msgstr "검색"
|
||||
BIN
lang/zh_CN.mo
Normal file
BIN
lang/zh_CN.mo
Normal file
Binary file not shown.
329
lang/zh_CN.po
Normal file
329
lang/zh_CN.po
Normal file
@@ -0,0 +1,329 @@
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2012-08-28 11:22-0300\n"
|
||||
"PO-Revision-Date: \n"
|
||||
"Last-Translator: yuanl <yuanl.lee@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-Language: Simplified Chinese\n"
|
||||
"X-Poedit-Country: China\n"
|
||||
"X-Poedit-SourceCharset: utf-8\n"
|
||||
|
||||
#: 404.php:5
|
||||
msgid "The page you are looking for might have been removed, had its name changed, or is temporarily unavailable."
|
||||
msgstr "你所寻找的页面可能已经被删除、修改名称,或是目前暂时无法使用。"
|
||||
|
||||
#: 404.php:8
|
||||
msgid "Please try the following:"
|
||||
msgstr "请试着:"
|
||||
|
||||
#: 404.php:10
|
||||
msgid "Check your spelling"
|
||||
msgstr "检查拼写是否正确"
|
||||
|
||||
#: 404.php:11
|
||||
#, php-format
|
||||
msgid "Return to the <a href=\"%s\">home page</a>"
|
||||
msgstr "回到<a href=\"%s\">首页</a>"
|
||||
|
||||
#: 404.php:12
|
||||
msgid "Click the <a href=\"javascript:history.back()\">Back</a> button"
|
||||
msgstr "点击<a href=\"javascript:history.back()\">返回</a>按钮"
|
||||
|
||||
#: functions.php:28
|
||||
msgid "Primary Navigation"
|
||||
msgstr "主要导航"
|
||||
|
||||
#: lib/activation.php:32
|
||||
#: lib/activation.php:33
|
||||
msgid "Theme Activation"
|
||||
msgstr "启用主题"
|
||||
|
||||
#: lib/activation.php:72
|
||||
#, php-format
|
||||
msgid "%s Theme Activation"
|
||||
msgstr "启用主题 %s"
|
||||
|
||||
#: lib/activation.php:87
|
||||
#: lib/activation.php:89
|
||||
msgid "Create static front page?"
|
||||
msgstr "是否建立静态首页?"
|
||||
|
||||
#: lib/activation.php:91
|
||||
#: lib/activation.php:104
|
||||
#: lib/activation.php:117
|
||||
#: lib/activation.php:130
|
||||
#: lib/activation.php:143
|
||||
msgid "Yes"
|
||||
msgstr "是"
|
||||
|
||||
#: lib/activation.php:92
|
||||
#: lib/activation.php:105
|
||||
#: lib/activation.php:118
|
||||
#: lib/activation.php:131
|
||||
#: lib/activation.php:144
|
||||
msgid "No"
|
||||
msgstr "否"
|
||||
|
||||
#: lib/activation.php:95
|
||||
msgid "Create a page called Home and set it to be the static front page"
|
||||
msgstr "建立一个名为 Home 的页面并设置为静态首页"
|
||||
|
||||
#: lib/activation.php:100
|
||||
msgid "Change permalink structure?"
|
||||
msgstr "是否修改固定网址结构?"
|
||||
|
||||
#: lib/activation.php:102
|
||||
msgid "Update permalink structure?"
|
||||
msgstr "是否更新固定网址结构?"
|
||||
|
||||
#: lib/activation.php:108
|
||||
msgid "Change permalink structure to /%postname%/"
|
||||
msgstr "修改固定网址结构为 /%postname%/"
|
||||
|
||||
#: lib/activation.php:113
|
||||
msgid "Change uploads folder?"
|
||||
msgstr "是否修改上传文件夹?"
|
||||
|
||||
#: lib/activation.php:115
|
||||
msgid "Update uploads folder?"
|
||||
msgstr "是否更新上传文件夹?"
|
||||
|
||||
#: lib/activation.php:121
|
||||
msgid "Change uploads folder to /assets/ instead of /wp-content/uploads/"
|
||||
msgstr "将上传目录由 /wp-content/uploads 修改为 /assets/"
|
||||
|
||||
#: lib/activation.php:126
|
||||
#: lib/activation.php:128
|
||||
msgid "Create navigation menu?"
|
||||
msgstr "是否建立导航菜单?"
|
||||
|
||||
#: lib/activation.php:134
|
||||
msgid "Create the Primary Navigation menu and set the location"
|
||||
msgstr "建立主要导航菜单并且设定位置"
|
||||
|
||||
#: lib/activation.php:139
|
||||
#: lib/activation.php:141
|
||||
msgid "Add pages to menu?"
|
||||
msgstr "是否添加页面到菜单?"
|
||||
|
||||
#: lib/activation.php:147
|
||||
msgid "Add all current published pages to the Primary Navigation"
|
||||
msgstr "添加所有已发表的页面到主要导航"
|
||||
|
||||
#: lib/cleanup.php:404
|
||||
msgid "Continued"
|
||||
msgstr "继续阅读"
|
||||
|
||||
#: lib/htaccess.php:26
|
||||
#, php-format
|
||||
msgid "Please make sure your <a href=\"%s\">.htaccess</a> file is writable "
|
||||
msgstr "请确定你的 <a href=\"%s\">.htaccess</a> 文件可以正常写入"
|
||||
|
||||
#: lib/template-tags.php:5
|
||||
#, php-format
|
||||
msgid "Posted on %s at %s."
|
||||
msgstr "发表于 %s %s"
|
||||
|
||||
#: lib/template-tags.php:6
|
||||
msgid "Written by"
|
||||
msgstr "作者"
|
||||
|
||||
#: lib/widgets.php:6
|
||||
msgid "Primary Sidebar"
|
||||
msgstr "主要侧边栏"
|
||||
|
||||
#: lib/widgets.php:14
|
||||
msgid "Footer"
|
||||
msgstr "页脚"
|
||||
|
||||
#: lib/widgets.php:30
|
||||
msgid "Use this widget to add a vCard"
|
||||
msgstr "使用此小工具来添加 vCard使用此模組以新增 vCard"
|
||||
|
||||
#: lib/widgets.php:31
|
||||
msgid "Roots: vCard"
|
||||
msgstr "Roots: vCard"
|
||||
|
||||
#: lib/widgets.php:58
|
||||
msgid "vCard"
|
||||
msgstr "vCard"
|
||||
|
||||
#: lib/widgets.php:124
|
||||
msgid "Title (optional):"
|
||||
msgstr "标题(可选):"
|
||||
|
||||
#: lib/widgets.php:128
|
||||
msgid "Street Address:"
|
||||
msgstr "地址:"
|
||||
|
||||
#: lib/widgets.php:132
|
||||
msgid "City/Locality:"
|
||||
msgstr "城市:"
|
||||
|
||||
#: lib/widgets.php:136
|
||||
msgid "State/Region:"
|
||||
msgstr "州:"
|
||||
|
||||
#: lib/widgets.php:140
|
||||
msgid "Zipcode/Postal Code:"
|
||||
msgstr "邮政编码:"
|
||||
|
||||
#: lib/widgets.php:144
|
||||
msgid "Telephone:"
|
||||
msgstr "电话:"
|
||||
|
||||
#: lib/widgets.php:148
|
||||
msgid "Email:"
|
||||
msgstr "电子邮件地址:"
|
||||
|
||||
#: templates/comments.php:7
|
||||
#, php-format
|
||||
msgid "<cite class=\"fn\">%s</cite>"
|
||||
msgstr "<cite class=\"fn\">%s</cite>"
|
||||
|
||||
#: templates/comments.php:8
|
||||
#, php-format
|
||||
msgid "%1$s"
|
||||
msgstr "%1$s"
|
||||
|
||||
#: templates/comments.php:9
|
||||
msgid "(Edit)"
|
||||
msgstr "(编辑)"
|
||||
|
||||
#: templates/comments.php:15
|
||||
msgid "Your comment is awaiting moderation."
|
||||
msgstr "你的留言正在审核中。"
|
||||
|
||||
#: templates/comments.php:32
|
||||
msgid "This post is password protected. Enter the password to view comments."
|
||||
msgstr "此文受密码保护。查看评论需请你输入密码。"
|
||||
|
||||
#: templates/comments.php:49
|
||||
msgid "← Older comments"
|
||||
msgstr "← 旧评论"
|
||||
|
||||
#: templates/comments.php:50
|
||||
msgid "Newer comments →"
|
||||
msgstr "新评论 →"
|
||||
|
||||
#: templates/comments.php:58
|
||||
#: templates/comments.php:68
|
||||
msgid "Comments are closed."
|
||||
msgstr "评论已被关闭。"
|
||||
|
||||
#: templates/comments.php:75
|
||||
msgid "Leave a Reply"
|
||||
msgstr "发表评论"
|
||||
|
||||
#: templates/comments.php:75
|
||||
#, php-format
|
||||
msgid "Leave a Reply to %s"
|
||||
msgstr "对 %s 发表评论"
|
||||
|
||||
#: templates/comments.php:78
|
||||
#, php-format
|
||||
msgid "You must be <a href=\"%s\">logged in</a> to post a comment."
|
||||
msgstr "抱歉,你必须要<a href=\"%s\">登录</a>才能发表评论喔!"
|
||||
|
||||
#: templates/comments.php:82
|
||||
#, php-format
|
||||
msgid "Logged in as <a href=\"%s/wp-admin/profile.php\">%s</a>."
|
||||
msgstr "已登录为 <a href=\"%s/wp-admin/profile.php\">%s</a>。"
|
||||
|
||||
#: templates/comments.php:82
|
||||
msgid "Log out of this account"
|
||||
msgstr "退出登录此账号"
|
||||
|
||||
#: templates/comments.php:82
|
||||
msgid "Log out »"
|
||||
msgstr "退出登录 »"
|
||||
|
||||
#: templates/comments.php:84
|
||||
msgid "Name"
|
||||
msgstr "姓名"
|
||||
|
||||
#: templates/comments.php:84
|
||||
#: templates/comments.php:86
|
||||
msgid " (required)"
|
||||
msgstr "(必填)"
|
||||
|
||||
#: templates/comments.php:86
|
||||
msgid "Email (will not be published)"
|
||||
msgstr "电子邮件地址(并不会被公开)"
|
||||
|
||||
#: templates/comments.php:88
|
||||
msgid "Website"
|
||||
msgstr "网站"
|
||||
|
||||
#: templates/comments.php:91
|
||||
msgid "Comment"
|
||||
msgstr "评论"
|
||||
|
||||
#: templates/comments.php:93
|
||||
msgid "Submit Comment"
|
||||
msgstr "提交评论"
|
||||
|
||||
#: templates/content-single.php:11
|
||||
msgid "Pages:"
|
||||
msgstr "页面:"
|
||||
|
||||
#: templates/content.php:4
|
||||
msgid "Sorry, no results were found."
|
||||
msgstr "抱歉,没有搜索结果。"
|
||||
|
||||
#: templates/content.php:26
|
||||
msgid "← Older posts"
|
||||
msgstr "← 旧文章"
|
||||
|
||||
#: templates/content.php:27
|
||||
msgid "Newer posts →"
|
||||
msgstr "新文章 →"
|
||||
|
||||
#: templates/page-header.php:8
|
||||
msgid "Latest Posts"
|
||||
msgstr "最新的文章"
|
||||
|
||||
#: templates/page-header.php:17
|
||||
#, php-format
|
||||
msgid "Daily Archives: %s"
|
||||
msgstr "按日归档: %s"
|
||||
|
||||
#: templates/page-header.php:19
|
||||
#, php-format
|
||||
msgid "Monthly Archives: %s"
|
||||
msgstr "按月归档: %s"
|
||||
|
||||
#: templates/page-header.php:21
|
||||
#, php-format
|
||||
msgid "Yearly Archives: %s"
|
||||
msgstr "按年归档: %s"
|
||||
|
||||
#: templates/page-header.php:25
|
||||
#, php-format
|
||||
msgid "Author Archives: %s"
|
||||
msgstr "按作者归档: %s"
|
||||
|
||||
#: templates/page-header.php:30
|
||||
#, php-format
|
||||
msgid "Search Results for %s"
|
||||
msgstr "搜索结果: %s"
|
||||
|
||||
#: templates/page-header.php:32
|
||||
msgid "File Not Found"
|
||||
msgstr "找不到文件"
|
||||
|
||||
#: templates/searchform.php:2
|
||||
msgid "Search for:"
|
||||
msgstr "搜索:"
|
||||
|
||||
#: templates/searchform.php:3
|
||||
#: templates/searchform.php:4
|
||||
msgid "Search"
|
||||
msgstr "搜索"
|
||||
|
||||
@@ -273,11 +273,18 @@ add_filter('img_caption_shortcode', 'roots_caption', 10, 3);
|
||||
* @link http://twitter.github.com/bootstrap/components.html#thumbnails
|
||||
*/
|
||||
function roots_gallery($attr) {
|
||||
global $post, $wp_locale;
|
||||
$post = get_post();
|
||||
|
||||
static $instance = 0;
|
||||
$instance++;
|
||||
|
||||
if (!empty($attr['ids'])) {
|
||||
if (empty($attr['orderby'])) {
|
||||
$attr['orderby'] = 'post__in';
|
||||
}
|
||||
$attr['include'] = $attr['ids'];
|
||||
}
|
||||
|
||||
$output = apply_filters('post_gallery', '', $attr);
|
||||
|
||||
if ($output != '') {
|
||||
@@ -295,8 +302,9 @@ function roots_gallery($attr) {
|
||||
'order' => 'ASC',
|
||||
'orderby' => 'menu_order ID',
|
||||
'id' => $post->ID,
|
||||
'icontag' => 'li',
|
||||
'captiontag' => 'p',
|
||||
'itemtag' => '',
|
||||
'icontag' => '',
|
||||
'captiontag' => '',
|
||||
'columns' => 3,
|
||||
'size' => 'thumbnail',
|
||||
'include' => '',
|
||||
@@ -310,15 +318,13 @@ function roots_gallery($attr) {
|
||||
}
|
||||
|
||||
if (!empty($include)) {
|
||||
$include = preg_replace( '/[^0-9,]+/', '', $include );
|
||||
$_attachments = get_posts( array('include' => $include, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order, 'orderby' => $orderby) );
|
||||
$_attachments = get_posts(array('include' => $include, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order, 'orderby' => $orderby));
|
||||
|
||||
$attachments = array();
|
||||
foreach ($_attachments as $key => $val) {
|
||||
$attachments[$val->ID] = $_attachments[$key];
|
||||
}
|
||||
} elseif (!empty($exclude)) {
|
||||
$exclude = preg_replace('/[^0-9,]+/', '', $exclude);
|
||||
$attachments = get_children(array('post_parent' => $id, 'exclude' => $exclude, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order, 'orderby' => $orderby));
|
||||
} else {
|
||||
$attachments = get_children(array('post_parent' => $id, 'post_status' => 'inherit', 'post_type' => 'attachment', 'post_mime_type' => 'image', 'order' => $order, 'orderby' => $orderby));
|
||||
@@ -330,48 +336,26 @@ function roots_gallery($attr) {
|
||||
|
||||
if (is_feed()) {
|
||||
$output = "\n";
|
||||
foreach ($attachments as $att_id => $attachment)
|
||||
foreach ($attachments as $att_id => $attachment) {
|
||||
$output .= wp_get_attachment_link($att_id, $size, true) . "\n";
|
||||
}
|
||||
return $output;
|
||||
}
|
||||
|
||||
$captiontag = tag_escape($captiontag);
|
||||
$columns = intval($columns);
|
||||
$itemwidth = $columns > 0 ? floor(100/$columns) : 100;
|
||||
$float = is_rtl() ? 'right' : 'left';
|
||||
$selector = "gallery-{$instance}";
|
||||
|
||||
$gallery_style = $gallery_div = '';
|
||||
|
||||
if (apply_filters('use_default_gallery_style', true)) {
|
||||
$gallery_style = '';
|
||||
}
|
||||
|
||||
$size_class = sanitize_html_class($size);
|
||||
$gallery_div = "<ul id='$selector' class='thumbnails gallery galleryid-{$id} gallery-columns-{$columns} gallery-size-{$size_class}'>";
|
||||
$output = apply_filters('gallery_style', $gallery_style . "\n\t\t" . $gallery_div);
|
||||
$output = '<ul class="thumbnails gallery">';
|
||||
|
||||
$i = 0;
|
||||
foreach ($attachments as $id => $attachment) {
|
||||
$link = isset($attr['link']) && 'file' == $attr['link'] ? wp_get_attachment_link($id, $size, false, false) : wp_get_attachment_link($id, $size, true, false);
|
||||
|
||||
$output .= "
|
||||
<{$icontag} class=\"gallery-item\">
|
||||
$link
|
||||
";
|
||||
if ($captiontag && trim($attachment->post_excerpt)) {
|
||||
$output .= "
|
||||
<{$captiontag} class=\"gallery-caption hidden\">
|
||||
" . wptexturize($attachment->post_excerpt) . "
|
||||
</{$captiontag}>";
|
||||
}
|
||||
$output .= "</{$icontag}>";
|
||||
if ($columns > 0 && ++$i % $columns == 0) {
|
||||
$output .= '';
|
||||
$output .= '<li>' . $link;
|
||||
if (trim($attachment->post_excerpt)) {
|
||||
$output .= '<div class="caption hidden">' . wptexturize($attachment->post_excerpt) . '</div>';
|
||||
}
|
||||
$output .= '</li>';
|
||||
}
|
||||
|
||||
$output .= "</ul>\n";
|
||||
$output .= '</ul>';
|
||||
|
||||
return $output;
|
||||
}
|
||||
@@ -492,29 +476,20 @@ add_filter('dynamic_sidebar_params', 'roots_widget_first_last_classes');
|
||||
* @link http://txfx.net/wordpress-plugins/nice-search/
|
||||
*/
|
||||
function roots_nice_search_redirect() {
|
||||
if (is_search() && strpos($_SERVER['REQUEST_URI'], '/wp-admin/') === false && strpos($_SERVER['REQUEST_URI'], '/search/') === false) {
|
||||
wp_redirect(home_url('/search/' . str_replace(array(' ', '%20'), array('+', '+'), urlencode(get_query_var('s')))), 301);
|
||||
global $wp_rewrite;
|
||||
if (!isset($wp_rewrite) || !is_object($wp_rewrite) || !$wp_rewrite->using_permalinks()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$search_base = $wp_rewrite->search_base;
|
||||
if (is_search() && !is_admin() && strpos($_SERVER['REQUEST_URI'], "/{$search_base}/") === false) {
|
||||
wp_redirect(home_url("/{$search_base}/" . urlencode(get_query_var('s'))));
|
||||
exit();
|
||||
}
|
||||
}
|
||||
|
||||
add_action('template_redirect', 'roots_nice_search_redirect');
|
||||
|
||||
/**
|
||||
* Fix for get_search_query() returning +'s between search terms
|
||||
*/
|
||||
function roots_search_query($escaped = true) {
|
||||
$query = apply_filters('roots_search_query', get_query_var('s'));
|
||||
|
||||
if ($escaped) {
|
||||
$query = esc_attr($query);
|
||||
}
|
||||
|
||||
return urldecode($query);
|
||||
}
|
||||
|
||||
add_filter('get_search_query', 'roots_search_query');
|
||||
|
||||
/**
|
||||
* Fix for empty search queries redirecting to home page
|
||||
*
|
||||
|
||||
@@ -6,6 +6,41 @@
|
||||
* @link http://scribu.net/wordpress/theme-wrappers.html
|
||||
*/
|
||||
|
||||
function roots_title() {
|
||||
if (is_home()) {
|
||||
if (get_option('page_for_posts', true)) {
|
||||
echo get_the_title(get_option('page_for_posts', true));
|
||||
} else {
|
||||
_e('Latest Posts', 'roots');
|
||||
}
|
||||
} elseif (is_archive()) {
|
||||
$term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy'));
|
||||
if ($term) {
|
||||
echo $term->name;
|
||||
} elseif (is_post_type_archive()) {
|
||||
echo get_queried_object()->labels->name;
|
||||
} elseif (is_day()) {
|
||||
printf(__('Daily Archives: %s', 'roots'), get_the_date());
|
||||
} elseif (is_month()) {
|
||||
printf(__('Monthly Archives: %s', 'roots'), get_the_date('F Y'));
|
||||
} elseif (is_year()) {
|
||||
printf(__('Yearly Archives: %s', 'roots'), get_the_date('Y'));
|
||||
} elseif (is_author()) {
|
||||
global $post;
|
||||
$author_id = $post->post_author;
|
||||
printf(__('Author Archives: %s', 'roots'), get_the_author_meta('display_name', $author_id));
|
||||
} else {
|
||||
single_cat_title();
|
||||
}
|
||||
} elseif (is_search()) {
|
||||
printf(__('Search Results for %s', 'roots'), get_search_query());
|
||||
} elseif (is_404()) {
|
||||
_e('File Not Found', 'roots');
|
||||
} else {
|
||||
the_title();
|
||||
}
|
||||
}
|
||||
|
||||
function roots_template_path() {
|
||||
return Roots_Wrapping::$main_template;
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
/*
|
||||
Theme Name: Roots
|
||||
Theme URI: http://www.rootstheme.com/
|
||||
Description: Roots is a starting WordPress theme made for developers that's based on HTML5 Boilerplate and Bootstrap from Twitter. <a href="https://github.com/retlehs/roots/contributors">Contribute on GitHub</a>
|
||||
Version: 6.1.0
|
||||
Description: Roots is a starting WordPress theme made for developers that's based on HTML5 Boilerplate and Bootstrap. <a href="https://github.com/retlehs/roots/contributors">Contribute on GitHub</a>
|
||||
Version: 6.2.0
|
||||
Author: Ben Word
|
||||
Author URI: http://benword.com/
|
||||
|
||||
|
||||
@@ -1,38 +1,5 @@
|
||||
<div class="page-header">
|
||||
<h1>
|
||||
<?php
|
||||
if (is_home()) {
|
||||
if (get_option('page_for_posts', true)) {
|
||||
echo get_the_title(get_option('page_for_posts', true));
|
||||
} else {
|
||||
_e('Latest Posts', 'roots');
|
||||
}
|
||||
} elseif (is_archive()) {
|
||||
$term = get_term_by('slug', get_query_var('term'), get_query_var('taxonomy'));
|
||||
if ($term) {
|
||||
echo $term->name;
|
||||
} elseif (is_post_type_archive()) {
|
||||
echo get_queried_object()->labels->name;
|
||||
} elseif (is_day()) {
|
||||
printf(__('Daily Archives: %s', 'roots'), get_the_date());
|
||||
} elseif (is_month()) {
|
||||
printf(__('Monthly Archives: %s', 'roots'), get_the_date('F Y'));
|
||||
} elseif (is_year()) {
|
||||
printf(__('Yearly Archives: %s', 'roots'), get_the_date('Y'));
|
||||
} elseif (is_author()) {
|
||||
global $post;
|
||||
$author_id = $post->post_author;
|
||||
printf(__('Author Archives: %s', 'roots'), get_the_author_meta('display_name', $author_id));
|
||||
} else {
|
||||
single_cat_title();
|
||||
}
|
||||
} elseif (is_search()) {
|
||||
printf(__('Search Results for %s', 'roots'), get_search_query());
|
||||
} elseif (is_404()) {
|
||||
_e('File Not Found', 'roots');
|
||||
} else {
|
||||
the_title();
|
||||
}
|
||||
?>
|
||||
<?php echo roots_title(); ?>
|
||||
</h1>
|
||||
</div>
|
||||
Reference in New Issue
Block a user