From 3bfea0daf463d06c6154a596950e817d7310f8fa Mon Sep 17 00:00:00 2001 From: Joel Kuczmarski Date: Wed, 12 Dec 2012 20:18:43 -0600 Subject: [PATCH 01/10] move template title to function --- lib/utils.php | 35 +++++++++++++++++++++++++++++++++++ templates/page-header.php | 35 +---------------------------------- 2 files changed, 36 insertions(+), 34 deletions(-) diff --git a/lib/utils.php b/lib/utils.php index 233160e..1a4011c 100644 --- a/lib/utils.php +++ b/lib/utils.php @@ -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; } diff --git a/templates/page-header.php b/templates/page-header.php index 7209314..4f0265b 100644 --- a/templates/page-header.php +++ b/templates/page-header.php @@ -1,38 +1,5 @@ \ No newline at end of file From 319c485976fe2517920829aa5a0f8a773fc8d412 Mon Sep 17 00:00:00 2001 From: Joel Kuczmarski Date: Wed, 12 Dec 2012 21:01:55 -0600 Subject: [PATCH 02/10] reformat roots_title syntax --- lib/utils.php | 60 +++++++++++++++++++++++++-------------------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/lib/utils.php b/lib/utils.php index 1a4011c..2055932 100644 --- a/lib/utils.php +++ b/lib/utils.php @@ -7,38 +7,38 @@ */ function roots_title() { - if (is_home()) { - if (get_option('page_for_posts', true)) { - echo get_the_title(get_option('page_for_posts', true)); + 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 { - _e('Latest Posts', 'roots'); + the_title(); } - } 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() { From 1f1b45b5f336f4e275295702173d832cbc3b2c5f Mon Sep 17 00:00:00 2001 From: Joel Kuczmarski Date: Wed, 12 Dec 2012 21:07:25 -0600 Subject: [PATCH 03/10] reformat roots_title syntax again --- lib/utils.php | 64 +++++++++++++++++++++++++-------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/lib/utils.php b/lib/utils.php index 2055932..0b07bb1 100644 --- a/lib/utils.php +++ b/lib/utils.php @@ -7,38 +7,38 @@ */ 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(); - } + 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() { From 7fa8673b7863b9ebf96d6385e90861a76bde7961 Mon Sep 17 00:00:00 2001 From: "YuanL.Lee" Date: Fri, 21 Dec 2012 15:09:22 +0800 Subject: [PATCH 04/10] add Simplified Chinese translation. base on the traditional chinese translation by Chih-Wei Lee. --- lang/zh_CN.mo | Bin 0 -> 5450 bytes lang/zh_CN.po | 329 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 329 insertions(+) create mode 100644 lang/zh_CN.mo create mode 100644 lang/zh_CN.po diff --git a/lang/zh_CN.mo b/lang/zh_CN.mo new file mode 100644 index 0000000000000000000000000000000000000000..ee942eb529302cdb4ab9fc0e6761437610048585 GIT binary patch literal 5450 zcmai$TWl298OKj@-96r&Fgvr% z%-Y%JWg!r3h+~u3CYXiT+=FW`Ap~F6mr9iyDQ%^`v{frLs+67CU8$0#s_ILns{e0h zc5MTtBcJ_w&Ybg|?>_Uzy|)iAT+d;A597648I!=w?fAjPzrxtpz*Qhk`M~?YI`9Fo z3A`744a6VQ@bg`;1Ka=}0qOZ~K-%{OSO@+CTnSd+$yfu}0Dc>M3#4^J;630txEY)U z@yGs+pZmev?qck#;Dg}PU={csFbqBfz6m}B4uEw2@4)Yae*B>gt5 zaOJmxv_1;bIX?$$z(XME^9e}%e+iQO&p?XDUqP~`1d_gYVv_bh0FqtRARe)G;OpQP z@SEU8a2uEdzXjfcLnsdSf#m-H_ye#BB!3H#))b zUj|8j2Bh;p^6sa+`(J~U7k~8T{|S=(Tc8a7Wp{xjZzV|nss`!#R&V|%Aj#k5-G{)R z;a>6PKL9V>DpUMfr;Dm5cI-F6sxA(@>pl#GpE>#-O;b z!yrALz@Q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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 home page" +msgstr "回到首页" + +#: 404.php:12 +msgid "Click the Back button" +msgstr "点击返回按钮" + +#: 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 .htaccess file is writable " +msgstr "请确定你的 .htaccess 文件可以正常写入" + +#: 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 "%s" +msgstr "%s" + +#: 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 logged in to post a comment." +msgstr "抱歉,你必须要登录才能发表评论喔!" + +#: templates/comments.php:82 +#, php-format +msgid "Logged in as %s." +msgstr "已登录为 %s。" + +#: 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 "搜索" + From 8000e5c6114a7591cab28e8a0d27697da65a5120 Mon Sep 17 00:00:00 2001 From: Ben Word Date: Wed, 26 Dec 2012 11:22:28 -0600 Subject: [PATCH 05/10] Update [gallery] shortcode - Roll in changes added from WordPress 3.5 - More minimal code output --- lib/cleanup.php | 56 ++++++++++++++++++------------------------------- 1 file changed, 20 insertions(+), 36 deletions(-) diff --git a/lib/cleanup.php b/lib/cleanup.php index ac5666c..c194a07 100644 --- a/lib/cleanup.php +++ b/lib/cleanup.php @@ -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 = "'; return $output; } From 6ae15813aaa56d4a82522f89992d3a03aa8e06fa Mon Sep 17 00:00:00 2001 From: Ben Word Date: Wed, 26 Dec 2012 11:36:35 -0600 Subject: [PATCH 06/10] Implement latest Nice Search --- lib/cleanup.php | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/lib/cleanup.php b/lib/cleanup.php index c194a07..72edb5a 100644 --- a/lib/cleanup.php +++ b/lib/cleanup.php @@ -476,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 * From 87fdb19b6b46486c083943021e7922ceb7d62c32 Mon Sep 17 00:00:00 2001 From: "Novrian Y.F" Date: Mon, 31 Dec 2012 11:47:07 +0800 Subject: [PATCH 07/10] Adding Indonesian gettext Translation --- lang/id_ID.mo | Bin 0 -> 5656 bytes lang/id_ID.po | 327 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 327 insertions(+) create mode 100644 lang/id_ID.mo create mode 100644 lang/id_ID.po diff --git a/lang/id_ID.mo b/lang/id_ID.mo new file mode 100644 index 0000000000000000000000000000000000000000..6fc7328c53b8f778917e7a8cdca15f8631405292 GIT binary patch literal 5656 zcma)Yf z;rrl|Q09LIJ_=(fa(owxUS5Hsk6%Dp?{^SYs=q^-|4q0A{{=<9$483!H=*=zLs{oj za2$RSiabArGXCdK=KmEGd;A{Ce%^p0?=3XS_AwcWFAZd<`UVued>@J(egI{^zkwqEpP|V8H@F7>3B^8VSw#A8 zL9x#ZQ1tvcI03&7MV?on%>ODp4qt;J*BfvY{u|OO>%eLVz4-YS%J&%icZg);xk zP~`Y26!~w%DM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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 home page" +msgstr "Kembali ke Halaman Utama" + +#: 404.php:12 +msgid "Click the Back button" +msgstr "Klik tombol Kembali" + +#: 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 .htaccess file is writable " +msgstr "" +"Harap jadikan file .htaccess 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 "%s" +msgstr "%s" + +#: 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 logged in to post a comment." +msgstr "Anda harus Login untuk mengirimkan komentar." + +#: templates/comments.php:82 +#, php-format +msgid "Logged in as %s." +msgstr "Login sebagai %s." + +#: 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" From c07a11985e8d5f7678c8abd08683d2a2f79d1cbd Mon Sep 17 00:00:00 2001 From: Redfrost Date: Sat, 5 Jan 2013 19:47:28 +1300 Subject: [PATCH 08/10] Add Korean Translation Translated and fully tested. --- lang/ko_KR.mo | Bin 0 -> 6106 bytes lang/ko_KR.po | 318 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 318 insertions(+) create mode 100644 lang/ko_KR.mo create mode 100755 lang/ko_KR.po diff --git a/lang/ko_KR.mo b/lang/ko_KR.mo new file mode 100644 index 0000000000000000000000000000000000000000..72c7ce037a95e259e380b7aacf5f135f9c9011c8 GIT binary patch literal 6106 zcma);e{dXS8OL9w2u4BWhk_`)1X2^|T_{j!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^KX}58I|R+DQ9TV8JetoN4OL7 zZZR*N;gQn9z^aGkW7F=@$@0+!E`v4P;uz=ui0=&d&;%B8ju)i!)|<{qQI=mC=L&BO z(2UZ;j5D_&ovBghg?abHap{b_?VOniZHkJj?w9r(cZUk4*`j;&95zupKfFV@#R2#9 zac3?sUAW==JQi~nhL;vkvQn+}*&*G+qI0GoOLIlHP;_5ibdL{*_t zd~Du%arEOX@OSB10O!G7vt#Z=9;yHq1bhmAiLfqw#K%q`mM}`J8r+9-Y#8n@%?x0# zB9M{~uHy_%OHZLEjyOk0p#p^Lu&=_Xp!sw29LKL8hHqk#z4+hjdDcIo7l1(#l9L?G(RuH@&$ z3OTtGi}+hhu-x?2sQ1znrmQc`oh!{0oa5t2A&fZcOCR~$Ai~a!UU?W>#I(qRnfE-f zB%C-B_OE<@x#tR{cTf?+)b`^f-H{mvq0VxK#*vzESx^%yZxH9wI}6ORQ-@GS#?d?c zDuXFVs60G}p>7_5SkZY|Ss(K`#+Ci#42DmjR$%8po=0&T40jS0?kQ+y&5Wl{Ue60` z(jB5iSkx*XYH*r6F}%F<%5!W9VsytRm#a@zK3w|UR&h2w?0HR=em-0tD=g;}+(Tu- zL(a^obNav%VYDXJM(LdiXkQ_W-OQP>6cMmg(r~(zdEwI zu%@~Pr@8l$0v259@Y<&GD}!MMt(mV?Uw)<80rwD&5Q~}T-vBeExkcgok0$%i=_L2n zynEzKsO=5aLr@T^G>B|JmiLFT?DD^A_2DGKA?5WrIqJ@y_58T%5V?%Lqsx`RTlU~t zx9H`~iNVs_GtNQ8DyS%Q^Z*Mmq_yJZB7E-_e;6o`{yaHV9xGNV*9!Uh=j!sIDj2x2 zL7sY{ra;E&!f-^f<9$%n){qNcT0h1X3Q2+n{ literal 0 HcmV?d00001 diff --git a/lang/ko_KR.po b/lang/ko_KR.po new file mode 100755 index 0000000..3341bcd --- /dev/null +++ b/lang/ko_KR.po @@ -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 \n" +"Language-Team: Redfrost \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 home page" +msgstr "홈페이지로 돌아가기" + +#: 404.php:12 +msgid "Click the Back button" +msgstr "이전 페이지로 돌아가기" + +#: 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 .htaccess file is writable " +msgstr ".htaccess 파일의 쓰기 권한을 확인하시기 바랍니다." + +#: 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 "%s" +msgstr "%s" + +#: 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 logged in to post a comment." +msgstr "로그인해야만 글을 작성할 수 있습니다." + +#: templates/comments.php:82 +#, php-format +msgid "Logged in as %s." +msgstr "%s님으로 로그인 되어 있습니다." + +#: 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 "검색" From cf355c60321a78654caae357936f82486c149ceb Mon Sep 17 00:00:00 2001 From: Ben Word Date: Sun, 13 Jan 2013 15:24:16 -0600 Subject: [PATCH 09/10] Remove year from copyright --- LICENSE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE.md b/LICENSE.md index 579d95c..db04d89 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -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 From 3b0bb0d5d86468380efb20f676b4e076c5fe74f2 Mon Sep 17 00:00:00 2001 From: Ben Word Date: Sun, 13 Jan 2013 15:30:04 -0600 Subject: [PATCH 10/10] Roots 6.2.0 --- CHANGELOG.md | 6 +++++- style.css | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 021abd1..bdaf759 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/style.css b/style.css index cde9852..0ff2649 100644 --- a/style.css +++ b/style.css @@ -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. Contribute on GitHub -Version: 6.1.0 +Description: Roots is a starting WordPress theme made for developers that's based on HTML5 Boilerplate and Bootstrap. Contribute on GitHub +Version: 6.2.0 Author: Ben Word Author URI: http://benword.com/