Changeset 3189651
- Timestamp:
- 11/15/2024 03:00:35 PM (17 months ago)
- Location:
- wp-line-notify/trunk
- Files:
-
- 7 edited
-
includes/page-setup.php (modified) (1 diff)
-
includes/upgrade.php (modified) (2 diffs)
-
languages/wp-line-notify-zh_TW.mo (modified) (previous)
-
languages/wp-line-notify-zh_TW.po (modified) (5 diffs)
-
languages/wp-line-notify.pot (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
-
wp-line-notify.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-line-notify/trunk/includes/page-setup.php
r2957800 r3189651 10 10 </div> 11 11 <?php endif; ?> 12 <div class="notice notice-error is-dismissible"> 13 <p><?php _e( 'From April 1, 2025, all LINE Notify features will become unavailable.', 'wp-line-notify' )?></p> 14 </div> 12 15 13 16 <div class="wrap"> -
wp-line-notify/trunk/includes/upgrade.php
r2957800 r3189651 9 9 public $option_name; 10 10 11 public $option s;11 public $option; 12 12 13 13 public $option_ver; … … 21 21 $this->option_name = $option_name; 22 22 23 $this->option = get_option( $option_name ); 24 if( empty($this->option) ) $this->option = []; 23 $this->option = get_option( $option_name, [] ); 25 24 26 25 $this->option_ver = ( isset($this->option['version']) ) ? $this->option['version'] : '1.0'; -
wp-line-notify/trunk/languages/wp-line-notify-zh_TW.po
r2847747 r3189651 5 5 "Project-Id-Version: Plugins - WP LINE Notify - Stable (latest release)\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-line-notify\n" 7 "POT-Creation-Date: 202 3-01-13T07:24:20+01:00\n"8 "PO-Revision-Date: 202 3-01-13 14:25+0800\n"7 "POT-Creation-Date: 2024-11-15T04:22:59+00:00\n" 8 "PO-Revision-Date: 2024-11-15 12:23+0800\n" 9 9 "Last-Translator: \n" 10 10 "Language-Team: \n" … … 14 14 "Content-Transfer-Encoding: 8bit\n" 15 15 "Plural-Forms: nplurals=1; plural=0;\n" 16 "X-Generator: Poedit 3. 2.2\n"16 "X-Generator: Poedit 3.5\n" 17 17 18 18 #. Plugin Name of the plugin 19 #: wp-line-notify.php 19 20 msgid "WordPress LINE Notify" 20 21 msgstr "WordPress LINE Notify" 21 22 22 23 #. Description of the plugin 24 #: wp-line-notify.php 23 25 msgid "This plugin can send a alert message by LINE Notify" 24 26 msgstr "這個外掛可以藉由 LINE Notify 傳送提醒訊息給你" 25 27 26 28 #. Author of the plugin 29 #: wp-line-notify.php 27 30 msgid "Simon Chuang" 28 31 msgstr "Simon Chuang" 29 32 30 33 #. Author URI of the plugin 34 #: wp-line-notify.php 31 35 msgid "https://github.com/mark2me/wp-line-notify" 32 36 msgstr "https://github.com/mark2me/wp-line-notify" … … 180 184 msgstr "你有一筆新的訂單。" 181 185 182 #: includes/class-woo.php:98 includes/class-woo.php:1 10186 #: includes/class-woo.php:98 includes/class-woo.php:109 183 187 msgid "WooCommerce" 184 188 msgstr "WooCommerce" 185 189 186 #: includes/class-woo.php:99 includes/page-setup.php:14 3187 #: includes/page-setup.php:16 7190 #: includes/class-woo.php:99 includes/page-setup.php:144 191 #: includes/page-setup.php:168 188 192 msgid "This plugin is not install or active." 189 193 msgstr "這個外掛尚未安裝或是啟用。" 190 194 191 #: includes/class-woo.php:11 3195 #: includes/class-woo.php:112 192 196 msgid "Add a new order" 193 197 msgstr "新增一筆新的訂單" 194 198 195 #: includes/class-woo.php:11 9199 #: includes/class-woo.php:118 196 200 msgid "You can use these tags in the message template:" 197 201 msgstr "你可以在訊息範本中使用這些標籤:" 198 202 199 #: includes/class-woo.php:1 20203 #: includes/class-woo.php:119 200 204 msgid "(Click tag to insert into the template)" 201 205 msgstr "(點擊標籤自動加入到範本中)" 202 206 203 #: includes/class-woo.php:12 4207 #: includes/class-woo.php:123 204 208 msgid "Default Item" 205 209 msgstr "預設項目" 206 210 207 #: includes/class-woo.php:13 4211 #: includes/class-woo.php:133 208 212 msgid "Billing Fields" 209 213 msgstr "購買人欄位" 210 214 211 #: includes/class-woo.php:1 40215 #: includes/class-woo.php:139 212 216 msgid "Shipping Fields" 213 217 msgstr "收件人欄位" 214 218 215 #: includes/class-woo.php:14 6219 #: includes/class-woo.php:145 216 220 msgid "Additional Fields" 217 221 msgstr "額外欄位" 218 222 219 #: includes/class-woo.php:15 5223 #: includes/class-woo.php:154 220 224 msgid "Buyer Information" 221 225 msgstr "購買人資訊" 222 226 223 #: includes/class-woo.php:16 2227 #: includes/class-woo.php:161 224 228 msgid "Recipient Information" 225 229 msgstr "收件人資訊" 226 230 227 #: includes/class-woo.php:17 4231 #: includes/class-woo.php:173 228 232 msgid "Template" 229 233 msgstr "範本" 230 234 231 #: includes/class-woo.php:17 9235 #: includes/class-woo.php:178 232 236 msgid "" 233 237 "* If you do not enter any text, the system will use the default template." 234 238 msgstr "* 如果您不輸入任何文字,系統將使用預設範本。" 235 239 236 #: includes/class-woo.php:18 5240 #: includes/class-woo.php:184 237 241 msgid "Order status changed" 238 242 msgstr "訂單狀態變更" 239 243 240 #: includes/page-setup.php:15 wp-line-notify.php:127 wp-line-notify.php:163 244 #: includes/page-setup.php:13 245 msgid "From April 1, 2025, all LINE Notify features will become unavailable." 246 msgstr "自2025年4月1日起,LINE Notify的所有功能將無法操作。" 247 248 #: includes/page-setup.php:18 wp-line-notify.php:120 wp-line-notify.php:155 241 249 msgid "Line Notify Setting" 242 250 msgstr "Line Notify 設定" 243 251 244 #: includes/page-setup.php:2 3252 #: includes/page-setup.php:26 245 253 msgid "Line Notify Token" 246 254 msgstr "Line Notify 權杖" 247 255 248 #: includes/page-setup.php:2 6256 #: includes/page-setup.php:29 includes/page-setup.php:194 249 257 msgid "General" 250 258 msgstr "通用" 251 259 252 #: includes/page-setup.php:4 0260 #: includes/page-setup.php:41 253 261 msgid "Access token valid." 254 262 msgstr "存取權杖有效。" 255 263 256 #: includes/page-setup.php:4 0264 #: includes/page-setup.php:41 257 265 msgid "Invalid access token." 258 266 msgstr "無效的存取權杖。" 259 267 260 #: includes/page-setup.php:4 3 wp-line-notify.php:169268 #: includes/page-setup.php:44 wp-line-notify.php:161 261 269 msgid "* Generate access token on LINE website" 262 270 msgstr "* 到 LINE 官方網站申請存取的權杖" 263 271 264 #: includes/page-setup.php:5 1272 #: includes/page-setup.php:52 265 273 msgid "When to send message ?" 266 274 msgstr "何時傳送訊息?" 267 275 268 #: includes/page-setup.php:5 5276 #: includes/page-setup.php:56 269 277 msgid "Post" 270 278 msgstr "文章" 271 279 272 #: includes/page-setup.php:5 7280 #: includes/page-setup.php:58 273 281 msgid "Publish" 274 282 msgstr "發佈" 275 283 276 #: includes/page-setup.php: 59 includes/page-setup.php:74284 #: includes/page-setup.php:60 includes/page-setup.php:75 277 285 msgid "Select roles:" 278 286 msgstr "選取使用者角色:" 279 287 280 #: includes/page-setup.php:7 2288 #: includes/page-setup.php:73 281 289 msgid "Pending" 282 290 msgstr "待審閱" 283 291 284 #: includes/page-setup.php:8 7292 #: includes/page-setup.php:88 285 293 msgid "Comments" 286 294 msgstr "留言" 287 295 288 #: includes/page-setup.php:9 3296 #: includes/page-setup.php:94 289 297 msgid "Add a new comment" 290 298 msgstr "新增新的留言" 291 299 292 #: includes/page-setup.php:9 8300 #: includes/page-setup.php:99 293 301 msgid "Users" 294 302 msgstr "使用者" 295 303 296 #: includes/page-setup.php:10 4304 #: includes/page-setup.php:105 297 305 msgid "User register" 298 306 msgstr "使用者註冊時" 299 307 300 #: includes/page-setup.php:11 8308 #: includes/page-setup.php:119 301 309 msgid "Contact Form 7" 302 310 msgstr "Contact Form 7" 303 311 304 #: includes/page-setup.php:12 4312 #: includes/page-setup.php:125 305 313 msgid "When a new contact message is received." 306 314 msgstr "當收到新的聯絡訊息時。" 307 315 308 #: includes/page-setup.php:13 6316 #: includes/page-setup.php:137 309 317 msgid "(Edit message template)" 310 318 msgstr "(編輯郵件訊息範本)" 311 319 312 #: includes/page-setup.php:15 5320 #: includes/page-setup.php:156 313 321 msgid "Elementor Pro" 314 322 msgstr "Elementor Pro" 315 323 316 #: includes/page-setup.php:16 3324 #: includes/page-setup.php:164 317 325 msgid "When a new message is received from the Elementor Pro form widget." 318 326 msgstr "當從 Elementor Pro Form 收到新的訊息時。" 319 327 320 #: includes/page-setup.php:16 5328 #: includes/page-setup.php:166 321 329 msgid "" 322 330 "You have to find the \"Actions After Submit\" in the form editing function " … … 326 334 "notify」的動作。" 327 335 328 #: includes/page-setup.php:18 0336 #: includes/page-setup.php:181 329 337 msgid "Test Line Notify" 330 338 msgstr "測試 Line Notify" 331 339 332 #: includes/page-setup.php:187 333 msgid "Test Send" 334 msgstr "測試寄送" 335 336 #: includes/page-setup.php:215 337 msgid "Are you sure to revoke notification configurations?" 338 msgstr "你確定要撤銷通知權杖嗎?" 339 340 #: wp-line-notify.php:116 340 #: includes/page-setup.php:190 341 msgid "Send to" 342 msgstr "寄送給" 343 344 #: includes/page-setup.php:207 345 msgid "Test message" 346 msgstr "測試訊息" 347 348 #: includes/page-setup.php:212 349 msgid "Send test" 350 msgstr "寄送測試" 351 352 #: wp-line-notify.php:109 341 353 msgid "Settings" 342 354 msgstr "設定通知項目" 343 355 344 #: wp-line-notify.php:12 8356 #: wp-line-notify.php:121 345 357 msgid "WP Line Notify" 346 358 msgstr "WP Line Notify" 347 359 348 #: wp-line-notify.php:1 66360 #: wp-line-notify.php:158 349 361 msgid "Line Notify Token:" 350 362 msgstr "Line Notify 權杖:" 351 363 352 #: wp-line-notify.php:20 8364 #: wp-line-notify.php:200 353 365 msgid "publish a post" 354 366 msgstr "發佈一篇文章" 355 367 356 #: wp-line-notify.php:20 9368 #: wp-line-notify.php:201 357 369 msgid "pending a post" 358 370 msgstr "送交審閱一篇文章" 359 371 360 #: wp-line-notify.php:2 63372 #: wp-line-notify.php:255 361 373 msgid "You have a new comment." 362 374 msgstr "你有一則新的留言。" 363 375 364 #: wp-line-notify.php:2 81376 #: wp-line-notify.php:273 365 377 msgid "You have a new user register." 366 378 msgstr "你有一位新使用者註冊。" 367 379 368 #: wp-line-notify.php:2 82380 #: wp-line-notify.php:274 369 381 msgid "Username:" 370 382 msgstr "使用者名稱:" 371 383 372 #: wp-line-notify.php:399 384 #. translators: %1$s is order id, %2$s is order state. 385 #: wp-line-notify.php:392 373 386 msgid "There is an order id %1$d, and the state is changed to %2$s." 374 387 msgstr "有一筆訂單 %1$d 的狀態改變為 %2$s。" 375 388 376 #: wp-line-notify.php:4 22389 #: wp-line-notify.php:415 377 390 msgid "You have a new contact message.\n" 378 391 msgstr "你有一則新的聯絡訊息。\n" 379 392 380 #: wp-line-notify.php: 503393 #: wp-line-notify.php:499 381 394 msgid "This is a Line notify plugin test." 382 395 msgstr "這是一個 Line Notify 外掛測試。" … … 394 407 msgstr "LINE Notify 傳送失敗。" 395 408 409 #~ msgid "Test Send" 410 #~ msgstr "測試寄送" 411 412 #~ msgid "Are you sure to revoke notification configurations?" 413 #~ msgstr "你確定要撤銷通知權杖嗎?" 414 396 415 #~ msgid "Revoke token" 397 416 #~ msgstr "撤銷權杖" -
wp-line-notify/trunk/languages/wp-line-notify.pot
r2954624 r3189651 1 # Copyright (C) 202 3Simon Chuang1 # Copyright (C) 2024 Simon Chuang 2 2 # This file is distributed under the GPLv2. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: WordPress LINE Notify 1.4. 3\n"5 "Project-Id-Version: WordPress LINE Notify 1.4.6\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-line-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 3-08-17T01:07:53+00:00\n"12 "POT-Creation-Date: 2024-11-15T04:22:59+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2. 8.1\n"14 "X-Generator: WP-CLI 2.11.0\n" 15 15 "X-Domain: wp-line-notify\n" 16 16 17 17 #. Plugin Name of the plugin 18 #: wp-line-notify.php 18 19 msgid "WordPress LINE Notify" 19 20 msgstr "" 20 21 21 22 #. Description of the plugin 23 #: wp-line-notify.php 22 24 msgid "This plugin can send a alert message by LINE Notify" 23 25 msgstr "" 24 26 25 27 #. Author of the plugin 28 #: wp-line-notify.php 26 29 msgid "Simon Chuang" 27 30 msgstr "" 28 31 29 32 #. Author URI of the plugin 33 #: wp-line-notify.php 30 34 msgid "https://github.com/mark2me/wp-line-notify" 31 35 msgstr "" … … 194 198 195 199 #: includes/class-woo.php:99 196 #: includes/page-setup.php:14 3197 #: includes/page-setup.php:16 7200 #: includes/page-setup.php:144 201 #: includes/page-setup.php:168 198 202 msgid "This plugin is not install or active." 199 203 msgstr "" … … 247 251 msgstr "" 248 252 249 #: includes/page-setup.php:15 250 #: wp-line-notify.php:127 251 #: wp-line-notify.php:163 253 #: includes/page-setup.php:13 254 msgid "From April 1, 2025, all LINE Notify features will become unavailable." 255 msgstr "" 256 257 #: includes/page-setup.php:18 258 #: wp-line-notify.php:120 259 #: wp-line-notify.php:155 252 260 msgid "Line Notify Setting" 253 261 msgstr "" 254 262 255 #: includes/page-setup.php:2 3263 #: includes/page-setup.php:26 256 264 msgid "Line Notify Token" 257 265 msgstr "" 258 266 259 #: includes/page-setup.php:2 6260 #: includes/page-setup.php:19 3267 #: includes/page-setup.php:29 268 #: includes/page-setup.php:194 261 269 msgid "General" 262 270 msgstr "" 263 271 264 #: includes/page-setup.php:4 0272 #: includes/page-setup.php:41 265 273 msgid "Access token valid." 266 274 msgstr "" 267 275 268 #: includes/page-setup.php:4 0276 #: includes/page-setup.php:41 269 277 msgid "Invalid access token." 270 278 msgstr "" 271 279 272 #: includes/page-setup.php:4 3273 #: wp-line-notify.php:16 9280 #: includes/page-setup.php:44 281 #: wp-line-notify.php:161 274 282 msgid "* Generate access token on LINE website" 275 283 msgstr "" 276 284 277 #: includes/page-setup.php:5 1285 #: includes/page-setup.php:52 278 286 msgid "When to send message ?" 279 287 msgstr "" 280 288 281 #: includes/page-setup.php:5 5289 #: includes/page-setup.php:56 282 290 msgid "Post" 283 291 msgstr "" 284 292 285 #: includes/page-setup.php:5 7293 #: includes/page-setup.php:58 286 294 msgid "Publish" 287 295 msgstr "" 288 296 289 #: includes/page-setup.php: 59290 #: includes/page-setup.php:7 4297 #: includes/page-setup.php:60 298 #: includes/page-setup.php:75 291 299 msgid "Select roles:" 292 300 msgstr "" 293 301 294 #: includes/page-setup.php:7 2302 #: includes/page-setup.php:73 295 303 msgid "Pending" 296 304 msgstr "" 297 305 298 #: includes/page-setup.php:8 7306 #: includes/page-setup.php:88 299 307 msgid "Comments" 300 308 msgstr "" 301 309 302 #: includes/page-setup.php:9 3310 #: includes/page-setup.php:94 303 311 msgid "Add a new comment" 304 312 msgstr "" 305 313 306 #: includes/page-setup.php:9 8314 #: includes/page-setup.php:99 307 315 msgid "Users" 308 316 msgstr "" 309 317 310 #: includes/page-setup.php:10 4318 #: includes/page-setup.php:105 311 319 msgid "User register" 312 320 msgstr "" 313 321 314 #: includes/page-setup.php:11 8322 #: includes/page-setup.php:119 315 323 msgid "Contact Form 7" 316 324 msgstr "" 317 325 318 #: includes/page-setup.php:12 4326 #: includes/page-setup.php:125 319 327 msgid "When a new contact message is received." 320 328 msgstr "" 321 329 322 #: includes/page-setup.php:13 6330 #: includes/page-setup.php:137 323 331 msgid "(Edit message template)" 324 332 msgstr "" 325 333 326 #: includes/page-setup.php:15 5334 #: includes/page-setup.php:156 327 335 msgid "Elementor Pro" 328 336 msgstr "" 329 337 330 #: includes/page-setup.php:16 3338 #: includes/page-setup.php:164 331 339 msgid "When a new message is received from the Elementor Pro form widget." 332 340 msgstr "" 333 341 334 #: includes/page-setup.php:16 5342 #: includes/page-setup.php:166 335 343 msgid "You have to find the \"Actions After Submit\" in the form editing function and add a new action called \"Line notify\"." 336 344 msgstr "" 337 345 338 #: includes/page-setup.php:18 0346 #: includes/page-setup.php:181 339 347 msgid "Test Line Notify" 340 348 msgstr "" 341 349 342 #: includes/page-setup.php:1 89350 #: includes/page-setup.php:190 343 351 msgid "Send to" 344 352 msgstr "" 345 353 346 #: includes/page-setup.php:20 6354 #: includes/page-setup.php:207 347 355 msgid "Test message" 348 356 msgstr "" 349 357 350 #: includes/page-setup.php:21 4358 #: includes/page-setup.php:212 351 359 msgid "Send test" 352 360 msgstr "" 353 361 354 #: includes/page-setup.php:243 355 msgid "Are you sure to revoke notification configurations?" 356 msgstr "" 357 358 #: wp-line-notify.php:116 362 #: wp-line-notify.php:109 359 363 msgid "Settings" 360 364 msgstr "" 361 365 362 #: wp-line-notify.php:12 8366 #: wp-line-notify.php:121 363 367 msgid "WP Line Notify" 364 368 msgstr "" 365 369 366 #: wp-line-notify.php:1 66370 #: wp-line-notify.php:158 367 371 msgid "Line Notify Token:" 368 372 msgstr "" 369 373 370 #: wp-line-notify.php:20 8374 #: wp-line-notify.php:200 371 375 msgid "publish a post" 372 376 msgstr "" 373 377 374 #: wp-line-notify.php:20 9378 #: wp-line-notify.php:201 375 379 msgid "pending a post" 376 380 msgstr "" 377 381 378 #: wp-line-notify.php:2 63382 #: wp-line-notify.php:255 379 383 msgid "You have a new comment." 380 384 msgstr "" 381 385 382 #: wp-line-notify.php:2 81386 #: wp-line-notify.php:273 383 387 msgid "You have a new user register." 384 388 msgstr "" 385 389 386 #: wp-line-notify.php:2 82390 #: wp-line-notify.php:274 387 391 msgid "Username:" 388 392 msgstr "" 389 393 390 394 #. translators: %1$s is order id, %2$s is order state. 391 #: wp-line-notify.php: 400395 #: wp-line-notify.php:392 392 396 msgid "There is an order id %1$d, and the state is changed to %2$s." 393 397 msgstr "" 394 398 395 #: wp-line-notify.php:4 23399 #: wp-line-notify.php:415 396 400 msgid "" 397 401 "You have a new contact message.\n" … … 399 403 msgstr "" 400 404 401 #: wp-line-notify.php: 507405 #: wp-line-notify.php:499 402 406 msgid "This is a Line notify plugin test." 403 407 msgstr "" 404 408 409 #: wp-line-notify.php:508 410 msgid "Please fill in the top Line Notify Token field." 411 msgstr "" 412 413 #: wp-line-notify.php:515 414 msgid "Send test ok!" 415 msgstr "" 416 405 417 #: wp-line-notify.php:517 406 msgid "Please fill in the top Line Notify Token field."407 msgstr ""408 409 #: wp-line-notify.php:524410 msgid "Send test ok!"411 msgstr ""412 413 #: wp-line-notify.php:526414 418 msgid "Error on send LINE Notify." 415 419 msgstr "" -
wp-line-notify/trunk/readme.txt
r2957800 r3189651 3 3 Tags: notify, plugin, line, WooCommerce, Elementor, Contact Form 4 4 Requires at least: 5.4 5 Tested up to: 6. 36 Requires PHP: 7.47 Stable tag: 1.4. 55 Tested up to: 6.7 6 Requires PHP: 8.0 7 Stable tag: 1.4.6 8 8 License: GPLv3 9 9 License URI: https://www.gnu.org/licenses/gpl-3.0.html … … 32 32 33 33 == Changelog == 34 35 = 1.4.6 - 2024-11-15 = 36 * Updated for WordPress 6.7 37 * Fixed bug for PHP 8.2 34 38 35 39 = 1.4.5 - 2023-08-24 = -
wp-line-notify/trunk/wp-line-notify.php
r2957800 r3189651 3 3 * Plugin Name: WordPress LINE Notify 4 4 * Description: This plugin can send a alert message by LINE Notify 5 * Version: 1.4. 55 * Version: 1.4.6 6 6 * Author: Simon Chuang 7 7 * Author URI: https://github.com/mark2me/wp-line-notify
Note: See TracChangeset
for help on using the changeset viewer.