Changeset 2469861
- Timestamp:
- 02/05/2021 11:20:23 PM (5 years ago)
- Location:
- hey-notify
- Files:
-
- 8 edited
- 1 copied
-
tags/1.2.2 (copied) (copied from hey-notify/trunk)
-
tags/1.2.2/hey-notify.php (modified) (2 diffs)
-
tags/1.2.2/includes/services/class-discord.php (modified) (1 diff)
-
tags/1.2.2/languages/hey-notify.pot (modified) (11 diffs)
-
tags/1.2.2/readme.txt (modified) (2 diffs)
-
trunk/hey-notify.php (modified) (2 diffs)
-
trunk/includes/services/class-discord.php (modified) (1 diff)
-
trunk/languages/hey-notify.pot (modified) (11 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
hey-notify/tags/1.2.2/hey-notify.php
r2466801 r2469861 4 4 * Plugin URI: https://heynotifywp.com/ 5 5 * Description: Get notified when things happen in WordPress. 6 * Version: 1.2. 16 * Version: 1.2.2 7 7 * Author: FireTree Design, LLC <info@firetreedesign.com> 8 8 * Author URI: https://firetreedesign.com/ … … 19 19 } 20 20 21 define( 'HEY_NOTIFY_VERSION', '1.2. 1' );21 define( 'HEY_NOTIFY_VERSION', '1.2.2' ); 22 22 define( 'HEY_NOTIFY_PLUGIN_FILE', __FILE__ ); 23 23 define( 'HEY_NOTIFY_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); -
hey-notify/tags/1.2.2/includes/services/class-discord.php
r2374657 r2469861 130 130 $embed_item = array(); 131 131 132 // @mention Setup. 133 $at_mention_pattern = '/@+([a-zA-Z0-9_]+)/'; 134 $body['allowed_mentions'] = json_decode( "{'parse': [ 'roles', 'users', 'everyone' ]}" ); 135 132 136 // Subject. 133 137 if ( isset( $message['subject'] ) && '' !== $message['subject'] ) { 134 138 $body['content'] = $message['subject']; 139 // Format @mentions. 140 $body['content'] = preg_replace( $at_mention_pattern, '<@$1>', $body['content'] ); 135 141 } 136 142 -
hey-notify/tags/1.2.2/languages/hey-notify.pot
r2349284 r2469861 1 # Copyright (C) 202 0FireTree Design, LLC <info@firetreedesign.com>1 # Copyright (C) 2021 FireTree Design, LLC <info@firetreedesign.com> 2 2 # This file is distributed under the same license as the Hey Notify plugin. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Hey Notify 1. 1.0\n"5 "Project-Id-Version: Hey Notify 1.2.2\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/hey-notify\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 0-07-30T18:02:04+00:00\n"12 "POT-Creation-Date: 2021-02-05T23:12:50+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2. 1.0\n"14 "X-Generator: WP-CLI 2.4.0\n" 15 15 "X-Domain: hey-notify\n" 16 16 … … 88 88 89 89 #: includes/cpt.php:100 90 #: includes/fields.php:4 090 #: includes/fields.php:42 91 91 msgid "Service" 92 92 msgstr "" 93 93 94 94 #: includes/cpt.php:101 95 #: includes/fields.php:5 395 #: includes/fields.php:55 96 96 #: includes/filters.php:49 97 97 msgid "Events" … … 103 103 104 104 #: includes/events/comment/class-comment-event.php:43 105 #: includes/events/cpt/class-cpt-event.php:46 105 106 #: includes/events/page/class-page-event.php:43 106 107 #: includes/events/post/class-post-event.php:43 … … 119 120 msgstr "" 120 121 121 #: includes/events/comment/class-comment-hook.php:59 122 #: includes/events/page/class-page-hook.php:234 123 #: includes/events/post/class-post-hook.php:234 122 #: includes/events/comment/class-comment-hook.php:61 123 #: includes/events/cpt/class-cpt-hook.php:272 124 #: includes/events/page/class-page-hook.php:254 125 #: includes/events/post/class-post-hook.php:254 124 126 msgid "Author" 125 127 msgstr "" 126 128 127 #: includes/events/comment/class-comment-hook.php:6 4128 #: includes/events/user/class-user-hook.php:12 0129 #: includes/events/comment/class-comment-hook.php:66 130 #: includes/events/user/class-user-hook.php:126 129 131 #: includes/services/class-email.php:60 130 132 msgid "Email" 131 133 msgstr "" 132 134 133 #: includes/events/comment/class-comment-hook.php:69 134 #: includes/events/page/class-page-hook.php:239 135 #: includes/events/post/class-post-hook.php:239 135 #: includes/events/comment/class-comment-hook.php:71 136 #: includes/events/cpt/class-cpt-hook.php:277 137 #: includes/events/page/class-page-hook.php:259 138 #: includes/events/post/class-post-hook.php:259 136 139 msgid "Date" 137 140 msgstr "" 138 141 139 #: includes/events/comment/class-comment-hook.php:7 4142 #: includes/events/comment/class-comment-hook.php:76 140 143 msgid "Status" 141 144 msgstr "" 142 145 143 #: includes/events/comment/class-comment-hook.php:10 6146 #: includes/events/comment/class-comment-hook.php:108 144 147 msgid "Approved" 145 148 msgstr "" 146 149 147 #: includes/events/comment/class-comment-hook.php:1 08150 #: includes/events/comment/class-comment-hook.php:110 148 151 msgid "Pending" 149 152 msgstr "" 150 153 151 #: includes/events/comment/class-comment-hook.php:11 0154 #: includes/events/comment/class-comment-hook.php:112 152 155 msgid "Spam" 156 msgstr "" 157 158 #. translators: %s: Singular name of the custom post type 159 #: includes/events/cpt/class-cpt-event.php:51 160 msgid "%s Draft" 161 msgstr "" 162 163 #. translators: %s: Singular name of the custom post type 164 #: includes/events/cpt/class-cpt-event.php:56 165 msgid "%s Pending" 166 msgstr "" 167 168 #. translators: %s: Singular name of the custom post type 169 #: includes/events/cpt/class-cpt-event.php:61 170 msgid "%s Published" 171 msgstr "" 172 173 #. translators: %s: Singular name of the custom post type 174 #: includes/events/cpt/class-cpt-event.php:66 175 msgid "%s Scheduled" 176 msgstr "" 177 178 #. translators: %s: Singular name of the custom post type 179 #: includes/events/cpt/class-cpt-event.php:71 180 msgid "%s Updated" 181 msgstr "" 182 183 #. translators: %s: Singular name of the custom post type 184 #: includes/events/cpt/class-cpt-event.php:76 185 msgid "%s Moved to Trash" 186 msgstr "" 187 188 #. translators: 1: Name of the custom post type 2. Name of the site 189 #: includes/events/cpt/class-cpt-hook.php:42 190 msgid "Hey, a %1$s was drafted on %2$s!" 191 msgstr "" 192 193 #. translators: 1: Name of the custom post type 2: Name of the user 3: Name of the site 194 #: includes/events/cpt/class-cpt-hook.php:49 195 msgid "Hey, a %1$s was drafted by %2$s on %3$s!" 196 msgstr "" 197 198 #. translators: 1: Name of the custom post type 2. Name of the site 199 #: includes/events/cpt/class-cpt-hook.php:83 200 msgid "Hey, a %1$s was published on %2$s!" 201 msgstr "" 202 203 #. translators: 1: Name of the custom post type 2: Name of the user 3: Name of the site 204 #: includes/events/cpt/class-cpt-hook.php:90 205 msgid "Hey, a %1$s was published by %2$s on %3$s!" 206 msgstr "" 207 208 #. translators: 1: Name of the custom post type 2. Name of the site 209 #: includes/events/cpt/class-cpt-hook.php:124 210 msgid "Hey, a %1$s was scheduled on %2$s!" 211 msgstr "" 212 213 #. translators: 1: Name of the custom post type 2: Name of the user 3: Name of the site 214 #: includes/events/cpt/class-cpt-hook.php:131 215 msgid "Hey, a %1$s was scheduled by %2$s on %3$s!" 216 msgstr "" 217 218 #. translators: 1: Name of the custom post type 2. Name of the site 219 #: includes/events/cpt/class-cpt-hook.php:163 220 msgid "Hey, a %1$s is pending on %2$s!" 221 msgstr "" 222 223 #. translators: 1: Name of the custom post type 2. Name of the site 224 #: includes/events/cpt/class-cpt-hook.php:199 225 msgid "Hey, a %1$s was updated on %2$s!" 226 msgstr "" 227 228 #. translators: 1: Name of the custom post type 2: Name of the user 3: Name of the site 229 #: includes/events/cpt/class-cpt-hook.php:206 230 msgid "Hey, a %1$s was updated by %2$s on %3$s!" 231 msgstr "" 232 233 #. translators: 1: Name of the custom post type 2. Name of the site 234 #: includes/events/cpt/class-cpt-hook.php:242 235 msgid "Hey, a %1$s was deleted on %2$s!" 236 msgstr "" 237 238 #. translators: 1: Name of the custom post type 2: Name of the user 3: Name of the site 239 #: includes/events/cpt/class-cpt-hook.php:249 240 msgid "Hey, a %1$s was deleted by %2$s on %3$s!" 241 msgstr "" 242 243 #: includes/events/cpt/class-cpt-hook.php:286 244 #: includes/events/post/class-post-hook.php:268 245 msgid "Categories" 246 msgstr "" 247 248 #: includes/events/cpt/class-cpt-hook.php:295 249 #: includes/events/post/class-post-hook.php:277 250 msgid "Tags" 153 251 msgstr "" 154 252 … … 183 281 #. translators: %s: Name of the site 184 282 #: includes/events/page/class-page-hook.php:41 185 msgid "Hey, a newpage was drafted on %s!"283 msgid "Hey, a page was drafted on %s!" 186 284 msgstr "" 187 285 188 286 #. translators: 1: Name of the user 2: Name of the site 189 287 #: includes/events/page/class-page-hook.php:47 190 msgid "Hey, a newpage was drafted by %1$s on %2$s!"191 msgstr "" 192 193 #. translators: %s: Name of the site 194 #: includes/events/page/class-page-hook.php:7 7195 msgid "Hey, a newpage was published on %s!"196 msgstr "" 197 198 #. translators: 1: Name of the user 2: Name of the site 199 #: includes/events/page/class-page-hook.php:8 3200 msgid "Hey, a newpage was published by %1$s on %2$s!"201 msgstr "" 202 203 #. translators: %s: Name of the site 204 #: includes/events/page/class-page-hook.php:11 3205 msgid "Hey, a newpage was scheduled on %s!"206 msgstr "" 207 208 #. translators: 1: Name of the user 2: Name of the site 209 #: includes/events/page/class-page-hook.php:1 19210 msgid "Hey, a newpage was scheduled by %1$s on %2$s!"211 msgstr "" 212 213 #. translators: %s: Name of the site 214 #: includes/events/page/class-page-hook.php:1 38215 msgid "Hey, a newpage is pending on %s!"216 msgstr "" 217 218 #. translators: %s: Name of the site 219 #: includes/events/page/class-page-hook.php:1 70288 msgid "Hey, a page was drafted by %1$s on %2$s!" 289 msgstr "" 290 291 #. translators: %s: Name of the site 292 #: includes/events/page/class-page-hook.php:79 293 msgid "Hey, a page was published on %s!" 294 msgstr "" 295 296 #. translators: 1: Name of the user 2: Name of the site 297 #: includes/events/page/class-page-hook.php:85 298 msgid "Hey, a page was published by %1$s on %2$s!" 299 msgstr "" 300 301 #. translators: %s: Name of the site 302 #: includes/events/page/class-page-hook.php:117 303 msgid "Hey, a page was scheduled on %s!" 304 msgstr "" 305 306 #. translators: 1: Name of the user 2: Name of the site 307 #: includes/events/page/class-page-hook.php:123 308 msgid "Hey, a page was scheduled by %1$s on %2$s!" 309 msgstr "" 310 311 #. translators: %s: Name of the site 312 #: includes/events/page/class-page-hook.php:152 313 msgid "Hey, a page is pending on %s!" 314 msgstr "" 315 316 #. translators: %s: Name of the site 317 #: includes/events/page/class-page-hook.php:186 220 318 msgid "Hey, a page was updated on %s!" 221 319 msgstr "" 222 320 223 321 #. translators: 1: Name of the user 2: Name of the site 224 #: includes/events/page/class-page-hook.php:1 76322 #: includes/events/page/class-page-hook.php:192 225 323 msgid "Hey, a page was updated by %1$s on %2$s!" 226 324 msgstr "" 227 325 228 326 #. translators: %s: Name of the site 229 #: includes/events/page/class-page-hook.php:2 08327 #: includes/events/page/class-page-hook.php:226 230 328 msgid "Hey, a page was deleted on %s!" 231 329 msgstr "" 232 330 233 331 #. translators: 1: Name of the user 2: Name of the site 234 #: includes/events/page/class-page-hook.php:2 14332 #: includes/events/page/class-page-hook.php:232 235 333 msgid "Hey, a page was deleted by %1$s on %2$s!" 236 334 msgstr "" … … 266 364 #. translators: %s: Name of the site 267 365 #: includes/events/post/class-post-hook.php:41 268 msgid "Hey, a newpost was drafted on %s!"366 msgid "Hey, a post was drafted on %s!" 269 367 msgstr "" 270 368 271 369 #. translators: 1: Name of the user 2: Name of the site 272 370 #: includes/events/post/class-post-hook.php:47 273 msgid "Hey, a newpost was drafted by %1$s on %2$s!"274 msgstr "" 275 276 #. translators: %s: Name of the site 277 #: includes/events/post/class-post-hook.php:7 7278 msgid "Hey, a newpost was published on %s!"279 msgstr "" 280 281 #. translators: 1: Name of the user 2: Name of the site 282 #: includes/events/post/class-post-hook.php:8 3283 msgid "Hey, a newpost was published by %1$s on %2$s!"284 msgstr "" 285 286 #. translators: %s: Name of the site 287 #: includes/events/post/class-post-hook.php:11 3288 msgid "Hey, a newpost was scheduled on %s!"289 msgstr "" 290 291 #. translators: 1: Name of the user 2: Name of the site 292 #: includes/events/post/class-post-hook.php:1 19293 msgid "Hey, a newpost was scheduled by %1$s on %2$s!"294 msgstr "" 295 296 #. translators: %s: Name of the site 297 #: includes/events/post/class-post-hook.php:1 38298 msgid "Hey, a newpost is pending on %s!"299 msgstr "" 300 301 #. translators: %s: Name of the site 302 #: includes/events/post/class-post-hook.php:1 70371 msgid "Hey, a post was drafted by %1$s on %2$s!" 372 msgstr "" 373 374 #. translators: %s: Name of the site 375 #: includes/events/post/class-post-hook.php:79 376 msgid "Hey, a post was published on %s!" 377 msgstr "" 378 379 #. translators: 1: Name of the user 2: Name of the site 380 #: includes/events/post/class-post-hook.php:85 381 msgid "Hey, a post was published by %1$s on %2$s!" 382 msgstr "" 383 384 #. translators: %s: Name of the site 385 #: includes/events/post/class-post-hook.php:117 386 msgid "Hey, a post was scheduled on %s!" 387 msgstr "" 388 389 #. translators: 1: Name of the user 2: Name of the site 390 #: includes/events/post/class-post-hook.php:123 391 msgid "Hey, a post was scheduled by %1$s on %2$s!" 392 msgstr "" 393 394 #. translators: %s: Name of the site 395 #: includes/events/post/class-post-hook.php:152 396 msgid "Hey, a post is pending on %s!" 397 msgstr "" 398 399 #. translators: %s: Name of the site 400 #: includes/events/post/class-post-hook.php:186 303 401 msgid "Hey, a post was updated on %s!" 304 402 msgstr "" 305 403 306 404 #. translators: 1: Name of the user 2: Name of the site 307 #: includes/events/post/class-post-hook.php:1 76405 #: includes/events/post/class-post-hook.php:192 308 406 msgid "Hey, a post was updated by %1$s on %2$s!" 309 407 msgstr "" 310 408 311 409 #. translators: %s: Name of the site 312 #: includes/events/post/class-post-hook.php:2 08410 #: includes/events/post/class-post-hook.php:226 313 411 msgid "Hey, a post was deleted on %s!" 314 412 msgstr "" 315 413 316 414 #. translators: 1: Name of the user 2: Name of the site 317 #: includes/events/post/class-post-hook.php:2 14415 #: includes/events/post/class-post-hook.php:232 318 416 msgid "Hey, a post was deleted by %1$s on %2$s!" 319 msgstr ""320 321 #: includes/events/post/class-post-hook.php:248322 msgid "Categories"323 msgstr ""324 325 #: includes/events/post/class-post-hook.php:257326 msgid "Tags"327 417 msgstr "" 328 418 … … 336 426 337 427 #: includes/events/system/class-system-event.php:47 428 msgid "Plugin Update Available" 429 msgstr "" 430 431 #: includes/events/system/class-system-event.php:48 432 msgid "Plugin Activated" 433 msgstr "" 434 435 #: includes/events/system/class-system-event.php:49 436 msgid "Plugin Deactivated" 437 msgstr "" 438 439 #: includes/events/system/class-system-event.php:50 338 440 msgid "Theme Update Available" 339 441 msgstr "" 340 442 341 #: includes/events/system/class-system-event.php: 48342 msgid " Plugin Update Available"343 msgstr "" 344 345 #. translators: %s: Name of the site 346 #: includes/events/system/class-system-hook.php:6 7443 #: includes/events/system/class-system-event.php:51 444 msgid "Theme Changed" 445 msgstr "" 446 447 #. translators: %s: Name of the site 448 #: includes/events/system/class-system-hook.php:65 347 449 msgid "Hey, a new version of WordPress is available on %s!" 348 450 msgstr "" … … 361 463 362 464 #. translators: %s: Name of the site 363 #: includes/events/system/class-system-hook.php:1 53465 #: includes/events/system/class-system-hook.php:193 364 466 msgid "Hey, new theme updates are available on %s!" 365 467 msgstr "" 366 468 367 #: includes/events/system/class-system-hook.php: 159469 #: includes/events/system/class-system-hook.php:201 368 470 msgid "View the theme updates" 369 471 msgstr "" 370 472 371 473 #. translators: %s: Name of the site 372 #: includes/events/system/class-system-hook.php:2 26474 #: includes/events/system/class-system-hook.php:292 373 475 msgid "Hey, new plugin updates are available on %s!" 374 476 msgstr "" 375 477 376 #: includes/events/system/class-system-hook.php: 232478 #: includes/events/system/class-system-hook.php:300 377 479 msgid "View the plugin updates" 480 msgstr "" 481 482 #: includes/events/system/class-system-hook.php:352 483 #: includes/events/system/class-system-hook.php:393 484 msgid "Name" 485 msgstr "" 486 487 #: includes/events/system/class-system-hook.php:357 488 #: includes/events/system/class-system-hook.php:398 489 msgid "Version" 490 msgstr "" 491 492 #. translators: %s: Name of the site 493 #: includes/events/system/class-system-hook.php:365 494 msgid "Hey, a plugin was just activated on %s!" 495 msgstr "" 496 497 #: includes/events/system/class-system-hook.php:373 498 #: includes/events/system/class-system-hook.php:414 499 msgid "View installed plugins" 500 msgstr "" 501 502 #. translators: %s: Name of the site 503 #: includes/events/system/class-system-hook.php:406 504 msgid "Hey, a plugin was just deactivated on %s!" 505 msgstr "" 506 507 #: includes/events/system/class-system-hook.php:431 508 msgid "New Theme" 509 msgstr "" 510 511 #. translators: %s: Name of the site 512 #: includes/events/system/class-system-hook.php:439 513 msgid "Hey, the theme was changed on %s!" 514 msgstr "" 515 516 #: includes/events/system/class-system-hook.php:447 517 msgid "View themes" 378 518 msgstr "" 379 519 … … 400 540 401 541 #. translators: %s: Name of the site 402 #: includes/events/user/class-user-hook.php: 59542 #: includes/events/user/class-user-hook.php:61 403 543 msgid "Hey, an administrator just logged in to %s!" 404 544 msgstr "" 405 545 406 546 #. translators: %s: Name of the site 407 #: includes/events/user/class-user-hook.php:9 2547 #: includes/events/user/class-user-hook.php:96 408 548 msgid "Hey, an administrator just failed to log in to %s!" 409 549 msgstr "" 410 550 411 #: includes/events/user/class-user-hook.php:11 0551 #: includes/events/user/class-user-hook.php:116 412 552 msgid "Display Name" 413 553 msgstr "" 414 554 415 #: includes/events/user/class-user-hook.php:1 15555 #: includes/events/user/class-user-hook.php:121 416 556 msgid "Username" 417 557 msgstr "" 418 558 419 #: includes/events/user/class-user-hook.php:1 25559 #: includes/events/user/class-user-hook.php:131 420 560 msgid "IP Address" 421 561 msgstr "" 422 562 423 #: includes/events/user/class-user-hook.php:1 38563 #: includes/events/user/class-user-hook.php:144 424 564 msgid "View user's profile" 425 565 msgstr "" 426 566 427 #: includes/events/user/class-user-hook.php:16 1567 #: includes/events/user/class-user-hook.php:167 428 568 msgid "Unknown" 429 569 msgstr "" 430 570 431 #: includes/fields.php:6 6571 #: includes/fields.php:69 432 572 msgid "Hey Notify Settings" 433 573 msgstr "" 434 574 435 #: includes/fields.php: 68575 #: includes/fields.php:71 436 576 msgid "Settings" 437 577 msgstr "" 438 578 439 #: includes/fields.php:7 1579 #: includes/fields.php:74 440 580 msgid "General" 441 581 msgstr "" 442 582 443 #: includes/fields.php:7 5583 #: includes/fields.php:78 444 584 msgid "Uninstall" 585 msgstr "" 586 587 #: includes/fields.php:82 588 msgid "Licenses" 445 589 msgstr "" 446 590 … … 470 614 471 615 #: includes/filters.php:102 472 msgid "General settings for Hey Notify ."616 msgid "General settings for Hey Notify" 473 617 msgstr "" 474 618 475 619 #: includes/filters.php:107 476 620 msgid "Default service:" 621 msgstr "" 622 623 #: includes/filters.php:115 624 msgid "Custom Post Type Settings" 625 msgstr "" 626 627 #: includes/filters.php:120 628 msgid "Only display public Custom Post Types" 477 629 msgstr "" 478 630 -
hey-notify/tags/1.2.2/readme.txt
r2466801 r2469861 5 5 Tested up to: 5.6 6 6 Requires PHP: 5.3 7 Stable tag: 1.2. 17 Stable tag: 1.2.2 8 8 License: GPLv2 or later 9 9 License URI: http://ww.gnu.org/licenses/gpl-2.0.html … … 67 67 == Changelog == 68 68 69 = 1.2.2 = 70 * Fixed ability to @mention Discord users. 71 * Updated translation file. 72 69 73 = 1.2.1 = 70 74 * Automatically detect available Custom Post Types. -
hey-notify/trunk/hey-notify.php
r2466801 r2469861 4 4 * Plugin URI: https://heynotifywp.com/ 5 5 * Description: Get notified when things happen in WordPress. 6 * Version: 1.2. 16 * Version: 1.2.2 7 7 * Author: FireTree Design, LLC <info@firetreedesign.com> 8 8 * Author URI: https://firetreedesign.com/ … … 19 19 } 20 20 21 define( 'HEY_NOTIFY_VERSION', '1.2. 1' );21 define( 'HEY_NOTIFY_VERSION', '1.2.2' ); 22 22 define( 'HEY_NOTIFY_PLUGIN_FILE', __FILE__ ); 23 23 define( 'HEY_NOTIFY_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); -
hey-notify/trunk/includes/services/class-discord.php
r2374657 r2469861 130 130 $embed_item = array(); 131 131 132 // @mention Setup. 133 $at_mention_pattern = '/@+([a-zA-Z0-9_]+)/'; 134 $body['allowed_mentions'] = json_decode( "{'parse': [ 'roles', 'users', 'everyone' ]}" ); 135 132 136 // Subject. 133 137 if ( isset( $message['subject'] ) && '' !== $message['subject'] ) { 134 138 $body['content'] = $message['subject']; 139 // Format @mentions. 140 $body['content'] = preg_replace( $at_mention_pattern, '<@$1>', $body['content'] ); 135 141 } 136 142 -
hey-notify/trunk/languages/hey-notify.pot
r2349284 r2469861 1 # Copyright (C) 202 0FireTree Design, LLC <info@firetreedesign.com>1 # Copyright (C) 2021 FireTree Design, LLC <info@firetreedesign.com> 2 2 # This file is distributed under the same license as the Hey Notify plugin. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Hey Notify 1. 1.0\n"5 "Project-Id-Version: Hey Notify 1.2.2\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/hey-notify\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 0-07-30T18:02:04+00:00\n"12 "POT-Creation-Date: 2021-02-05T23:12:50+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2. 1.0\n"14 "X-Generator: WP-CLI 2.4.0\n" 15 15 "X-Domain: hey-notify\n" 16 16 … … 88 88 89 89 #: includes/cpt.php:100 90 #: includes/fields.php:4 090 #: includes/fields.php:42 91 91 msgid "Service" 92 92 msgstr "" 93 93 94 94 #: includes/cpt.php:101 95 #: includes/fields.php:5 395 #: includes/fields.php:55 96 96 #: includes/filters.php:49 97 97 msgid "Events" … … 103 103 104 104 #: includes/events/comment/class-comment-event.php:43 105 #: includes/events/cpt/class-cpt-event.php:46 105 106 #: includes/events/page/class-page-event.php:43 106 107 #: includes/events/post/class-post-event.php:43 … … 119 120 msgstr "" 120 121 121 #: includes/events/comment/class-comment-hook.php:59 122 #: includes/events/page/class-page-hook.php:234 123 #: includes/events/post/class-post-hook.php:234 122 #: includes/events/comment/class-comment-hook.php:61 123 #: includes/events/cpt/class-cpt-hook.php:272 124 #: includes/events/page/class-page-hook.php:254 125 #: includes/events/post/class-post-hook.php:254 124 126 msgid "Author" 125 127 msgstr "" 126 128 127 #: includes/events/comment/class-comment-hook.php:6 4128 #: includes/events/user/class-user-hook.php:12 0129 #: includes/events/comment/class-comment-hook.php:66 130 #: includes/events/user/class-user-hook.php:126 129 131 #: includes/services/class-email.php:60 130 132 msgid "Email" 131 133 msgstr "" 132 134 133 #: includes/events/comment/class-comment-hook.php:69 134 #: includes/events/page/class-page-hook.php:239 135 #: includes/events/post/class-post-hook.php:239 135 #: includes/events/comment/class-comment-hook.php:71 136 #: includes/events/cpt/class-cpt-hook.php:277 137 #: includes/events/page/class-page-hook.php:259 138 #: includes/events/post/class-post-hook.php:259 136 139 msgid "Date" 137 140 msgstr "" 138 141 139 #: includes/events/comment/class-comment-hook.php:7 4142 #: includes/events/comment/class-comment-hook.php:76 140 143 msgid "Status" 141 144 msgstr "" 142 145 143 #: includes/events/comment/class-comment-hook.php:10 6146 #: includes/events/comment/class-comment-hook.php:108 144 147 msgid "Approved" 145 148 msgstr "" 146 149 147 #: includes/events/comment/class-comment-hook.php:1 08150 #: includes/events/comment/class-comment-hook.php:110 148 151 msgid "Pending" 149 152 msgstr "" 150 153 151 #: includes/events/comment/class-comment-hook.php:11 0154 #: includes/events/comment/class-comment-hook.php:112 152 155 msgid "Spam" 156 msgstr "" 157 158 #. translators: %s: Singular name of the custom post type 159 #: includes/events/cpt/class-cpt-event.php:51 160 msgid "%s Draft" 161 msgstr "" 162 163 #. translators: %s: Singular name of the custom post type 164 #: includes/events/cpt/class-cpt-event.php:56 165 msgid "%s Pending" 166 msgstr "" 167 168 #. translators: %s: Singular name of the custom post type 169 #: includes/events/cpt/class-cpt-event.php:61 170 msgid "%s Published" 171 msgstr "" 172 173 #. translators: %s: Singular name of the custom post type 174 #: includes/events/cpt/class-cpt-event.php:66 175 msgid "%s Scheduled" 176 msgstr "" 177 178 #. translators: %s: Singular name of the custom post type 179 #: includes/events/cpt/class-cpt-event.php:71 180 msgid "%s Updated" 181 msgstr "" 182 183 #. translators: %s: Singular name of the custom post type 184 #: includes/events/cpt/class-cpt-event.php:76 185 msgid "%s Moved to Trash" 186 msgstr "" 187 188 #. translators: 1: Name of the custom post type 2. Name of the site 189 #: includes/events/cpt/class-cpt-hook.php:42 190 msgid "Hey, a %1$s was drafted on %2$s!" 191 msgstr "" 192 193 #. translators: 1: Name of the custom post type 2: Name of the user 3: Name of the site 194 #: includes/events/cpt/class-cpt-hook.php:49 195 msgid "Hey, a %1$s was drafted by %2$s on %3$s!" 196 msgstr "" 197 198 #. translators: 1: Name of the custom post type 2. Name of the site 199 #: includes/events/cpt/class-cpt-hook.php:83 200 msgid "Hey, a %1$s was published on %2$s!" 201 msgstr "" 202 203 #. translators: 1: Name of the custom post type 2: Name of the user 3: Name of the site 204 #: includes/events/cpt/class-cpt-hook.php:90 205 msgid "Hey, a %1$s was published by %2$s on %3$s!" 206 msgstr "" 207 208 #. translators: 1: Name of the custom post type 2. Name of the site 209 #: includes/events/cpt/class-cpt-hook.php:124 210 msgid "Hey, a %1$s was scheduled on %2$s!" 211 msgstr "" 212 213 #. translators: 1: Name of the custom post type 2: Name of the user 3: Name of the site 214 #: includes/events/cpt/class-cpt-hook.php:131 215 msgid "Hey, a %1$s was scheduled by %2$s on %3$s!" 216 msgstr "" 217 218 #. translators: 1: Name of the custom post type 2. Name of the site 219 #: includes/events/cpt/class-cpt-hook.php:163 220 msgid "Hey, a %1$s is pending on %2$s!" 221 msgstr "" 222 223 #. translators: 1: Name of the custom post type 2. Name of the site 224 #: includes/events/cpt/class-cpt-hook.php:199 225 msgid "Hey, a %1$s was updated on %2$s!" 226 msgstr "" 227 228 #. translators: 1: Name of the custom post type 2: Name of the user 3: Name of the site 229 #: includes/events/cpt/class-cpt-hook.php:206 230 msgid "Hey, a %1$s was updated by %2$s on %3$s!" 231 msgstr "" 232 233 #. translators: 1: Name of the custom post type 2. Name of the site 234 #: includes/events/cpt/class-cpt-hook.php:242 235 msgid "Hey, a %1$s was deleted on %2$s!" 236 msgstr "" 237 238 #. translators: 1: Name of the custom post type 2: Name of the user 3: Name of the site 239 #: includes/events/cpt/class-cpt-hook.php:249 240 msgid "Hey, a %1$s was deleted by %2$s on %3$s!" 241 msgstr "" 242 243 #: includes/events/cpt/class-cpt-hook.php:286 244 #: includes/events/post/class-post-hook.php:268 245 msgid "Categories" 246 msgstr "" 247 248 #: includes/events/cpt/class-cpt-hook.php:295 249 #: includes/events/post/class-post-hook.php:277 250 msgid "Tags" 153 251 msgstr "" 154 252 … … 183 281 #. translators: %s: Name of the site 184 282 #: includes/events/page/class-page-hook.php:41 185 msgid "Hey, a newpage was drafted on %s!"283 msgid "Hey, a page was drafted on %s!" 186 284 msgstr "" 187 285 188 286 #. translators: 1: Name of the user 2: Name of the site 189 287 #: includes/events/page/class-page-hook.php:47 190 msgid "Hey, a newpage was drafted by %1$s on %2$s!"191 msgstr "" 192 193 #. translators: %s: Name of the site 194 #: includes/events/page/class-page-hook.php:7 7195 msgid "Hey, a newpage was published on %s!"196 msgstr "" 197 198 #. translators: 1: Name of the user 2: Name of the site 199 #: includes/events/page/class-page-hook.php:8 3200 msgid "Hey, a newpage was published by %1$s on %2$s!"201 msgstr "" 202 203 #. translators: %s: Name of the site 204 #: includes/events/page/class-page-hook.php:11 3205 msgid "Hey, a newpage was scheduled on %s!"206 msgstr "" 207 208 #. translators: 1: Name of the user 2: Name of the site 209 #: includes/events/page/class-page-hook.php:1 19210 msgid "Hey, a newpage was scheduled by %1$s on %2$s!"211 msgstr "" 212 213 #. translators: %s: Name of the site 214 #: includes/events/page/class-page-hook.php:1 38215 msgid "Hey, a newpage is pending on %s!"216 msgstr "" 217 218 #. translators: %s: Name of the site 219 #: includes/events/page/class-page-hook.php:1 70288 msgid "Hey, a page was drafted by %1$s on %2$s!" 289 msgstr "" 290 291 #. translators: %s: Name of the site 292 #: includes/events/page/class-page-hook.php:79 293 msgid "Hey, a page was published on %s!" 294 msgstr "" 295 296 #. translators: 1: Name of the user 2: Name of the site 297 #: includes/events/page/class-page-hook.php:85 298 msgid "Hey, a page was published by %1$s on %2$s!" 299 msgstr "" 300 301 #. translators: %s: Name of the site 302 #: includes/events/page/class-page-hook.php:117 303 msgid "Hey, a page was scheduled on %s!" 304 msgstr "" 305 306 #. translators: 1: Name of the user 2: Name of the site 307 #: includes/events/page/class-page-hook.php:123 308 msgid "Hey, a page was scheduled by %1$s on %2$s!" 309 msgstr "" 310 311 #. translators: %s: Name of the site 312 #: includes/events/page/class-page-hook.php:152 313 msgid "Hey, a page is pending on %s!" 314 msgstr "" 315 316 #. translators: %s: Name of the site 317 #: includes/events/page/class-page-hook.php:186 220 318 msgid "Hey, a page was updated on %s!" 221 319 msgstr "" 222 320 223 321 #. translators: 1: Name of the user 2: Name of the site 224 #: includes/events/page/class-page-hook.php:1 76322 #: includes/events/page/class-page-hook.php:192 225 323 msgid "Hey, a page was updated by %1$s on %2$s!" 226 324 msgstr "" 227 325 228 326 #. translators: %s: Name of the site 229 #: includes/events/page/class-page-hook.php:2 08327 #: includes/events/page/class-page-hook.php:226 230 328 msgid "Hey, a page was deleted on %s!" 231 329 msgstr "" 232 330 233 331 #. translators: 1: Name of the user 2: Name of the site 234 #: includes/events/page/class-page-hook.php:2 14332 #: includes/events/page/class-page-hook.php:232 235 333 msgid "Hey, a page was deleted by %1$s on %2$s!" 236 334 msgstr "" … … 266 364 #. translators: %s: Name of the site 267 365 #: includes/events/post/class-post-hook.php:41 268 msgid "Hey, a newpost was drafted on %s!"366 msgid "Hey, a post was drafted on %s!" 269 367 msgstr "" 270 368 271 369 #. translators: 1: Name of the user 2: Name of the site 272 370 #: includes/events/post/class-post-hook.php:47 273 msgid "Hey, a newpost was drafted by %1$s on %2$s!"274 msgstr "" 275 276 #. translators: %s: Name of the site 277 #: includes/events/post/class-post-hook.php:7 7278 msgid "Hey, a newpost was published on %s!"279 msgstr "" 280 281 #. translators: 1: Name of the user 2: Name of the site 282 #: includes/events/post/class-post-hook.php:8 3283 msgid "Hey, a newpost was published by %1$s on %2$s!"284 msgstr "" 285 286 #. translators: %s: Name of the site 287 #: includes/events/post/class-post-hook.php:11 3288 msgid "Hey, a newpost was scheduled on %s!"289 msgstr "" 290 291 #. translators: 1: Name of the user 2: Name of the site 292 #: includes/events/post/class-post-hook.php:1 19293 msgid "Hey, a newpost was scheduled by %1$s on %2$s!"294 msgstr "" 295 296 #. translators: %s: Name of the site 297 #: includes/events/post/class-post-hook.php:1 38298 msgid "Hey, a newpost is pending on %s!"299 msgstr "" 300 301 #. translators: %s: Name of the site 302 #: includes/events/post/class-post-hook.php:1 70371 msgid "Hey, a post was drafted by %1$s on %2$s!" 372 msgstr "" 373 374 #. translators: %s: Name of the site 375 #: includes/events/post/class-post-hook.php:79 376 msgid "Hey, a post was published on %s!" 377 msgstr "" 378 379 #. translators: 1: Name of the user 2: Name of the site 380 #: includes/events/post/class-post-hook.php:85 381 msgid "Hey, a post was published by %1$s on %2$s!" 382 msgstr "" 383 384 #. translators: %s: Name of the site 385 #: includes/events/post/class-post-hook.php:117 386 msgid "Hey, a post was scheduled on %s!" 387 msgstr "" 388 389 #. translators: 1: Name of the user 2: Name of the site 390 #: includes/events/post/class-post-hook.php:123 391 msgid "Hey, a post was scheduled by %1$s on %2$s!" 392 msgstr "" 393 394 #. translators: %s: Name of the site 395 #: includes/events/post/class-post-hook.php:152 396 msgid "Hey, a post is pending on %s!" 397 msgstr "" 398 399 #. translators: %s: Name of the site 400 #: includes/events/post/class-post-hook.php:186 303 401 msgid "Hey, a post was updated on %s!" 304 402 msgstr "" 305 403 306 404 #. translators: 1: Name of the user 2: Name of the site 307 #: includes/events/post/class-post-hook.php:1 76405 #: includes/events/post/class-post-hook.php:192 308 406 msgid "Hey, a post was updated by %1$s on %2$s!" 309 407 msgstr "" 310 408 311 409 #. translators: %s: Name of the site 312 #: includes/events/post/class-post-hook.php:2 08410 #: includes/events/post/class-post-hook.php:226 313 411 msgid "Hey, a post was deleted on %s!" 314 412 msgstr "" 315 413 316 414 #. translators: 1: Name of the user 2: Name of the site 317 #: includes/events/post/class-post-hook.php:2 14415 #: includes/events/post/class-post-hook.php:232 318 416 msgid "Hey, a post was deleted by %1$s on %2$s!" 319 msgstr ""320 321 #: includes/events/post/class-post-hook.php:248322 msgid "Categories"323 msgstr ""324 325 #: includes/events/post/class-post-hook.php:257326 msgid "Tags"327 417 msgstr "" 328 418 … … 336 426 337 427 #: includes/events/system/class-system-event.php:47 428 msgid "Plugin Update Available" 429 msgstr "" 430 431 #: includes/events/system/class-system-event.php:48 432 msgid "Plugin Activated" 433 msgstr "" 434 435 #: includes/events/system/class-system-event.php:49 436 msgid "Plugin Deactivated" 437 msgstr "" 438 439 #: includes/events/system/class-system-event.php:50 338 440 msgid "Theme Update Available" 339 441 msgstr "" 340 442 341 #: includes/events/system/class-system-event.php: 48342 msgid " Plugin Update Available"343 msgstr "" 344 345 #. translators: %s: Name of the site 346 #: includes/events/system/class-system-hook.php:6 7443 #: includes/events/system/class-system-event.php:51 444 msgid "Theme Changed" 445 msgstr "" 446 447 #. translators: %s: Name of the site 448 #: includes/events/system/class-system-hook.php:65 347 449 msgid "Hey, a new version of WordPress is available on %s!" 348 450 msgstr "" … … 361 463 362 464 #. translators: %s: Name of the site 363 #: includes/events/system/class-system-hook.php:1 53465 #: includes/events/system/class-system-hook.php:193 364 466 msgid "Hey, new theme updates are available on %s!" 365 467 msgstr "" 366 468 367 #: includes/events/system/class-system-hook.php: 159469 #: includes/events/system/class-system-hook.php:201 368 470 msgid "View the theme updates" 369 471 msgstr "" 370 472 371 473 #. translators: %s: Name of the site 372 #: includes/events/system/class-system-hook.php:2 26474 #: includes/events/system/class-system-hook.php:292 373 475 msgid "Hey, new plugin updates are available on %s!" 374 476 msgstr "" 375 477 376 #: includes/events/system/class-system-hook.php: 232478 #: includes/events/system/class-system-hook.php:300 377 479 msgid "View the plugin updates" 480 msgstr "" 481 482 #: includes/events/system/class-system-hook.php:352 483 #: includes/events/system/class-system-hook.php:393 484 msgid "Name" 485 msgstr "" 486 487 #: includes/events/system/class-system-hook.php:357 488 #: includes/events/system/class-system-hook.php:398 489 msgid "Version" 490 msgstr "" 491 492 #. translators: %s: Name of the site 493 #: includes/events/system/class-system-hook.php:365 494 msgid "Hey, a plugin was just activated on %s!" 495 msgstr "" 496 497 #: includes/events/system/class-system-hook.php:373 498 #: includes/events/system/class-system-hook.php:414 499 msgid "View installed plugins" 500 msgstr "" 501 502 #. translators: %s: Name of the site 503 #: includes/events/system/class-system-hook.php:406 504 msgid "Hey, a plugin was just deactivated on %s!" 505 msgstr "" 506 507 #: includes/events/system/class-system-hook.php:431 508 msgid "New Theme" 509 msgstr "" 510 511 #. translators: %s: Name of the site 512 #: includes/events/system/class-system-hook.php:439 513 msgid "Hey, the theme was changed on %s!" 514 msgstr "" 515 516 #: includes/events/system/class-system-hook.php:447 517 msgid "View themes" 378 518 msgstr "" 379 519 … … 400 540 401 541 #. translators: %s: Name of the site 402 #: includes/events/user/class-user-hook.php: 59542 #: includes/events/user/class-user-hook.php:61 403 543 msgid "Hey, an administrator just logged in to %s!" 404 544 msgstr "" 405 545 406 546 #. translators: %s: Name of the site 407 #: includes/events/user/class-user-hook.php:9 2547 #: includes/events/user/class-user-hook.php:96 408 548 msgid "Hey, an administrator just failed to log in to %s!" 409 549 msgstr "" 410 550 411 #: includes/events/user/class-user-hook.php:11 0551 #: includes/events/user/class-user-hook.php:116 412 552 msgid "Display Name" 413 553 msgstr "" 414 554 415 #: includes/events/user/class-user-hook.php:1 15555 #: includes/events/user/class-user-hook.php:121 416 556 msgid "Username" 417 557 msgstr "" 418 558 419 #: includes/events/user/class-user-hook.php:1 25559 #: includes/events/user/class-user-hook.php:131 420 560 msgid "IP Address" 421 561 msgstr "" 422 562 423 #: includes/events/user/class-user-hook.php:1 38563 #: includes/events/user/class-user-hook.php:144 424 564 msgid "View user's profile" 425 565 msgstr "" 426 566 427 #: includes/events/user/class-user-hook.php:16 1567 #: includes/events/user/class-user-hook.php:167 428 568 msgid "Unknown" 429 569 msgstr "" 430 570 431 #: includes/fields.php:6 6571 #: includes/fields.php:69 432 572 msgid "Hey Notify Settings" 433 573 msgstr "" 434 574 435 #: includes/fields.php: 68575 #: includes/fields.php:71 436 576 msgid "Settings" 437 577 msgstr "" 438 578 439 #: includes/fields.php:7 1579 #: includes/fields.php:74 440 580 msgid "General" 441 581 msgstr "" 442 582 443 #: includes/fields.php:7 5583 #: includes/fields.php:78 444 584 msgid "Uninstall" 585 msgstr "" 586 587 #: includes/fields.php:82 588 msgid "Licenses" 445 589 msgstr "" 446 590 … … 470 614 471 615 #: includes/filters.php:102 472 msgid "General settings for Hey Notify ."616 msgid "General settings for Hey Notify" 473 617 msgstr "" 474 618 475 619 #: includes/filters.php:107 476 620 msgid "Default service:" 621 msgstr "" 622 623 #: includes/filters.php:115 624 msgid "Custom Post Type Settings" 625 msgstr "" 626 627 #: includes/filters.php:120 628 msgid "Only display public Custom Post Types" 477 629 msgstr "" 478 630 -
hey-notify/trunk/readme.txt
r2466801 r2469861 5 5 Tested up to: 5.6 6 6 Requires PHP: 5.3 7 Stable tag: 1.2. 17 Stable tag: 1.2.2 8 8 License: GPLv2 or later 9 9 License URI: http://ww.gnu.org/licenses/gpl-2.0.html … … 67 67 == Changelog == 68 68 69 = 1.2.2 = 70 * Fixed ability to @mention Discord users. 71 * Updated translation file. 72 69 73 = 1.2.1 = 70 74 * Automatically detect available Custom Post Types.
Note: See TracChangeset
for help on using the changeset viewer.