From 8db135f8d1b20c07c97b33eb6e9372badd46e0d1 Mon Sep 17 00:00:00 2001 From: Irshad Ahmad Date: Thu, 28 Nov 2024 11:26:58 +0530 Subject: [PATCH] Prepare for next release (#209) --- .changeset/forty-bikes-rhyme.md | 5 - .changeset/nervous-seahorses-allow.md | 5 - plugins/wptelegram-comments/package.json | 24 ++- plugins/wptelegram-login/package.json | 16 +- plugins/wptelegram-widget/CHANGELOG.md | 6 + plugins/wptelegram-widget/README.md | 2 +- plugins/wptelegram-widget/composer.json | 2 +- plugins/wptelegram-widget/package.json | 18 +- plugins/wptelegram-widget/src/admin/Admin.php | 2 +- .../src/languages/wptelegram-widget-de_DE.po | 174 ++++++++--------- .../wptelegram-widget-js-translations.php | 2 +- .../src/languages/wptelegram-widget-ru_RU.po | 174 ++++++++--------- .../src/languages/wptelegram-widget.pot | 178 +++++++++--------- plugins/wptelegram-widget/src/readme.txt | 6 +- .../src/wptelegram-widget.php | 4 +- plugins/wptelegram/package.json | 16 +- tools/vite-wp-react/CHANGELOG.md | 6 + tools/vite-wp-react/package.json | 37 +++- 18 files changed, 368 insertions(+), 309 deletions(-) delete mode 100644 .changeset/forty-bikes-rhyme.md delete mode 100644 .changeset/nervous-seahorses-allow.md diff --git a/.changeset/forty-bikes-rhyme.md b/.changeset/forty-bikes-rhyme.md deleted file mode 100644 index c44d5626..00000000 --- a/.changeset/forty-bikes-rhyme.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@wpsocio/vite-wp-react": patch ---- - -Added support for Vite 6 diff --git a/.changeset/nervous-seahorses-allow.md b/.changeset/nervous-seahorses-allow.md deleted file mode 100644 index 0eb415b8..00000000 --- a/.changeset/nervous-seahorses-allow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wptelegram-widget": patch ---- - -Added multi-group support for legacy widget via custom code diff --git a/plugins/wptelegram-comments/package.json b/plugins/wptelegram-comments/package.json index 6a1d6bd2..bd9d4ff0 100644 --- a/plugins/wptelegram-comments/package.json +++ b/plugins/wptelegram-comments/package.json @@ -17,7 +17,13 @@ "bugs": { "url": "https://github.com/wpsocio/wp-projects/issues" }, - "keywords": ["telegram", "comments", "discuss", "social", "widget"], + "keywords": [ + "telegram", + "comments", + "discuss", + "social", + "widget" + ], "type": "module", "scripts": { "dev": "vite --port=5003", @@ -66,7 +72,9 @@ ] }, { - "paths": ["src/assets/build/dev-server.json"], + "paths": [ + "src/assets/build/dev-server.json" + ], "rules": [ { "value": "NOT_EXISTS" @@ -78,15 +86,21 @@ "wireit": { "build": { "command": "vite build && pnpm run validate-build", - "output": ["src/assets/build"] + "output": [ + "src/assets/build" + ] }, "setup:php": { "command": "composer install", - "dependencies": ["unset-vendor-dir"] + "dependencies": [ + "unset-vendor-dir" + ] }, "setup:php:prod": { "command": "composer install --no-dev && pnpm run unset-vendor-dir", - "dependencies": ["set-prod-vendor"] + "dependencies": [ + "set-prod-vendor" + ] }, "set-prod-vendor": { "command": "composer config vendor-dir src/vendor" diff --git a/plugins/wptelegram-login/package.json b/plugins/wptelegram-login/package.json index 43a6d0ec..9b5a11bc 100644 --- a/plugins/wptelegram-login/package.json +++ b/plugins/wptelegram-login/package.json @@ -72,7 +72,9 @@ ] }, { - "paths": ["src/assets/build/dev-server.json"], + "paths": [ + "src/assets/build/dev-server.json" + ], "rules": [ { "value": "NOT_EXISTS" @@ -84,15 +86,21 @@ "wireit": { "build": { "command": "vite build && pnpm run validate-build", - "output": ["src/assets/build"] + "output": [ + "src/assets/build" + ] }, "setup:php": { "command": "composer install --ignore-platform-reqs", - "dependencies": ["unset-vendor-dir"] + "dependencies": [ + "unset-vendor-dir" + ] }, "setup:php:prod": { "command": "composer install --no-dev && pnpm run unset-vendor-dir", - "dependencies": ["set-prod-vendor"] + "dependencies": [ + "set-prod-vendor" + ] }, "set-prod-vendor": { "command": "composer config vendor-dir src/vendor" diff --git a/plugins/wptelegram-widget/CHANGELOG.md b/plugins/wptelegram-widget/CHANGELOG.md index 910c8577..32856b54 100644 --- a/plugins/wptelegram-widget/CHANGELOG.md +++ b/plugins/wptelegram-widget/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 2.2.5 + +### Patch Changes + +- [#206](https://github.com/wpsocio/wp-projects/pull/206) [`8a05b5d`](https://github.com/wpsocio/wp-projects/commit/8a05b5d71d00d1fb49164b30bc8715d0049beefb) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Added multi-group support for legacy widget via custom code + ## 2.2.4 ### Patch Changes diff --git a/plugins/wptelegram-widget/README.md b/plugins/wptelegram-widget/README.md index 2f0f837b..53e41b97 100644 --- a/plugins/wptelegram-widget/README.md +++ b/plugins/wptelegram-widget/README.md @@ -5,7 +5,7 @@ **Requires at least:** 6.4 **Requires PHP:** 7.4 **Tested up to:** 6.7 -**Stable tag:** 2.2.4 +**Stable tag:** 2.2.5 **License:** GPL-3.0-or-later **License URI:** [https://www.gnu.org/licenses/gpl-3.0.html](https://www.gnu.org/licenses/gpl-3.0.html) **Donate link:** [wpsocio.com/donate](https://wpsocio.com/donate) diff --git a/plugins/wptelegram-widget/composer.json b/plugins/wptelegram-widget/composer.json index 9a70f47f..e718b53f 100644 --- a/plugins/wptelegram-widget/composer.json +++ b/plugins/wptelegram-widget/composer.json @@ -1,6 +1,6 @@ { "name": "wptelegram/widget", - "version": "2.2.4", + "version": "2.2.5", "description": "Display the Telegram Public Channel or Group Feed in a WordPress widget or anywhere you want using a shortcode.", "scripts": { "lint": "\"vendor/bin/phpcs\" --standard=../../phpcs.xml --extensions=php src/ dev.php", diff --git a/plugins/wptelegram-widget/package.json b/plugins/wptelegram-widget/package.json index aa9efdaf..71df99da 100644 --- a/plugins/wptelegram-widget/package.json +++ b/plugins/wptelegram-widget/package.json @@ -1,7 +1,7 @@ { "name": "wptelegram-widget", "title": "WP Telegram Widget", - "version": "2.2.4", + "version": "2.2.5", "description": "Display the Telegram Public Channel or Group Feed in a WordPress widget or anywhere you want using a shortcode.", "private": true, "license": "GPL-3.0-or-later", @@ -73,7 +73,9 @@ ] }, { - "paths": ["src/assets/build/dev-server.json"], + "paths": [ + "src/assets/build/dev-server.json" + ], "rules": [ { "value": "NOT_EXISTS" @@ -85,15 +87,21 @@ "wireit": { "build": { "command": "vite build && pnpm run validate-build", - "output": ["src/assets/build"] + "output": [ + "src/assets/build" + ] }, "setup:php": { "command": "composer install", - "dependencies": ["unset-vendor-dir"] + "dependencies": [ + "unset-vendor-dir" + ] }, "setup:php:prod": { "command": "composer install --no-dev && pnpm run unset-vendor-dir", - "dependencies": ["set-prod-vendor"] + "dependencies": [ + "set-prod-vendor" + ] }, "set-prod-vendor": { "command": "composer config vendor-dir src/vendor" diff --git a/plugins/wptelegram-widget/src/admin/Admin.php b/plugins/wptelegram-widget/src/admin/Admin.php index d9c58aa3..76a87f0f 100644 --- a/plugins/wptelegram-widget/src/admin/Admin.php +++ b/plugins/wptelegram-widget/src/admin/Admin.php @@ -335,7 +335,7 @@ private function get_update_type( $update ) { /** * Get the verified username. * - * @since x.y.z + * @since 2.2.5 * * @param array $message The message object. * diff --git a/plugins/wptelegram-widget/src/languages/wptelegram-widget-de_DE.po b/plugins/wptelegram-widget/src/languages/wptelegram-widget-de_DE.po index d27b847d..68b9e50d 100644 --- a/plugins/wptelegram-widget/src/languages/wptelegram-widget-de_DE.po +++ b/plugins/wptelegram-widget/src/languages/wptelegram-widget-de_DE.po @@ -54,26 +54,26 @@ msgstr "" #: js/blocks/ajax-channel-feed/Edit.tsx:37 #: js/blocks/channel-feed/Edit.tsx:54 -#: languages/wptelegram-widget-js-translations.php:114 +#: languages/wptelegram-widget-js-translations.php:116 msgid "Widget Options" msgstr "Widget-Optionen" #: js/blocks/ajax-channel-feed/Edit.tsx:40 #: js/settings/services/fields.ts:16 -#: languages/wptelegram-widget-js-translations.php:118 +#: languages/wptelegram-widget-js-translations.php:120 #: shared/widgets/Ajax.php:127 msgid "Username" msgstr "" #: js/blocks/ajax-channel-feed/Edit.tsx:45 #: js/settings/ui/ajaxWidget/AjaxWidget.tsx:26 -#: languages/wptelegram-widget-js-translations.php:122 +#: languages/wptelegram-widget-js-translations.php:124 #: shared/widgets/Ajax.php:129 msgid "Channel username." msgstr "" #: js/blocks/ajax-channel-feed/Edit.tsx:46 -#: languages/wptelegram-widget-js-translations.php:125 +#: languages/wptelegram-widget-js-translations.php:127 #: shared/widgets/Ajax.php:129 msgid "Leave empty for default." msgstr "" @@ -81,7 +81,7 @@ msgstr "" #: js/blocks/ajax-channel-feed/Edit.tsx:52 #: js/blocks/channel-feed/Edit.tsx:57 #: js/settings/services/fields.ts:17 -#: languages/wptelegram-widget-js-translations.php:130 +#: languages/wptelegram-widget-js-translations.php:132 #: shared/widgets/Ajax.php:133 #: shared/widgets/Legacy.php:131 msgid "Widget Width" @@ -89,179 +89,179 @@ msgstr "Widget-Breite" #: js/blocks/ajax-channel-feed/Edit.tsx:59 #: js/settings/services/fields.ts:18 -#: languages/wptelegram-widget-js-translations.php:134 +#: languages/wptelegram-widget-js-translations.php:136 #: shared/widgets/Ajax.php:138 msgid "Widget Height" msgstr "Widget-Höhe" #: js/blocks/ajax-channel-feed/Edit.tsx:71 #: js/blocks/ajax-channel-feed/index.tsx:14 -#: languages/wptelegram-widget-js-translations.php:138 +#: languages/wptelegram-widget-js-translations.php:140 msgid "Telegram Channel Ajax Feed" msgstr "Telegram Ajax-Feed des Channels" #: js/blocks/channel-feed/Edit.tsx:64 #: js/blocks/single-post/Controls.tsx:37 #: js/settings/services/fields.ts:19 -#: languages/wptelegram-widget-js-translations.php:143 +#: languages/wptelegram-widget-js-translations.php:145 #: shared/widgets/Legacy.php:136 msgid "Author Photo" msgstr "Foto des Verfassers anzeigen" #: js/blocks/channel-feed/Edit.tsx:70 #: js/settings/services/fields.ts:20 -#: languages/wptelegram-widget-js-translations.php:147 +#: languages/wptelegram-widget-js-translations.php:149 #: shared/widgets/Legacy.php:144 msgid "Number of Messages" msgstr "Anzahl Nachrichten anzeigen" #: js/blocks/channel-feed/Edit.tsx:84 #: js/blocks/channel-feed/index.tsx:13 -#: languages/wptelegram-widget-js-translations.php:151 +#: languages/wptelegram-widget-js-translations.php:153 msgid "Telegram Channel Feed" msgstr "Telegram Channel Feed" #: js/blocks/join-channel/Controls.tsx:53 -#: languages/wptelegram-widget-js-translations.php:154 +#: languages/wptelegram-widget-js-translations.php:156 msgid "Button details" msgstr "" #: js/blocks/join-channel/Controls.tsx:56 #: js/settings/services/fields.ts:23 -#: languages/wptelegram-widget-js-translations.php:158 +#: languages/wptelegram-widget-js-translations.php:160 #: shared/widgets/JoinChannel.php:117 msgid "Channel Link" msgstr "" #: js/blocks/join-channel/Controls.tsx:63 #: js/settings/services/fields.ts:24 -#: languages/wptelegram-widget-js-translations.php:162 +#: languages/wptelegram-widget-js-translations.php:164 #: shared/widgets/JoinChannel.php:122 msgid "Button text" msgstr "" #: js/blocks/join-channel/index.tsx:16 -#: languages/wptelegram-widget-js-translations.php:165 +#: languages/wptelegram-widget-js-translations.php:167 msgid "Join Telegram Channel" msgstr "" #: js/blocks/single-post/Controls.tsx:35 -#: languages/wptelegram-widget-js-translations.php:168 +#: languages/wptelegram-widget-js-translations.php:170 msgid "Options" msgstr "Optionen" #: js/blocks/single-post/Controls.tsx:50 -#: languages/wptelegram-widget-js-translations.php:171 +#: languages/wptelegram-widget-js-translations.php:173 msgid "Edit URL" msgstr "URL bearbeiten" #: js/blocks/single-post/Edit.tsx:27 -#: languages/wptelegram-widget-js-translations.php:181 +#: languages/wptelegram-widget-js-translations.php:183 msgid "Telegram post URL" msgstr "Beitrags-URL von Telegram" #: js/blocks/single-post/Edit.tsx:131 -#: languages/wptelegram-widget-js-translations.php:174 +#: languages/wptelegram-widget-js-translations.php:176 msgid "Loading…" msgstr "Wird geladen..." #: js/blocks/single-post/Placeholder.tsx:40 -#: languages/wptelegram-widget-js-translations.php:184 +#: languages/wptelegram-widget-js-translations.php:186 msgid "Embed" msgstr "Einbetten" #: js/blocks/single-post/index.tsx:10 -#: languages/wptelegram-widget-js-translations.php:187 +#: languages/wptelegram-widget-js-translations.php:189 msgid "Telegram Single Post" msgstr "einzelner Telegram-Beitrag" #: js/settings/services/fields.ts:15 -#: languages/wptelegram-widget-js-translations.php:196 +#: languages/wptelegram-widget-js-translations.php:198 msgid "Text color" msgstr "" #: js/settings/services/fields.ts:21 -#: languages/wptelegram-widget-js-translations.php:199 +#: languages/wptelegram-widget-js-translations.php:201 msgid "Host blocks Telegram" msgstr "Anbieter blockiert Telegram" #: js/settings/services/fields.ts:22 -#: languages/wptelegram-widget-js-translations.php:202 +#: languages/wptelegram-widget-js-translations.php:204 msgid "Google Script URL" msgstr "Google Script URL" #: js/settings/services/fields.ts:25 -#: languages/wptelegram-widget-js-translations.php:205 +#: languages/wptelegram-widget-js-translations.php:207 msgid "Add to post types" msgstr "" #: js/settings/services/fields.ts:26 -#: languages/wptelegram-widget-js-translations.php:208 +#: languages/wptelegram-widget-js-translations.php:210 msgid "Position" msgstr "" #: js/settings/services/fields.ts:27 -#: languages/wptelegram-widget-js-translations.php:211 +#: languages/wptelegram-widget-js-translations.php:213 msgid "Priority" msgstr "" #: js/settings/services/fields.ts:28 -#: languages/wptelegram-widget-js-translations.php:214 +#: languages/wptelegram-widget-js-translations.php:216 msgid "Open in new tab" msgstr "" #: js/settings/services/fields.ts:13 -#: languages/wptelegram-widget-js-translations.php:190 +#: languages/wptelegram-widget-js-translations.php:192 msgid "Bot Token" msgstr "Bot Token" #: js/settings/services/fields.ts:14 -#: languages/wptelegram-widget-js-translations.php:193 +#: languages/wptelegram-widget-js-translations.php:195 msgid "Background color" msgstr "" #: js/settings/ui/TabbedSections.tsx:22 -#: languages/wptelegram-widget-js-translations.php:223 +#: languages/wptelegram-widget-js-translations.php:225 msgid "Ajax Widget" msgstr "Ajax Widget" #: js/settings/ui/TabbedSections.tsx:30 -#: languages/wptelegram-widget-js-translations.php:229 +#: languages/wptelegram-widget-js-translations.php:231 msgid "Legacy Widget" msgstr "Abgekündigtes Widget" #: js/settings/ui/TabbedSections.tsx:38 -#: languages/wptelegram-widget-js-translations.php:235 +#: languages/wptelegram-widget-js-translations.php:237 msgid "Join Link" msgstr "" #: js/settings/ui/TabbedSections.tsx:44 -#: languages/wptelegram-widget-js-translations.php:241 +#: languages/wptelegram-widget-js-translations.php:243 msgid "Advanced" msgstr "" #: js/settings/ui/advanced/Advanced.tsx:33 -#: languages/wptelegram-widget-js-translations.php:244 +#: languages/wptelegram-widget-js-translations.php:246 msgid "Whether your host blocks Telegram." msgstr "" #: js/settings/ui/advanced/Advanced.tsx:54 -#: languages/wptelegram-widget-js-translations.php:247 +#: languages/wptelegram-widget-js-translations.php:249 msgid "The requests to Telegram will be sent via your Google Script." msgstr "Die Anfragen an Telegram werden über dein Google Script versendet." #: js/settings/ui/advanced/Advanced.tsx:63 -#: languages/wptelegram-widget-js-translations.php:250 +#: languages/wptelegram-widget-js-translations.php:252 msgid "See this tutorial" msgstr "Tutorial anzeigen" #: js/settings/ui/TabbedSections.tsx:24 -#: languages/wptelegram-widget-js-translations.php:226 +#: languages/wptelegram-widget-js-translations.php:228 msgid "Ajax widget is a beautiful scrollable widget which only supports channels." msgstr "" #: js/settings/ui/ajaxWidget/AjaxWidget.tsx:27 -#: languages/wptelegram-widget-js-translations.php:253 +#: languages/wptelegram-widget-js-translations.php:255 msgid "This is the default username, you can override it in widgets and shortcodes." msgstr "" @@ -270,168 +270,168 @@ msgstr "" #: js/blocks/channel-feed/Edit.tsx:60 #: js/settings/ui/ajaxWidget/AjaxWidget.tsx:54 #: js/settings/ui/legacyWidget/LegacyWidget.tsx:40 -#: languages/wptelegram-widget-js-translations.php:69 +#: languages/wptelegram-widget-js-translations.php:71 #: shared/widgets/Ajax.php:134 msgid "or" msgstr "oder" #: js/settings/ui/ajaxWidget/AjaxWidgetInfo.tsx:12 -#: languages/wptelegram-widget-js-translations.php:256 +#: languages/wptelegram-widget-js-translations.php:258 #: shared/widgets/Ajax.php:29 msgid "WP Telegram Ajax Widget" msgstr "WP Telegram Ajax Widget" #: js/settings/ui/joinLink/JoinLink.tsx:19 -#: languages/wptelegram-widget-js-translations.php:262 +#: languages/wptelegram-widget-js-translations.php:264 msgid "Before content" msgstr "" #: js/settings/ui/joinLink/JoinLink.tsx:20 -#: languages/wptelegram-widget-js-translations.php:265 +#: languages/wptelegram-widget-js-translations.php:267 msgid "After content" msgstr "" #: js/settings/ui/TabbedSections.tsx:40 -#: languages/wptelegram-widget-js-translations.php:238 +#: languages/wptelegram-widget-js-translations.php:240 msgid "Join link can be automatically added to posts." msgstr "" #: js/settings/ui/joinLink/JoinLink.tsx:83 -#: languages/wptelegram-widget-js-translations.php:268 +#: languages/wptelegram-widget-js-translations.php:270 msgid "Priority with respect to adjacent items." msgstr "" #: js/settings/ui/joinLink/JoinLink.tsx:104 -#: languages/wptelegram-widget-js-translations.php:259 +#: languages/wptelegram-widget-js-translations.php:261 msgid "Whether to open the join link in new tab." msgstr "" #: js/settings/ui/joinLink/JoinLinkInfo.tsx:12 -#: languages/wptelegram-widget-js-translations.php:271 +#: languages/wptelegram-widget-js-translations.php:273 #: shared/widgets/JoinChannel.php:27 msgid "WP Telegram Join Channel" msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:112 -#: languages/wptelegram-widget-js-translations.php:283 +#: languages/wptelegram-widget-js-translations.php:285 msgid "To make sure the updates are pulled in time, it is recommended to set up a cron on your hosting server that hits the below URL every five minutes or so." msgstr "Um sicherzustellen, das die Aktualisierungen durchgeführt werden, wird empfohlen, einen Cronjob auf dem Webserver zu erstellen, der die folgende URL beispielsweise alle 5 Minuten aufruft." #. 1 command name, 2 bot name #. translators: 1 command name, 2 bot name #: js/settings/ui/legacyWidget/Instructions.tsx:19 -#: languages/wptelegram-widget-js-translations.php:287 +#: languages/wptelegram-widget-js-translations.php:289 msgid "Create a Bot by sending %1$s command to %2$s." msgstr "Einen Bot erstellen, indem der Befehl %1$s an den %2$s geschickt wird" #. %s bot name #. translators: %s bot name #: js/settings/ui/legacyWidget/Instructions.tsx:40 -#: languages/wptelegram-widget-js-translations.php:291 +#: languages/wptelegram-widget-js-translations.php:293 msgid "After completing the steps %s will provide you the Bot Token." msgstr "Der %s fragt nach Bezeichnung und Benutzername des neuen Bot und teilt im Anschluss das API-Token des Bot mit." #: js/settings/ui/legacyWidget/Instructions.tsx:48 -#: languages/wptelegram-widget-js-translations.php:294 +#: languages/wptelegram-widget-js-translations.php:296 msgid "Copy the token and paste into the Bot Token field below." msgstr "Das API-Token des Bot kopieren und in das unten stehende Feld \"Bot API-Token\" einfügen." #. %s application name #. translators: %s application name #: js/settings/ui/legacyWidget/Instructions.tsx:52 -#: languages/wptelegram-widget-js-translations.php:298 +#: languages/wptelegram-widget-js-translations.php:300 msgid "For ease, use %s" msgstr "Zur einfachen Eingabe empfehlen wir %s" #: js/settings/ui/legacyWidget/Instructions.tsx:58 -#: languages/wptelegram-widget-js-translations.php:301 +#: languages/wptelegram-widget-js-translations.php:303 msgid "Telegram Desktop" msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:64 -#: languages/wptelegram-widget-js-translations.php:304 +#: languages/wptelegram-widget-js-translations.php:306 msgid "Add the Bot as Administrator to your Channel/Group." msgstr "Der Bot muss nun als Administrator zu einem Channel oder einer Gruppe hinzugefügt warden." #: js/settings/ui/legacyWidget/Instructions.tsx:65 -#: languages/wptelegram-widget-js-translations.php:307 +#: languages/wptelegram-widget-js-translations.php:309 msgid "Send a test message to see if we did it right." msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:68 -#: languages/wptelegram-widget-js-translations.php:310 +#: languages/wptelegram-widget-js-translations.php:312 msgid "For groups, disable group privacy for the bot." msgstr "" #. 1 command name, 2 bot name, 3 site url #. translators: 1 command name, 2 bot name, 3 site url #: js/settings/ui/legacyWidget/Instructions.tsx:75 -#: languages/wptelegram-widget-js-translations.php:314 +#: languages/wptelegram-widget-js-translations.php:316 msgid "Send %1$s command to %2$s." msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:93 -#: languages/wptelegram-widget-js-translations.php:317 +#: languages/wptelegram-widget-js-translations.php:319 msgid "Choose your bot." msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:94 -#: languages/wptelegram-widget-js-translations.php:320 +#: languages/wptelegram-widget-js-translations.php:322 msgid "Select \"Disable\"." msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:101 -#: languages/wptelegram-widget-js-translations.php:277 +#: languages/wptelegram-widget-js-translations.php:279 msgid "Tip!" msgstr "Hinweis:" #: js/settings/ui/legacyWidget/Instructions.tsx:106 -#: languages/wptelegram-widget-js-translations.php:280 +#: languages/wptelegram-widget-js-translations.php:282 msgid "Updates are pulled every five minutes if someone visits your website." msgstr "Aktualisierungen werden alle 5 Minuten durchgeführt, wenn jemand die Website besucht." #: js/settings/ui/legacyWidget/LegacyWidget.tsx:19 -#: languages/wptelegram-widget-js-translations.php:323 +#: languages/wptelegram-widget-js-translations.php:325 #: shared/widgets/Legacy.php:138 msgid "Auto" msgstr "Automatisch" #: js/settings/ui/legacyWidget/LegacyWidget.tsx:20 -#: languages/wptelegram-widget-js-translations.php:326 +#: languages/wptelegram-widget-js-translations.php:328 #: shared/widgets/Legacy.php:139 msgid "Always show" msgstr "Immer anzeigen" #: js/settings/ui/legacyWidget/LegacyWidget.tsx:21 -#: languages/wptelegram-widget-js-translations.php:329 +#: languages/wptelegram-widget-js-translations.php:331 #: shared/widgets/Legacy.php:140 msgid "Always hide" msgstr "Immer verbergen" #: js/settings/ui/TabbedSections.tsx:32 -#: languages/wptelegram-widget-js-translations.php:232 +#: languages/wptelegram-widget-js-translations.php:234 msgid "Legacy widget is a full height widget which supports both channels and groups." msgstr "" #: js/settings/ui/legacyWidget/LegacyWidget.tsx:70 -#: languages/wptelegram-widget-js-translations.php:332 +#: languages/wptelegram-widget-js-translations.php:334 #: shared/widgets/Legacy.php:147 msgid "Number of messages to display in the widget." msgstr "Anzahl der Nachrichten, die im Widget angezeigt werden sollen." #: js/settings/ui/legacyWidget/LegacyWidgetInfo.tsx:12 -#: languages/wptelegram-widget-js-translations.php:335 +#: languages/wptelegram-widget-js-translations.php:337 #: shared/widgets/Legacy.php:27 msgid "WP Telegram Legacy Widget" msgstr "WP Telegram abgekündigtes Widget" #: js/settings/ui/legacyWidget/Username.tsx:41 -#: languages/wptelegram-widget-js-translations.php:347 +#: languages/wptelegram-widget-js-translations.php:349 msgid "Channel or group username." msgstr "" #: ../../packages/js/shared-ui/form/bot-token-field.tsx:45 -#: languages/wptelegram-widget-js-translations.php:80 +#: languages/wptelegram-widget-js-translations.php:82 msgid "Please read the instructions above." msgstr "Bitte die obenstehende Anleitung beachten." @@ -458,31 +458,31 @@ msgid "Need help?" msgstr "Hilfe benötigt?" #: ../../packages/js/shared-ui/form/submit/submit-button.tsx:12 -#: languages/wptelegram-widget-js-translations.php:83 +#: languages/wptelegram-widget-js-translations.php:85 msgid "Save Changes" msgstr "" #: ../../packages/js/shared-ui/form/test-result/member-count-result.tsx:17 -#: languages/wptelegram-widget-js-translations.php:86 +#: languages/wptelegram-widget-js-translations.php:88 msgid "Members Count:" msgstr "Anzahl Mitglieder:" #: ../../packages/js/shared-ui/form/test-result/render-test-result.tsx:39 -#: languages/wptelegram-widget-js-translations.php:89 +#: languages/wptelegram-widget-js-translations.php:91 msgid "Test Result:" msgstr "Testresultat:" #. %s: social handle #. translators: %s: social handle #: ../../packages/js/shared-ui/components/wptg-social-icons.tsx:42 -#: languages/wptelegram-widget-js-translations.php:73 +#: languages/wptelegram-widget-js-translations.php:75 msgid "Follow %s" msgstr "Folge %s" #. %s: channel name #. translators: %s: channel name #: ../../packages/js/shared-ui/components/wptg-social-icons.tsx:57 -#: languages/wptelegram-widget-js-translations.php:77 +#: languages/wptelegram-widget-js-translations.php:79 msgid "Join %s" msgstr "Tritt %s bei" @@ -525,17 +525,17 @@ msgstr "Widget-Infos" #: ../../packages/js/shared-ui/form/use-bot-token-test.tsx:66 #: ../../packages/js/shared-ui/form/use-chat-with-test.tsx:95 -#: languages/wptelegram-widget-js-translations.php:93 +#: languages/wptelegram-widget-js-translations.php:95 msgid "Please wait…" msgstr "Bitte warten..." #: ../../packages/js/shared-ui/form/use-bot-token-test.tsx:67 -#: languages/wptelegram-widget-js-translations.php:96 +#: languages/wptelegram-widget-js-translations.php:98 msgid "Test Token" msgstr "Test Token" #: ../../packages/js/shared-ui/form/use-chat-with-test.tsx:96 -#: languages/wptelegram-widget-js-translations.php:99 +#: languages/wptelegram-widget-js-translations.php:101 msgid "Send Test" msgstr "Sende Test" @@ -581,18 +581,18 @@ msgstr "Die Änderungen wurden erfolgreich gespeichert." #: ../../packages/js/utilities/fields.ts:35 #: js/settings/services/fields.ts:124 -#: languages/wptelegram-widget-js-translations.php:103 +#: languages/wptelegram-widget-js-translations.php:105 msgid "Invalid %s" msgstr "Ungültig: %s" #: ../../packages/js/utilities/fields.ts:39 #: js/settings/services/fields.ts:96 -#: languages/wptelegram-widget-js-translations.php:107 +#: languages/wptelegram-widget-js-translations.php:109 msgid "%s required." msgstr "%s wird benötigt." #: ../../packages/js/utilities/fields.ts:42 -#: languages/wptelegram-widget-js-translations.php:110 +#: languages/wptelegram-widget-js-translations.php:112 msgid "Changes could not be saved." msgstr "Die Änderungen konnten nicht gespeichert werden." @@ -627,13 +627,13 @@ msgstr "Zeigt einen öffentlichen Telegram Channel oder Gruppen-Feed in einem Wi #. Description of the plugin #: js/settings/ui/Sidebar.tsx:19 #: wptelegram-widget.php -#: languages/wptelegram-widget-js-translations.php:217 +#: languages/wptelegram-widget-js-translations.php:219 #~ msgid "Display the Telegram Public Channel or Group Feed in a WordPress widget or anywhere you want using a shortcode." #~ msgstr "Zeigt einen öffentlichen Telegram Channel oder Gruppen-Feed in einem Widget oder per Shortcode an beliebiger Stelle an." #: js/blocks/single-post/Edit.tsx:148 -#: js/blocks/single-post/index.tsx:48 -#: languages/wptelegram-widget-js-translations.php:178 +#: js/blocks/single-post/index.tsx:47 +#: languages/wptelegram-widget-js-translations.php:180 msgid "Telegram post" msgstr "" @@ -667,27 +667,27 @@ msgid "WP Telegram" msgstr "" #: js/settings/ui/Sidebar.tsx:22 -#: languages/wptelegram-widget-js-translations.php:220 +#: languages/wptelegram-widget-js-translations.php:222 msgid "Join our public chat on Telegram" msgstr "" #: js/settings/ui/joinLink/PostTypes.tsx:23 -#: languages/wptelegram-widget-js-translations.php:274 +#: languages/wptelegram-widget-js-translations.php:276 msgid "The join link will be automatically added to the selected post types." msgstr "" #: js/settings/ui/legacyWidget/OldMessagesInfo.tsx:11 -#: languages/wptelegram-widget-js-translations.php:338 +#: languages/wptelegram-widget-js-translations.php:340 msgid "You need to post something new into the group/channel and wait for five minutes for the messages to appear." msgstr "" #: js/settings/ui/legacyWidget/OldMessagesInfo.tsx:7 -#: languages/wptelegram-widget-js-translations.php:341 +#: languages/wptelegram-widget-js-translations.php:343 msgid "Old Messages" msgstr "" #: js/settings/ui/legacyWidget/OldMessagesInfo.tsx:8 -#: languages/wptelegram-widget-js-translations.php:344 +#: languages/wptelegram-widget-js-translations.php:346 msgid "Legacy Widget does not show the old messages." msgstr "" diff --git a/plugins/wptelegram-widget/src/languages/wptelegram-widget-js-translations.php b/plugins/wptelegram-widget/src/languages/wptelegram-widget-js-translations.php index 3dc2f58b..9c8e8316 100644 --- a/plugins/wptelegram-widget/src/languages/wptelegram-widget-js-translations.php +++ b/plugins/wptelegram-widget/src/languages/wptelegram-widget-js-translations.php @@ -176,7 +176,7 @@ __( 'Loading…', 'wptelegram-widget' ), // Reference: js/blocks/single-post/Edit.tsx:148 - // Reference: js/blocks/single-post/index.tsx:48 + // Reference: js/blocks/single-post/index.tsx:47 __( 'Telegram post', 'wptelegram-widget' ), // Reference: js/blocks/single-post/Edit.tsx:27 diff --git a/plugins/wptelegram-widget/src/languages/wptelegram-widget-ru_RU.po b/plugins/wptelegram-widget/src/languages/wptelegram-widget-ru_RU.po index 233ca94d..3a1343b0 100644 --- a/plugins/wptelegram-widget/src/languages/wptelegram-widget-ru_RU.po +++ b/plugins/wptelegram-widget/src/languages/wptelegram-widget-ru_RU.po @@ -55,26 +55,26 @@ msgstr "" #: js/blocks/ajax-channel-feed/Edit.tsx:37 #: js/blocks/channel-feed/Edit.tsx:54 -#: languages/wptelegram-widget-js-translations.php:114 +#: languages/wptelegram-widget-js-translations.php:116 msgid "Widget Options" msgstr "Опции виджета" #: js/blocks/ajax-channel-feed/Edit.tsx:40 #: js/settings/services/fields.ts:16 -#: languages/wptelegram-widget-js-translations.php:118 +#: languages/wptelegram-widget-js-translations.php:120 #: shared/widgets/Ajax.php:127 msgid "Username" msgstr "" #: js/blocks/ajax-channel-feed/Edit.tsx:45 #: js/settings/ui/ajaxWidget/AjaxWidget.tsx:26 -#: languages/wptelegram-widget-js-translations.php:122 +#: languages/wptelegram-widget-js-translations.php:124 #: shared/widgets/Ajax.php:129 msgid "Channel username." msgstr "" #: js/blocks/ajax-channel-feed/Edit.tsx:46 -#: languages/wptelegram-widget-js-translations.php:125 +#: languages/wptelegram-widget-js-translations.php:127 #: shared/widgets/Ajax.php:129 msgid "Leave empty for default." msgstr "" @@ -82,7 +82,7 @@ msgstr "" #: js/blocks/ajax-channel-feed/Edit.tsx:52 #: js/blocks/channel-feed/Edit.tsx:57 #: js/settings/services/fields.ts:17 -#: languages/wptelegram-widget-js-translations.php:130 +#: languages/wptelegram-widget-js-translations.php:132 #: shared/widgets/Ajax.php:133 #: shared/widgets/Legacy.php:131 msgid "Widget Width" @@ -90,179 +90,179 @@ msgstr "Ширина виджета" #: js/blocks/ajax-channel-feed/Edit.tsx:59 #: js/settings/services/fields.ts:18 -#: languages/wptelegram-widget-js-translations.php:134 +#: languages/wptelegram-widget-js-translations.php:136 #: shared/widgets/Ajax.php:138 msgid "Widget Height" msgstr "" #: js/blocks/ajax-channel-feed/Edit.tsx:71 #: js/blocks/ajax-channel-feed/index.tsx:14 -#: languages/wptelegram-widget-js-translations.php:138 +#: languages/wptelegram-widget-js-translations.php:140 msgid "Telegram Channel Ajax Feed" msgstr "" #: js/blocks/channel-feed/Edit.tsx:64 #: js/blocks/single-post/Controls.tsx:37 #: js/settings/services/fields.ts:19 -#: languages/wptelegram-widget-js-translations.php:143 +#: languages/wptelegram-widget-js-translations.php:145 #: shared/widgets/Legacy.php:136 msgid "Author Photo" msgstr "Фото автора" #: js/blocks/channel-feed/Edit.tsx:70 #: js/settings/services/fields.ts:20 -#: languages/wptelegram-widget-js-translations.php:147 +#: languages/wptelegram-widget-js-translations.php:149 #: shared/widgets/Legacy.php:144 msgid "Number of Messages" msgstr "Номер сообщения" #: js/blocks/channel-feed/Edit.tsx:84 #: js/blocks/channel-feed/index.tsx:13 -#: languages/wptelegram-widget-js-translations.php:151 +#: languages/wptelegram-widget-js-translations.php:153 msgid "Telegram Channel Feed" msgstr "" #: js/blocks/join-channel/Controls.tsx:53 -#: languages/wptelegram-widget-js-translations.php:154 +#: languages/wptelegram-widget-js-translations.php:156 msgid "Button details" msgstr "" #: js/blocks/join-channel/Controls.tsx:56 #: js/settings/services/fields.ts:23 -#: languages/wptelegram-widget-js-translations.php:158 +#: languages/wptelegram-widget-js-translations.php:160 #: shared/widgets/JoinChannel.php:117 msgid "Channel Link" msgstr "" #: js/blocks/join-channel/Controls.tsx:63 #: js/settings/services/fields.ts:24 -#: languages/wptelegram-widget-js-translations.php:162 +#: languages/wptelegram-widget-js-translations.php:164 #: shared/widgets/JoinChannel.php:122 msgid "Button text" msgstr "" #: js/blocks/join-channel/index.tsx:16 -#: languages/wptelegram-widget-js-translations.php:165 +#: languages/wptelegram-widget-js-translations.php:167 msgid "Join Telegram Channel" msgstr "" #: js/blocks/single-post/Controls.tsx:35 -#: languages/wptelegram-widget-js-translations.php:168 +#: languages/wptelegram-widget-js-translations.php:170 msgid "Options" msgstr "" #: js/blocks/single-post/Controls.tsx:50 -#: languages/wptelegram-widget-js-translations.php:171 +#: languages/wptelegram-widget-js-translations.php:173 msgid "Edit URL" msgstr "" #: js/blocks/single-post/Edit.tsx:27 -#: languages/wptelegram-widget-js-translations.php:181 +#: languages/wptelegram-widget-js-translations.php:183 msgid "Telegram post URL" msgstr "" #: js/blocks/single-post/Edit.tsx:131 -#: languages/wptelegram-widget-js-translations.php:174 +#: languages/wptelegram-widget-js-translations.php:176 msgid "Loading…" msgstr "" #: js/blocks/single-post/Placeholder.tsx:40 -#: languages/wptelegram-widget-js-translations.php:184 +#: languages/wptelegram-widget-js-translations.php:186 msgid "Embed" msgstr "" #: js/blocks/single-post/index.tsx:10 -#: languages/wptelegram-widget-js-translations.php:187 +#: languages/wptelegram-widget-js-translations.php:189 msgid "Telegram Single Post" msgstr "" #: js/settings/services/fields.ts:15 -#: languages/wptelegram-widget-js-translations.php:196 +#: languages/wptelegram-widget-js-translations.php:198 msgid "Text color" msgstr "" #: js/settings/services/fields.ts:21 -#: languages/wptelegram-widget-js-translations.php:199 +#: languages/wptelegram-widget-js-translations.php:201 msgid "Host blocks Telegram" msgstr "" #: js/settings/services/fields.ts:22 -#: languages/wptelegram-widget-js-translations.php:202 +#: languages/wptelegram-widget-js-translations.php:204 msgid "Google Script URL" msgstr "" #: js/settings/services/fields.ts:25 -#: languages/wptelegram-widget-js-translations.php:205 +#: languages/wptelegram-widget-js-translations.php:207 msgid "Add to post types" msgstr "" #: js/settings/services/fields.ts:26 -#: languages/wptelegram-widget-js-translations.php:208 +#: languages/wptelegram-widget-js-translations.php:210 msgid "Position" msgstr "" #: js/settings/services/fields.ts:27 -#: languages/wptelegram-widget-js-translations.php:211 +#: languages/wptelegram-widget-js-translations.php:213 msgid "Priority" msgstr "" #: js/settings/services/fields.ts:28 -#: languages/wptelegram-widget-js-translations.php:214 +#: languages/wptelegram-widget-js-translations.php:216 msgid "Open in new tab" msgstr "" #: js/settings/services/fields.ts:13 -#: languages/wptelegram-widget-js-translations.php:190 +#: languages/wptelegram-widget-js-translations.php:192 msgid "Bot Token" msgstr "Токен Бота" #: js/settings/services/fields.ts:14 -#: languages/wptelegram-widget-js-translations.php:193 +#: languages/wptelegram-widget-js-translations.php:195 msgid "Background color" msgstr "" #: js/settings/ui/TabbedSections.tsx:22 -#: languages/wptelegram-widget-js-translations.php:223 +#: languages/wptelegram-widget-js-translations.php:225 msgid "Ajax Widget" msgstr "" #: js/settings/ui/TabbedSections.tsx:30 -#: languages/wptelegram-widget-js-translations.php:229 +#: languages/wptelegram-widget-js-translations.php:231 msgid "Legacy Widget" msgstr "" #: js/settings/ui/TabbedSections.tsx:38 -#: languages/wptelegram-widget-js-translations.php:235 +#: languages/wptelegram-widget-js-translations.php:237 msgid "Join Link" msgstr "" #: js/settings/ui/TabbedSections.tsx:44 -#: languages/wptelegram-widget-js-translations.php:241 +#: languages/wptelegram-widget-js-translations.php:243 msgid "Advanced" msgstr "" #: js/settings/ui/advanced/Advanced.tsx:33 -#: languages/wptelegram-widget-js-translations.php:244 +#: languages/wptelegram-widget-js-translations.php:246 msgid "Whether your host blocks Telegram." msgstr "" #: js/settings/ui/advanced/Advanced.tsx:54 -#: languages/wptelegram-widget-js-translations.php:247 +#: languages/wptelegram-widget-js-translations.php:249 msgid "The requests to Telegram will be sent via your Google Script." msgstr "" #: js/settings/ui/advanced/Advanced.tsx:63 -#: languages/wptelegram-widget-js-translations.php:250 +#: languages/wptelegram-widget-js-translations.php:252 msgid "See this tutorial" msgstr "" #: js/settings/ui/TabbedSections.tsx:24 -#: languages/wptelegram-widget-js-translations.php:226 +#: languages/wptelegram-widget-js-translations.php:228 msgid "Ajax widget is a beautiful scrollable widget which only supports channels." msgstr "" #: js/settings/ui/ajaxWidget/AjaxWidget.tsx:27 -#: languages/wptelegram-widget-js-translations.php:253 +#: languages/wptelegram-widget-js-translations.php:255 msgid "This is the default username, you can override it in widgets and shortcodes." msgstr "" @@ -271,168 +271,168 @@ msgstr "" #: js/blocks/channel-feed/Edit.tsx:60 #: js/settings/ui/ajaxWidget/AjaxWidget.tsx:54 #: js/settings/ui/legacyWidget/LegacyWidget.tsx:40 -#: languages/wptelegram-widget-js-translations.php:69 +#: languages/wptelegram-widget-js-translations.php:71 #: shared/widgets/Ajax.php:134 msgid "or" msgstr "или" #: js/settings/ui/ajaxWidget/AjaxWidgetInfo.tsx:12 -#: languages/wptelegram-widget-js-translations.php:256 +#: languages/wptelegram-widget-js-translations.php:258 #: shared/widgets/Ajax.php:29 msgid "WP Telegram Ajax Widget" msgstr "" #: js/settings/ui/joinLink/JoinLink.tsx:19 -#: languages/wptelegram-widget-js-translations.php:262 +#: languages/wptelegram-widget-js-translations.php:264 msgid "Before content" msgstr "" #: js/settings/ui/joinLink/JoinLink.tsx:20 -#: languages/wptelegram-widget-js-translations.php:265 +#: languages/wptelegram-widget-js-translations.php:267 msgid "After content" msgstr "" #: js/settings/ui/TabbedSections.tsx:40 -#: languages/wptelegram-widget-js-translations.php:238 +#: languages/wptelegram-widget-js-translations.php:240 msgid "Join link can be automatically added to posts." msgstr "" #: js/settings/ui/joinLink/JoinLink.tsx:83 -#: languages/wptelegram-widget-js-translations.php:268 +#: languages/wptelegram-widget-js-translations.php:270 msgid "Priority with respect to adjacent items." msgstr "" #: js/settings/ui/joinLink/JoinLink.tsx:104 -#: languages/wptelegram-widget-js-translations.php:259 +#: languages/wptelegram-widget-js-translations.php:261 msgid "Whether to open the join link in new tab." msgstr "" #: js/settings/ui/joinLink/JoinLinkInfo.tsx:12 -#: languages/wptelegram-widget-js-translations.php:271 +#: languages/wptelegram-widget-js-translations.php:273 #: shared/widgets/JoinChannel.php:27 msgid "WP Telegram Join Channel" msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:112 -#: languages/wptelegram-widget-js-translations.php:283 +#: languages/wptelegram-widget-js-translations.php:285 msgid "To make sure the updates are pulled in time, it is recommended to set up a cron on your hosting server that hits the below URL every five minutes or so." msgstr "Для уверенности, что обновление пройдёт вовремя, рекомендуется настроить cron на сервере используя ссылку ниже каждые 5 минут." #. 1 command name, 2 bot name #. translators: 1 command name, 2 bot name #: js/settings/ui/legacyWidget/Instructions.tsx:19 -#: languages/wptelegram-widget-js-translations.php:287 +#: languages/wptelegram-widget-js-translations.php:289 msgid "Create a Bot by sending %1$s command to %2$s." msgstr "" #. %s bot name #. translators: %s bot name #: js/settings/ui/legacyWidget/Instructions.tsx:40 -#: languages/wptelegram-widget-js-translations.php:291 +#: languages/wptelegram-widget-js-translations.php:293 msgid "After completing the steps %s will provide you the Bot Token." msgstr "После завершения шага c %s Вы получите токен бота." #: js/settings/ui/legacyWidget/Instructions.tsx:48 -#: languages/wptelegram-widget-js-translations.php:294 +#: languages/wptelegram-widget-js-translations.php:296 msgid "Copy the token and paste into the Bot Token field below." msgstr "Скопируйте и вставьте в поле Токен бота ниже" #. %s application name #. translators: %s application name #: js/settings/ui/legacyWidget/Instructions.tsx:52 -#: languages/wptelegram-widget-js-translations.php:298 +#: languages/wptelegram-widget-js-translations.php:300 msgid "For ease, use %s" msgstr "Для удобства используйте %s" #: js/settings/ui/legacyWidget/Instructions.tsx:58 -#: languages/wptelegram-widget-js-translations.php:301 +#: languages/wptelegram-widget-js-translations.php:303 msgid "Telegram Desktop" msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:64 -#: languages/wptelegram-widget-js-translations.php:304 +#: languages/wptelegram-widget-js-translations.php:306 msgid "Add the Bot as Administrator to your Channel/Group." msgstr "Добавьте бота в Администраторы в вашем канале/чате." #: js/settings/ui/legacyWidget/Instructions.tsx:65 -#: languages/wptelegram-widget-js-translations.php:307 +#: languages/wptelegram-widget-js-translations.php:309 msgid "Send a test message to see if we did it right." msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:68 -#: languages/wptelegram-widget-js-translations.php:310 +#: languages/wptelegram-widget-js-translations.php:312 msgid "For groups, disable group privacy for the bot." msgstr "" #. 1 command name, 2 bot name, 3 site url #. translators: 1 command name, 2 bot name, 3 site url #: js/settings/ui/legacyWidget/Instructions.tsx:75 -#: languages/wptelegram-widget-js-translations.php:314 +#: languages/wptelegram-widget-js-translations.php:316 msgid "Send %1$s command to %2$s." msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:93 -#: languages/wptelegram-widget-js-translations.php:317 +#: languages/wptelegram-widget-js-translations.php:319 msgid "Choose your bot." msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:94 -#: languages/wptelegram-widget-js-translations.php:320 +#: languages/wptelegram-widget-js-translations.php:322 msgid "Select \"Disable\"." msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:101 -#: languages/wptelegram-widget-js-translations.php:277 +#: languages/wptelegram-widget-js-translations.php:279 msgid "Tip!" msgstr "Подсказка!" #: js/settings/ui/legacyWidget/Instructions.tsx:106 -#: languages/wptelegram-widget-js-translations.php:280 +#: languages/wptelegram-widget-js-translations.php:282 msgid "Updates are pulled every five minutes if someone visits your website." msgstr "Обновление пройдёт через каждые 5 минут, если Ваш сайт кто-то посетит." #: js/settings/ui/legacyWidget/LegacyWidget.tsx:19 -#: languages/wptelegram-widget-js-translations.php:323 +#: languages/wptelegram-widget-js-translations.php:325 #: shared/widgets/Legacy.php:138 msgid "Auto" msgstr "Автоматически" #: js/settings/ui/legacyWidget/LegacyWidget.tsx:20 -#: languages/wptelegram-widget-js-translations.php:326 +#: languages/wptelegram-widget-js-translations.php:328 #: shared/widgets/Legacy.php:139 msgid "Always show" msgstr "Всегда показывать" #: js/settings/ui/legacyWidget/LegacyWidget.tsx:21 -#: languages/wptelegram-widget-js-translations.php:329 +#: languages/wptelegram-widget-js-translations.php:331 #: shared/widgets/Legacy.php:140 msgid "Always hide" msgstr "Всегда скрывать" #: js/settings/ui/TabbedSections.tsx:32 -#: languages/wptelegram-widget-js-translations.php:232 +#: languages/wptelegram-widget-js-translations.php:234 msgid "Legacy widget is a full height widget which supports both channels and groups." msgstr "" #: js/settings/ui/legacyWidget/LegacyWidget.tsx:70 -#: languages/wptelegram-widget-js-translations.php:332 +#: languages/wptelegram-widget-js-translations.php:334 #: shared/widgets/Legacy.php:147 msgid "Number of messages to display in the widget." msgstr "Количество сообщений в виджете." #: js/settings/ui/legacyWidget/LegacyWidgetInfo.tsx:12 -#: languages/wptelegram-widget-js-translations.php:335 +#: languages/wptelegram-widget-js-translations.php:337 #: shared/widgets/Legacy.php:27 msgid "WP Telegram Legacy Widget" msgstr "" #: js/settings/ui/legacyWidget/Username.tsx:41 -#: languages/wptelegram-widget-js-translations.php:347 +#: languages/wptelegram-widget-js-translations.php:349 msgid "Channel or group username." msgstr "" #: ../../packages/js/shared-ui/form/bot-token-field.tsx:45 -#: languages/wptelegram-widget-js-translations.php:80 +#: languages/wptelegram-widget-js-translations.php:82 msgid "Please read the instructions above." msgstr "Пожалуйста, прочитайте инструкцию выше." @@ -459,31 +459,31 @@ msgid "Need help?" msgstr "Нужна помощь?" #: ../../packages/js/shared-ui/form/submit/submit-button.tsx:12 -#: languages/wptelegram-widget-js-translations.php:83 +#: languages/wptelegram-widget-js-translations.php:85 msgid "Save Changes" msgstr "" #: ../../packages/js/shared-ui/form/test-result/member-count-result.tsx:17 -#: languages/wptelegram-widget-js-translations.php:86 +#: languages/wptelegram-widget-js-translations.php:88 msgid "Members Count:" msgstr "Количество подписчиков:" #: ../../packages/js/shared-ui/form/test-result/render-test-result.tsx:39 -#: languages/wptelegram-widget-js-translations.php:89 +#: languages/wptelegram-widget-js-translations.php:91 msgid "Test Result:" msgstr "" #. %s: social handle #. translators: %s: social handle #: ../../packages/js/shared-ui/components/wptg-social-icons.tsx:42 -#: languages/wptelegram-widget-js-translations.php:73 +#: languages/wptelegram-widget-js-translations.php:75 msgid "Follow %s" msgstr "Подписаться %s" #. %s: channel name #. translators: %s: channel name #: ../../packages/js/shared-ui/components/wptg-social-icons.tsx:57 -#: languages/wptelegram-widget-js-translations.php:77 +#: languages/wptelegram-widget-js-translations.php:79 msgid "Join %s" msgstr "присоединиться %s" @@ -526,17 +526,17 @@ msgstr "Информация виджета" #: ../../packages/js/shared-ui/form/use-bot-token-test.tsx:66 #: ../../packages/js/shared-ui/form/use-chat-with-test.tsx:95 -#: languages/wptelegram-widget-js-translations.php:93 +#: languages/wptelegram-widget-js-translations.php:95 msgid "Please wait…" msgstr "" #: ../../packages/js/shared-ui/form/use-bot-token-test.tsx:67 -#: languages/wptelegram-widget-js-translations.php:96 +#: languages/wptelegram-widget-js-translations.php:98 msgid "Test Token" msgstr "Проверить токен" #: ../../packages/js/shared-ui/form/use-chat-with-test.tsx:96 -#: languages/wptelegram-widget-js-translations.php:99 +#: languages/wptelegram-widget-js-translations.php:101 msgid "Send Test" msgstr "Отправить тест" @@ -582,18 +582,18 @@ msgstr "" #: ../../packages/js/utilities/fields.ts:35 #: js/settings/services/fields.ts:124 -#: languages/wptelegram-widget-js-translations.php:103 +#: languages/wptelegram-widget-js-translations.php:105 msgid "Invalid %s" msgstr "Недопустимый %s" #: ../../packages/js/utilities/fields.ts:39 #: js/settings/services/fields.ts:96 -#: languages/wptelegram-widget-js-translations.php:107 +#: languages/wptelegram-widget-js-translations.php:109 msgid "%s required." msgstr "" #: ../../packages/js/utilities/fields.ts:42 -#: languages/wptelegram-widget-js-translations.php:110 +#: languages/wptelegram-widget-js-translations.php:112 msgid "Changes could not be saved." msgstr "" @@ -620,15 +620,15 @@ msgid "Display the Telegram Public Channel or Group Feed in a widget" msgstr "Отображать Telegram канал или Чат в виджете." #: js/blocks/single-post/Edit.tsx:148 -#: js/blocks/single-post/index.tsx:48 -#: languages/wptelegram-widget-js-translations.php:178 +#: js/blocks/single-post/index.tsx:47 +#: languages/wptelegram-widget-js-translations.php:180 msgid "Telegram post" msgstr "" #. Description of the plugin #: js/settings/ui/Sidebar.tsx:19 #: wptelegram-widget.php -#: languages/wptelegram-widget-js-translations.php:217 +#: languages/wptelegram-widget-js-translations.php:219 msgid "Display the Telegram Public Channel or Group Feed in a WordPress widget or anywhere you want using a shortcode." msgstr "" @@ -668,27 +668,27 @@ msgid "WP Telegram" msgstr "" #: js/settings/ui/Sidebar.tsx:22 -#: languages/wptelegram-widget-js-translations.php:220 +#: languages/wptelegram-widget-js-translations.php:222 msgid "Join our public chat on Telegram" msgstr "" #: js/settings/ui/joinLink/PostTypes.tsx:23 -#: languages/wptelegram-widget-js-translations.php:274 +#: languages/wptelegram-widget-js-translations.php:276 msgid "The join link will be automatically added to the selected post types." msgstr "" #: js/settings/ui/legacyWidget/OldMessagesInfo.tsx:11 -#: languages/wptelegram-widget-js-translations.php:338 +#: languages/wptelegram-widget-js-translations.php:340 msgid "You need to post something new into the group/channel and wait for five minutes for the messages to appear." msgstr "" #: js/settings/ui/legacyWidget/OldMessagesInfo.tsx:7 -#: languages/wptelegram-widget-js-translations.php:341 +#: languages/wptelegram-widget-js-translations.php:343 msgid "Old Messages" msgstr "" #: js/settings/ui/legacyWidget/OldMessagesInfo.tsx:8 -#: languages/wptelegram-widget-js-translations.php:344 +#: languages/wptelegram-widget-js-translations.php:346 msgid "Legacy Widget does not show the old messages." msgstr "" diff --git a/plugins/wptelegram-widget/src/languages/wptelegram-widget.pot b/plugins/wptelegram-widget/src/languages/wptelegram-widget.pot index 6672fd04..0cf03450 100644 --- a/plugins/wptelegram-widget/src/languages/wptelegram-widget.pot +++ b/plugins/wptelegram-widget/src/languages/wptelegram-widget.pot @@ -2,14 +2,14 @@ # This file is distributed under the GPL-2.0+. msgid "" msgstr "" -"Project-Id-Version: WP Telegram Widget 2.2.4\n" +"Project-Id-Version: WP Telegram Widget 2.2.5\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wptelegram-widget\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2024-11-14T16:35:26+00:00\n" +"POT-Creation-Date: 2024-11-27T14:06:18+00:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.11.0\n" "language: en_US\n" @@ -129,7 +129,7 @@ msgstr "" #: js/blocks/channel-feed/Edit.tsx:60 #: js/settings/ui/ajaxWidget/AjaxWidget.tsx:54 #: js/settings/ui/legacyWidget/LegacyWidget.tsx:40 -#: languages/wptelegram-widget-js-translations.php:69 +#: languages/wptelegram-widget-js-translations.php:71 #: shared/widgets/Ajax.php:134 msgid "or" msgstr "" @@ -137,92 +137,92 @@ msgstr "" #. %s: social handle #. translators: %s: social handle #: ../../packages/js/shared-ui/components/wptg-social-icons.tsx:42 -#: languages/wptelegram-widget-js-translations.php:73 +#: languages/wptelegram-widget-js-translations.php:75 msgid "Follow %s" msgstr "" #. %s: channel name #. translators: %s: channel name #: ../../packages/js/shared-ui/components/wptg-social-icons.tsx:57 -#: languages/wptelegram-widget-js-translations.php:77 +#: languages/wptelegram-widget-js-translations.php:79 msgid "Join %s" msgstr "" #: ../../packages/js/shared-ui/form/bot-token-field.tsx:45 -#: languages/wptelegram-widget-js-translations.php:80 +#: languages/wptelegram-widget-js-translations.php:82 msgid "Please read the instructions above." msgstr "" #: ../../packages/js/shared-ui/form/submit/submit-button.tsx:12 -#: languages/wptelegram-widget-js-translations.php:83 +#: languages/wptelegram-widget-js-translations.php:85 msgid "Save Changes" msgstr "" #: ../../packages/js/shared-ui/form/test-result/member-count-result.tsx:17 -#: languages/wptelegram-widget-js-translations.php:86 +#: languages/wptelegram-widget-js-translations.php:88 msgid "Members Count:" msgstr "" #: ../../packages/js/shared-ui/form/test-result/render-test-result.tsx:39 -#: languages/wptelegram-widget-js-translations.php:89 +#: languages/wptelegram-widget-js-translations.php:91 msgid "Test Result:" msgstr "" #: ../../packages/js/shared-ui/form/use-bot-token-test.tsx:66 #: ../../packages/js/shared-ui/form/use-chat-with-test.tsx:95 -#: languages/wptelegram-widget-js-translations.php:93 +#: languages/wptelegram-widget-js-translations.php:95 msgid "Please wait…" msgstr "" #: ../../packages/js/shared-ui/form/use-bot-token-test.tsx:67 -#: languages/wptelegram-widget-js-translations.php:96 +#: languages/wptelegram-widget-js-translations.php:98 msgid "Test Token" msgstr "" #: ../../packages/js/shared-ui/form/use-chat-with-test.tsx:96 -#: languages/wptelegram-widget-js-translations.php:99 +#: languages/wptelegram-widget-js-translations.php:101 msgid "Send Test" msgstr "" #: ../../packages/js/utilities/fields.ts:35 #: js/settings/services/fields.ts:124 -#: languages/wptelegram-widget-js-translations.php:103 +#: languages/wptelegram-widget-js-translations.php:105 msgid "Invalid %s" msgstr "" #: ../../packages/js/utilities/fields.ts:39 #: js/settings/services/fields.ts:96 -#: languages/wptelegram-widget-js-translations.php:107 +#: languages/wptelegram-widget-js-translations.php:109 msgid "%s required." msgstr "" #: ../../packages/js/utilities/fields.ts:42 -#: languages/wptelegram-widget-js-translations.php:110 +#: languages/wptelegram-widget-js-translations.php:112 msgid "Changes could not be saved." msgstr "" #: js/blocks/ajax-channel-feed/Edit.tsx:37 #: js/blocks/channel-feed/Edit.tsx:54 -#: languages/wptelegram-widget-js-translations.php:114 +#: languages/wptelegram-widget-js-translations.php:116 msgid "Widget Options" msgstr "" #: js/blocks/ajax-channel-feed/Edit.tsx:40 #: js/settings/services/fields.ts:16 -#: languages/wptelegram-widget-js-translations.php:118 +#: languages/wptelegram-widget-js-translations.php:120 #: shared/widgets/Ajax.php:127 msgid "Username" msgstr "" #: js/blocks/ajax-channel-feed/Edit.tsx:45 #: js/settings/ui/ajaxWidget/AjaxWidget.tsx:26 -#: languages/wptelegram-widget-js-translations.php:122 +#: languages/wptelegram-widget-js-translations.php:124 #: shared/widgets/Ajax.php:129 msgid "Channel username." msgstr "" #: js/blocks/ajax-channel-feed/Edit.tsx:46 -#: languages/wptelegram-widget-js-translations.php:125 +#: languages/wptelegram-widget-js-translations.php:127 #: shared/widgets/Ajax.php:129 msgid "Leave empty for default." msgstr "" @@ -230,7 +230,7 @@ msgstr "" #: js/blocks/ajax-channel-feed/Edit.tsx:52 #: js/blocks/channel-feed/Edit.tsx:57 #: js/settings/services/fields.ts:17 -#: languages/wptelegram-widget-js-translations.php:130 +#: languages/wptelegram-widget-js-translations.php:132 #: shared/widgets/Ajax.php:133 #: shared/widgets/Legacy.php:131 msgid "Widget Width" @@ -238,372 +238,372 @@ msgstr "" #: js/blocks/ajax-channel-feed/Edit.tsx:59 #: js/settings/services/fields.ts:18 -#: languages/wptelegram-widget-js-translations.php:134 +#: languages/wptelegram-widget-js-translations.php:136 #: shared/widgets/Ajax.php:138 msgid "Widget Height" msgstr "" #: js/blocks/ajax-channel-feed/Edit.tsx:71 #: js/blocks/ajax-channel-feed/index.tsx:14 -#: languages/wptelegram-widget-js-translations.php:138 +#: languages/wptelegram-widget-js-translations.php:140 msgid "Telegram Channel Ajax Feed" msgstr "" #: js/blocks/channel-feed/Edit.tsx:64 #: js/blocks/single-post/Controls.tsx:37 #: js/settings/services/fields.ts:19 -#: languages/wptelegram-widget-js-translations.php:143 +#: languages/wptelegram-widget-js-translations.php:145 #: shared/widgets/Legacy.php:136 msgid "Author Photo" msgstr "" #: js/blocks/channel-feed/Edit.tsx:70 #: js/settings/services/fields.ts:20 -#: languages/wptelegram-widget-js-translations.php:147 +#: languages/wptelegram-widget-js-translations.php:149 #: shared/widgets/Legacy.php:144 msgid "Number of Messages" msgstr "" #: js/blocks/channel-feed/Edit.tsx:84 #: js/blocks/channel-feed/index.tsx:13 -#: languages/wptelegram-widget-js-translations.php:151 +#: languages/wptelegram-widget-js-translations.php:153 msgid "Telegram Channel Feed" msgstr "" #: js/blocks/join-channel/Controls.tsx:53 -#: languages/wptelegram-widget-js-translations.php:154 +#: languages/wptelegram-widget-js-translations.php:156 msgid "Button details" msgstr "" #: js/blocks/join-channel/Controls.tsx:56 #: js/settings/services/fields.ts:23 -#: languages/wptelegram-widget-js-translations.php:158 +#: languages/wptelegram-widget-js-translations.php:160 #: shared/widgets/JoinChannel.php:117 msgid "Channel Link" msgstr "" #: js/blocks/join-channel/Controls.tsx:63 #: js/settings/services/fields.ts:24 -#: languages/wptelegram-widget-js-translations.php:162 +#: languages/wptelegram-widget-js-translations.php:164 #: shared/widgets/JoinChannel.php:122 msgid "Button text" msgstr "" #: js/blocks/join-channel/index.tsx:16 -#: languages/wptelegram-widget-js-translations.php:165 +#: languages/wptelegram-widget-js-translations.php:167 msgid "Join Telegram Channel" msgstr "" #: js/blocks/single-post/Controls.tsx:35 -#: languages/wptelegram-widget-js-translations.php:168 +#: languages/wptelegram-widget-js-translations.php:170 msgid "Options" msgstr "" #: js/blocks/single-post/Controls.tsx:50 -#: languages/wptelegram-widget-js-translations.php:171 +#: languages/wptelegram-widget-js-translations.php:173 msgid "Edit URL" msgstr "" #: js/blocks/single-post/Edit.tsx:131 -#: languages/wptelegram-widget-js-translations.php:174 +#: languages/wptelegram-widget-js-translations.php:176 msgid "Loading…" msgstr "" #: js/blocks/single-post/Edit.tsx:148 -#: js/blocks/single-post/index.tsx:48 -#: languages/wptelegram-widget-js-translations.php:178 +#: js/blocks/single-post/index.tsx:47 +#: languages/wptelegram-widget-js-translations.php:180 msgid "Telegram post" msgstr "" #: js/blocks/single-post/Edit.tsx:27 -#: languages/wptelegram-widget-js-translations.php:181 +#: languages/wptelegram-widget-js-translations.php:183 msgid "Telegram post URL" msgstr "" #: js/blocks/single-post/Placeholder.tsx:40 -#: languages/wptelegram-widget-js-translations.php:184 +#: languages/wptelegram-widget-js-translations.php:186 msgid "Embed" msgstr "" #: js/blocks/single-post/index.tsx:10 -#: languages/wptelegram-widget-js-translations.php:187 +#: languages/wptelegram-widget-js-translations.php:189 msgid "Telegram Single Post" msgstr "" #: js/settings/services/fields.ts:13 -#: languages/wptelegram-widget-js-translations.php:190 +#: languages/wptelegram-widget-js-translations.php:192 msgid "Bot Token" msgstr "" #: js/settings/services/fields.ts:14 -#: languages/wptelegram-widget-js-translations.php:193 +#: languages/wptelegram-widget-js-translations.php:195 msgid "Background color" msgstr "" #: js/settings/services/fields.ts:15 -#: languages/wptelegram-widget-js-translations.php:196 +#: languages/wptelegram-widget-js-translations.php:198 msgid "Text color" msgstr "" #: js/settings/services/fields.ts:21 -#: languages/wptelegram-widget-js-translations.php:199 +#: languages/wptelegram-widget-js-translations.php:201 msgid "Host blocks Telegram" msgstr "" #: js/settings/services/fields.ts:22 -#: languages/wptelegram-widget-js-translations.php:202 +#: languages/wptelegram-widget-js-translations.php:204 msgid "Google Script URL" msgstr "" #: js/settings/services/fields.ts:25 -#: languages/wptelegram-widget-js-translations.php:205 +#: languages/wptelegram-widget-js-translations.php:207 msgid "Add to post types" msgstr "" #: js/settings/services/fields.ts:26 -#: languages/wptelegram-widget-js-translations.php:208 +#: languages/wptelegram-widget-js-translations.php:210 msgid "Position" msgstr "" #: js/settings/services/fields.ts:27 -#: languages/wptelegram-widget-js-translations.php:211 +#: languages/wptelegram-widget-js-translations.php:213 msgid "Priority" msgstr "" #: js/settings/services/fields.ts:28 -#: languages/wptelegram-widget-js-translations.php:214 +#: languages/wptelegram-widget-js-translations.php:216 msgid "Open in new tab" msgstr "" #. Description of the plugin #: js/settings/ui/Sidebar.tsx:19 #: wptelegram-widget.php -#: languages/wptelegram-widget-js-translations.php:217 +#: languages/wptelegram-widget-js-translations.php:219 msgid "Display the Telegram Public Channel or Group Feed in a WordPress widget or anywhere you want using a shortcode." msgstr "" #: js/settings/ui/Sidebar.tsx:22 -#: languages/wptelegram-widget-js-translations.php:220 +#: languages/wptelegram-widget-js-translations.php:222 msgid "Join our public chat on Telegram" msgstr "" #: js/settings/ui/TabbedSections.tsx:22 -#: languages/wptelegram-widget-js-translations.php:223 +#: languages/wptelegram-widget-js-translations.php:225 msgid "Ajax Widget" msgstr "" #: js/settings/ui/TabbedSections.tsx:24 -#: languages/wptelegram-widget-js-translations.php:226 +#: languages/wptelegram-widget-js-translations.php:228 msgid "Ajax widget is a beautiful scrollable widget which only supports channels." msgstr "" #: js/settings/ui/TabbedSections.tsx:30 -#: languages/wptelegram-widget-js-translations.php:229 +#: languages/wptelegram-widget-js-translations.php:231 msgid "Legacy Widget" msgstr "" #: js/settings/ui/TabbedSections.tsx:32 -#: languages/wptelegram-widget-js-translations.php:232 +#: languages/wptelegram-widget-js-translations.php:234 msgid "Legacy widget is a full height widget which supports both channels and groups." msgstr "" #: js/settings/ui/TabbedSections.tsx:38 -#: languages/wptelegram-widget-js-translations.php:235 +#: languages/wptelegram-widget-js-translations.php:237 msgid "Join Link" msgstr "" #: js/settings/ui/TabbedSections.tsx:40 -#: languages/wptelegram-widget-js-translations.php:238 +#: languages/wptelegram-widget-js-translations.php:240 msgid "Join link can be automatically added to posts." msgstr "" #: js/settings/ui/TabbedSections.tsx:44 -#: languages/wptelegram-widget-js-translations.php:241 +#: languages/wptelegram-widget-js-translations.php:243 msgid "Advanced" msgstr "" #: js/settings/ui/advanced/Advanced.tsx:33 -#: languages/wptelegram-widget-js-translations.php:244 +#: languages/wptelegram-widget-js-translations.php:246 msgid "Whether your host blocks Telegram." msgstr "" #: js/settings/ui/advanced/Advanced.tsx:54 -#: languages/wptelegram-widget-js-translations.php:247 +#: languages/wptelegram-widget-js-translations.php:249 msgid "The requests to Telegram will be sent via your Google Script." msgstr "" #: js/settings/ui/advanced/Advanced.tsx:63 -#: languages/wptelegram-widget-js-translations.php:250 +#: languages/wptelegram-widget-js-translations.php:252 msgid "See this tutorial" msgstr "" #: js/settings/ui/ajaxWidget/AjaxWidget.tsx:27 -#: languages/wptelegram-widget-js-translations.php:253 +#: languages/wptelegram-widget-js-translations.php:255 msgid "This is the default username, you can override it in widgets and shortcodes." msgstr "" #: js/settings/ui/ajaxWidget/AjaxWidgetInfo.tsx:12 -#: languages/wptelegram-widget-js-translations.php:256 +#: languages/wptelegram-widget-js-translations.php:258 #: shared/widgets/Ajax.php:29 msgid "WP Telegram Ajax Widget" msgstr "" #: js/settings/ui/joinLink/JoinLink.tsx:104 -#: languages/wptelegram-widget-js-translations.php:259 +#: languages/wptelegram-widget-js-translations.php:261 msgid "Whether to open the join link in new tab." msgstr "" #: js/settings/ui/joinLink/JoinLink.tsx:19 -#: languages/wptelegram-widget-js-translations.php:262 +#: languages/wptelegram-widget-js-translations.php:264 msgid "Before content" msgstr "" #: js/settings/ui/joinLink/JoinLink.tsx:20 -#: languages/wptelegram-widget-js-translations.php:265 +#: languages/wptelegram-widget-js-translations.php:267 msgid "After content" msgstr "" #: js/settings/ui/joinLink/JoinLink.tsx:83 -#: languages/wptelegram-widget-js-translations.php:268 +#: languages/wptelegram-widget-js-translations.php:270 msgid "Priority with respect to adjacent items." msgstr "" #: js/settings/ui/joinLink/JoinLinkInfo.tsx:12 -#: languages/wptelegram-widget-js-translations.php:271 +#: languages/wptelegram-widget-js-translations.php:273 #: shared/widgets/JoinChannel.php:27 msgid "WP Telegram Join Channel" msgstr "" #: js/settings/ui/joinLink/PostTypes.tsx:23 -#: languages/wptelegram-widget-js-translations.php:274 +#: languages/wptelegram-widget-js-translations.php:276 msgid "The join link will be automatically added to the selected post types." msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:101 -#: languages/wptelegram-widget-js-translations.php:277 +#: languages/wptelegram-widget-js-translations.php:279 msgid "Tip!" msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:106 -#: languages/wptelegram-widget-js-translations.php:280 +#: languages/wptelegram-widget-js-translations.php:282 msgid "Updates are pulled every five minutes if someone visits your website." msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:112 -#: languages/wptelegram-widget-js-translations.php:283 +#: languages/wptelegram-widget-js-translations.php:285 msgid "To make sure the updates are pulled in time, it is recommended to set up a cron on your hosting server that hits the below URL every five minutes or so." msgstr "" #. 1 command name, 2 bot name #. translators: 1 command name, 2 bot name #: js/settings/ui/legacyWidget/Instructions.tsx:19 -#: languages/wptelegram-widget-js-translations.php:287 +#: languages/wptelegram-widget-js-translations.php:289 msgid "Create a Bot by sending %1$s command to %2$s." msgstr "" #. %s bot name #. translators: %s bot name #: js/settings/ui/legacyWidget/Instructions.tsx:40 -#: languages/wptelegram-widget-js-translations.php:291 +#: languages/wptelegram-widget-js-translations.php:293 msgid "After completing the steps %s will provide you the Bot Token." msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:48 -#: languages/wptelegram-widget-js-translations.php:294 +#: languages/wptelegram-widget-js-translations.php:296 msgid "Copy the token and paste into the Bot Token field below." msgstr "" #. %s application name #. translators: %s application name #: js/settings/ui/legacyWidget/Instructions.tsx:52 -#: languages/wptelegram-widget-js-translations.php:298 +#: languages/wptelegram-widget-js-translations.php:300 msgid "For ease, use %s" msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:58 -#: languages/wptelegram-widget-js-translations.php:301 +#: languages/wptelegram-widget-js-translations.php:303 msgid "Telegram Desktop" msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:64 -#: languages/wptelegram-widget-js-translations.php:304 +#: languages/wptelegram-widget-js-translations.php:306 msgid "Add the Bot as Administrator to your Channel/Group." msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:65 -#: languages/wptelegram-widget-js-translations.php:307 +#: languages/wptelegram-widget-js-translations.php:309 msgid "Send a test message to see if we did it right." msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:68 -#: languages/wptelegram-widget-js-translations.php:310 +#: languages/wptelegram-widget-js-translations.php:312 msgid "For groups, disable group privacy for the bot." msgstr "" #. 1 command name, 2 bot name, 3 site url #. translators: 1 command name, 2 bot name, 3 site url #: js/settings/ui/legacyWidget/Instructions.tsx:75 -#: languages/wptelegram-widget-js-translations.php:314 +#: languages/wptelegram-widget-js-translations.php:316 msgid "Send %1$s command to %2$s." msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:93 -#: languages/wptelegram-widget-js-translations.php:317 +#: languages/wptelegram-widget-js-translations.php:319 msgid "Choose your bot." msgstr "" #: js/settings/ui/legacyWidget/Instructions.tsx:94 -#: languages/wptelegram-widget-js-translations.php:320 +#: languages/wptelegram-widget-js-translations.php:322 msgid "Select \"Disable\"." msgstr "" #: js/settings/ui/legacyWidget/LegacyWidget.tsx:19 -#: languages/wptelegram-widget-js-translations.php:323 +#: languages/wptelegram-widget-js-translations.php:325 #: shared/widgets/Legacy.php:138 msgid "Auto" msgstr "" #: js/settings/ui/legacyWidget/LegacyWidget.tsx:20 -#: languages/wptelegram-widget-js-translations.php:326 +#: languages/wptelegram-widget-js-translations.php:328 #: shared/widgets/Legacy.php:139 msgid "Always show" msgstr "" #: js/settings/ui/legacyWidget/LegacyWidget.tsx:21 -#: languages/wptelegram-widget-js-translations.php:329 +#: languages/wptelegram-widget-js-translations.php:331 #: shared/widgets/Legacy.php:140 msgid "Always hide" msgstr "" #: js/settings/ui/legacyWidget/LegacyWidget.tsx:70 -#: languages/wptelegram-widget-js-translations.php:332 +#: languages/wptelegram-widget-js-translations.php:334 #: shared/widgets/Legacy.php:147 msgid "Number of messages to display in the widget." msgstr "" #: js/settings/ui/legacyWidget/LegacyWidgetInfo.tsx:12 -#: languages/wptelegram-widget-js-translations.php:335 +#: languages/wptelegram-widget-js-translations.php:337 #: shared/widgets/Legacy.php:27 msgid "WP Telegram Legacy Widget" msgstr "" #: js/settings/ui/legacyWidget/OldMessagesInfo.tsx:11 -#: languages/wptelegram-widget-js-translations.php:338 +#: languages/wptelegram-widget-js-translations.php:340 msgid "You need to post something new into the group/channel and wait for five minutes for the messages to appear." msgstr "" #: js/settings/ui/legacyWidget/OldMessagesInfo.tsx:7 -#: languages/wptelegram-widget-js-translations.php:341 +#: languages/wptelegram-widget-js-translations.php:343 msgid "Old Messages" msgstr "" #: js/settings/ui/legacyWidget/OldMessagesInfo.tsx:8 -#: languages/wptelegram-widget-js-translations.php:344 +#: languages/wptelegram-widget-js-translations.php:346 msgid "Legacy Widget does not show the old messages." msgstr "" #: js/settings/ui/legacyWidget/Username.tsx:41 -#: languages/wptelegram-widget-js-translations.php:347 +#: languages/wptelegram-widget-js-translations.php:349 msgid "Channel or group username." msgstr "" diff --git a/plugins/wptelegram-widget/src/readme.txt b/plugins/wptelegram-widget/src/readme.txt index ff5c3b2c..bdb5b8d1 100644 --- a/plugins/wptelegram-widget/src/readme.txt +++ b/plugins/wptelegram-widget/src/readme.txt @@ -5,7 +5,7 @@ Tags: telegram, feed, widget, channel, group Requires at least: 6.4 Requires PHP: 7.4 Tested up to: 6.7 -Stable tag: 2.2.4 +Stable tag: 2.2.5 License: GPL-3.0-or-later License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -193,7 +193,7 @@ Automatic updates should work smoothly, but we still recommend you back up your == Changelog == -= 2.2.4 = -- Fixed the issue of block editor Zoom out not being visible when the plugin is active += 2.2.5 = +- Added multi-group support for legacy widget via custom code [See full changelog](https://github.com/wpsocio/wptelegram-widget/blob/main/CHANGELOG.md) diff --git a/plugins/wptelegram-widget/src/wptelegram-widget.php b/plugins/wptelegram-widget/src/wptelegram-widget.php index 6f254335..cf199461 100644 --- a/plugins/wptelegram-widget/src/wptelegram-widget.php +++ b/plugins/wptelegram-widget/src/wptelegram-widget.php @@ -10,7 +10,7 @@ * Plugin Name: WP Telegram Widget * Plugin URI: https://t.me/WPTelegram * Description: Display the Telegram Public Channel or Group Feed in a WordPress widget or anywhere you want using a shortcode. - * Version: 2.2.4 + * Version: 2.2.5 * Requires at least: 6.4 * Requires PHP: 7.4 * Author: WP Socio @@ -29,7 +29,7 @@ /** * Current plugin version. */ -define( 'WPTELEGRAM_WIDGET_VER', '2.2.4' ); +define( 'WPTELEGRAM_WIDGET_VER', '2.2.5' ); defined( 'WPTELEGRAM_WIDGET_MAIN_FILE' ) || define( 'WPTELEGRAM_WIDGET_MAIN_FILE', __FILE__ ); diff --git a/plugins/wptelegram/package.json b/plugins/wptelegram/package.json index 70ed1ea7..1fa60ecc 100644 --- a/plugins/wptelegram/package.json +++ b/plugins/wptelegram/package.json @@ -75,7 +75,9 @@ ] }, { - "paths": ["src/assets/build/dev-server.json"], + "paths": [ + "src/assets/build/dev-server.json" + ], "rules": [ { "value": "NOT_EXISTS" @@ -87,15 +89,21 @@ "wireit": { "build": { "command": "vite build && pnpm run validate-build", - "output": ["src/assets/build"] + "output": [ + "src/assets/build" + ] }, "setup:php": { "command": "composer install", - "dependencies": ["unset-vendor-dir"] + "dependencies": [ + "unset-vendor-dir" + ] }, "setup:php:prod": { "command": "composer install --no-dev && pnpm run unset-vendor-dir", - "dependencies": ["set-prod-vendor"] + "dependencies": [ + "set-prod-vendor" + ] }, "set-prod-vendor": { "command": "composer config vendor-dir src/vendor" diff --git a/tools/vite-wp-react/CHANGELOG.md b/tools/vite-wp-react/CHANGELOG.md index d91b8f7a..01bdb3c6 100644 --- a/tools/vite-wp-react/CHANGELOG.md +++ b/tools/vite-wp-react/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 1.0.6 + +### Patch Changes + +- [#214](https://github.com/wpsocio/wp-projects/pull/214) [`22074b1`](https://github.com/wpsocio/wp-projects/commit/22074b1fc7aaa540b143a9ce2c90df2198f75e8e) Thanks [@irshadahmad21](https://github.com/irshadahmad21)! - Added support for Vite 6 + ## 1.0.5 ### Patch Changes diff --git a/tools/vite-wp-react/package.json b/tools/vite-wp-react/package.json index 420988f3..4801c95d 100644 --- a/tools/vite-wp-react/package.json +++ b/tools/vite-wp-react/package.json @@ -1,6 +1,6 @@ { "name": "@wpsocio/vite-wp-react", - "version": "1.0.5", + "version": "1.0.6", "description": "Set of tools to develop WordPress plugins and themes using React and Vite.", "license": "MIT", "repository": { @@ -16,7 +16,10 @@ "bugs": { "url": "https://github.com/wpsocio/wp-projects/issues" }, - "files": ["dist", "src"], + "files": [ + "dist", + "src" + ], "publishConfig": { "access": "public" }, @@ -44,9 +47,15 @@ }, "typesVersions": { "*": { - "config": ["./dist/config.d.ts"], - "utils": ["./dist/utils/index.d.ts"], - "plugins": ["./dist/plugins/index.d.ts"] + "config": [ + "./dist/config.d.ts" + ], + "utils": [ + "./dist/utils/index.d.ts" + ], + "plugins": [ + "./dist/plugins/index.d.ts" + ] } }, "dependencies": { @@ -80,16 +89,26 @@ "build": { "command": "tsup", "clean": "if-file-deleted", - "files": ["src/", "tsconfig.json", "tsup.config.ts"], - "output": ["dist/**"] + "files": [ + "src/", + "tsconfig.json", + "tsup.config.ts" + ], + "output": [ + "dist/**" + ] }, "build:local": { "command": "tsc --emitDeclarationOnly --declaration", - "dependencies": ["build"] + "dependencies": [ + "build" + ] }, "prepublishOnly": { "command": "pnpm run build", - "dependencies": ["clean"] + "dependencies": [ + "clean" + ] } } }