Add make-pot command to composer and update _s.pot file

correct spacing
This commit is contained in:
Ismail El Korchi 2020-04-10 16:25:12 +01:00
parent d86ec8cb63
commit 233c99ae47
2 changed files with 96 additions and 90 deletions

View File

@ -20,11 +20,13 @@
"require-dev": { "require-dev": {
"dealerdirect/phpcodesniffer-composer-installer": "^0.6.2", "dealerdirect/phpcodesniffer-composer-installer": "^0.6.2",
"wptrt/wpthemereview": "^0.2.1", "wptrt/wpthemereview": "^0.2.1",
"php-parallel-lint/php-parallel-lint": "^1.2.0" "php-parallel-lint/php-parallel-lint": "^1.2.0",
"wp-cli/i18n-command": "^2.2"
}, },
"scripts": { "scripts": {
"lint:wpcs": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs", "lint:wpcs": "@php ./vendor/squizlabs/php_codesniffer/bin/phpcs",
"lint:php": "@php ./vendor/bin/parallel-lint --exclude .git --exclude vendor ." "lint:php": "@php ./vendor/bin/parallel-lint --exclude .git --exclude vendor .",
"make-pot": "wp i18n make-pot . languages/_s.pot"
}, },
"support": { "support": {
"issues": "https://github.com/Automattic/_s/issues", "issues": "https://github.com/Automattic/_s/issues",

View File

@ -3,41 +3,68 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: _s 1.0.0\n" "Project-Id-Version: _s 1.0.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/tags/_s\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/_s\n"
"POT-Creation-Date: 2016-12-23 16:00+0100\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2017-MO-DA HO:MI+ZONE\n" "POT-Creation-Date: 2020-04-10T15:22:10+00:00\n"
"Last-Translator:\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "X-Generator: WP-CLI 2.4.0\n"
"X-Generator: grunt-wp-i18n 0.5.4\n" "X-Domain: _s\n"
#: 404.php:17 #. Theme Name of the theme
msgid "_s"
msgstr ""
#. Theme URI of the theme
msgid "https://underscores.me/"
msgstr ""
#. Description of the theme
msgid "Hi. I'm a starter theme called <code>_s</code>, or <em>underscores</em>, if you like. I'm a theme meant for hacking so don't use me as a <em>Parent Theme</em>. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for."
msgstr ""
#. Author of the theme
msgid "Automattic"
msgstr ""
#. Author URI of the theme
msgid "https://automattic.com/"
msgstr ""
#: 404.php:18
msgid "Oops! That page can&rsquo;t be found." msgid "Oops! That page can&rsquo;t be found."
msgstr "" msgstr ""
#: 404.php:21 #: 404.php:22
msgid "" msgid "It looks like nothing was found at this location. Maybe try one of the links below or a search?"
"It looks like nothing was found at this location. Maybe try one of the "
"links below or a search?"
msgstr "" msgstr ""
#: 404.php:30 #: 404.php:31
msgid "Most Used Categories" msgid "Most Used Categories"
msgstr "" msgstr ""
#: 404.php:47
#. translators: %1$s: smiley #. translators: %1$s: smiley
#: 404.php:49
msgid "Try looking in the monthly archives. %1$s" msgid "Try looking in the monthly archives. %1$s"
msgstr "" msgstr ""
#: comments.php:34
#. translators: 1: title. #. translators: 1: title.
#: comments.php:35
msgid "One thought on &ldquo;%1$s&rdquo;" msgid "One thought on &ldquo;%1$s&rdquo;"
msgstr "" msgstr ""
#: comments.php:67 #. translators: 1: comment count number, 2: title.
#: comments.php:41
msgctxt "comments title"
msgid "%1$s thought on &ldquo;%2$s&rdquo;"
msgid_plural "%1$s thoughts on &ldquo;%2$s&rdquo;"
msgstr[0] ""
msgstr[1] ""
#: comments.php:68
msgid "Comments are closed." msgid "Comments are closed."
msgstr "" msgstr ""
@ -45,63 +72,93 @@ msgstr ""
msgid "https://wordpress.org/" msgid "https://wordpress.org/"
msgstr "" msgstr ""
#: footer.php:20
#. translators: %s: CMS name, i.e. WordPress. #. translators: %s: CMS name, i.e. WordPress.
#: footer.php:21
msgid "Proudly powered by %s" msgid "Proudly powered by %s"
msgstr "" msgstr ""
#: footer.php:25
#. translators: 1: Theme name, 2: Theme author. #. translators: 1: Theme name, 2: Theme author.
#: footer.php:27
msgid "Theme: %1$s by %2$s." msgid "Theme: %1$s by %2$s."
msgstr "" msgstr ""
#: functions.php:47 #: functions.php:53
msgid "Primary" msgid "Primary"
msgstr "" msgstr ""
#: functions.php:105 #: functions.php:128
msgid "Sidebar" msgid "Sidebar"
msgstr "" msgstr ""
#: functions.php:107 #: functions.php:130
msgid "Add widgets here." msgid "Add widgets here."
msgstr "" msgstr ""
#: header.php:24 #: header.php:26
msgid "Skip to content" msgid "Skip to content"
msgstr "" msgstr ""
#: header.php:45 #: header.php:49
msgid "Primary Menu" msgid "Primary Menu"
msgstr "" msgstr ""
#: inc/template-tags.php:52 #. translators: %s: post date.
#: inc/template-tags.php:30
msgctxt "post date"
msgid "Posted on %s"
msgstr ""
#. translators: %s: post author.
#: inc/template-tags.php:46
msgctxt "post author"
msgid "by %s"
msgstr ""
#. translators: used between list items, there is a space after the comma #. translators: used between list items, there is a space after the comma
#: inc/template-tags.php:63
msgid ", " msgid ", "
msgstr "" msgstr ""
#: inc/template-tags.php:55
#. translators: 1: list of categories. #. translators: 1: list of categories.
#: inc/template-tags.php:66
msgid "Posted in %1$s" msgid "Posted in %1$s"
msgstr "" msgstr ""
#: inc/template-tags.php:62 #. translators: used between list items, there is a space after the comma
#: inc/template-tags.php:70
msgctxt "list item separator"
msgid ", "
msgstr ""
#. translators: 1: list of tags. #. translators: 1: list of tags.
#: inc/template-tags.php:73
msgid "Tagged %1$s" msgid "Tagged %1$s"
msgstr "" msgstr ""
#: inc/template-tags.php:72
#. translators: %s: post title #. translators: %s: post title
#: inc/template-tags.php:83
msgid "Leave a Comment<span class=\"screen-reader-text\"> on %s</span>" msgid "Leave a Comment<span class=\"screen-reader-text\"> on %s</span>"
msgstr "" msgstr ""
#: inc/template-tags.php:89 template-parts/content-page.php:35
#. translators: %s: Name of current post. Only visible to screen readers #. translators: %s: Name of current post. Only visible to screen readers
#: inc/template-tags.php:100
#: template-parts/content-page.php:39
msgid "Edit <span class=\"screen-reader-text\">%s</span>" msgid "Edit <span class=\"screen-reader-text\">%s</span>"
msgstr "" msgstr ""
#: search.php:21 #: inc/woocommerce.php:227
msgid "View your shopping cart"
msgstr ""
#. translators: number of items in the mini cart.
#: inc/woocommerce.php:231
msgid "%d item"
msgid_plural "%d items"
msgstr[0] ""
msgstr[1] ""
#. translators: %s: search query. #. translators: %s: search query.
#: search.php:22
msgid "Search Results for: %s" msgid "Search Results for: %s"
msgstr "" msgstr ""
@ -109,78 +166,25 @@ msgstr ""
msgid "Nothing Found" msgid "Nothing Found"
msgstr "" msgstr ""
#: template-parts/content-none.php:25
#. translators: 1: link to WP admin new post page. #. translators: 1: link to WP admin new post page.
#: template-parts/content-none.php:24
msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>." msgid "Ready to publish your first post? <a href=\"%1$s\">Get started here</a>."
msgstr "" msgstr ""
#: template-parts/content-none.php:38 #: template-parts/content-none.php:37
msgid "" msgid "Sorry, but nothing matched your search terms. Please try again with some different keywords."
"Sorry, but nothing matched your search terms. Please try again with some "
"different keywords."
msgstr "" msgstr ""
#: template-parts/content-none.php:44 #: template-parts/content-none.php:44
msgid "" msgid "It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps searching can help."
"It seems we can&rsquo;t find what you&rsquo;re looking for. Perhaps "
"searching can help."
msgstr "" msgstr ""
#: template-parts/content-page.php:22 template-parts/content.php:45 #: template-parts/content-page.php:25
#: template-parts/content.php:53
msgid "Pages:" msgid "Pages:"
msgstr "" msgstr ""
#: template-parts/content.php:34
#. translators: %s: Name of current post. Only visible to screen readers #. translators: %s: Name of current post. Only visible to screen readers
#: template-parts/content.php:40
msgid "Continue reading<span class=\"screen-reader-text\"> \"%s\"</span>" msgid "Continue reading<span class=\"screen-reader-text\"> \"%s\"</span>"
msgstr "" msgstr ""
#. Theme Name of the plugin/theme
msgid "_s"
msgstr ""
#. Theme URI of the plugin/theme
msgid "https://underscores.me/"
msgstr ""
#. Description of the plugin/theme
msgid ""
"Hi. I'm a starter theme called <code>_s</code>, or <em>underscores</em>, if "
"you like. I'm a theme meant for hacking so don't use me as a <em>Parent "
"Theme</em>. 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 "https://automattic.com/"
msgstr ""
#: comments.php:40
#. translators: 1: comment count number, 2: title.
msgctxt "comments title"
msgid "%1$s thought on &ldquo;%2$s&rdquo;"
msgid_plural "%1$s thoughts on &ldquo;%2$s&rdquo;"
msgstr[0] ""
msgstr[1] ""
#: inc/template-tags.php:29
#. translators: %s: post date.
msgctxt "post date"
msgid "Posted on %s"
msgstr ""
#: inc/template-tags.php:35
#. translators: %s: post author.
msgctxt "post author"
msgid "by %s"
msgstr ""
#: inc/template-tags.php:59
#. translators: used between list items, there is a space after the comma
msgctxt "list item separator"
msgid ", "
msgstr ""