diff --git a/bl-plugins/twitter-cards/languages/cs_CZ.json b/bl-plugins/twitter-cards/languages/cs_CZ.json
new file mode 100644
index 00000000..3b3edfcc
--- /dev/null
+++ b/bl-plugins/twitter-cards/languages/cs_CZ.json
@@ -0,0 +1,13 @@
+{
+ "plugin-data":
+ {
+ "name": "Twitter Cards",
+ "description": "With Twitter Cards, you can attach rich photos, videos and media experiences to Tweets, helping to drive traffic to your website."
+ },
+ "default-image": "Výchozí obrázek",
+ "twitter-site-profile": "Profil stránky na Twitteru",
+ "twitter-author-profile": "Profil autora příspěvku na Twitteru",
+ "minimum-image-dimensions": "Minimální rozměry obrázku jsou 300x157px a maximum 4096x4096px.",
+ "image-must-be-less": "Obrázek musí být menší než 5MB.",
+ "formats-are-supported": "Jsou podporovány formáty pouze JPG, PNG, WEBP a GIF."
+}
diff --git a/bl-plugins/twitter-cards/languages/en.json b/bl-plugins/twitter-cards/languages/en.json
index 5f98378d..f314a695 100644
--- a/bl-plugins/twitter-cards/languages/en.json
+++ b/bl-plugins/twitter-cards/languages/en.json
@@ -4,5 +4,10 @@
"name": "Twitter Cards",
"description": "With Twitter Cards, you can attach rich photos, videos and media experiences to Tweets, helping to drive traffic to your website."
},
- "default-image": "Default image"
-}
\ No newline at end of file
+ "default-image": "Default image",
+ "twitter-site-profile": "Twitter site profile",
+ "twitter-author-profile": "Twitter author profile",
+ "minimum-image-dimensions": "The minimum image dimensions are 300x157px and the maximum 4096x4096px.",
+ "image-must-be-less": "Image must be less than 5MB in size.",
+ "formats-are-supported": "JPG, PNG, WEBP and GIF formats are supported."
+}
diff --git a/bl-plugins/twitter-cards/metadata.json b/bl-plugins/twitter-cards/metadata.json
index d62ed64e..5540bdca 100644
--- a/bl-plugins/twitter-cards/metadata.json
+++ b/bl-plugins/twitter-cards/metadata.json
@@ -3,8 +3,8 @@
"email": "",
"website": "https://plugins.bludit.com",
"version": "4.0.0",
- "releaseDate": "2021-05-23",
+ "releaseDate": "2022-10-01",
"license": "MIT",
"compatible": "4.0.0",
"notes": ""
-}
\ No newline at end of file
+}
diff --git a/bl-plugins/twitter-cards/plugin.php b/bl-plugins/twitter-cards/plugin.php
index 26acdc80..754e3df1 100644
--- a/bl-plugins/twitter-cards/plugin.php
+++ b/bl-plugins/twitter-cards/plugin.php
@@ -6,7 +6,9 @@ class pluginTwitterCards extends Plugin {
{
// Fields and default values for the database of this plugin
$this->dbFields = array(
- 'defaultImage'=>''
+ 'defaultImage' => '',
+ 'twitterSite' => '',
+ 'twitterCreator' => ''
);
}
@@ -14,9 +16,24 @@ class pluginTwitterCards extends Plugin {
{
global $L;
- $html = '