From 6c1c283caf41d15033d81ab7351704c3f725b36c Mon Sep 17 00:00:00 2001 From: sarah Date: Wed, 16 Sep 2015 20:19:18 +0100 Subject: [PATCH 1/6] Update .po file to reflect current text strings. --- languages/_s.pot | 295 ++++++++++------------------------------------- 1 file changed, 59 insertions(+), 236 deletions(-) diff --git a/languages/_s.pot b/languages/_s.pot index acfb1cfa..e8d4f9ec 100644 --- a/languages/_s.pot +++ b/languages/_s.pot @@ -3,8 +3,8 @@ msgid "" msgstr "" "Project-Id-Version: _s 1.0.0\n" -"Report-Msgid-Bugs-To: http://wordpress.org/tags/_s\n" -"POT-Creation-Date: 2015-06-12 21:51:31+0000\n" +"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/_s\n" +"POT-Creation-Date: 2015-09-16 19:02:07+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" @@ -12,336 +12,159 @@ msgstr "" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" -#: 404.php:15 -#@ _s +#: 404.php:17 msgid "Oops! That page can’t be found." msgstr "" -#: 404.php:19 -#@ _s +#: 404.php:21 msgid "It looks like nothing was found at this location. Maybe try one of the links below or a search?" msgstr "" -#: 404.php:27 -#@ _s +#: 404.php:29 msgid "Most Used Categories" msgstr "" #. translators: %1$s: smiley -#: 404.php:44 -#, php-format -#@ _s + +#: 404.php:46 msgid "Try looking in the monthly archives. %1$s" msgstr "" -#: comments.php:29 -#, php-format -#@ _s +#: comments.php:31 msgctxt "comments title" msgid "One thought on “%2$s”" msgid_plural "%1$s thoughts on “%2$s”" msgstr[0] "" msgstr[1] "" -#: comments.php:38 -#: comments.php:59 -#@ _s +#: comments.php:40 comments.php:61 msgid "Comment navigation" msgstr "" -#: comments.php:41 -#: comments.php:62 -#@ _s +#: comments.php:43 comments.php:64 msgid "Older Comments" msgstr "" -#: comments.php:42 -#: comments.php:63 -#@ _s +#: comments.php:44 comments.php:65 msgid "Newer Comments" msgstr "" -#: comments.php:75 -#@ _s +#: comments.php:77 msgid "Comments are closed." msgstr "" -#: footer.php:16 -#@ _s -msgid "http://wordpress.org/" -msgstr "" - -#: footer.php:16 -#, php-format -#@ _s -msgid "Proudly powered by %s" +#: footer.php:18 +msgid "https://wordpress.org/" msgstr "" #: footer.php:18 -#, php-format -#@ _s +msgid "Proudly powered by %s" +msgstr "" + +#: footer.php:20 msgid "Theme: %1$s by %2$s." msgstr "" -#: functions.php:45 -#: header.php:32 -#@ _s +#: functions.php:47 header.php:38 msgid "Primary Menu" msgstr "" -#: functions.php:100 -#@ _s +#: functions.php:102 msgid "Sidebar" msgstr "" -#: header.php:23 -#@ _s +#: header.php:25 msgid "Skip to content" msgstr "" -#: inc/extras.php:52 -#, php-format -#@ _s -msgid "Page %s" -msgstr "" - -#: inc/template-tags.php:23 -#@ _s -msgid "Posts navigation" -msgstr "" - -#: inc/template-tags.php:27 -#@ _s -msgid "Older posts" -msgstr "" - -#: inc/template-tags.php:31 -#@ _s -msgid "Newer posts" -msgstr "" - -#: inc/template-tags.php:56 -#@ _s -msgid "Post navigation" -msgstr "" - -#: inc/template-tags.php:86 -#, php-format -#@ _s +#: inc/template-tags.php:28 msgctxt "post date" msgid "Posted on %s" msgstr "" -#: inc/template-tags.php:91 -#, php-format -#@ _s +#: inc/template-tags.php:33 msgctxt "post author" msgid "by %s" msgstr "" #. translators: used between list items, there is a space after the comma -#: inc/template-tags.php:108 -#: inc/template-tags.php:114 -#@ _s + +#: inc/template-tags.php:50 inc/template-tags.php:56 msgid ", " msgstr "" -#: inc/template-tags.php:110 -#, php-format -#@ _s +#: inc/template-tags.php:52 msgid "Posted in %1$s" msgstr "" -#: inc/template-tags.php:116 -#, php-format -#@ _s +#: inc/template-tags.php:58 msgid "Tagged %1$s" msgstr "" -#: inc/template-tags.php:122 -#@ _s +#: inc/template-tags.php:64 msgid "Leave a comment" msgstr "" -#: inc/template-tags.php:122 -#@ _s +#: inc/template-tags.php:64 msgid "1 Comment" msgstr "" -#: inc/template-tags.php:122 -#@ _s +#: inc/template-tags.php:64 msgid "% Comments" msgstr "" -#: inc/template-tags.php:126 -#: template-parts/content-page.php:26 -#@ _s -msgid "Edit" +#. translators: %s: Name of current post + +#: inc/template-tags.php:71 template-parts/content-page.php:32 +msgid "Edit %s" msgstr "" -#: inc/template-tags.php:143 -#, php-format -#@ _s -msgid "Category: %s" -msgstr "" - -#: inc/template-tags.php:145 -#, php-format -#@ _s -msgid "Tag: %s" -msgstr "" - -#: inc/template-tags.php:147 -#, php-format -#@ _s -msgid "Author: %s" -msgstr "" - -#: inc/template-tags.php:149 -#, php-format -#@ _s -msgid "Year: %s" -msgstr "" - -#: inc/template-tags.php:149 -#@ _s -msgctxt "yearly archives date format" -msgid "Y" -msgstr "" - -#: inc/template-tags.php:151 -#, php-format -#@ _s -msgid "Month: %s" -msgstr "" - -#: inc/template-tags.php:151 -#@ _s -msgctxt "monthly archives date format" -msgid "F Y" -msgstr "" - -#: inc/template-tags.php:153 -#, php-format -#@ _s -msgid "Day: %s" -msgstr "" - -#: inc/template-tags.php:153 -#@ _s -msgctxt "daily archives date format" -msgid "F j, Y" -msgstr "" - -#: inc/template-tags.php:156 -#@ _s -msgctxt "post format archive title" -msgid "Asides" -msgstr "" - -#: inc/template-tags.php:158 -#@ _s -msgctxt "post format archive title" -msgid "Galleries" -msgstr "" - -#: inc/template-tags.php:160 -#@ _s -msgctxt "post format archive title" -msgid "Images" -msgstr "" - -#: inc/template-tags.php:162 -#@ _s -msgctxt "post format archive title" -msgid "Videos" -msgstr "" - -#: inc/template-tags.php:164 -#@ _s -msgctxt "post format archive title" -msgid "Quotes" -msgstr "" - -#: inc/template-tags.php:166 -#@ _s -msgctxt "post format archive title" -msgid "Links" -msgstr "" - -#: inc/template-tags.php:168 -#@ _s -msgctxt "post format archive title" -msgid "Statuses" -msgstr "" - -#: inc/template-tags.php:170 -#@ _s -msgctxt "post format archive title" -msgid "Audio" -msgstr "" - -#: inc/template-tags.php:172 -#@ _s -msgctxt "post format archive title" -msgid "Chats" -msgstr "" - -#: inc/template-tags.php:175 -#, php-format -#@ _s -msgid "Archives: %s" -msgstr "" - -#. translators: 1: Taxonomy singular name, 2: Current taxonomy term -#: inc/template-tags.php:179 -#, php-format -#@ _s -msgid "%1$s: %2$s" -msgstr "" - -#: inc/template-tags.php:181 -#@ _s -msgid "Archives" -msgstr "" - -#: search.php:16 -#, php-format -#@ _s +#: search.php:18 msgid "Search Results for: %s" msgstr "" #: template-parts/content-none.php:14 -#@ _s msgid "Nothing Found" msgstr "" #: template-parts/content-none.php:20 -#, php-format -#@ _s msgid "Ready to publish your first post? Get started here." msgstr "" #: template-parts/content-none.php:24 -#@ _s msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords." msgstr "" #: template-parts/content-none.php:29 -#@ _s msgid "It seems we can’t find what you’re looking for. Perhaps searching can help." msgstr "" -#: template-parts/content-page.php:19 -#: template-parts/content-single.php:23 -#: template-parts/content.php:32 -#@ _s +#: template-parts/content-page.php:21 template-parts/content-single.php:25 +#: template-parts/content.php:34 msgid "Pages:" msgstr "" -#. translators: %s: Name of current post -#: template-parts/content.php:25 -#, php-format -#@ _s +#. translators: %s: Name of current post. + +#: template-parts/content.php:27 msgid "Continue reading %s " msgstr "" +#. Theme Name of the plugin/theme +msgid "_s" +msgstr "" + +#. Theme URI of the plugin/theme +msgid "http://underscores.me/" +msgstr "" + +#. Description of the plugin/theme +msgid "Hi. I'm a starter theme called _s, or underscores, if you like. I'm a theme meant for hacking so don't use me as a Parent Theme. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for." +msgstr "" + +#. Author of the plugin/theme +msgid "Automattic" +msgstr "" + +#. Author URI of the plugin/theme +msgid "http://automattic.com/" +msgstr "" From 4ec4c2e1de2e2bddcbd4d595020b7e87c27c593b Mon Sep 17 00:00:00 2001 From: sarah Date: Wed, 16 Sep 2015 20:38:17 +0100 Subject: [PATCH 2/6] Re-add #@ _s comment in order to match original source and indicate source of text strings. --- languages/_s.pot | 39 +++++++++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) diff --git a/languages/_s.pot b/languages/_s.pot index e8d4f9ec..2ad4810a 100644 --- a/languages/_s.pot +++ b/languages/_s.pot @@ -13,24 +13,28 @@ msgstr "" "Language-Team: LANGUAGE \n" #: 404.php:17 +#@ _s msgid "Oops! That page can’t be found." msgstr "" #: 404.php:21 +#@ _s msgid "It looks like nothing was found at this location. Maybe try one of the links below or a search?" msgstr "" #: 404.php:29 +#@ _s msgid "Most Used Categories" msgstr "" #. translators: %1$s: smiley - #: 404.php:46 +#@ _s msgid "Try looking in the monthly archives. %1$s" msgstr "" #: comments.php:31 +#@ _s msgctxt "comments title" msgid "One thought on “%2$s”" msgid_plural "%1$s thoughts on “%2$s”" @@ -38,115 +42,138 @@ msgstr[0] "" msgstr[1] "" #: comments.php:40 comments.php:61 +#@ _s msgid "Comment navigation" msgstr "" #: comments.php:43 comments.php:64 +#@ _s msgid "Older Comments" msgstr "" #: comments.php:44 comments.php:65 +#@ _s msgid "Newer Comments" msgstr "" #: comments.php:77 +#@ _s msgid "Comments are closed." msgstr "" #: footer.php:18 +#@ _s msgid "https://wordpress.org/" msgstr "" #: footer.php:18 +#@ _s msgid "Proudly powered by %s" msgstr "" #: footer.php:20 +#@ _s msgid "Theme: %1$s by %2$s." msgstr "" #: functions.php:47 header.php:38 +#@ _s msgid "Primary Menu" msgstr "" #: functions.php:102 +#@ _s msgid "Sidebar" msgstr "" #: header.php:25 +#@ _s msgid "Skip to content" msgstr "" #: inc/template-tags.php:28 +#@ _s msgctxt "post date" msgid "Posted on %s" msgstr "" #: inc/template-tags.php:33 +#@ _s msgctxt "post author" msgid "by %s" msgstr "" #. translators: used between list items, there is a space after the comma - #: inc/template-tags.php:50 inc/template-tags.php:56 +#@ _s msgid ", " msgstr "" #: inc/template-tags.php:52 +#@ _s msgid "Posted in %1$s" msgstr "" #: inc/template-tags.php:58 +#@ _s msgid "Tagged %1$s" msgstr "" #: inc/template-tags.php:64 +#@ _s msgid "Leave a comment" msgstr "" #: inc/template-tags.php:64 +#@ _s msgid "1 Comment" msgstr "" #: inc/template-tags.php:64 +#@ _s msgid "% Comments" msgstr "" #. translators: %s: Name of current post - #: inc/template-tags.php:71 template-parts/content-page.php:32 +#@ _s msgid "Edit %s" msgstr "" #: search.php:18 +#@ _s msgid "Search Results for: %s" msgstr "" #: template-parts/content-none.php:14 +#@ _s msgid "Nothing Found" msgstr "" #: template-parts/content-none.php:20 +#@ _s msgid "Ready to publish your first post? Get started here." msgstr "" #: template-parts/content-none.php:24 +#@ _s msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords." msgstr "" #: template-parts/content-none.php:29 +#@ _s msgid "It seems we can’t find what you’re looking for. Perhaps searching can help." msgstr "" #: template-parts/content-page.php:21 template-parts/content-single.php:25 #: template-parts/content.php:34 +#@ _s msgid "Pages:" msgstr "" #. translators: %s: Name of current post. - #: template-parts/content.php:27 +#@ _s msgid "Continue reading %s " msgstr "" #. Theme Name of the plugin/theme @@ -154,17 +181,21 @@ msgid "_s" msgstr "" #. Theme URI of the plugin/theme +#@ _s msgid "http://underscores.me/" msgstr "" #. Description of the plugin/theme +#@ _s msgid "Hi. I'm a starter theme called _s, or underscores, if you like. I'm a theme meant for hacking so don't use me as a Parent Theme. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for." msgstr "" #. Author of the plugin/theme +#@ _s msgid "Automattic" msgstr "" #. Author URI of the plugin/theme +#@ _s msgid "http://automattic.com/" msgstr "" From ec61a751806f65ab09f7ae457d8b4a01224580b7 Mon Sep 17 00:00:00 2001 From: sarah Date: Wed, 16 Sep 2015 20:48:49 +0100 Subject: [PATCH 3/6] Add comments to indicate php markup and match original file. --- languages/_s.pot | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/languages/_s.pot b/languages/_s.pot index 2ad4810a..f97d8e5c 100644 --- a/languages/_s.pot +++ b/languages/_s.pot @@ -29,11 +29,13 @@ msgstr "" #. translators: %1$s: smiley #: 404.php:46 +#, php-format #@ _s msgid "Try looking in the monthly archives. %1$s" msgstr "" #: comments.php:31 +#, php-format #@ _s msgctxt "comments title" msgid "One thought on “%2$s”" @@ -67,11 +69,13 @@ msgid "https://wordpress.org/" msgstr "" #: footer.php:18 +#, php-format #@ _s msgid "Proudly powered by %s" msgstr "" #: footer.php:20 +#, php-format #@ _s msgid "Theme: %1$s by %2$s." msgstr "" @@ -92,12 +96,14 @@ msgid "Skip to content" msgstr "" #: inc/template-tags.php:28 +#, php-format #@ _s msgctxt "post date" msgid "Posted on %s" msgstr "" #: inc/template-tags.php:33 +#, php-format #@ _s msgctxt "post author" msgid "by %s" @@ -110,11 +116,13 @@ msgid ", " msgstr "" #: inc/template-tags.php:52 +#, php-format #@ _s msgid "Posted in %1$s" msgstr "" #: inc/template-tags.php:58 +#, php-format #@ _s msgid "Tagged %1$s" msgstr "" @@ -130,17 +138,20 @@ msgid "1 Comment" msgstr "" #: inc/template-tags.php:64 +#, php-format #@ _s msgid "% Comments" msgstr "" #. translators: %s: Name of current post #: inc/template-tags.php:71 template-parts/content-page.php:32 +#, php-format #@ _s msgid "Edit %s" msgstr "" #: search.php:18 +#, php-format #@ _s msgid "Search Results for: %s" msgstr "" @@ -151,6 +162,7 @@ msgid "Nothing Found" msgstr "" #: template-parts/content-none.php:20 +#, php-format #@ _s msgid "Ready to publish your first post? Get started here." msgstr "" @@ -173,6 +185,7 @@ msgstr "" #. translators: %s: Name of current post. #: template-parts/content.php:27 +#, php-format #@ _s msgid "Continue reading %s " msgstr "" From 6dc4b8e69296ec1cfbe243e7c23d143eccff2ee5 Mon Sep 17 00:00:00 2001 From: sarah Date: Wed, 16 Sep 2015 20:51:47 +0100 Subject: [PATCH 4/6] Update generated bug report URL to reflect correct _s-specific URL. --- languages/_s.pot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages/_s.pot b/languages/_s.pot index f97d8e5c..634f51bc 100644 --- a/languages/_s.pot +++ b/languages/_s.pot @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: _s 1.0.0\n" -"Report-Msgid-Bugs-To: https://wordpress.org/support/theme/_s\n" +"Report-Msgid-Bugs-To: http://wordpress.org/tags/_s\n" "POT-Creation-Date: 2015-09-16 19:02:07+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" From e8e080d3851ca219998c52700f7154dbb217d84a Mon Sep 17 00:00:00 2001 From: sarah Date: Wed, 16 Sep 2015 21:12:45 +0100 Subject: [PATCH 5/6] Split source references into two lines to mirror original syntax. --- languages/_s.pot | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/languages/_s.pot b/languages/_s.pot index 634f51bc..ae8b79a6 100644 --- a/languages/_s.pot +++ b/languages/_s.pot @@ -3,7 +3,7 @@ msgid "" msgstr "" "Project-Id-Version: _s 1.0.0\n" -"Report-Msgid-Bugs-To: http://wordpress.org/tags/_s\n" +"Report-Msgid-Bugs-To: http://wordpress.org/tags/_s\n" "POT-Creation-Date: 2015-09-16 19:02:07+00:00\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -43,17 +43,20 @@ msgid_plural "%1$s thoughts on “%2$s”" msgstr[0] "" msgstr[1] "" -#: comments.php:40 comments.php:61 +#: comments.php:40 +#: comments.php:61 #@ _s msgid "Comment navigation" msgstr "" -#: comments.php:43 comments.php:64 +#: comments.php:43 +#: comments.php:64 #@ _s msgid "Older Comments" msgstr "" -#: comments.php:44 comments.php:65 +#: comments.php:44 +#: comments.php:65 #@ _s msgid "Newer Comments" msgstr "" @@ -80,7 +83,8 @@ msgstr "" msgid "Theme: %1$s by %2$s." msgstr "" -#: functions.php:47 header.php:38 +#: functions.php:47 +#: header.php:38 #@ _s msgid "Primary Menu" msgstr "" @@ -177,7 +181,8 @@ msgstr "" msgid "It seems we can’t find what you’re looking for. Perhaps searching can help." msgstr "" -#: template-parts/content-page.php:21 template-parts/content-single.php:25 +#: template-parts/content-page.php:21 +#: template-parts/content-single.php:25 #: template-parts/content.php:34 #@ _s msgid "Pages:" From f5d8c65d4657a329f31c6b9fbebc26fcac0cf603 Mon Sep 17 00:00:00 2001 From: sarah Date: Thu, 17 Sep 2015 12:36:56 +0100 Subject: [PATCH 6/6] Add missing line breaks. --- languages/_s.pot | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/languages/_s.pot b/languages/_s.pot index ae8b79a6..6015ed40 100644 --- a/languages/_s.pot +++ b/languages/_s.pot @@ -114,7 +114,8 @@ msgid "by %s" msgstr "" #. translators: used between list items, there is a space after the comma -#: inc/template-tags.php:50 inc/template-tags.php:56 +#: inc/template-tags.php:50 +#: inc/template-tags.php:56 #@ _s msgid ", " msgstr "" @@ -148,7 +149,8 @@ msgid "% Comments" msgstr "" #. translators: %s: Name of current post -#: inc/template-tags.php:71 template-parts/content-page.php:32 +#: inc/template-tags.php:71 +#: template-parts/content-page.php:32 #, php-format #@ _s msgid "Edit %s"