Changeset 2847747
- Timestamp:
- 01/13/2023 06:26:43 AM (3 years ago)
- Location:
- wp-line-notify/trunk
- Files:
-
- 4 edited
-
includes/class-woo.php (modified) (2 diffs)
-
languages/wp-line-notify-zh_TW.mo (modified) (previous)
-
languages/wp-line-notify-zh_TW.po (modified) (2 diffs)
-
languages/wp-line-notify.pot (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-line-notify/trunk/includes/class-woo.php
r2847740 r2847747 94 94 public static function woo_box_html($option_name='') { 95 95 96 if( !is_plugin_active( 'woocommerce/woocommerce.php' ) ) { 97 echo '<table class="form-table"><tr valign="top">'; 98 echo '<th scope="row">'. __( 'WooCommerce' , 'wp-line-notify' ) .'</th>'; 99 echo '<td><p class="description">('. __( 'This plugin is not install or active.' , 'wp-line-notify' ) .')</p></td>'; 100 echo '</tr></table>'; 101 return; 102 } 103 96 104 $options = get_option($option_name); 97 105 $my_status = ( !empty($options['woo_status']) ) ? $options['woo_status']:[]; … … 101 109 <tr valign="top"> 102 110 <th scope="row"><?php _e( 'WooCommerce' , 'wp-line-notify' ); ?></th> 103 <td><?php 104 if( !is_plugin_active( 'woocommerce/woocommerce.php' ) ) { 105 echo '<p class="description">('. __( 'This plugin is not install or active.' , 'wp-line-notify' ) .')</p>'; 106 }else{ 107 ?> 111 <td> 108 112 <input type="checkbox" id="chcek_order" name="<?php echo $option_name?>[woo_order]" value="yes" <?php if(isset($options['woo_order'])) echo checked( 'yes', $options['woo_order'], false )?>> 109 113 <label for="chcek_order"><?php _e( 'Add a new order' , 'wp-line-notify' )?></label><br> 110 <?php 111 } 112 ?></td> 114 </td> 113 115 </tr> 114 116 <tr valign="top"> -
wp-line-notify/trunk/languages/wp-line-notify-zh_TW.po
r2847740 r2847747 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: 2023-01-13T0 5:15:04+01:00\n"8 "PO-Revision-Date: 2023-01-13 1 3:31+0800\n"7 "POT-Creation-Date: 2023-01-13T07:24:20+01:00\n" 8 "PO-Revision-Date: 2023-01-13 14:25+0800\n" 9 9 "Last-Translator: \n" 10 10 "Language-Team: \n" … … 180 180 msgstr "你有一筆新的訂單。" 181 181 182 #: includes/class-woo.php: 102182 #: includes/class-woo.php:98 includes/class-woo.php:110 183 183 msgid "WooCommerce" 184 184 msgstr "WooCommerce" 185 185 186 #: includes/class-woo.php: 105includes/page-setup.php:143186 #: includes/class-woo.php:99 includes/page-setup.php:143 187 187 #: includes/page-setup.php:167 188 188 msgid "This plugin is not install or active." 189 189 msgstr "這個外掛尚未安裝或是啟用。" 190 190 191 #: includes/class-woo.php:1 09191 #: includes/class-woo.php:113 192 192 msgid "Add a new order" 193 193 msgstr "新增一筆新的訂單" 194 194 195 #: includes/class-woo.php:11 7195 #: includes/class-woo.php:119 196 196 msgid "You can use these tags in the message template:" 197 197 msgstr "你可以在訊息範本中使用這些標籤:" 198 198 199 #: includes/class-woo.php:1 18199 #: includes/class-woo.php:120 200 200 msgid "(Click tag to insert into the template)" 201 201 msgstr "(點擊標籤自動加入到範本中)" 202 202 203 #: includes/class-woo.php:12 2203 #: includes/class-woo.php:124 204 204 msgid "Default Item" 205 205 msgstr "預設項目" 206 206 207 #: includes/class-woo.php:13 2207 #: includes/class-woo.php:134 208 208 msgid "Billing Fields" 209 209 msgstr "購買人欄位" 210 210 211 #: includes/class-woo.php:1 38211 #: includes/class-woo.php:140 212 212 msgid "Shipping Fields" 213 213 msgstr "收件人欄位" 214 214 215 #: includes/class-woo.php:14 4215 #: includes/class-woo.php:146 216 216 msgid "Additional Fields" 217 217 msgstr "額外欄位" 218 218 219 #: includes/class-woo.php:15 3219 #: includes/class-woo.php:155 220 220 msgid "Buyer Information" 221 221 msgstr "購買人資訊" 222 222 223 #: includes/class-woo.php:16 0223 #: includes/class-woo.php:162 224 224 msgid "Recipient Information" 225 225 msgstr "收件人資訊" 226 226 227 #: includes/class-woo.php:17 2227 #: includes/class-woo.php:174 228 228 msgid "Template" 229 229 msgstr "範本" 230 230 231 #: includes/class-woo.php:17 7231 #: includes/class-woo.php:179 232 232 msgid "" 233 233 "* If you do not enter any text, the system will use the default template." 234 234 msgstr "* 如果您不輸入任何文字,系統將使用預設範本。" 235 235 236 #: includes/class-woo.php:18 3236 #: includes/class-woo.php:185 237 237 msgid "Order status changed" 238 238 msgstr "訂單狀態變更" -
wp-line-notify/trunk/languages/wp-line-notify.pot
r2847740 r2847747 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 2023-01-13T0 5:15:04+01:00\n"12 "POT-Creation-Date: 2023-01-13T07:24:20+01:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.6.0\n" … … 188 188 msgstr "" 189 189 190 #: includes/class-woo.php:102 190 #: includes/class-woo.php:98 191 #: includes/class-woo.php:110 191 192 msgid "WooCommerce" 192 193 msgstr "" 193 194 194 #: includes/class-woo.php: 105195 #: includes/class-woo.php:99 195 196 #: includes/page-setup.php:143 196 197 #: includes/page-setup.php:167 … … 198 199 msgstr "" 199 200 200 #: includes/class-woo.php:1 09201 #: includes/class-woo.php:113 201 202 msgid "Add a new order" 202 203 msgstr "" 203 204 204 #: includes/class-woo.php:11 7205 #: includes/class-woo.php:119 205 206 msgid "You can use these tags in the message template:" 206 207 msgstr "" 207 208 208 #: includes/class-woo.php:1 18209 #: includes/class-woo.php:120 209 210 msgid "(Click tag to insert into the template)" 210 211 msgstr "" 211 212 212 #: includes/class-woo.php:12 2213 #: includes/class-woo.php:124 213 214 msgid "Default Item" 214 215 msgstr "" 215 216 216 #: includes/class-woo.php:13 2217 #: includes/class-woo.php:134 217 218 msgid "Billing Fields" 218 219 msgstr "" 219 220 220 #: includes/class-woo.php:1 38221 #: includes/class-woo.php:140 221 222 msgid "Shipping Fields" 222 223 msgstr "" 223 224 224 #: includes/class-woo.php:14 4225 #: includes/class-woo.php:146 225 226 msgid "Additional Fields" 226 227 msgstr "" 227 228 228 #: includes/class-woo.php:15 3229 #: includes/class-woo.php:155 229 230 msgid "Buyer Information" 230 231 msgstr "" 231 232 232 #: includes/class-woo.php:16 0233 #: includes/class-woo.php:162 233 234 msgid "Recipient Information" 234 235 msgstr "" 235 236 236 #: includes/class-woo.php:17 2237 #: includes/class-woo.php:174 237 238 msgid "Template" 238 239 msgstr "" 239 240 240 #: includes/class-woo.php:17 7241 #: includes/class-woo.php:179 241 242 msgid "* If you do not enter any text, the system will use the default template." 242 243 msgstr "" 243 244 244 #: includes/class-woo.php:18 3245 #: includes/class-woo.php:185 245 246 msgid "Order status changed" 246 247 msgstr ""
Note: See TracChangeset
for help on using the changeset viewer.