Plugin Directory

Changeset 3189651


Ignore:
Timestamp:
11/15/2024 03:00:35 PM (17 months ago)
Author:
simon_tw
Message:

update for WordPress 6.7

Location:
wp-line-notify/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • wp-line-notify/trunk/includes/page-setup.php

    r2957800 r3189651  
    1010</div>
    1111<?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>
    1215
    1316<div class="wrap">
  • wp-line-notify/trunk/includes/upgrade.php

    r2957800 r3189651  
    99    public $option_name;
    1010
    11     public $options;
     11    public $option;
    1212
    1313    public $option_ver;
     
    2121        $this->option_name = $option_name;
    2222
    23         $this->option = get_option( $option_name );
    24         if( empty($this->option) ) $this->option = [];
     23        $this->option = get_option( $option_name, [] );
    2524
    2625        $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  
    55"Project-Id-Version: Plugins - WP LINE Notify - Stable (latest release)\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-line-notify\n"
    7 "POT-Creation-Date: 2023-01-13T07:24:20+01:00\n"
    8 "PO-Revision-Date: 2023-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"
    99"Last-Translator: \n"
    1010"Language-Team: \n"
     
    1414"Content-Transfer-Encoding: 8bit\n"
    1515"Plural-Forms: nplurals=1; plural=0;\n"
    16 "X-Generator: Poedit 3.2.2\n"
     16"X-Generator: Poedit 3.5\n"
    1717
    1818#. Plugin Name of the plugin
     19#: wp-line-notify.php
    1920msgid "WordPress LINE Notify"
    2021msgstr "WordPress LINE Notify"
    2122
    2223#. Description of the plugin
     24#: wp-line-notify.php
    2325msgid "This plugin can send a alert message by LINE Notify"
    2426msgstr "這個外掛可以藉由 LINE Notify 傳送提醒訊息給你"
    2527
    2628#. Author of the plugin
     29#: wp-line-notify.php
    2730msgid "Simon Chuang"
    2831msgstr "Simon Chuang"
    2932
    3033#. Author URI of the plugin
     34#: wp-line-notify.php
    3135msgid "https://github.com/mark2me/wp-line-notify"
    3236msgstr "https://github.com/mark2me/wp-line-notify"
     
    180184msgstr "你有一筆新的訂單。"
    181185
    182 #: includes/class-woo.php:98 includes/class-woo.php:110
     186#: includes/class-woo.php:98 includes/class-woo.php:109
    183187msgid "WooCommerce"
    184188msgstr "WooCommerce"
    185189
    186 #: includes/class-woo.php:99 includes/page-setup.php:143
    187 #: includes/page-setup.php:167
     190#: includes/class-woo.php:99 includes/page-setup.php:144
     191#: includes/page-setup.php:168
    188192msgid "This plugin is not install or active."
    189193msgstr "這個外掛尚未安裝或是啟用。"
    190194
    191 #: includes/class-woo.php:113
     195#: includes/class-woo.php:112
    192196msgid "Add a new order"
    193197msgstr "新增一筆新的訂單"
    194198
    195 #: includes/class-woo.php:119
     199#: includes/class-woo.php:118
    196200msgid "You can use these tags in the message template:"
    197201msgstr "你可以在訊息範本中使用這些標籤:"
    198202
    199 #: includes/class-woo.php:120
     203#: includes/class-woo.php:119
    200204msgid "(Click tag to insert into the template)"
    201205msgstr "(點擊標籤自動加入到範本中)"
    202206
    203 #: includes/class-woo.php:124
     207#: includes/class-woo.php:123
    204208msgid "Default Item"
    205209msgstr "預設項目"
    206210
    207 #: includes/class-woo.php:134
     211#: includes/class-woo.php:133
    208212msgid "Billing Fields"
    209213msgstr "購買人欄位"
    210214
    211 #: includes/class-woo.php:140
     215#: includes/class-woo.php:139
    212216msgid "Shipping Fields"
    213217msgstr "收件人欄位"
    214218
    215 #: includes/class-woo.php:146
     219#: includes/class-woo.php:145
    216220msgid "Additional Fields"
    217221msgstr "額外欄位"
    218222
    219 #: includes/class-woo.php:155
     223#: includes/class-woo.php:154
    220224msgid "Buyer Information"
    221225msgstr "購買人資訊"
    222226
    223 #: includes/class-woo.php:162
     227#: includes/class-woo.php:161
    224228msgid "Recipient Information"
    225229msgstr "收件人資訊"
    226230
    227 #: includes/class-woo.php:174
     231#: includes/class-woo.php:173
    228232msgid "Template"
    229233msgstr "範本"
    230234
    231 #: includes/class-woo.php:179
     235#: includes/class-woo.php:178
    232236msgid ""
    233237"* If you do not enter any text, the system will use the default template."
    234238msgstr "* 如果您不輸入任何文字,系統將使用預設範本。"
    235239
    236 #: includes/class-woo.php:185
     240#: includes/class-woo.php:184
    237241msgid "Order status changed"
    238242msgstr "訂單狀態變更"
    239243
    240 #: includes/page-setup.php:15 wp-line-notify.php:127 wp-line-notify.php:163
     244#: includes/page-setup.php:13
     245msgid "From April 1, 2025, all LINE Notify features will become unavailable."
     246msgstr "自2025年4月1日起,LINE Notify的所有功能將無法操作。"
     247
     248#: includes/page-setup.php:18 wp-line-notify.php:120 wp-line-notify.php:155
    241249msgid "Line Notify Setting"
    242250msgstr "Line Notify 設定"
    243251
    244 #: includes/page-setup.php:23
     252#: includes/page-setup.php:26
    245253msgid "Line Notify Token"
    246254msgstr "Line Notify 權杖"
    247255
    248 #: includes/page-setup.php:26
     256#: includes/page-setup.php:29 includes/page-setup.php:194
    249257msgid "General"
    250258msgstr "通用"
    251259
    252 #: includes/page-setup.php:40
     260#: includes/page-setup.php:41
    253261msgid "Access token valid."
    254262msgstr "存取權杖有效。"
    255263
    256 #: includes/page-setup.php:40
     264#: includes/page-setup.php:41
    257265msgid "Invalid access token."
    258266msgstr "無效的存取權杖。"
    259267
    260 #: includes/page-setup.php:43 wp-line-notify.php:169
     268#: includes/page-setup.php:44 wp-line-notify.php:161
    261269msgid "* Generate access token on LINE website"
    262270msgstr "* 到 LINE 官方網站申請存取的權杖"
    263271
    264 #: includes/page-setup.php:51
     272#: includes/page-setup.php:52
    265273msgid "When to send message ?"
    266274msgstr "何時傳送訊息?"
    267275
    268 #: includes/page-setup.php:55
     276#: includes/page-setup.php:56
    269277msgid "Post"
    270278msgstr "文章"
    271279
    272 #: includes/page-setup.php:57
     280#: includes/page-setup.php:58
    273281msgid "Publish"
    274282msgstr "發佈"
    275283
    276 #: includes/page-setup.php:59 includes/page-setup.php:74
     284#: includes/page-setup.php:60 includes/page-setup.php:75
    277285msgid "Select roles:"
    278286msgstr "選取使用者角色:"
    279287
    280 #: includes/page-setup.php:72
     288#: includes/page-setup.php:73
    281289msgid "Pending"
    282290msgstr "待審閱"
    283291
    284 #: includes/page-setup.php:87
     292#: includes/page-setup.php:88
    285293msgid "Comments"
    286294msgstr "留言"
    287295
    288 #: includes/page-setup.php:93
     296#: includes/page-setup.php:94
    289297msgid "Add a new comment"
    290298msgstr "新增新的留言"
    291299
    292 #: includes/page-setup.php:98
     300#: includes/page-setup.php:99
    293301msgid "Users"
    294302msgstr "使用者"
    295303
    296 #: includes/page-setup.php:104
     304#: includes/page-setup.php:105
    297305msgid "User register"
    298306msgstr "使用者註冊時"
    299307
    300 #: includes/page-setup.php:118
     308#: includes/page-setup.php:119
    301309msgid "Contact Form 7"
    302310msgstr "Contact Form 7"
    303311
    304 #: includes/page-setup.php:124
     312#: includes/page-setup.php:125
    305313msgid "When a new contact message is received."
    306314msgstr "當收到新的聯絡訊息時。"
    307315
    308 #: includes/page-setup.php:136
     316#: includes/page-setup.php:137
    309317msgid "(Edit message template)"
    310318msgstr "(編輯郵件訊息範本)"
    311319
    312 #: includes/page-setup.php:155
     320#: includes/page-setup.php:156
    313321msgid "Elementor Pro"
    314322msgstr "Elementor Pro"
    315323
    316 #: includes/page-setup.php:163
     324#: includes/page-setup.php:164
    317325msgid "When a new message is received from the Elementor Pro form widget."
    318326msgstr "當從 Elementor Pro Form 收到新的訊息時。"
    319327
    320 #: includes/page-setup.php:165
     328#: includes/page-setup.php:166
    321329msgid ""
    322330"You have to find the \"Actions After Submit\" in the form editing function "
     
    326334"notify」的動作。"
    327335
    328 #: includes/page-setup.php:180
     336#: includes/page-setup.php:181
    329337msgid "Test Line Notify"
    330338msgstr "測試 Line Notify"
    331339
    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
     341msgid "Send to"
     342msgstr "寄送給"
     343
     344#: includes/page-setup.php:207
     345msgid "Test message"
     346msgstr "測試訊息"
     347
     348#: includes/page-setup.php:212
     349msgid "Send test"
     350msgstr "寄送測試"
     351
     352#: wp-line-notify.php:109
    341353msgid "Settings"
    342354msgstr "設定通知項目"
    343355
    344 #: wp-line-notify.php:128
     356#: wp-line-notify.php:121
    345357msgid "WP Line Notify"
    346358msgstr "WP Line Notify"
    347359
    348 #: wp-line-notify.php:166
     360#: wp-line-notify.php:158
    349361msgid "Line Notify Token:"
    350362msgstr "Line Notify 權杖:"
    351363
    352 #: wp-line-notify.php:208
     364#: wp-line-notify.php:200
    353365msgid "publish a post"
    354366msgstr "發佈一篇文章"
    355367
    356 #: wp-line-notify.php:209
     368#: wp-line-notify.php:201
    357369msgid "pending a post"
    358370msgstr "送交審閱一篇文章"
    359371
    360 #: wp-line-notify.php:263
     372#: wp-line-notify.php:255
    361373msgid "You have a new comment."
    362374msgstr "你有一則新的留言。"
    363375
    364 #: wp-line-notify.php:281
     376#: wp-line-notify.php:273
    365377msgid "You have a new user register."
    366378msgstr "你有一位新使用者註冊。"
    367379
    368 #: wp-line-notify.php:282
     380#: wp-line-notify.php:274
    369381msgid "Username:"
    370382msgstr "使用者名稱:"
    371383
    372 #: wp-line-notify.php:399
     384#. translators: %1$s is order id, %2$s is order state.
     385#: wp-line-notify.php:392
    373386msgid "There is an order id %1$d, and the state is changed to %2$s."
    374387msgstr "有一筆訂單 %1$d 的狀態改變為 %2$s。"
    375388
    376 #: wp-line-notify.php:422
     389#: wp-line-notify.php:415
    377390msgid "You have a new contact message.\n"
    378391msgstr "你有一則新的聯絡訊息。\n"
    379392
    380 #: wp-line-notify.php:503
     393#: wp-line-notify.php:499
    381394msgid "This is a Line notify plugin test."
    382395msgstr "這是一個 Line Notify 外掛測試。"
     
    394407msgstr "LINE Notify 傳送失敗。"
    395408
     409#~ msgid "Test Send"
     410#~ msgstr "測試寄送"
     411
     412#~ msgid "Are you sure to revoke notification configurations?"
     413#~ msgstr "你確定要撤銷通知權杖嗎?"
     414
    396415#~ msgid "Revoke token"
    397416#~ msgstr "撤銷權杖"
  • wp-line-notify/trunk/languages/wp-line-notify.pot

    r2954624 r3189651  
    1 # Copyright (C) 2023 Simon Chuang
     1# Copyright (C) 2024 Simon Chuang
    22# This file is distributed under the GPLv2.
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: WordPress LINE Notify 1.4.3\n"
     5"Project-Id-Version: WordPress LINE Notify 1.4.6\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-line-notify\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2023-08-17T01:07:53+00:00\n"
     12"POT-Creation-Date: 2024-11-15T04:22:59+00:00\n"
    1313"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"
    1515"X-Domain: wp-line-notify\n"
    1616
    1717#. Plugin Name of the plugin
     18#: wp-line-notify.php
    1819msgid "WordPress LINE Notify"
    1920msgstr ""
    2021
    2122#. Description of the plugin
     23#: wp-line-notify.php
    2224msgid "This plugin can send a alert message by LINE Notify"
    2325msgstr ""
    2426
    2527#. Author of the plugin
     28#: wp-line-notify.php
    2629msgid "Simon Chuang"
    2730msgstr ""
    2831
    2932#. Author URI of the plugin
     33#: wp-line-notify.php
    3034msgid "https://github.com/mark2me/wp-line-notify"
    3135msgstr ""
     
    194198
    195199#: includes/class-woo.php:99
    196 #: includes/page-setup.php:143
    197 #: includes/page-setup.php:167
     200#: includes/page-setup.php:144
     201#: includes/page-setup.php:168
    198202msgid "This plugin is not install or active."
    199203msgstr ""
     
    247251msgstr ""
    248252
    249 #: includes/page-setup.php:15
    250 #: wp-line-notify.php:127
    251 #: wp-line-notify.php:163
     253#: includes/page-setup.php:13
     254msgid "From April 1, 2025, all LINE Notify features will become unavailable."
     255msgstr ""
     256
     257#: includes/page-setup.php:18
     258#: wp-line-notify.php:120
     259#: wp-line-notify.php:155
    252260msgid "Line Notify Setting"
    253261msgstr ""
    254262
    255 #: includes/page-setup.php:23
     263#: includes/page-setup.php:26
    256264msgid "Line Notify Token"
    257265msgstr ""
    258266
    259 #: includes/page-setup.php:26
    260 #: includes/page-setup.php:193
     267#: includes/page-setup.php:29
     268#: includes/page-setup.php:194
    261269msgid "General"
    262270msgstr ""
    263271
    264 #: includes/page-setup.php:40
     272#: includes/page-setup.php:41
    265273msgid "Access token valid."
    266274msgstr ""
    267275
    268 #: includes/page-setup.php:40
     276#: includes/page-setup.php:41
    269277msgid "Invalid access token."
    270278msgstr ""
    271279
    272 #: includes/page-setup.php:43
    273 #: wp-line-notify.php:169
     280#: includes/page-setup.php:44
     281#: wp-line-notify.php:161
    274282msgid "* Generate access token on LINE website"
    275283msgstr ""
    276284
    277 #: includes/page-setup.php:51
     285#: includes/page-setup.php:52
    278286msgid "When to send message ?"
    279287msgstr ""
    280288
    281 #: includes/page-setup.php:55
     289#: includes/page-setup.php:56
    282290msgid "Post"
    283291msgstr ""
    284292
    285 #: includes/page-setup.php:57
     293#: includes/page-setup.php:58
    286294msgid "Publish"
    287295msgstr ""
    288296
    289 #: includes/page-setup.php:59
    290 #: includes/page-setup.php:74
     297#: includes/page-setup.php:60
     298#: includes/page-setup.php:75
    291299msgid "Select roles:"
    292300msgstr ""
    293301
    294 #: includes/page-setup.php:72
     302#: includes/page-setup.php:73
    295303msgid "Pending"
    296304msgstr ""
    297305
    298 #: includes/page-setup.php:87
     306#: includes/page-setup.php:88
    299307msgid "Comments"
    300308msgstr ""
    301309
    302 #: includes/page-setup.php:93
     310#: includes/page-setup.php:94
    303311msgid "Add a new comment"
    304312msgstr ""
    305313
    306 #: includes/page-setup.php:98
     314#: includes/page-setup.php:99
    307315msgid "Users"
    308316msgstr ""
    309317
    310 #: includes/page-setup.php:104
     318#: includes/page-setup.php:105
    311319msgid "User register"
    312320msgstr ""
    313321
    314 #: includes/page-setup.php:118
     322#: includes/page-setup.php:119
    315323msgid "Contact Form 7"
    316324msgstr ""
    317325
    318 #: includes/page-setup.php:124
     326#: includes/page-setup.php:125
    319327msgid "When a new contact message is received."
    320328msgstr ""
    321329
    322 #: includes/page-setup.php:136
     330#: includes/page-setup.php:137
    323331msgid "(Edit message template)"
    324332msgstr ""
    325333
    326 #: includes/page-setup.php:155
     334#: includes/page-setup.php:156
    327335msgid "Elementor Pro"
    328336msgstr ""
    329337
    330 #: includes/page-setup.php:163
     338#: includes/page-setup.php:164
    331339msgid "When a new message is received from the Elementor Pro form widget."
    332340msgstr ""
    333341
    334 #: includes/page-setup.php:165
     342#: includes/page-setup.php:166
    335343msgid "You have to find the \"Actions After Submit\" in the form editing function and add a new action called \"Line notify\"."
    336344msgstr ""
    337345
    338 #: includes/page-setup.php:180
     346#: includes/page-setup.php:181
    339347msgid "Test Line Notify"
    340348msgstr ""
    341349
    342 #: includes/page-setup.php:189
     350#: includes/page-setup.php:190
    343351msgid "Send to"
    344352msgstr ""
    345353
    346 #: includes/page-setup.php:206
     354#: includes/page-setup.php:207
    347355msgid "Test message"
    348356msgstr ""
    349357
    350 #: includes/page-setup.php:214
     358#: includes/page-setup.php:212
    351359msgid "Send test"
    352360msgstr ""
    353361
    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
    359363msgid "Settings"
    360364msgstr ""
    361365
    362 #: wp-line-notify.php:128
     366#: wp-line-notify.php:121
    363367msgid "WP Line Notify"
    364368msgstr ""
    365369
    366 #: wp-line-notify.php:166
     370#: wp-line-notify.php:158
    367371msgid "Line Notify Token:"
    368372msgstr ""
    369373
    370 #: wp-line-notify.php:208
     374#: wp-line-notify.php:200
    371375msgid "publish a post"
    372376msgstr ""
    373377
    374 #: wp-line-notify.php:209
     378#: wp-line-notify.php:201
    375379msgid "pending a post"
    376380msgstr ""
    377381
    378 #: wp-line-notify.php:263
     382#: wp-line-notify.php:255
    379383msgid "You have a new comment."
    380384msgstr ""
    381385
    382 #: wp-line-notify.php:281
     386#: wp-line-notify.php:273
    383387msgid "You have a new user register."
    384388msgstr ""
    385389
    386 #: wp-line-notify.php:282
     390#: wp-line-notify.php:274
    387391msgid "Username:"
    388392msgstr ""
    389393
    390394#. translators: %1$s is order id, %2$s is order state.
    391 #: wp-line-notify.php:400
     395#: wp-line-notify.php:392
    392396msgid "There is an order id %1$d, and the state is changed to %2$s."
    393397msgstr ""
    394398
    395 #: wp-line-notify.php:423
     399#: wp-line-notify.php:415
    396400msgid ""
    397401"You have a new contact message.\n"
     
    399403msgstr ""
    400404
    401 #: wp-line-notify.php:507
     405#: wp-line-notify.php:499
    402406msgid "This is a Line notify plugin test."
    403407msgstr ""
    404408
     409#: wp-line-notify.php:508
     410msgid "Please fill in the top Line Notify Token field."
     411msgstr ""
     412
     413#: wp-line-notify.php:515
     414msgid "Send test ok!"
     415msgstr ""
     416
    405417#: wp-line-notify.php:517
    406 msgid "Please fill in the top Line Notify Token field."
    407 msgstr ""
    408 
    409 #: wp-line-notify.php:524
    410 msgid "Send test ok!"
    411 msgstr ""
    412 
    413 #: wp-line-notify.php:526
    414418msgid "Error on send LINE Notify."
    415419msgstr ""
  • wp-line-notify/trunk/readme.txt

    r2957800 r3189651  
    33Tags: notify, plugin, line, WooCommerce, Elementor, Contact Form
    44Requires at least: 5.4
    5 Tested up to: 6.3
    6 Requires PHP: 7.4
    7 Stable tag: 1.4.5
     5Tested up to: 6.7
     6Requires PHP: 8.0
     7Stable tag: 1.4.6
    88License: GPLv3
    99License URI: https://www.gnu.org/licenses/gpl-3.0.html
     
    3232
    3333== Changelog ==
     34
     35= 1.4.6 - 2024-11-15 =
     36* Updated for WordPress 6.7
     37* Fixed bug for PHP 8.2
    3438
    3539= 1.4.5 - 2023-08-24 =
  • wp-line-notify/trunk/wp-line-notify.php

    r2957800 r3189651  
    33 * Plugin Name: WordPress LINE Notify
    44 * Description: This plugin can send a alert message by LINE Notify
    5  * Version:     1.4.5
     5 * Version:     1.4.6
    66 * Author:      Simon Chuang
    77 * Author URI:  https://github.com/mark2me/wp-line-notify
Note: See TracChangeset for help on using the changeset viewer.