Skip to content

Commit

Permalink
Changed text domain from pronamic_ideal to pronamic-ideal.
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed Jun 1, 2023
1 parent a74adc0 commit a61ad49
Show file tree
Hide file tree
Showing 20 changed files with 15,453 additions and 22,202 deletions.
10 changes: 5 additions & 5 deletions admin/page-about.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@

?>
<div class="wrap about-wrap">
<h1><?php esc_html_e( 'Welcome to Pronamic Pay', 'pronamic_ideal' ); ?></h1>
<h1><?php esc_html_e( 'Welcome to Pronamic Pay', 'pronamic-ideal' ); ?></h1>

<div class="about-text">
<?php

printf(
/* translators: %s: Plugin version number */
esc_html__( 'Thanks for installing Pronamic Pay. Version %s is more powerful, stable and secure than ever before. We hope you enjoy using it.', 'pronamic_ideal' ),
esc_html__( 'Thanks for installing Pronamic Pay. Version %s is more powerful, stable and secure than ever before. We hope you enjoy using it.', 'pronamic-ideal' ),
esc_html( $this->plugin->get_version() )
);

Expand All @@ -42,7 +42,7 @@

printf(
/* translators: %s: Plugin version number */
esc_html__( 'Version: %s', 'pronamic_ideal' ),
esc_html__( 'Version: %s', 'pronamic-ideal' ),
esc_html( $this->plugin->get_version() )
);

Expand All @@ -53,8 +53,8 @@
<?php

$nav_tabs = [
'new' => __( 'What is new?', 'pronamic_ideal' ),
'getting-started' => __( 'Getting started', 'pronamic_ideal' ),
'new' => __( 'What is new?', 'pronamic-ideal' ),
'getting-started' => __( 'Getting started', 'pronamic-ideal' ),
];

// phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Nonce is not necessary because this parameter does not trigger an action.
Expand Down
30 changes: 15 additions & 15 deletions admin/tab-getting-started.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
?>
<div class="feature-section two-col has-2-columns is-fullwidth">
<div class="col column">
<h3><?php esc_html_e( 'Step 1: open an account with a payment provider', 'pronamic_ideal' ); ?></h3>
<h3><?php esc_html_e( 'Step 1: open an account with a payment provider', 'pronamic-ideal' ); ?></h3>

<p>
<?php
Expand All @@ -26,7 +26,7 @@
providers are responsible for the actual processing of transactions. We support most popular Dutch payment
providers and banks, but are not a payment provider ourselves. The Pronamic Pay plugin is the glue between
the chosen payment provider and a wide variety of supported e-commerce plugins.",
'pronamic_ideal'
'pronamic-ideal'
);

?>
Expand All @@ -38,8 +38,8 @@

printf(
'» <a href="%1$s" title="%2$s">%2$s</a>',
esc_url( $this->plugin->tracking_module->get_tracking_url( __( 'https://www.pronamic.eu/payment-providers/', 'pronamic_ideal' ) ) ),
esc_html__( 'View supported payment providers', 'pronamic_ideal' )
esc_url( $this->plugin->tracking_module->get_tracking_url( __( 'https://www.pronamic.eu/payment-providers/', 'pronamic-ideal' ) ) ),
esc_html__( 'View supported payment providers', 'pronamic-ideal' )
);

?>
Expand All @@ -57,15 +57,15 @@
</div>

<div class="col column">
<h3><?php esc_html_e( 'Step 2: add payment provider configuration', 'pronamic_ideal' ); ?></h3>
<h3><?php esc_html_e( 'Step 2: add payment provider configuration', 'pronamic-ideal' ); ?></h3>

<p>
<?php

esc_html_e(
'Create a new configuration via Pay » Configurations » Add new. The account details to use
are provided by the payment provider via e-mail or through a dashboard.',
'pronamic_ideal'
'pronamic-ideal'
);

?>
Expand All @@ -77,7 +77,7 @@
esc_html_e(
'Some payment providers need additional setup to receive automatic payment status updates in WordPress. Please
see the "Transaction Feedback" tab of the configuration for details.',
'pronamic_ideal'
'pronamic-ideal'
);

?>
Expand All @@ -96,7 +96,7 @@
admin_url( 'post-new.php' )
)
),
esc_html__( 'Add new payment provider configuration', 'pronamic_ideal' )
esc_html__( 'Add new payment provider configuration', 'pronamic-ideal' )
);

?>
Expand All @@ -106,7 +106,7 @@

<div class="feature-section two-col has-2-columns is-fullwidth">
<div class="col column">
<h3><?php esc_html_e( 'Step 3: test configuration', 'pronamic_ideal' ); ?></h3>
<h3><?php esc_html_e( 'Step 3: test configuration', 'pronamic-ideal' ); ?></h3>

<p>
<?php
Expand All @@ -116,7 +116,7 @@
settings box can be used to test the configuration. You can choose from various payment methods (depending on the
payment provider) and enter an amount for the payment. The configuration is working properly if you are redirected to a
screen that mentions the same amount.',
'pronamic_ideal'
'pronamic-ideal'
);

?>
Expand All @@ -128,7 +128,7 @@
esc_html_e(
'Testing different amounts might be mandatory for your payment provider. If so, an additional box with
amounts will be shown. You need to test all these amounts before your live account will be activated by the payment provider.',
'pronamic_ideal'
'pronamic-ideal'
);

?>
Expand All @@ -146,7 +146,7 @@
</div>

<div class="col column">
<h3><?php esc_html_e( 'Step 4: configure e-commerce plugin', 'pronamic_ideal' ); ?></h3>
<h3><?php esc_html_e( 'Step 4: configure e-commerce plugin', 'pronamic-ideal' ); ?></h3>

<p>
<?php
Expand All @@ -155,7 +155,7 @@
'To actually use the configuration to receive payments, you need to configure your e-commerce
plugin. Many popular e-commerce plugins are supported. These plugins usually have their own payment settings
page, where you choose which configuration to use in the payment methods that are provided by the Pronamic Pay plugin.',
'pronamic_ideal'
'pronamic-ideal'
);

?>
Expand All @@ -166,8 +166,8 @@

printf(
'» <a href="%1$s" title="%2$s">%2$s</a>',
esc_url( $this->plugin->tracking_module->get_tracking_url( __( 'https://www.pronamic.eu/plugins/pronamic-pay/', 'pronamic_ideal' ) ) ),
esc_html__( 'View supported e-commerce plugins', 'pronamic_ideal' )
esc_url( $this->plugin->tracking_module->get_tracking_url( __( 'https://www.pronamic.eu/plugins/pronamic-pay/', 'pronamic-ideal' ) ) ),
esc_html__( 'View supported e-commerce plugins', 'pronamic-ideal' )
);

?>
Expand Down
24 changes: 12 additions & 12 deletions admin/tab-new.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
?>
<div class="feature-section two-col has-2-columns is-fullwidth">
<div class="col column">
<h3><?php esc_html_e( 'New Logo', 'pronamic_ideal' ); ?></h3>
<h3><?php esc_html_e( 'New Logo', 'pronamic-ideal' ); ?></h3>

<p>
<?php

esc_html_e(
'With the newest 5.8 version of Pronamic Pay we’re introducing a totally new brand identity. Just as our Pronamic logo we’re using the letter ‘P’, from Pay, as a recognition point. Our new colors yellow and blue are supporting the sector. Yellow stands for prosperity and gold. Blue stands for safety and our Dutch roots.',
'pronamic_ideal'
'pronamic-ideal'
);

?>
Expand All @@ -33,15 +33,15 @@

esc_html_e(
'With this new identity we are trying to create a uniform and recognizable brand for the future. Our new brand logo and identity is visible when you visit our WordPress plugin page. Also, after updating to version 5.8, a new WordPress admin icon is shown.',
'pronamic_ideal'
'pronamic-ideal'
);

?>
</p>
</div>

<div class="col column">
<img src="<?php echo esc_url( __( 'https://www.wp-pay.org/wp-content/uploads/2019/10/pronamic-pay-5.8-update-banner-en.png', 'pronamic_ideal' ) ); ?>" alt="" />
<img src="<?php echo esc_url( __( 'https://www.wp-pay.org/wp-content/uploads/2019/10/pronamic-pay-5.8-update-banner-en.png', 'pronamic-ideal' ) ); ?>" alt="" />
</div>
</div>

Expand All @@ -51,14 +51,14 @@
</div>

<div class="col column">
<h3><?php esc_html_e( 'WordPress Health Status', 'pronamic_ideal' ); ?></h3>
<h3><?php esc_html_e( 'WordPress Health Status', 'pronamic-ideal' ); ?></h3>

<p>
<?php

esc_html_e(
'WordPress version 5.2 introduced the WordPress Health Status page. We’ve migrated our Pronamic Pay status page and combined it with the new WordPress Health Status page. You can find the new page in your dashboard under ‘Tools’ » ‘Site Health’.',
'pronamic_ideal'
'pronamic-ideal'
);

?>
Expand All @@ -68,14 +68,14 @@

<div class="feature-section two-col has-2-columns is-fullwidth">
<div class="col column">
<h3><?php esc_html_e( 'Rabobank - OmniKassa 2.0', 'pronamic_ideal' ); ?></h3>
<h3><?php esc_html_e( 'Rabobank - OmniKassa 2.0', 'pronamic-ideal' ); ?></h3>

<p>
<?php

esc_html_e(
'We’ve enhanced the ‘Order ID’ reference that our plugin communicates and gives back to OmniKassa 2.0. The length of the payment reference is increased from 10 to 24 characters. Our plugin monitor reads the given ‘Order ID’ and checks if it answers the OmniKassa 2.0 demands. The reference field may only contain alphanumeric characters (a-z, A-Z, 0-9). Other characters, for example ‘.’, ‘@’, ‘_’, are not allowed.',
'pronamic_ideal'
'pronamic-ideal'
);

?>
Expand All @@ -93,14 +93,14 @@
</div>

<div class="col column">
<h3><?php esc_html_e( 'Gravity Forms', 'pronamic_ideal' ); ?></h3>
<h3><?php esc_html_e( 'Gravity Forms', 'pronamic-ideal' ); ?></h3>

<p>
<?php

esc_html_e(
'Support for the Gravity Forms plugin within a WordPress multisite is enhanced. Our Gravity Forms extension is not loaded if Gravity Forms is not activated in one of the network sites. We’ve also updated the Gravity Forms internationalisation. The text strings in our extension are now better translatable, even if your WordPress site uses a Right-to-Left text direction.',
'pronamic_ideal'
'pronamic-ideal'
);

?>
Expand All @@ -110,14 +110,14 @@

<div class="feature-section two-col has-2-columns is-fullwidth">
<div class="col column">
<h3><?php esc_html_e( 'Restrict Content Pro', 'pronamic_ideal' ); ?></h3>
<h3><?php esc_html_e( 'Restrict Content Pro', 'pronamic-ideal' ); ?></h3>

<p>
<?php

esc_html_e(
'The team of Sandhills Development, the developers behind Restrict Content Pro are very active. Version 3.0 of their plugin is released in february 2019. With this 3.0 release we needed to update our support for the plugin. Sadly some new features in Restrict Content Pro 3.0 weren’t backwards compatible. Therefore we needed to rewrite some elements of our extension. The biggest improvement within Restrict Content Pro 3.0 regards the membership renewal process. After a recurring payment is created a membership is instantly extended. Previously this would only happen after a payment was successful, this process could take up to 5 days. Now if a payment fails or expires the membership will temporarily stop and will get the ‘pending’ status.',
'pronamic_ideal'
'pronamic-ideal'
);

?>
Expand Down
25 changes: 8 additions & 17 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@
"bamarni/composer-bin-plugin": true,
"composer/installers": true,
"automattic/jetpack-autoloader": true
}
},
"wp-slug": "pronamic-ideal"
},
"require": {
"php": ">=7.4",
Expand Down Expand Up @@ -117,32 +118,22 @@
}
},
"scripts": {
"build": [
"@generate-readme",
"@translate",
"rm -rf ./build/",
"mkdir ./build/",
"mkdir ./build/plugin/",
"rsync --recursive --delete --exclude-from=.pronamic-build-ignore ./ ./build/plugin/",
"composer install --no-dev --prefer-dist --optimize-autoloader --working-dir=./build/plugin/",
"vendor/bin/wp package path wp-cli/dist-archive-command || vendor/bin/wp package install wp-cli/dist-archive-command",
"vendor/bin/wp dist-archive ./build/plugin/ --plugin-dirname=pronamic-ideal",
"vendor/bin/wp dist-archive ./build/plugin/ ./build/pronamic-ideal.zip --plugin-dirname=pronamic-ideal"
"build": "vendor/bin/pronamic wp-build",
"translate": [
"@build",
"rsync --recursive --delete --verbose ./build/project/languages/ ./languages/",
"@update-po"
],
"version": [
"@build"
],
"translate": [
"@make-pot",
"@update-po"
],
"coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover build/logs/clover.xml --coverage-text",
"coverage-clover": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-clover build/logs/clover.xml",
"coverage-html": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-html build/coverage-html",
"coverage-text": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text",
"coveralls": "vendor/bin/php-coveralls -v",
"phpcbf": "XDEBUG_MODE=off vendor/bin/phpcbf",
"phpcs": "XDEBUG_MODE=off vendor/bin/phpcs -s -v",
"phpcs": "XDEBUG_MODE=off vendor/bin/phpcs -s -v --ignore=packages,build",
"phplint": "find src tests -name '*.php' | xargs -n 1 -P 4 php -l",
"phpmd": "vendor/bin/phpmd src,tests text phpmd.ruleset.xml --suffixes php",
"phpstan": "XDEBUG_MODE=off vendor/bin/phpstan analyse --memory-limit=-1",
Expand Down
File renamed without changes.
Loading

0 comments on commit a61ad49

Please sign in to comment.