Skip to content

Commit 788c831

Browse files
Update theme translation, fix link in CONTRIBUTING
1 parent 16bb15a commit 788c831

2 files changed

Lines changed: 77 additions & 55 deletions

File tree

.github/CONTRIBUTING.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,19 +153,18 @@ Localization is a mess:
153153
- If you changed some ACF fields:
154154
[Export all ACF field groups as PHP](http://localhost/wp-admin/edit.php?post_type=acf-field-group&page=acf-tools)
155155
and store them in
156-
[wordpress/wp-content/themes/les-verts/acf-translate.php](wordpress/wp-content/themes/les-verts/acf-translate.php).
156+
[wordpress/wp-content/themes/les-verts/acf-translate.php](/wordpress/wp-content/themes/les-verts/acf-translate.php).
157157
Make sure you don't overwrite the `die();` statement on top.
158-
- Download and install [Poedit Pro](https://poedit.net/pro) on your local machine. You need the pro version because of
159-
twig.
158+
- Download and install [Poedit Pro](https://poedit.net/pro) on your local machine. You need the pro version because of twig.
160159
- Open
161-
[wordpress/wp-content/themes/les-verts/languages/theme.pot](wordpress/wp-content/themes/les-verts/languages/theme.pot)
160+
[wordpress/wp-content/themes/les-verts/languages/theme.pot](/wordpress/wp-content/themes/les-verts/languages/theme.pot)
162161
with Poedit Pro and choose _Update from code_. Save the updated `theme.pot` file.
163162
- Commit the `theme.pot` file and push it to the `dev` branch on github.
164163
- The new strings are pushed to [crowdin](https://crowdin.com/project/2018gruenech) by
165-
the [l10n.yml](.github/workflows/l10n.yml)
164+
the [l10n.yml](/.github/workflows/l10n.yml)
166165
workflow.
167166
- Translate the strings on [crowdin](https://crowdin.com/project/2018gruenech).
168-
- Trigger the [l10n.yml](.github/workflows/l10n.yml) workflow again. This will download the translated strings from
167+
- Trigger the [l10n.yml](/.github/workflows/l10n.yml) workflow again. This will download the translated strings from
169168
[crowdin](https://crowdin.com/project/2018gruenech) and create a new PR with the translated files. If no
170169
translations changed, no PR is created.
171170
- Merge the PR.

wordpress/wp-content/themes/les-verts/languages/theme.pot

Lines changed: 72 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,21 @@
22
msgid ""
33
msgstr ""
44
"Project-Id-Version: Les Verts\n"
5-
"POT-Creation-Date: 2025-07-15 13:27+0200\n"
5+
"POT-Creation-Date: 2026-04-16 14:33+0200\n"
66
"PO-Revision-Date: 2018-11-28 17:49+0100\n"
77
"Last-Translator: Cyrill Bolliger <bolliger@gmx.ch>\n"
88
"Language-Team: Cyrill Bolliger <cyrill.bolliger@gruene.ch>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
1212
"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
13-
"X-Generator: Poedit 3.6\n"
13+
"X-Generator: Poedit 3.9\n"
1414
"X-Poedit-Basepath: ..\n"
1515
"X-Poedit-Flags-xgettext: --add-comments=translators:\n"
1616
"X-Poedit-WPHeader: style.css\n"
1717
"X-Poedit-SourceCharset: UTF-8\n"
18-
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
19-
"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
20-
"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
18+
"X-Poedit-KeywordsList: "
19+
"__;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
2120
"X-Poedit-Mapping: *.php=gettext:PHP;*.twig=twig\n"
2221
"X-Poedit-SearchPath-0: .\n"
2322
"X-Poedit-SearchPathExcluded-0: *.js\n"
@@ -1217,7 +1216,7 @@ msgid ""
12171216
"displayed."
12181217
msgstr ""
12191218

1220-
#: acf-translate.php:4651 acf-translate.php:5372 functions.php:151
1219+
#: acf-translate.php:4651 acf-translate.php:5372 functions.php:154
12211220
msgid "Footer"
12221221
msgstr ""
12231222

@@ -1633,28 +1632,42 @@ msgstr ""
16331632
msgid "Previous events"
16341633
msgstr ""
16351634

1636-
#: functions.php:103
1635+
#: functions.php:106
16371636
msgid "Main navigation"
16381637
msgstr ""
16391638

1640-
#: functions.php:104
1639+
#: functions.php:107
16411640
msgid "Language navigation"
16421641
msgstr ""
16431642

1644-
#: functions.php:105
1643+
#: functions.php:108
16451644
msgid "Footer meta navigation"
16461645
msgstr ""
16471646

1648-
#: functions.php:106
1647+
#: functions.php:109
16491648
msgid "Action button navigation"
16501649
msgstr ""
16511650

1652-
#: functions.php:153
1651+
#: functions.php:156
16531652
msgid ""
16541653
"This is the footer. Use it for your primary calls to action (Button widget), "
16551654
"your contact details (Contact widget) and the footer menu (Link list widget)."
16561655
msgstr ""
16571656

1657+
#: lib/acf/acf-init.php:15 lib/acf/acf-init.php:16
1658+
msgid "Tracking Scripts"
1659+
msgstr ""
1660+
1661+
#: lib/acf/acf-init.php:28
1662+
#, php-format
1663+
msgid "Cookie Banner Text (%s)"
1664+
msgstr ""
1665+
1666+
#: lib/acf/acf-init.php:29
1667+
#, php-format
1668+
msgid "Cookie Banner (%s)"
1669+
msgstr ""
1670+
16581671
#: lib/admin/acf-option-pages.php:21 lib/admin/acf-option-pages.php:22
16591672
msgid "Global Options"
16601673
msgstr ""
@@ -1693,6 +1706,12 @@ msgid ""
16931706
"suggest installing the %sSearchWP%s."
16941707
msgstr ""
16951708

1709+
#: lib/controllers/cookie_banner.php:88
1710+
msgid ""
1711+
"Wir verwenden Tracking-Skripte, um unsere Website zu verbessern und dir "
1712+
"relevante Inhalte anzuzeigen."
1713+
msgstr ""
1714+
16961715
#: lib/controllers/navigation.php:77
16971716
#, php-format
16981717
msgctxt "Example: 21.03.2018: Delegiertenversammlung"
@@ -2628,25 +2647,25 @@ msgid ""
26282647
"("
26292648
msgstr ""
26302649

2631-
#: lib/form/public-api.php:36 lib/form/submission.php:206
2650+
#: lib/form/public-api.php:36 lib/form/submission.php:241
26322651
msgid "Too many requests. Please try again later."
26332652
msgstr ""
26342653

26352654
#: lib/form/submission.php:22
26362655
msgid "Every 10 Minutes"
26372656
msgstr ""
26382657

2639-
#: lib/form/submission.php:354
2658+
#: lib/form/submission.php:389
26402659
#, php-format
26412660
msgid "%s: Invalid value."
26422661
msgstr ""
26432662

2644-
#: lib/form/submission.php:372
2663+
#: lib/form/submission.php:407
26452664
#, php-format
26462665
msgid "%s: Invalid or missing value."
26472666
msgstr ""
26482667

2649-
#: lib/form/submission.php:411
2668+
#: lib/form/submission.php:446
26502669
#, php-format
26512670
msgid "%s: Missing data."
26522671
msgstr ""
@@ -2986,25 +3005,29 @@ msgctxt "facebook, twitter or instagram"
29863005
msgid "Visit us on %s"
29873006
msgstr ""
29883007

2989-
#: templates/molecules/m-form.twig:177
3008+
#: templates/molecules/m-form.twig:161
3009+
msgid "Please leave empty"
3010+
msgstr ""
3011+
3012+
#: templates/molecules/m-form.twig:186
29903013
msgid "Uups, something went wrong!"
29913014
msgstr ""
29923015

2993-
#: templates/molecules/m-form.twig:179
3016+
#: templates/molecules/m-form.twig:188
29943017
msgid ""
29953018
"Sorry, there was an error submitting this form. If the error persists, "
29963019
"please contact us by email."
29973020
msgstr ""
29983021

2999-
#: templates/molecules/m-form.twig:183
3022+
#: templates/molecules/m-form.twig:192
30003023
msgid "Please check input"
30013024
msgstr ""
30023025

3003-
#: templates/molecules/m-form.twig:185
3026+
#: templates/molecules/m-form.twig:194
30043027
msgid "There seems to be an error in your input. Please recheck the fields:"
30053028
msgstr ""
30063029

3007-
#: templates/molecules/m-form.twig:192
3030+
#: templates/molecules/m-form.twig:201
30083031
msgid ""
30093032
"The form that would normally show up here was closed and is therefore not "
30103033
"available."
@@ -3078,36 +3101,36 @@ msgstr ""
30783101
msgid "Less"
30793102
msgstr ""
30803103

3081-
#: templates/molecules/m-share-block.twig:17
3082-
msgid "Share on twitter"
3104+
#: templates/molecules/m-share-block.twig:11
3105+
msgid "Share on Bluesky"
30833106
msgstr ""
30843107

3085-
#: templates/molecules/m-share-block.twig:29
3108+
#: templates/molecules/m-share-block.twig:22
30863109
msgid "Share on facebook"
30873110
msgstr ""
30883111

3089-
#: templates/molecules/m-share-block.twig:40
3112+
#: templates/molecules/m-share-block.twig:33
30903113
msgid "Share on WhatsApp"
30913114
msgstr ""
30923115

3093-
#: templates/molecules/m-share-block.twig:42
3116+
#: templates/molecules/m-share-block.twig:35
30943117
msgid "WhatsApp"
30953118
msgstr ""
30963119

3097-
#: templates/molecules/m-share-block.twig:50
3120+
#: templates/molecules/m-share-block.twig:43
30983121
msgid "Share on Telegram"
30993122
msgstr ""
31003123

3101-
#: templates/molecules/m-share-block.twig:52
3124+
#: templates/molecules/m-share-block.twig:45
31023125
msgid "Telegram"
31033126
msgstr ""
31043127

3105-
#: templates/molecules/m-share-block.twig:61
3128+
#: templates/molecules/m-share-block.twig:54
31063129
msgid "Share by email"
31073130
msgstr ""
31083131

3109-
#: templates/molecules/m-share-block.twig:71
3110-
#: templates/molecules/m-share-block.twig:73
3132+
#: templates/molecules/m-share-block.twig:64
3133+
#: templates/molecules/m-share-block.twig:66
31113134
msgid "Copy link"
31123135
msgstr ""
31133136

@@ -3132,11 +3155,11 @@ msgid "Copy link to this page"
31323155
msgstr ""
31333156

31343157
#: templates/molecules/m-share.twig:26
3135-
msgid "Share this page on twitter"
3158+
msgid "Share this page on facebook"
31363159
msgstr ""
31373160

31383161
#: templates/molecules/m-share.twig:34
3139-
msgid "Share this page on facebook"
3162+
msgid "Share this page on Bluesky"
31403163
msgstr ""
31413164

31423165
#: templates/molecules/m-share.twig:42
@@ -3156,6 +3179,23 @@ msgctxt "A vote proposal is the subject"
31563179
msgid "More about this subject"
31573180
msgstr ""
31583181

3182+
#: templates/organisms/o-cookie-banner.twig:7
3183+
msgid "Datenschutzerklärung"
3184+
msgstr ""
3185+
3186+
#: templates/organisms/o-cookie-banner.twig:13
3187+
msgid "Akzeptieren"
3188+
msgstr ""
3189+
3190+
#: templates/organisms/o-cookie-banner.twig:16
3191+
msgid "Ablehnen"
3192+
msgstr ""
3193+
3194+
#: templates/organisms/o-cookie-banner.twig:20
3195+
#: templates/organisms/o-cookie-banner.twig:22
3196+
msgid "Close banner"
3197+
msgstr ""
3198+
31593199
#: templates/organisms/o-front-article.twig:39
31603200
msgid "Quotation mark"
31613201
msgstr ""
@@ -3199,20 +3239,3 @@ msgstr ""
31993239
#. Template Name of the plugin/theme
32003240
msgid "Overview Page"
32013241
msgstr ""
3202-
3203-
#: templates/organisms/o-cookie-banner.twig:7
3204-
msgid "Datenschutzerklärung"
3205-
msgstr ""
3206-
3207-
#: templates/organisms/o-cookie-banner.twig:13
3208-
msgid "Akzeptieren"
3209-
msgstr ""
3210-
3211-
#: templates/organisms/o-cookie-banner.twig:16
3212-
msgid "Ablehnen"
3213-
msgstr ""
3214-
3215-
#: templates/organisms/o-cookie-banner.twig:20
3216-
#: templates/organisms/o-cookie-banner.twig:22
3217-
msgid "Close banner"
3218-
msgstr ""

0 commit comments

Comments
 (0)