Skip to content
Snippets Groups Projects
Commit e22a4736 authored by Erick Hitter's avatar Erick Hitter
Browse files

Merge branch 'fix/i18n' into 'master'

Fix translation support

See merge request !4
parents 715aa250 bcbd3f9a
No related branches found
No related tags found
1 merge request!4Fix translation support
Pipeline #4941 passed with stages
in 1 minute and 4 seconds
variables:
# Configure mysql service (https://hub.docker.com/_/mysql/)
MYSQL_DATABASE: wordpress_tests
MYSQL_ROOT_PASSWORD: mysql
cache:
paths:
- $HOME/.composer
- /root/.composer
before_script:
# Set up WordPress tests
- bash bin/install-wp-tests.sh $MYSQL_DATABASE root $MYSQL_ROOT_PASSWORD mysql latest true
# PHPUnit
- |
if [[ $(php -v) =~ "PHP 7." ]]; then
composer global require "phpunit/phpunit=6.1.*"
else
composer global require "phpunit/phpunit=4.8.*"
fi
# Install PHPCS and WPCS
- composer global require automattic/vipwpcs
- composer global require phpcompatibility/phpcompatibility-wp
- phpcs --config-set installed_paths $HOME/.composer/vendor/wp-coding-standards/wpcs,$HOME/.composer/vendor/automattic/vipwpcs,$HOME/.composer/vendor/phpcompatibility/php-compatibility,$HOME/.composer/vendor/phpcompatibility/phpcompatibility-paragonie,$HOME/.composer/vendor/phpcompatibility/phpcompatibility-wp
PHPunit:PHP7.3:MySQL:
stage: test
image: containers.ethitter.com:443/docker/images/php:7.3
services:
- mysql:5.6
script:
- find . -type "f" -iname "*.php" | xargs -L "1" php -l
- phpcs -n
- phpunit
allow_failure: true
PluginSVN:
stage: deploy
image: containers.ethitter.com:443/docker/images/php:7.3
before_script:
- curl -o ./bin/deploy.sh https://git-cdn.e15r.co/open-source/wp-org-plugin-deploy/raw/master/scripts/deploy.sh
- chmod +x ./bin/deploy.sh
script: ./bin/deploy.sh
when: on_success
include:
- remote: https://git-cdn.e15r.co/gitlab/ci/wordpress/-/raw/main/plugins/default.yml
.nvmrc 0 → 100644
v16
# Automatically Paginate Posts #
**Contributors:** ethitter, thinkoomph, bendoh
**Contributors:** [ethitter](https://profiles.wordpress.org/ethitter/), [thinkoomph](https://profiles.wordpress.org/thinkoomph/), [bendoh](https://profiles.wordpress.org/bendoh/)
Donate link:
**Tags:** paginate, nextpage, Quicktag
**Requires at least:** 3.4
......
This diff is collapsed.
# Copyright (C) 2020 Erick Hitter & Oomph, Inc.
# Copyright (C) 2022 Erick Hitter & Oomph, Inc.
# This file is distributed under the same license as the Automatically Paginate Posts package.
msgid ""
msgstr ""
"Project-Id-Version: Automatically Paginate Posts 0.2\n"
"Report-Msgid-Bugs-To: "
"https://wordpress.org/support/plugin/automatically-paginate-posts\n"
"POT-Creation-Date: 2020-03-26 17:10:56+00:00\n"
"POT-Creation-Date: 2022-06-26 20:46:38+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2020-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: 2022-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"X-Generator: grunt-wp-i18n 0.5.4\n"
"X-Poedit-KeywordsList: "
"__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
"attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
"Language: en\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-Country: United States\n"
"X-Poedit-SourceCharset: UTF-8\n"
"X-Poedit-KeywordsList: "
"__;_e;_x:1,2c;_ex:1,2c;_n:1,2;_nx:1,2,4c;_n_noop:1,2;_nx_noop:1,2,3c;esc_"
"attr__;esc_html__;esc_attr_e;esc_html_e;esc_attr_x:1,2c;esc_html_x:1,2c;\n"
"X-Poedit-Basepath: ../\n"
"X-Poedit-SearchPath-0: .\n"
"X-Poedit-Bookmarks: \n"
"X-Textdomain-Support: yes\n"
"X-Generator: grunt-wp-i18n 1.0.3\n"
#. Plugin Name of the plugin/theme
msgid "Automatically Paginate Posts"
msgstr ""
#: automatically-paginate-posts.php:135
#: automatically-paginate-posts.php:223
msgid "Supported post types:"
msgstr ""
#: automatically-paginate-posts.php:136
#: automatically-paginate-posts.php:224
msgid "Split post by:"
msgstr ""
#: automatically-paginate-posts.php:210
#: automatically-paginate-posts.php:302
msgid "Total number of pages: "
msgstr ""
#: automatically-paginate-posts.php:211
#: automatically-paginate-posts.php:303
msgid "Approximate words per page: "
msgstr ""
#: automatically-paginate-posts.php:275
#: automatically-paginate-posts.php:370
msgid ""
"If chosen, each page will contain approximately this many words, depending "
"on paragraph lengths."
msgstr ""
#: automatically-paginate-posts.php:305
#: automatically-paginate-posts.php:400
msgid "Post Autopaging"
msgstr ""
#: automatically-paginate-posts.php:321
#: automatically-paginate-posts.php:416
msgid ""
"Check the box above to prevent this post from automatically being split "
"over multiple pages."
msgstr ""
#: automatically-paginate-posts.php:322
#: automatically-paginate-posts.php:421
#. translators: 1. Quicktag code example.
msgid ""
"Note that if the %1$s Quicktag is used to manually page this post, "
"automatic paging won't be applied, regardless of the setting above."
......
This diff is collapsed.
......@@ -4,8 +4,8 @@
"main": "Gruntfile.js",
"author": "Erick Hitter & Oomph, Inc.",
"devDependencies": {
"grunt": "~0.4.5",
"grunt-wp-i18n": "~0.5.0",
"grunt-wp-readme-to-markdown": "~1.0.0"
"grunt": "^1.5.3",
"grunt-wp-i18n": "^1.0.3",
"grunt-wp-readme-to-markdown": "^2.1.0"
}
}
......@@ -33,7 +33,7 @@
<rule ref="WordPress.NamingConventions.PrefixAllGlobals">
<properties>
<!-- Value: replace the function, class, and variable prefixes used. Separate multiple prefixes with a comma. -->
<property name="prefixes" type="array" value="automatically_paginate_posts"/>
<property name="prefixes" type="array" value="automatically_paginate_posts,autopaging"/>
</properties>
</rule>
<rule ref="WordPress.WP.I18n">
......
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment