From 3905ed56016c397d35ee711e6810e426bc2f9582 Mon Sep 17 00:00:00 2001 From: Aldo Latino Date: Sun, 26 Jul 2020 07:13:12 +0200 Subject: [PATCH 1/6] Added new param to form input text for password --- includes/aldolat-twitter-widget-form-functions.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/aldolat-twitter-widget-form-functions.php b/includes/aldolat-twitter-widget-form-functions.php index 3693c02..34c71f6 100644 --- a/includes/aldolat-twitter-widget-form-functions.php +++ b/includes/aldolat-twitter-widget-form-functions.php @@ -38,9 +38,10 @@ function aldolat_twitter_form_label( $label, $id ) { * @param string $comment An optional comment to display. It is displayed below the input form. * @param string $style An optional inline style. * @param string $class An optional CSS class. + * @param string $type The type of input. * @uses aldolat_twitter_form_label */ -function aldolat_twitter_form_input_text( $label, $id, $name, $value, $placeholder = '', $comment = '', $style = '', $class = '' ) { +function aldolat_twitter_form_input_text( $label, $id, $name, $value, $placeholder = '', $comment = '', $style = '', $class = '', $type = 'text' ) { $class = rtrim( 'widefat aldolat-twitter-input ' . $class ); if ( $style ) { @@ -52,7 +53,7 @@ function aldolat_twitter_form_input_text( $label, $id, $name, $value, $placehold aldolat_twitter_form_label( $label, $id ); ?> - Date: Sun, 26 Jul 2020 07:14:11 +0200 Subject: [PATCH 2/6] Changed input for secrets to password type --- includes/class-aldolat-twitter-widget.php | 28 +++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) diff --git a/includes/class-aldolat-twitter-widget.php b/includes/class-aldolat-twitter-widget.php index dfab7f4..05292c3 100644 --- a/includes/class-aldolat-twitter-widget.php +++ b/includes/class-aldolat-twitter-widget.php @@ -273,28 +273,48 @@ public function form( $instance ) { esc_html__( 'Consumer Key:', 'aldolat-twitter' ), $this->get_field_id( 'consumer_key' ), $this->get_field_name( 'consumer_key' ), - esc_attr( $instance['consumer_key'] ) + esc_attr( $instance['consumer_key'] ), + '', + __( 'Insert Consumer Key', 'aldolat-twitter' ), + '', + '', + 'password' ); // Consumer secret. aldolat_twitter_form_input_text( esc_html__( 'Consumer secret:', 'aldolat-twitter' ), $this->get_field_id( 'consumer_secret' ), $this->get_field_name( 'consumer_secret' ), - esc_attr( $instance['consumer_secret'] ) + esc_attr( $instance['consumer_secret'] ), + '', + __( 'Insert Consumer Secret', 'aldolat-twitter' ), + '', + '', + 'password' ); // Oauth token. aldolat_twitter_form_input_text( esc_html__( 'Oauth token:', 'aldolat-twitter' ), $this->get_field_id( 'oauth_token' ), $this->get_field_name( 'oauth_token' ), - esc_attr( $instance['oauth_token'] ) + esc_attr( $instance['oauth_token'] ), + '', + __( 'Insert Oauth Token', 'aldolat-twitter' ), + '', + '', + 'password' ); // Oauth token secret. aldolat_twitter_form_input_text( esc_html__( 'Oauth token secret:', 'aldolat-twitter' ), $this->get_field_id( 'oauth_token_secret' ), $this->get_field_name( 'oauth_token_secret' ), - esc_attr( $instance['oauth_token_secret'] ) + esc_attr( $instance['oauth_token_secret'] ), + '', + __( 'Insert Oauth Token Secret', 'aldolat-twitter' ), + '', + '', + 'password' ); ?> From 9a389376ef5f4db6d7e13752af8f6790f90f4d90 Mon Sep 17 00:00:00 2001 From: Aldo Latino Date: Sun, 26 Jul 2020 12:20:03 +0200 Subject: [PATCH 3/6] Modified the output --- includes/class-aldolat-twitter-core.php | 145 +++++++++++++++------- includes/class-aldolat-twitter-widget.php | 2 +- languages/aldolat-twitter-it_IT.po | 6 +- 3 files changed, 106 insertions(+), 47 deletions(-) diff --git a/includes/class-aldolat-twitter-core.php b/includes/class-aldolat-twitter-core.php index 2257548..fc3722e 100644 --- a/includes/class-aldolat-twitter-core.php +++ b/includes/class-aldolat-twitter-core.php @@ -136,44 +136,90 @@ private function get_response() { * @since 0.1.0 * @access public */ - public function get_tweets() { - $tweets = $this->fetch(); - - $output = '
'; - + public function the_tweets() { + $tweets = $this->fetch(); $new_tab_text = $this->new_tab( $this->plugin_settings['new_tab'] ); - - foreach ( $tweets as $tweet ) { - $output .= '
'; - $output .= ''; - $output .= ''; - $output .= ' '; - $output .= ''; - $output .= esc_html__( 'by', 'aldolat-twitter' ) . ' '; - $output .= ''; - $output .= $tweet->user->name; - $output .= ''; - $output .= ''; - $output .= '
' . $this->format( $tweet ) . '
'; - $output .= '
'; - } - - $output .= '
'; - - return $output; - } - - /** - * Returns the difference in seconds between the tweet time and now. - * - * @param integer $t The formatted datetime of the tweet. - * @return integer The difference in seconds - * @since 0.0.1 - * @access private - */ - private function relative_time( $t ) { - $new_tweet_time = strtotime( $t ); - return human_time_diff( $new_tweet_time, time() ); + ?> + +
+ +
+ retweeted_status ) ) { + $tweet_screen_name = $tweet->retweeted_status->user->screen_name; + $tweet_user_image = $tweet->retweeted_status->user->profile_image_url_https; + } else { + $tweet_screen_name = $tweet->user->screen_name; + $tweet_user_image = $tweet->user->profile_image_url_https; + } + ?> +

+ href="https://twitter.com/"> + profile picture + +

+

+ format( $tweet ); ?> +

+ in_reply_to_status_id ) { + ?> +

+ in_reply_to_screen_name ) . '/status/' . esc_html( $tweet->in_reply_to_status_id ) . '">@' . esc_html( $tweet->in_reply_to_screen_name ) . '' + ); + ?> +

+ +

+ retweeted_status ) ) { + $tweet_user = $tweet->retweeted_status->user->screen_name; + $tweet_id = $tweet->retweeted_status->id_str; + $tweet_time = $tweet->retweeted_status->created_at; + } else { + $tweet_user = $tweet->user->screen_name; + $tweet_id = $tweet->id_str; + $tweet_time = $tweet->created_at; + } + ?> + + href="https://twitter.com//status/"> + + + + + + href="https://twitter.com/"> + + + + retweeted_status ) ) { + printf( + // translators: date and tweet author name + ' ' . esc_html__( '(RT on %1$s by %2$s)' ), + '' . esc_html( $this->get_tweet_time( $tweet->created_at ) ) . '', + '' . esc_html( $tweet->user->screen_name ) . '' + ); + } + ?> +

+
+ +
+ relative_time( $tweet_time ) . ' ' . esc_html__( 'ago', 'aldolat-twitter' ); + $time = $this->relative_time( $tweet_time ); } return $time; } + /** + * Returns the difference in seconds between the tweet time and now, + * including the '... ago' string. + * + * @param integer $t The formatted datetime of the tweet. + * @return integer The difference in seconds + * @since 0.0.1 + * @access private + */ + private function relative_time( $t ) { + $tweet_time = strtotime( $t ); + return human_time_diff( $tweet_time, time() ) . ' ' . esc_html__( 'ago', 'aldolat-twitter' ); + } + /** * Get the HTML rel attribute for links. * diff --git a/includes/class-aldolat-twitter-widget.php b/includes/class-aldolat-twitter-widget.php index 05292c3..6377991 100644 --- a/includes/class-aldolat-twitter-widget.php +++ b/includes/class-aldolat-twitter-widget.php @@ -91,7 +91,7 @@ public function widget( $args, $instance ) { 'widget_id' => $args['widget_id'], ); */ $aldolat_tweets = new Aldolat_Twitter_Core( $instance ); - echo $aldolat_tweets->get_tweets(); + $aldolat_tweets->the_tweets(); echo $args['after_widget']; diff --git a/languages/aldolat-twitter-it_IT.po b/languages/aldolat-twitter-it_IT.po index fa8abfd..b36ba69 100644 --- a/languages/aldolat-twitter-it_IT.po +++ b/languages/aldolat-twitter-it_IT.po @@ -6,14 +6,14 @@ msgstr "" "Project-Id-Version: Aldolat Twitter 0.0.1\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/aldolat-twitter\n" "POT-Creation-Date: 2020-06-20T14:19:07+02:00\n" -"PO-Revision-Date: 2020-06-20 13:03+0200\n" +"PO-Revision-Date: 2020-07-26 11:02+0200\n" "Last-Translator: Aldo Latino \n" "Language-Team: Italian \n" "Language: it\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Lokalize 20.04.2\n" +"X-Generator: Lokalize 20.04.3\n" "X-Domain: aldolat-twitter\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" @@ -45,7 +45,7 @@ msgstr "I miei ultimi tweet" #: includes/class-aldolat-twitter-core.php:152 msgid "by" -msgstr "di" +msgstr "da" #: includes/class-aldolat-twitter-core.php:250 msgid "ago" From 41293cf082293318e666fff32583818c9ce3c248 Mon Sep 17 00:00:00 2001 From: Aldo Latino Date: Sun, 26 Jul 2020 12:30:24 +0200 Subject: [PATCH 4/6] Releasing 0.3.0 --- CHANGELOG.md | 5 +++++ README.md | 5 ++++- aldolat-twitter.php | 2 +- changelog.txt | 5 +++++ languages/aldolat-twitter-it_IT.mo | Bin 2646 -> 2984 bytes languages/aldolat-twitter-it_IT.po | 35 +++++++++++++++++++++++------ languages/aldolat-twitter.pot | 35 +++++++++++++++++++++++------ readme.txt | 4 +++- 8 files changed, 74 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e0f3ce..474eb75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] +## [0.3.0] - 2020-07-26 +### Changed +* Removed use of gmdate() in favour of wp_date(). +* General improvements in the output strings. + ## [0.2.0] - 2020-06-20 ### Added * Added option to select type of tweets to retrieve. diff --git a/README.md b/README.md index 6b0d4ea..489a390 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ **Tags** twitter, sidebar, widget **Requires at least** 5.4 **Tested up to** 5.4 -**Stable tag** 0.2.0 +**Stable tag** 0.3.0 **License** GPLv3 or later **License URI** https://www.gnu.org/licenses/gpl-3.0.html @@ -23,6 +23,9 @@ Display your Tweets in a widget. This plugin provides a widget where to display your tweets. +This plugin uses a modified version of the original script made by [Gabriele Romanato](https://gabrieleromanato.com/2018/06/wordpress-creare-un-plugin-per-reperire-i-dati-da-twitter). Thanks to him for his work. + + ## Filing Bugs If you have found a bug, please report it on [GitHub](https://github.com/aldolat/aldolat-twitter/issues). diff --git a/aldolat-twitter.php b/aldolat-twitter.php index 286e837..e463c74 100644 --- a/aldolat-twitter.php +++ b/aldolat-twitter.php @@ -18,7 +18,7 @@ * Plugin URI: https://dev.aldolat.it/projects/aldolat-twitter/ * Author: Aldo Latino * Author URI: https://www.aldolat.it/ - * Version: 0.2.0 + * Version: 0.3.0 * License: GPLv3 or later * Text Domain: aldolat-twitter * Domain Path: /languages/ diff --git a/changelog.txt b/changelog.txt index ff4010b..df330c8 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,5 +1,10 @@ == Changelog == += 0.3.0 = + +* Removed use of gmdate() in favour of wp_date(). +* General improvements in the output strings. + = 0.2.0 = * Added option to select type of tweets to retrieve. diff --git a/languages/aldolat-twitter-it_IT.mo b/languages/aldolat-twitter-it_IT.mo index 8e147e456cf77e2fccb4eedde7f9945bc2dee3e6..bc8769f75523ea26605e39ab1b16a880a7628e53 100644 GIT binary patch delta 1169 zcmZwFOH30%9LMn~EffJCJOo9-L0$(n+M+0MG#*3^FZE_jEt{}XDCurPh?rhHkeG0( z#u!Pw8a-%i;>pKFVmNp(CUQePc{ZNB`Tez9f#_s+Ki!$>&VPTiUz(n@+7C3`DxxbBj@Ge?h3C7>x4(>nVQC!De7>ShTH)5kP zIn%|DW(Lk+1CHQ+yn*$&h+1Gd@GK>g zBkP+7{HUVi8LE(%*o131gd0flrjVY?LmGnGRVgqz4v2&<`ub>ih zQ7<%)9jtGbf(cKN!@T8k1V5lA{z4@YAU7U(qDY5+~??&75mEngun{nn+ z3)WBDZqJ;bO{TJw4t@T-C9S z|8&{Ell@G3GMn@Zufn$~YEB=E_uE)}FdokjRs9I{6*{Bg5T&`^T-x&!HnCZpYu$2r zrRTd|(zU6?wi*Yw47sVzA+K2K*3ndNsbF6PZy(5i4>uM1tJgxIM1HJtI6qud_Xo}P BqKW_j delta 828 zcmXxiJxr599LMo{`a)?bEv>vL3O;R#d~g;om1_{e#J@riR1VW*D%QhdSVAY$%Ez z9VKw(dyPuMig^;r6^MP%49(prdqD{D`W%@l77s z(@fKBn(DTPn~d&F$><(cI^CdV1|3vdIw3dZ7Jnf#OXGK&RO@lDn|SeZv+UR#PJP>P z>b1^Js2PZ@+%M$pd~r2bY{eoMR-yAJ610+\n" "Language-Team: Italian \n" "Language: it\n" @@ -43,11 +43,16 @@ msgstr "https://www.aldolat.it/" msgid "My latest tweets" msgstr "I miei ultimi tweet" -#: includes/class-aldolat-twitter-core.php:152 +#. translators: The original tweet author name and link. +#: includes/class-aldolat-twitter-core.php:173 +msgid "In reply to %s" +msgstr "In risposta a %s" + +#: includes/class-aldolat-twitter-core.php:201 msgid "by" msgstr "da" -#: includes/class-aldolat-twitter-core.php:250 +#: includes/class-aldolat-twitter-core.php:312 msgid "ago" msgstr "fa" @@ -135,14 +140,30 @@ msgstr "Autenticazione su Twitter" msgid "Consumer Key:" msgstr "Consumer Key:" -#: includes/class-aldolat-twitter-widget.php:280 +#: includes/class-aldolat-twitter-widget.php:278 +msgid "Insert Consumer Key" +msgstr "Inserisci la Consumer Key:" + +#: includes/class-aldolat-twitter-widget.php:285 msgid "Consumer secret:" msgstr "Consumer secret:" -#: includes/class-aldolat-twitter-widget.php:287 +#: includes/class-aldolat-twitter-widget.php:290 +msgid "Insert Consumer Secret" +msgstr "Inserisci il Consumer secret:" + +#: includes/class-aldolat-twitter-widget.php:297 msgid "Oauth token:" msgstr "Oauth token:" -#: includes/class-aldolat-twitter-widget.php:294 +#: includes/class-aldolat-twitter-widget.php:302 +msgid "Insert Oauth Token" +msgstr "Inserisci l'Oauth token:" + +#: includes/class-aldolat-twitter-widget.php:309 msgid "Oauth token secret:" msgstr "Oauth token secret:" + +#: includes/class-aldolat-twitter-widget.php:314 +msgid "Insert Oauth Token Secret" +msgstr "Inserisci l'Oauth token secret:" diff --git a/languages/aldolat-twitter.pot b/languages/aldolat-twitter.pot index 30ccd90..947df28 100644 --- a/languages/aldolat-twitter.pot +++ b/languages/aldolat-twitter.pot @@ -2,14 +2,14 @@ # This file is distributed under the same license as the Aldolat Twitter plugin. msgid "" msgstr "" -"Project-Id-Version: Aldolat Twitter 0.2.0\n" +"Project-Id-Version: Aldolat Twitter 0.3.0\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/aldolat-twitter\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: 2020-06-20T14:19:07+02:00\n" +"POT-Creation-Date: 2020-07-26T12:29:37+02:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.4.0\n" "X-Domain: aldolat-twitter\n" @@ -40,11 +40,16 @@ msgstr "" msgid "My latest tweets" msgstr "" -#: includes/class-aldolat-twitter-core.php:152 +#. translators: The original tweet author name and link. +#: includes/class-aldolat-twitter-core.php:173 +msgid "In reply to %s" +msgstr "" + +#: includes/class-aldolat-twitter-core.php:201 msgid "by" msgstr "" -#: includes/class-aldolat-twitter-core.php:250 +#: includes/class-aldolat-twitter-core.php:312 msgid "ago" msgstr "" @@ -132,14 +137,30 @@ msgstr "" msgid "Consumer Key:" msgstr "" -#: includes/class-aldolat-twitter-widget.php:280 +#: includes/class-aldolat-twitter-widget.php:278 +msgid "Insert Consumer Key" +msgstr "" + +#: includes/class-aldolat-twitter-widget.php:285 msgid "Consumer secret:" msgstr "" -#: includes/class-aldolat-twitter-widget.php:287 +#: includes/class-aldolat-twitter-widget.php:290 +msgid "Insert Consumer Secret" +msgstr "" + +#: includes/class-aldolat-twitter-widget.php:297 msgid "Oauth token:" msgstr "" -#: includes/class-aldolat-twitter-widget.php:294 +#: includes/class-aldolat-twitter-widget.php:302 +msgid "Insert Oauth Token" +msgstr "" + +#: includes/class-aldolat-twitter-widget.php:309 msgid "Oauth token secret:" msgstr "" + +#: includes/class-aldolat-twitter-widget.php:314 +msgid "Insert Oauth Token Secret" +msgstr "" diff --git a/readme.txt b/readme.txt index 9892bed..fec5075 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Donate link: https://dev.aldolat.it/projects/aldolat-twitter/ Tags: twitter, sidebar, widget Requires at least: 5.4 Tested up to: 5.4 -Stable tag: 0.2.0 +Stable tag: 0.3.0 License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html @@ -14,6 +14,8 @@ Display your Tweets in a widget. This plugin provides a widget where to display your tweets. +This plugin uses a modified version of the original script made by [Gabriele Romanato](https://gabrieleromanato.com/2018/06/wordpress-creare-un-plugin-per-reperire-i-dati-da-twitter). Thanks to him for his work. + == Filing Bugs == If you have found a bug, please report it on [GitHub](https://github.com/aldolat/aldolat-twitter/issues). From 5837642b34e7ceae0165b414550548b7dda22b3a Mon Sep 17 00:00:00 2001 From: Aldo Latino Date: Sun, 26 Jul 2020 12:56:23 +0200 Subject: [PATCH 5/6] Changed screen_name with name in some strings --- includes/class-aldolat-twitter-core.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/includes/class-aldolat-twitter-core.php b/includes/class-aldolat-twitter-core.php index fc3722e..b50dda9 100644 --- a/includes/class-aldolat-twitter-core.php +++ b/includes/class-aldolat-twitter-core.php @@ -182,10 +182,12 @@ public function the_tweets() { retweeted_status ) ) { $tweet_user = $tweet->retweeted_status->user->screen_name; + $tweet_name = $tweet->retweeted_status->user->name; $tweet_id = $tweet->retweeted_status->id_str; $tweet_time = $tweet->retweeted_status->created_at; } else { $tweet_user = $tweet->user->screen_name; + $tweet_name = $tweet->user->name; $tweet_id = $tweet->id_str; $tweet_time = $tweet->created_at; } @@ -200,16 +202,16 @@ public function the_tweets() { href="https://twitter.com/"> - + retweeted_status ) ) { printf( // translators: date and tweet author name - ' ' . esc_html__( '(RT on %1$s by %2$s)' ), + ' ' . esc_html__( '(RT on %1$s by %2$s)', 'aldolat-twitter' ), '' . esc_html( $this->get_tweet_time( $tweet->created_at ) ) . '', - '' . esc_html( $tweet->user->screen_name ) . '' + '' . esc_html( $tweet->user->name ) . '' ); } ?> From 02f1641b941470b238a35985b209eed7c8121c1d Mon Sep 17 00:00:00 2001 From: Aldo Latino Date: Sun, 26 Jul 2020 12:57:16 +0200 Subject: [PATCH 6/6] Updated i18n --- languages/aldolat-twitter-it_IT.mo | Bin 2984 -> 3042 bytes languages/aldolat-twitter-it_IT.po | 13 +++++++++---- languages/aldolat-twitter.pot | 11 ++++++++--- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/languages/aldolat-twitter-it_IT.mo b/languages/aldolat-twitter-it_IT.mo index bc8769f75523ea26605e39ab1b16a880a7628e53..d4ecbb1af2450be6711c546610bc5889f8951f59 100644 GIT binary patch delta 943 zcmYMyKWGzC0LSr{T(xOyYLli-8;zbdsSUOCPb?J*N)Za;5;TH~#Y&dY&<>FnrvsOu zR9cjRj!l=2mN-hm(5}Tr-5i2T76*r*AlUEk?yQe{_qjjs?!EVWZ#UkEJKv&hTZVFl zdY+mO7&DFQK~9uMmN7A0#4cRLv-r&S6^6O5Vh_GU8$bH*8`#19PrQnMup2XNZhOaE z=c1Pfx3M1|Vicd?AXYGf+o%p|z6Yr9KI0i|;zewsjs2%QXOP1@;53N~IE0%RG7dlF zLO=R|r|}bNAYV~4|ADh;@sh!to2YPZ;RMcO9M>>}8+b^HZ&2Sa@KDK>QOP-|{x&d7 z|7M2^&1?@ZVcl==9XZS|PNNtgN3|P6C2|83n8PG4;Q&5IB~e8sSw}Z1)Bu|P{cm&> zUAWWhAc2Zz-nWQ)zmC`NEoz?}p$67M4dgGjV}xmH$p%r0WKqf8K_yo4eSu2uWf%FY z;XV&I%ok21=WY=G=`KefYB?@bHCru#VpYfbR^O>;X8(!?r=pFiGVI}Qa3%D=kiTYl z!GEIIY^s)lWq0FKB8r!Nby74N6{VqQ&rwrU&0Zx<)l!kLn~WK`o3~e%?et`-Y(IW# rr>9cojF~GHYI*Cu70gc8I@`wsF|{g|yjF!puhr|Em8{(l-LsAXM=4J~ delta 877 zcmYk)yDvjw7{~EPTk2A`7Nu^j>p)W1L}Rv*x`a(6CYOkz5ew;JkVs6#Kw=dJqKm<0 zA!0Cyp<9XnKuk8@UwfK(a^CalY2TjrIluRO1)wy_m)d^muaf0~jz%S_dEM_+bS77{>-&#A@6^ zEwJx+iu}>8(1(xMifc<$i;VKs6J_cCdj`&c-7Z<2TuCWGRa1=90 z^A=)~LTSN1j9?I_Q8!${C(=ux5{vPr5*tG`Jc~+f8TCM$7-4fJ2UKG3sQZ6nQjz#dbJ0Xm6Q*$p7qA-- zP>tQ98hJu5rcqnKZ#{uJetYwm!hv_s4?AK zH`3E632l!eROw~Pmzq(jc~xf)YeX&hzqGK@Q?=M!F1j!myf@jWi=aw-o-ZCOTV0$L jv9_U|q4-rD3`MP!*nUfGxNqF9fq_)i8!bpBir3wL6r(*& diff --git a/languages/aldolat-twitter-it_IT.po b/languages/aldolat-twitter-it_IT.po index b8be5e3..e4c532c 100644 --- a/languages/aldolat-twitter-it_IT.po +++ b/languages/aldolat-twitter-it_IT.po @@ -5,8 +5,8 @@ msgid "" msgstr "" "Project-Id-Version: Aldolat Twitter 0.0.1\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/aldolat-twitter\n" -"POT-Creation-Date: 2020-07-26T12:21:14+02:00\n" -"PO-Revision-Date: 2020-07-26 12:22+0200\n" +"POT-Creation-Date: 2020-07-26T12:56:32+02:00\n" +"PO-Revision-Date: 2020-07-26 12:35+0200\n" "Last-Translator: Aldo Latino \n" "Language-Team: Italian \n" "Language: it\n" @@ -48,11 +48,16 @@ msgstr "I miei ultimi tweet" msgid "In reply to %s" msgstr "In risposta a %s" -#: includes/class-aldolat-twitter-core.php:201 +#: includes/class-aldolat-twitter-core.php:203 msgid "by" msgstr "da" -#: includes/class-aldolat-twitter-core.php:312 +#. translators: date and tweet author name +#: includes/class-aldolat-twitter-core.php:212 +msgid "(RT on %1$s by %2$s)" +msgstr "(RT il %1$s da %2$s)" + +#: includes/class-aldolat-twitter-core.php:314 msgid "ago" msgstr "fa" diff --git a/languages/aldolat-twitter.pot b/languages/aldolat-twitter.pot index 947df28..7ea359a 100644 --- a/languages/aldolat-twitter.pot +++ b/languages/aldolat-twitter.pot @@ -9,7 +9,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"POT-Creation-Date: 2020-07-26T12:29:37+02:00\n" +"POT-Creation-Date: 2020-07-26T12:56:32+02:00\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "X-Generator: WP-CLI 2.4.0\n" "X-Domain: aldolat-twitter\n" @@ -45,11 +45,16 @@ msgstr "" msgid "In reply to %s" msgstr "" -#: includes/class-aldolat-twitter-core.php:201 +#: includes/class-aldolat-twitter-core.php:203 msgid "by" msgstr "" -#: includes/class-aldolat-twitter-core.php:312 +#. translators: date and tweet author name +#: includes/class-aldolat-twitter-core.php:212 +msgid "(RT on %1$s by %2$s)" +msgstr "" + +#: includes/class-aldolat-twitter-core.php:314 msgid "ago" msgstr ""