Changeset 3911
- Timestamp:
- 09/01/2016 05:30:01 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/profiles.wordpress.org/public_html/wp-content/plugins/wporg-profiles-activity-handler/wporg-profiles-activity-handler.php
r3894 r3911 291 291 if ( 'forum_topic_create' === $type ) { 292 292 $action = sprintf( 293 __( 'Created a topic, <i><a href="%s">%s</a></i>, on the site %s', 'wporg' ),293 'Created a topic, <i><a href="%s">%s</a></i>, on the site %s', 294 294 esc_url( $_POST['url'] ), 295 295 esc_html( $_POST['title'] ), … … 300 300 else { 301 301 $action = sprintf( 302 __( 'Posted a <a href="%s">reply</a> to <i>%s</i>, on the site %s', 'wporg' ),302 'Posted a <a href="%s">reply</a> to <i>%s</i>, on the site %s', 303 303 esc_url( $_POST['url'] ), 304 304 esc_html( $_POST['title'] ), … … 350 350 'user_id' => $user->ID, 351 351 'action' => sprintf( 352 __( 'Released a new plugin, <a href="%s">%s</a>', 'wporg' ),352 'Released a new plugin, <a href="%s">%s</a>', 353 353 esc_url( $_POST['url'] ), 354 354 $_POST['title'] … … 382 382 'user_id' => $user->ID, 383 383 'action' => sprintf( 384 __( 'Released a new theme, <a href="%s">%s</a>', 'wporg' ),384 'Released a new theme, <a href="%s">%s</a>', 385 385 esc_url( $_POST['url'] ), 386 386 $_POST['title'] … … 420 420 $args = array( 421 421 'user_id' => $user->ID, 422 'action' => sprintf( __( 'Created a new ticket in %s Trac', 'wporg' ), $_POST['trac'] ),422 'action' => sprintf( 'Created a new ticket in %s Trac', $_POST['trac'] ), 423 423 'content' => $_POST['title'], 424 424 'component' => 'tracs', … … 435 435 $args = array( 436 436 'user_id' => $user->ID, 437 'action' => sprintf( __( 'Posted a reply to %s in %s Trac', 'wporg' ), $_POST['title'], $_POST['trac'] ),437 'action' => sprintf( 'Posted a reply to %s in %s Trac', $_POST['title'], $_POST['trac'] ), 438 438 'content' => $_POST['comment'], 439 439 'component' => 'tracs', … … 451 451 $args = array( 452 452 'user_id' => $user->ID, 453 'action' => sprintf( __( 'Committed [%s] to %s Trac', 'wporg' ), $_POST['changeset'], $_POST['trac'] ),453 'action' => sprintf( 'Committed [%s] to %s Trac', $_POST['changeset'], $_POST['trac'] ), 454 454 'content' => $_POST['message'], 455 455 'component' => 'tracs', … … 473 473 $args = array( 474 474 'user_id' => $user->ID, 475 'action' => sprintf( __( 'Received props in %s', 'wporg' ), $_POST['trac'] ),475 'action' => sprintf( 'Received props in %s', $_POST['trac'] ), 476 476 'content' => $_POST['message'], 477 477 'component' => 'tracs', … … 505 505 if ( isset( $_POST['wordcamp_date'] ) && ! empty( $_POST['wordcamp_date'] ) ) { 506 506 $action = sprintf( 507 __( 'Confirmed as a speaker for <a href="%s">%s</a> coming up on %s', 'wporg' ),507 'Confirmed as a speaker for <a href="%s">%s</a> coming up on %s', 508 508 esc_url( $_POST['url'] ), 509 509 $_POST['wordcamp_name'], … … 512 512 } else { 513 513 $action = sprintf( 514 __( 'Confirmed as a speaker for <a href="%s">%s</a>', 'wporg' ),514 'Confirmed as a speaker for <a href="%s">%s</a>', 515 515 esc_url( $_POST['url'] ), 516 516 $_POST['wordcamp_name'] … … 523 523 if ( isset( $_POST['wordcamp_date'] ) && ! empty( $_POST['wordcamp_date'] ) ) { 524 524 $action = sprintf( 525 __( 'Joined the organizing team for <a href="%s">%s</a> coming up %s', 'wporg' ),525 'Joined the organizing team for <a href="%s">%s</a> coming up %s', 526 526 esc_url( $_POST['url'] ), 527 527 $_POST['wordcamp_name'], … … 530 530 } else { 531 531 $action = sprintf( 532 __( 'Joined the organizing team for <a href="%s">%s</a>', 'wporg' ),532 'Joined the organizing team for <a href="%s">%s</a>', 533 533 esc_url( $_POST['url'] ), 534 534 $_POST['wordcamp_name'] … … 542 542 543 543 $action = sprintf( 544 __( 'Registered to attend <a href="%s">%s</a>', 'wporg' ),544 'Registered to attend <a href="%s">%s</a>', 545 545 esc_url( $_POST['url'] ), 546 546 $_POST['wordcamp_name'] … … 548 548 549 549 if ( isset( $_POST['wordcamp_date'] ) && ! empty( $_POST['wordcamp_date'] ) ) { 550 $action .= ' ' . sprintf( __( 'coming up %s', 'wporg' ), $_POST['wordcamp_date'] );550 $action .= ' ' . sprintf( 'coming up %s', $_POST['wordcamp_date'] ); 551 551 } 552 552 } elseif ( 'attendee_checked_in' == $_POST['activity_type'] ) { … … 555 555 556 556 $action = sprintf( 557 __( 'Is the %s person to arrive at <a href="%s">%s</a>', 'wporg' ),557 'Is the %s person to arrive at <a href="%s">%s</a>', 558 558 $this->append_ordinal_suffix( $order ), 559 559 esc_url( $_POST['url'] ), … … 624 624 $item_id = $_POST['comment_id']; 625 625 $action = sprintf( 626 __( 'Wrote a <a href="%s">comment</a> on the post %s, on the site %s', 'wporg' ),626 'Wrote a <a href="%s">comment</a> on the post %s, on the site %s', 627 627 esc_url( $_POST['url'] ), 628 628 $_POST['title'], … … 633 633 $item_id = $_POST['post_id']; 634 634 $action = sprintf( 635 __( 'Wrote a new post, <a href="%s">%s</a>, on the site %s', 'wporg' ),635 'Wrote a new post, <a href="%s">%s</a>, on the site %s', 636 636 esc_url( $_POST['url'] ), 637 637 $_POST['title'],
Note: See TracChangeset
for help on using the changeset viewer.