Skip to content

Commit

Permalink
Merge pull request #9 from grueneschweiz/dev
Browse files Browse the repository at this point in the history
* Added french translations (props to @vdrouotmecom)
* Fix: preselection of the second donation value in TAMARO widget
  • Loading branch information
cyrillbolliger authored Mar 19, 2021
2 parents 6b22be6 + 0e2d817 commit 4132df1
Show file tree
Hide file tree
Showing 6 changed files with 227 additions and 9 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# RaiseNow donation forms #
**Contributors:** [cyrillbolliger](https://profiles.wordpress.org/cyrillbolliger), [phil8900](https://github.com/phil8900/)
**Contributors:** [cyrillbolliger](https://profiles.wordpress.org/cyrillbolliger), [phil8900](https://github.com/phil8900/), [vdrouotmecom](https://wordpress.org/support/users/vdrouotmecom/)
**Tags:** donations, raisenow, fundraising
**Requires at least:** 4.9
**Tested up to:** 5.6.0
**Stable tag:** 1.4.0
**License:** GPLv2 or later
**Tested up to:** 5.6.0
**Stable tag:** 1.4.1
**License:** GPLv2 or later
**License URI:** https://www.gnu.org/licenses/gpl-2.0.html

Add configurable RaiseNow donation forms using shortcode.
Expand All @@ -28,6 +28,9 @@ Same as any other standard WordPress plugin.

## Changelog ##

### 1.4.1 ###
* French translations. Many thanks to [@vdrouotmecom](https://wordpress.org/support/users/vdrouotmecom/) for contributing them.

### 1.4.0 ###
* Support to customize amounts with TAMARO widget
* Minor improvements
Expand Down Expand Up @@ -80,4 +83,4 @@ docker-compose logs wordpress
Please refer to the [Docker Compose documentation][docker-compose] for more
information about starting, stopping, and interacting with your environment.

Log in to `/wp-admin/` with **Username** `wordpress` and **Password** `wordpress`.
Log in to `/wp-admin/` with **Username** `wordpress` and **Password** `wordpress`.
1 change: 1 addition & 0 deletions includes/class-raisenow-community-frontend.php
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ private function amounts_js_tamaro( $one_time, $recurring ) {
"then": [{$recurring_amounts_strings['yearly']}],
},
],
defaultAmount: {$one_time[2]},
});
}
EOJS;
Expand Down
Binary file added languages/raisenow-community-fr_FR.mo
Binary file not shown.
211 changes: 211 additions & 0 deletions languages/raisenow-community-fr_FR.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
# Copyright (C) 2018 Cyrill Bolliger | Grüne Schweiz | Les verts suisses
# This file is distributed under the same license as the RaiseNow donation forms package.
msgid ""
msgstr ""
"Project-Id-Version: RaiseNow donation forms 1.0.0\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/raisenow-"
"community\n"
"POT-Creation-Date: 2020-12-14 11:29+0100\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"PO-Revision-Date: 2021-03-19 15:37+0100\n"
"Language-Team: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\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-Textdomain-Support: yes\n"
"X-Generator: Poedit 2.4.2\n"
"Last-Translator: \n"
"Language: fr_FR\n"
"X-Poedit-SearchPath-0: .\n"

#: admin/configuration-warning.php:4
#, php-format
msgid "You need to have a contract with %s."
msgstr "Vous devez au préalable avoir établie un contrat avec %s."

#: admin/configuration-warning.php:12
#, php-format
msgctxt "HTML link tag to the settings page"
msgid ""
"Missing API key. Add the API key you received from RaiseNow to your %splugin "
"settings%s."
msgstr ""
"La clé API est manquante. Indiquez dans les %sréglages du plugin%s votre clé "
"API que RaiseNow vous a communiqué."

#: admin/configuration-warning.php:19
msgid "Missing api key. Please contact site administrator."
msgstr "Votre clé API est manquante. Contactez l’administrateur de votre site."

#: admin/options.php:2
msgid "Online donation options"
msgstr "Options de donation en ligne"

#: admin/short-code-generator.php:12
msgid "Language"
msgstr "Langues"

#: admin/short-code-generator.php:14
msgid "Choose language for the donation form"
msgstr "Choisissez la langue affichée pour le formulaire de dons"

#: admin/short-code-generator.php:21
msgid "German"
msgstr "Allemand"

#: admin/short-code-generator.php:24
msgid "French"
msgstr "Français"

#: admin/short-code-generator.php:27
msgid "English"
msgstr "Anglais"

#: admin/short-code-generator.php:32
msgid "Amounts"
msgstr "Montants"

#: admin/short-code-generator.php:33
msgid "One Time Donations"
msgstr "Don instantané"

#: admin/short-code-generator.php:34
msgid ""
"Set the predefined amounts for one time donations in CHF. Field 2 will be "
"preselected."
msgstr ""
"Indiquez les montants prédéfinis pour les dons instantanés en francs suisses "
"CHF. Le champ 2 sera présélectionné."

#: admin/short-code-generator.php:37 admin/short-code-generator.php:83
msgid "Field 1"
msgstr "Champ 1"

#: admin/short-code-generator.php:48 admin/short-code-generator.php:94
msgid "Field 2"
msgstr "Champ 2"

#: admin/short-code-generator.php:59 admin/short-code-generator.php:105
msgid "Field 3"
msgstr "Champ 3"

#: admin/short-code-generator.php:70 admin/short-code-generator.php:116
msgid "Field 4"
msgstr "Champ 4"

#: admin/short-code-generator.php:79
msgid "Recurring Donations"
msgstr "Dons récurrents"

#: admin/short-code-generator.php:80
msgid ""
"Set the predefined amounts for recurring donations in CHF. Field 2 will be "
"preselected."
msgstr ""
"Indiquez les montants prédéfinis pour les dons en francs suisses CHF. Le "
"champ 2 sera présélectionné."

#: admin/short-code-generator.php:128
msgid "Insert shortcode"
msgstr "Insérer le shortcode"

#: includes/class-raisenow-community-admin.php:24
#: includes/class-raisenow-community-admin.php:26
msgid "Insert Donation Form"
msgstr "Insérer le formulaire de don"

#: includes/class-raisenow-community-frontend.php:81
#, php-format
msgctxt "HTML link tag to the settings page"
msgid ""
"Donation form: Missing api key. Add the API key you received from RaiseNow "
"to your %splugin settings%s."
msgstr ""
"Formulaire de don : Clé API manquante. Ajoutez votre clé API que RaiseNow "
"vous a envoyé dans les %sréglages de votre plugin%s."

#: includes/class-raisenow-community-frontend.php:86
msgid "Donation form: Missing api key. Please contact site administrator."
msgstr ""
"Formulaire de don : Votre clé API est manquante. Contactez l’administrateur "
"de votre site."

#: includes/class-raisenow-community-frontend.php:94
#, php-format
msgid ""
"Donation form: Unknown language key in shortcode. Accepted values are %1$s. "
"Shortcode must have the form: %2$s"
msgstr ""
"Formulaire de don : Langue inconnue dans le shortcode. Les valeurs acceptées "
"sont %1$s. Le shortcode doit avoir la forme suivante : %2$s"

#: includes/class-raisenow-community-frontend.php:99
msgid ""
"Donation form: Invalid language setting. Please contact site administrator."
msgstr ""
"Formulaire de don : La réglage de la langue sont invalides. Contactez "
"l’administrateur de votre site."

#: includes/class-raisenow-community-options.php:25
msgid "Customize donation form"
msgstr "Personnaliser le formulaire de don"

#: includes/class-raisenow-community-options.php:32
msgid "API key"
msgstr "Clé API"

#: includes/class-raisenow-community-options.php:38
msgid "Enter your RaiseNow API key."
msgstr "Indiquez votre clé API de RaiseNow."

#: includes/class-raisenow-community-options.php:44
msgid "Widget type"
msgstr "Type de Widget"

#: includes/class-raisenow-community-options.php:50
msgid ""
"Select your RaiseNow widget type. Check the onboarding email of RaiseNow to "
"find out which widget type you should choose."
msgstr ""
"Sélectionnez votre type de Widget. Vérifiez dans l’email d’introduction que "
"vous avez reçu de la part de RaiseNow pour connaitre quel est le bon type de "
"Widget vous pouvez choisir."

#: includes/class-raisenow-community-options.php:56
msgid "Custom script"
msgstr "Code JavaScript personnalisé"

#: includes/class-raisenow-community-options.php:62
msgid "Enter your javascript below. It will be applied to all donation forms."
msgstr ""
"Insérez votre code JavaScript ci-dessous. Il sera appliqué à tous les "
"formulaires de don."

#: includes/class-raisenow-community-options.php:71
msgid "Custom css"
msgstr "Code CSS personnalisé"

#: includes/class-raisenow-community-options.php:77
msgid "Enter your custom css below. It will be applied to all donation forms."
msgstr ""
"Insérez votre code CSS ci-dessous. Il sera appliqué à tous les formulaires "
"de don."

#: includes/class-raisenow-community-options.php:86
msgid "Use the options below to customize your donation form."
msgstr ""
"Utilisez les options ci-dessous afin de personnaliser votre formulaire de "
"don."

#: raisenow-community.php:130 raisenow-community.php:131
msgid "Online donations"
msgstr "Don en ligne"

#: raisenow-community.php:144
msgid "You do not have sufficient permissions to access this page."
msgstr "Vous n’avez pas les droits nécessaires pour visualiser cette page."
4 changes: 2 additions & 2 deletions raisenow-community.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* Author URI: https://github.com/cyrillbolliger
* Text Domain: raisenow-community
* Domain Path: /languages
* Version: 1.4.0
* Version: 1.4.1
*
* @package Raisenow_Community
*/
Expand All @@ -25,7 +25,7 @@
/**
* version number (don't forget to change it also in the header)
*/
define( 'RAISENOW_COMMUNITY_VERSION', '1.4.0' );
define( 'RAISENOW_COMMUNITY_VERSION', '1.4.1' );

/**
* plugin prefix
Expand Down
7 changes: 5 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
=== RaiseNow donation forms ===
Contributors: cyrillbolliger, phil8900
Contributors: cyrillbolliger, phil8900, vdrouotmecom
Tags: donations, raisenow, fundraising
Requires at least: 4.9
Tested up to: 5.6.0
Stable tag: 1.4.0
Stable tag: 1.4.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -32,6 +32,9 @@ Same as any other standard WordPress plugin.

== Changelog ==

= 1.4.1 =
* French translations. Many thanks to [@vdrouotmecom](https://wordpress.org/support/users/vdrouotmecom/) for contributing them.

= 1.4.0 =
* Support to customize amounts with TAMARO widget
* Minor improvements
Expand Down

0 comments on commit 4132df1

Please sign in to comment.