Skip to content

Commit

Permalink
Extract strings
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Dec 6, 2023
1 parent 800148f commit 367be5a
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 49 deletions.
44 changes: 21 additions & 23 deletions lang/paypal.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-07-04 09:11+0200\n"
"POT-Creation-Date: 2023-12-06 08:23+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand All @@ -17,52 +17,52 @@ msgstr ""
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"

#: ../lib/GalettePaypal/Controllers/PaypalController.php:89
#: ../lib/GalettePaypal/Controllers/PaypalController.php:90
msgid "Paypal payment"
msgstr ""

#: ../lib/GalettePaypal/Controllers/PaypalController.php:100
#: ../lib/GalettePaypal/Controllers/PaypalController.php:101
msgid ""
"<strong>Payment could not work</strong>: An error occurred (that has been "
"logged) while loading Paypal preferences from database.<br/>Please report "
"the issue to the staff."
msgstr ""

#: ../lib/GalettePaypal/Controllers/PaypalController.php:101
#: ../lib/GalettePaypal/Controllers/PaypalController.php:102
msgid "Our apologies for the annoyance :("
msgstr ""

#: ../lib/GalettePaypal/Controllers/PaypalController.php:108
#: ../lib/GalettePaypal/Controllers/PaypalController.php:109
msgid ""
"Paypal id has not been defined. Please ask an administrator to add it from "
"plugin preferences."
msgstr ""

#: ../lib/GalettePaypal/Controllers/PaypalController.php:115
#: ../lib/GalettePaypal/Controllers/PaypalController.php:116
msgid "Predefined amounts cannot be loaded, that is not a critical error."
msgstr ""

#: ../lib/GalettePaypal/Controllers/PaypalController.php:227
#: ../lib/GalettePaypal/Controllers/PaypalController.php:228
msgid "Paypal Settings"
msgstr ""

#: ../lib/GalettePaypal/Controllers/PaypalController.php:271
#: ../lib/GalettePaypal/Controllers/PaypalController.php:272
msgid "Paypal preferences has been saved."
msgstr ""

#: ../lib/GalettePaypal/Controllers/PaypalController.php:277
#: ../lib/GalettePaypal/Controllers/PaypalController.php:278
msgid "An error occurred saving paypal preferences :("
msgstr ""

#: ../lib/GalettePaypal/Controllers/PaypalController.php:299
#: ../lib/GalettePaypal/Controllers/PaypalController.php:300
msgid "Your payment has been aborted!"
msgstr ""

#: ../lib/GalettePaypal/Controllers/PaypalController.php:324
#: ../lib/GalettePaypal/Controllers/PaypalController.php:325
msgid "Paypal payment success"
msgstr ""

#: ../lib/GalettePaypal/Controllers/PaypalController.php:330
#: ../lib/GalettePaypal/Controllers/PaypalController.php:331
msgid "Your payment has been proceeded!"
msgstr ""

Expand All @@ -71,12 +71,10 @@ msgid "Paypal"
msgstr ""

#: ../lib/GalettePaypal/PluginGalettePaypal.php:75
#: ../lib/GalettePaypal/PluginGalettePaypal.php:76
msgid "Paypal History"
msgstr ""

#: ../lib/GalettePaypal/PluginGalettePaypal.php:104
#: ../lib/GalettePaypal/PluginGalettePaypal.php:105
#: ../lib/GalettePaypal/PluginGalettePaypal.php:102
msgid "Payment form"
msgstr ""

Expand Down Expand Up @@ -108,36 +106,36 @@ msgstr ""
msgid "Error: no predefined amounts found."
msgstr ""

#: ../tempcache/paypal_form.html.twig:67
#: ../tempcache/paypal_form.html.twig:66
msgid "Enter payment reason"
msgstr ""

#: ../tempcache/paypal_form.html.twig:74
#: ../tempcache/paypal_form.html.twig:73
msgid "Payment reason"
msgstr ""

#: ../tempcache/paypal_form.html.twig:81
#: ../tempcache/paypal_form.html.twig:80
msgid "Select an payment reason"
msgstr ""

#: ../tempcache/paypal_form.html.twig:177
#: ../tempcache/paypal_form.html.twig:176
msgid "Payment reason:"
msgstr ""

#: ../tempcache/paypal_form.html.twig:194
#: ../tempcache/paypal_form.html.twig:193
msgid "No predefined amounts have been configured yet."
msgstr ""

#: ../tempcache/paypal_form.html.twig:269
#: ../tempcache/paypal_form.html.twig:268
#, php-format
msgid "Go back to %s's website to complete your inscription."
msgstr ""

#: ../tempcache/paypal_form.html.twig:314
#: ../tempcache/paypal_form.html.twig:312
msgid "Please enter an amount."
msgstr ""

#: ../tempcache/paypal_form.html.twig:320
#: ../tempcache/paypal_form.html.twig:318
msgid ""
"The amount you've entered is lower than the minimum amount for the selected "
"option.\n"
Expand Down
50 changes: 24 additions & 26 deletions lang/paypal_en_US.po
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# English translations for PACKAGE package.
# Copyright (C) 2022 THE PACKAGE'S COPYRIGHT HOLDER
# Copyright (C) 2023 THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# Automatically generated, 2022.
# Automatically generated, 2023.
#
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-07-04 09:11+0200\n"
"PO-Revision-Date: 2022-07-04 09:11+0200\n"
"POT-Creation-Date: 2023-12-06 08:23+0100\n"
"PO-Revision-Date: 2023-12-06 08:23+0100\n"
"Last-Translator: Automatically generated\n"
"Language-Team: none\n"
"Language: en_US\n"
Expand All @@ -17,11 +17,11 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

#: ../lib/GalettePaypal/Controllers/PaypalController.php:89
#: ../lib/GalettePaypal/Controllers/PaypalController.php:90
msgid "Paypal payment"
msgstr "Paypal payment"

#: ../lib/GalettePaypal/Controllers/PaypalController.php:100
#: ../lib/GalettePaypal/Controllers/PaypalController.php:101
msgid ""
"<strong>Payment could not work</strong>: An error occurred (that has been "
"logged) while loading Paypal preferences from database.<br/>Please report "
Expand All @@ -31,43 +31,43 @@ msgstr ""
"logged) while loading Paypal preferences from database.<br/>Please report "
"the issue to the staff."

#: ../lib/GalettePaypal/Controllers/PaypalController.php:101
#: ../lib/GalettePaypal/Controllers/PaypalController.php:102
msgid "Our apologies for the annoyance :("
msgstr "Our apologies for the annoyance :("

#: ../lib/GalettePaypal/Controllers/PaypalController.php:108
#: ../lib/GalettePaypal/Controllers/PaypalController.php:109
msgid ""
"Paypal id has not been defined. Please ask an administrator to add it from "
"plugin preferences."
msgstr ""
"Paypal id has not been defined. Please ask an administrator to add it from "
"plugin preferences."

#: ../lib/GalettePaypal/Controllers/PaypalController.php:115
#: ../lib/GalettePaypal/Controllers/PaypalController.php:116
msgid "Predefined amounts cannot be loaded, that is not a critical error."
msgstr "Predefined amounts cannot be loaded, that is not a critical error."

#: ../lib/GalettePaypal/Controllers/PaypalController.php:227
#: ../lib/GalettePaypal/Controllers/PaypalController.php:228
msgid "Paypal Settings"
msgstr "Paypal Settings"

#: ../lib/GalettePaypal/Controllers/PaypalController.php:271
#: ../lib/GalettePaypal/Controllers/PaypalController.php:272
msgid "Paypal preferences has been saved."
msgstr "Paypal preferences has been saved."

#: ../lib/GalettePaypal/Controllers/PaypalController.php:277
#: ../lib/GalettePaypal/Controllers/PaypalController.php:278
msgid "An error occurred saving paypal preferences :("
msgstr "An error occurred saving paypal preferences :("

#: ../lib/GalettePaypal/Controllers/PaypalController.php:299
#: ../lib/GalettePaypal/Controllers/PaypalController.php:300
msgid "Your payment has been aborted!"
msgstr "Your payment has been aborted!"

#: ../lib/GalettePaypal/Controllers/PaypalController.php:324
#: ../lib/GalettePaypal/Controllers/PaypalController.php:325
msgid "Paypal payment success"
msgstr "Paypal payment success"

#: ../lib/GalettePaypal/Controllers/PaypalController.php:330
#: ../lib/GalettePaypal/Controllers/PaypalController.php:331
msgid "Your payment has been proceeded!"
msgstr "Your payment has been proceeded!"

Expand All @@ -76,12 +76,10 @@ msgid "Paypal"
msgstr "Paypal"

#: ../lib/GalettePaypal/PluginGalettePaypal.php:75
#: ../lib/GalettePaypal/PluginGalettePaypal.php:76
msgid "Paypal History"
msgstr "Paypal History"

#: ../lib/GalettePaypal/PluginGalettePaypal.php:104
#: ../lib/GalettePaypal/PluginGalettePaypal.php:105
#: ../lib/GalettePaypal/PluginGalettePaypal.php:102
msgid "Payment form"
msgstr "Payment form"

Expand Down Expand Up @@ -117,36 +115,36 @@ msgstr ""
msgid "Error: no predefined amounts found."
msgstr "Error: no predefined amounts found."

#: ../tempcache/paypal_form.html.twig:67
#: ../tempcache/paypal_form.html.twig:66
msgid "Enter payment reason"
msgstr "Enter payment reason"

#: ../tempcache/paypal_form.html.twig:74
#: ../tempcache/paypal_form.html.twig:73
msgid "Payment reason"
msgstr "Payment reason"

#: ../tempcache/paypal_form.html.twig:81
#: ../tempcache/paypal_form.html.twig:80
msgid "Select an payment reason"
msgstr "Select an payment reason"

#: ../tempcache/paypal_form.html.twig:177
#: ../tempcache/paypal_form.html.twig:176
msgid "Payment reason:"
msgstr "Payment reason:"

#: ../tempcache/paypal_form.html.twig:194
#: ../tempcache/paypal_form.html.twig:193
msgid "No predefined amounts have been configured yet."
msgstr "No predefined amounts have been configured yet."

#: ../tempcache/paypal_form.html.twig:269
#: ../tempcache/paypal_form.html.twig:268
#, php-format
msgid "Go back to %s's website to complete your inscription."
msgstr "Go back to %s's website to complete your inscription."

#: ../tempcache/paypal_form.html.twig:314
#: ../tempcache/paypal_form.html.twig:312
msgid "Please enter an amount."
msgstr "Please enter an amount."

#: ../tempcache/paypal_form.html.twig:320
#: ../tempcache/paypal_form.html.twig:318
msgid ""
"The amount you've entered is lower than the minimum amount for the selected "
"option.\n"
Expand Down

0 comments on commit 367be5a

Please sign in to comment.