15 |
16 |15 |
16 |', esc_html(print_r($info, true)), ''; 33 | } else { 34 | echo 'Failed to retrieve plugin info from the metadata URL.'; 35 | } 36 | exit; 37 | } 38 | } 39 | 40 | endif; 41 | -------------------------------------------------------------------------------- /theme-update-checker/Puc/v5p6/DebugBar/PluginPanel.php: -------------------------------------------------------------------------------- 1 | row('Plugin file', htmlentities($this->updateChecker->pluginFile)); 16 | parent::displayConfigHeader(); 17 | } 18 | 19 | protected function getMetadataButton() { 20 | $buttonId = $this->updateChecker->getUniqueName('request-info-button'); 21 | if ( function_exists('get_submit_button') ) { 22 | $requestInfoButton = get_submit_button( 23 | 'Request Info', 24 | 'secondary', 25 | 'puc-request-info-button', 26 | false, 27 | array('id' => $buttonId) 28 | ); 29 | } else { 30 | $requestInfoButton = sprintf( 31 | '', 32 | esc_attr($buttonId), 33 | esc_attr('Request Info') 34 | ); 35 | } 36 | return $requestInfoButton; 37 | } 38 | 39 | protected function getUpdateFields() { 40 | return array_merge( 41 | parent::getUpdateFields(), 42 | array('homepage', 'upgrade_notice', 'tested',) 43 | ); 44 | } 45 | } 46 | 47 | endif; 48 | -------------------------------------------------------------------------------- /theme-update-checker/languages/plugin-update-checker.pot: -------------------------------------------------------------------------------- 1 | #, fuzzy 2 | msgid "" 3 | msgstr "" 4 | "Project-Id-Version: plugin-update-checker\n" 5 | "POT-Creation-Date: 2025-05-20 15:27+0300\n" 6 | "PO-Revision-Date: 2016-01-10 20:59+0100\n" 7 | "Last-Translator: \n" 8 | "Language-Team: \n" 9 | "Language: en_US\n" 10 | "MIME-Version: 1.0\n" 11 | "Content-Type: text/plain; charset=UTF-8\n" 12 | "Content-Transfer-Encoding: 8bit\n" 13 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 14 | "X-Generator: Poedit 3.6\n" 15 | "X-Poedit-Basepath: ..\n" 16 | "X-Poedit-SourceCharset: UTF-8\n" 17 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 18 | "X-Poedit-SearchPath-0: .\n" 19 | 20 | #: Puc/v5p6/Plugin/Ui.php:130 21 | msgid "Check for updates" 22 | msgstr "" 23 | 24 | #: Puc/v5p6/Plugin/Ui.php:217 25 | #, php-format 26 | msgctxt "the plugin title" 27 | msgid "The %s plugin is up to date." 28 | msgstr "" 29 | 30 | #: Puc/v5p6/Plugin/Ui.php:219 31 | #, php-format 32 | msgctxt "the plugin title" 33 | msgid "A new version of the %s plugin is available." 34 | msgstr "" 35 | 36 | #: Puc/v5p6/Plugin/Ui.php:221 37 | #, php-format 38 | msgctxt "the plugin title" 39 | msgid "Could not determine if updates are available for %s." 40 | msgstr "" 41 | 42 | #: Puc/v5p6/Plugin/Ui.php:227 43 | #, php-format 44 | msgid "Unknown update checker status \"%s\"" 45 | msgstr "" 46 | 47 | #: Puc/v5p6/Vcs/PluginUpdateChecker.php:113 48 | msgid "There is no changelog available." 49 | msgstr "" 50 | -------------------------------------------------------------------------------- /page.php: -------------------------------------------------------------------------------- 1 | 7 | ID ), $type ); 11 | ?> 12 |
\n" 7 | "Language-Team: \n" 8 | "Language: zh_CN\n" 9 | "MIME-Version: 1.0\n" 10 | "Content-Type: text/plain; charset=UTF-8\n" 11 | "Content-Transfer-Encoding: 8bit\n" 12 | "Plural-Forms: nplurals=1; plural=0;\n" 13 | "X-Generator: Poedit 3.4.4\n" 14 | "X-Poedit-Basepath: ..\n" 15 | "X-Poedit-SourceCharset: UTF-8\n" 16 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v5p4/Plugin/Ui.php:56 20 | msgid "View details" 21 | msgstr "查看详情" 22 | 23 | #: Puc/v5p4/Plugin/Ui.php:79 24 | #, php-format 25 | msgid "More information about %s" 26 | msgstr "%s 的更多信息" 27 | 28 | #: Puc/v5p4/Plugin/Ui.php:130 29 | msgid "Check for updates" 30 | msgstr "检查更新" 31 | 32 | #: Puc/v5p4/Plugin/Ui.php:217 33 | #, php-format 34 | msgctxt "the plugin title" 35 | msgid "The %s plugin is up to date." 36 | msgstr "%s 目前是最新版本。" 37 | 38 | #: Puc/v5p4/Plugin/Ui.php:219 39 | #, php-format 40 | msgctxt "the plugin title" 41 | msgid "A new version of the %s plugin is available." 42 | msgstr "%s 当前有可用的更新。" 43 | 44 | #: Puc/v5p4/Plugin/Ui.php:221 45 | #, php-format 46 | msgctxt "the plugin title" 47 | msgid "Could not determine if updates are available for %s." 48 | msgstr "%s 无法确定是否有可用的更新。" 49 | 50 | #: Puc/v5p4/Plugin/Ui.php:227 51 | #, php-format 52 | msgid "Unknown update checker status \"%s\"" 53 | msgstr "未知的更新检查状态:%s" 54 | 55 | #: Puc/v5p4/Vcs/PluginUpdateChecker.php:113 56 | msgid "There is no changelog available." 57 | msgstr "没有可用的更新日志。" 58 | -------------------------------------------------------------------------------- /theme-update-checker/languages/plugin-update-checker-ca.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-11-24 17:02+0200\n" 5 | "PO-Revision-Date: 2019-09-25 18:15+0200\n" 6 | "Language-Team: \n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Type: text/plain; charset=UTF-8\n" 9 | "Content-Transfer-Encoding: 8bit\n" 10 | "X-Generator: Poedit 2.2.3\n" 11 | "X-Poedit-Basepath: ..\n" 12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 | "X-Poedit-SourceCharset: UTF-8\n" 14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 15 | "Last-Translator: \n" 16 | "Language: ca\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p3/Plugin/UpdateChecker.php:395 20 | msgid "Check for updates" 21 | msgstr "Comprova si hi ha actualitzacions" 22 | 23 | #: Puc/v4p3/Plugin/UpdateChecker.php:548 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "L’extensió %s està actualitzada." 28 | 29 | #: Puc/v4p3/Plugin/UpdateChecker.php:550 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "Una nova versió de l’extensió %s està disponible." 34 | 35 | #: Puc/v4p3/Plugin/UpdateChecker.php:552 36 | #, php-format 37 | msgctxt "the plugin title" 38 | msgid "Could not determine if updates are available for %s." 39 | msgstr "No s’ha pogut determinar si hi ha actualitzacions per a %s." 40 | 41 | #: Puc/v4p3/Plugin/UpdateChecker.php:558 42 | #, php-format 43 | msgid "Unknown update checker status \"%s\"" 44 | msgstr "Estat del comprovador d’actualitzacions desconegut \"%s\"" 45 | 46 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 47 | msgid "There is no changelog available." 48 | msgstr "No hi ha cap registre de canvis disponible." 49 | -------------------------------------------------------------------------------- /theme-update-checker/languages/plugin-update-checker-es_AR.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-11-24 17:02+0200\n" 5 | "PO-Revision-Date: 2020-03-21 15:13-0400\n" 6 | "Language-Team: \n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Type: text/plain; charset=UTF-8\n" 9 | "Content-Transfer-Encoding: 8bit\n" 10 | "X-Generator: Poedit 2.3\n" 11 | "X-Poedit-Basepath: ..\n" 12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 | "X-Poedit-SourceCharset: UTF-8\n" 14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 15 | "Last-Translator: \n" 16 | "Language: es_ES\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p3/Plugin/UpdateChecker.php:395 20 | msgid "Check for updates" 21 | msgstr "Comprobar si hay actualizaciones" 22 | 23 | #: Puc/v4p3/Plugin/UpdateChecker.php:548 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "El plugin %s está actualizado." 28 | 29 | #: Puc/v4p3/Plugin/UpdateChecker.php:550 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "Una nueva versión del %s plugin está disponible." 34 | 35 | #: Puc/v4p3/Plugin/UpdateChecker.php:552 36 | #, php-format 37 | msgctxt "the plugin title" 38 | msgid "Could not determine if updates are available for %s." 39 | msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." 40 | 41 | #: Puc/v4p3/Plugin/UpdateChecker.php:558 42 | #, php-format 43 | msgid "Unknown update checker status \"%s\"" 44 | msgstr "Estado del comprobador de actualización desconocido «%s»" 45 | 46 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 47 | msgid "There is no changelog available." 48 | msgstr "No hay un registro de cambios disponible." 49 | -------------------------------------------------------------------------------- /theme-update-checker/languages/plugin-update-checker-es_CL.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-11-24 17:02+0200\n" 5 | "PO-Revision-Date: 2020-03-21 15:14-0400\n" 6 | "Language-Team: \n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Type: text/plain; charset=UTF-8\n" 9 | "Content-Transfer-Encoding: 8bit\n" 10 | "X-Generator: Poedit 2.3\n" 11 | "X-Poedit-Basepath: ..\n" 12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 | "X-Poedit-SourceCharset: UTF-8\n" 14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 15 | "Last-Translator: \n" 16 | "Language: es_ES\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p3/Plugin/UpdateChecker.php:395 20 | msgid "Check for updates" 21 | msgstr "Comprobar si hay actualizaciones" 22 | 23 | #: Puc/v4p3/Plugin/UpdateChecker.php:548 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "El plugin %s está actualizado." 28 | 29 | #: Puc/v4p3/Plugin/UpdateChecker.php:550 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "Una nueva versión del %s plugin está disponible." 34 | 35 | #: Puc/v4p3/Plugin/UpdateChecker.php:552 36 | #, php-format 37 | msgctxt "the plugin title" 38 | msgid "Could not determine if updates are available for %s." 39 | msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." 40 | 41 | #: Puc/v4p3/Plugin/UpdateChecker.php:558 42 | #, php-format 43 | msgid "Unknown update checker status \"%s\"" 44 | msgstr "Estado del comprobador de actualización desconocido «%s»" 45 | 46 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 47 | msgid "There is no changelog available." 48 | msgstr "No hay un registro de cambios disponible." 49 | -------------------------------------------------------------------------------- /theme-update-checker/languages/plugin-update-checker-es_CO.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-11-24 17:02+0200\n" 5 | "PO-Revision-Date: 2020-03-21 15:14-0400\n" 6 | "Language-Team: \n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Type: text/plain; charset=UTF-8\n" 9 | "Content-Transfer-Encoding: 8bit\n" 10 | "X-Generator: Poedit 2.3\n" 11 | "X-Poedit-Basepath: ..\n" 12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 | "X-Poedit-SourceCharset: UTF-8\n" 14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 15 | "Last-Translator: \n" 16 | "Language: es_ES\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p3/Plugin/UpdateChecker.php:395 20 | msgid "Check for updates" 21 | msgstr "Comprobar si hay actualizaciones" 22 | 23 | #: Puc/v4p3/Plugin/UpdateChecker.php:548 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "El plugin %s está actualizado." 28 | 29 | #: Puc/v4p3/Plugin/UpdateChecker.php:550 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "Una nueva versión del %s plugin está disponible." 34 | 35 | #: Puc/v4p3/Plugin/UpdateChecker.php:552 36 | #, php-format 37 | msgctxt "the plugin title" 38 | msgid "Could not determine if updates are available for %s." 39 | msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." 40 | 41 | #: Puc/v4p3/Plugin/UpdateChecker.php:558 42 | #, php-format 43 | msgid "Unknown update checker status \"%s\"" 44 | msgstr "Estado del comprobador de actualización desconocido «%s»" 45 | 46 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 47 | msgid "There is no changelog available." 48 | msgstr "No hay un registro de cambios disponible." 49 | -------------------------------------------------------------------------------- /theme-update-checker/languages/plugin-update-checker-es_CR.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-11-24 17:02+0200\n" 5 | "PO-Revision-Date: 2020-03-21 15:14-0400\n" 6 | "Language-Team: \n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Type: text/plain; charset=UTF-8\n" 9 | "Content-Transfer-Encoding: 8bit\n" 10 | "X-Generator: Poedit 2.3\n" 11 | "X-Poedit-Basepath: ..\n" 12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 | "X-Poedit-SourceCharset: UTF-8\n" 14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 15 | "Last-Translator: \n" 16 | "Language: es_ES\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p3/Plugin/UpdateChecker.php:395 20 | msgid "Check for updates" 21 | msgstr "Comprobar si hay actualizaciones" 22 | 23 | #: Puc/v4p3/Plugin/UpdateChecker.php:548 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "El plugin %s está actualizado." 28 | 29 | #: Puc/v4p3/Plugin/UpdateChecker.php:550 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "Una nueva versión del %s plugin está disponible." 34 | 35 | #: Puc/v4p3/Plugin/UpdateChecker.php:552 36 | #, php-format 37 | msgctxt "the plugin title" 38 | msgid "Could not determine if updates are available for %s." 39 | msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." 40 | 41 | #: Puc/v4p3/Plugin/UpdateChecker.php:558 42 | #, php-format 43 | msgid "Unknown update checker status \"%s\"" 44 | msgstr "Estado del comprobador de actualización desconocido «%s»" 45 | 46 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 47 | msgid "There is no changelog available." 48 | msgstr "No hay un registro de cambios disponible." 49 | -------------------------------------------------------------------------------- /theme-update-checker/languages/plugin-update-checker-es_DO.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-11-24 17:02+0200\n" 5 | "PO-Revision-Date: 2020-03-21 15:14-0400\n" 6 | "Language-Team: \n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Type: text/plain; charset=UTF-8\n" 9 | "Content-Transfer-Encoding: 8bit\n" 10 | "X-Generator: Poedit 2.3\n" 11 | "X-Poedit-Basepath: ..\n" 12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 | "X-Poedit-SourceCharset: UTF-8\n" 14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 15 | "Last-Translator: \n" 16 | "Language: es_ES\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p3/Plugin/UpdateChecker.php:395 20 | msgid "Check for updates" 21 | msgstr "Comprobar si hay actualizaciones" 22 | 23 | #: Puc/v4p3/Plugin/UpdateChecker.php:548 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "El plugin %s está actualizado." 28 | 29 | #: Puc/v4p3/Plugin/UpdateChecker.php:550 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "Una nueva versión del %s plugin está disponible." 34 | 35 | #: Puc/v4p3/Plugin/UpdateChecker.php:552 36 | #, php-format 37 | msgctxt "the plugin title" 38 | msgid "Could not determine if updates are available for %s." 39 | msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." 40 | 41 | #: Puc/v4p3/Plugin/UpdateChecker.php:558 42 | #, php-format 43 | msgid "Unknown update checker status \"%s\"" 44 | msgstr "Estado del comprobador de actualización desconocido «%s»" 45 | 46 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 47 | msgid "There is no changelog available." 48 | msgstr "No hay un registro de cambios disponible." 49 | -------------------------------------------------------------------------------- /theme-update-checker/languages/plugin-update-checker-es_ES.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-11-24 17:02+0200\n" 5 | "PO-Revision-Date: 2020-03-21 14:56-0400\n" 6 | "Language-Team: \n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Type: text/plain; charset=UTF-8\n" 9 | "Content-Transfer-Encoding: 8bit\n" 10 | "X-Generator: Poedit 2.3\n" 11 | "X-Poedit-Basepath: ..\n" 12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 | "X-Poedit-SourceCharset: UTF-8\n" 14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 15 | "Last-Translator: \n" 16 | "Language: es_ES\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p3/Plugin/UpdateChecker.php:395 20 | msgid "Check for updates" 21 | msgstr "Comprobar si hay actualizaciones" 22 | 23 | #: Puc/v4p3/Plugin/UpdateChecker.php:548 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "El plugin %s está actualizado." 28 | 29 | #: Puc/v4p3/Plugin/UpdateChecker.php:550 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "Una nueva versión del %s plugin está disponible." 34 | 35 | #: Puc/v4p3/Plugin/UpdateChecker.php:552 36 | #, php-format 37 | msgctxt "the plugin title" 38 | msgid "Could not determine if updates are available for %s." 39 | msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." 40 | 41 | #: Puc/v4p3/Plugin/UpdateChecker.php:558 42 | #, php-format 43 | msgid "Unknown update checker status \"%s\"" 44 | msgstr "Estado del comprobador de actualización desconocido «%s»" 45 | 46 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 47 | msgid "There is no changelog available." 48 | msgstr "No hay un registro de cambios disponible." 49 | -------------------------------------------------------------------------------- /theme-update-checker/languages/plugin-update-checker-es_GT.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-11-24 17:02+0200\n" 5 | "PO-Revision-Date: 2020-03-21 15:14-0400\n" 6 | "Language-Team: \n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Type: text/plain; charset=UTF-8\n" 9 | "Content-Transfer-Encoding: 8bit\n" 10 | "X-Generator: Poedit 2.3\n" 11 | "X-Poedit-Basepath: ..\n" 12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 | "X-Poedit-SourceCharset: UTF-8\n" 14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 15 | "Last-Translator: \n" 16 | "Language: es_ES\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p3/Plugin/UpdateChecker.php:395 20 | msgid "Check for updates" 21 | msgstr "Comprobar si hay actualizaciones" 22 | 23 | #: Puc/v4p3/Plugin/UpdateChecker.php:548 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "El plugin %s está actualizado." 28 | 29 | #: Puc/v4p3/Plugin/UpdateChecker.php:550 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "Una nueva versión del %s plugin está disponible." 34 | 35 | #: Puc/v4p3/Plugin/UpdateChecker.php:552 36 | #, php-format 37 | msgctxt "the plugin title" 38 | msgid "Could not determine if updates are available for %s." 39 | msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." 40 | 41 | #: Puc/v4p3/Plugin/UpdateChecker.php:558 42 | #, php-format 43 | msgid "Unknown update checker status \"%s\"" 44 | msgstr "Estado del comprobador de actualización desconocido «%s»" 45 | 46 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 47 | msgid "There is no changelog available." 48 | msgstr "No hay un registro de cambios disponible." 49 | -------------------------------------------------------------------------------- /theme-update-checker/languages/plugin-update-checker-es_HN.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-11-24 17:02+0200\n" 5 | "PO-Revision-Date: 2020-03-21 15:14-0400\n" 6 | "Language-Team: \n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Type: text/plain; charset=UTF-8\n" 9 | "Content-Transfer-Encoding: 8bit\n" 10 | "X-Generator: Poedit 2.3\n" 11 | "X-Poedit-Basepath: ..\n" 12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 | "X-Poedit-SourceCharset: UTF-8\n" 14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 15 | "Last-Translator: \n" 16 | "Language: es_ES\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p3/Plugin/UpdateChecker.php:395 20 | msgid "Check for updates" 21 | msgstr "Comprobar si hay actualizaciones" 22 | 23 | #: Puc/v4p3/Plugin/UpdateChecker.php:548 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "El plugin %s está actualizado." 28 | 29 | #: Puc/v4p3/Plugin/UpdateChecker.php:550 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "Una nueva versión del %s plugin está disponible." 34 | 35 | #: Puc/v4p3/Plugin/UpdateChecker.php:552 36 | #, php-format 37 | msgctxt "the plugin title" 38 | msgid "Could not determine if updates are available for %s." 39 | msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." 40 | 41 | #: Puc/v4p3/Plugin/UpdateChecker.php:558 42 | #, php-format 43 | msgid "Unknown update checker status \"%s\"" 44 | msgstr "Estado del comprobador de actualización desconocido «%s»" 45 | 46 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 47 | msgid "There is no changelog available." 48 | msgstr "No hay un registro de cambios disponible." 49 | -------------------------------------------------------------------------------- /theme-update-checker/languages/plugin-update-checker-es_MX.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-11-24 17:02+0200\n" 5 | "PO-Revision-Date: 2020-03-21 14:57-0400\n" 6 | "Language-Team: \n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Type: text/plain; charset=UTF-8\n" 9 | "Content-Transfer-Encoding: 8bit\n" 10 | "X-Generator: Poedit 2.3\n" 11 | "X-Poedit-Basepath: ..\n" 12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 | "X-Poedit-SourceCharset: UTF-8\n" 14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 15 | "Last-Translator: \n" 16 | "Language: es_ES\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p3/Plugin/UpdateChecker.php:395 20 | msgid "Check for updates" 21 | msgstr "Comprobar si hay actualizaciones" 22 | 23 | #: Puc/v4p3/Plugin/UpdateChecker.php:548 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "El plugin %s está actualizado." 28 | 29 | #: Puc/v4p3/Plugin/UpdateChecker.php:550 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "Una nueva versión del %s plugin está disponible." 34 | 35 | #: Puc/v4p3/Plugin/UpdateChecker.php:552 36 | #, php-format 37 | msgctxt "the plugin title" 38 | msgid "Could not determine if updates are available for %s." 39 | msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." 40 | 41 | #: Puc/v4p3/Plugin/UpdateChecker.php:558 42 | #, php-format 43 | msgid "Unknown update checker status \"%s\"" 44 | msgstr "Estado del comprobador de actualización desconocido «%s»" 45 | 46 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 47 | msgid "There is no changelog available." 48 | msgstr "No hay un registro de cambios disponible." 49 | -------------------------------------------------------------------------------- /theme-update-checker/languages/plugin-update-checker-es_PE.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-11-24 17:02+0200\n" 5 | "PO-Revision-Date: 2020-03-21 15:15-0400\n" 6 | "Language-Team: \n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Type: text/plain; charset=UTF-8\n" 9 | "Content-Transfer-Encoding: 8bit\n" 10 | "X-Generator: Poedit 2.3\n" 11 | "X-Poedit-Basepath: ..\n" 12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 | "X-Poedit-SourceCharset: UTF-8\n" 14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 15 | "Last-Translator: \n" 16 | "Language: es_ES\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p3/Plugin/UpdateChecker.php:395 20 | msgid "Check for updates" 21 | msgstr "Comprobar si hay actualizaciones" 22 | 23 | #: Puc/v4p3/Plugin/UpdateChecker.php:548 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "El plugin %s está actualizado." 28 | 29 | #: Puc/v4p3/Plugin/UpdateChecker.php:550 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "Una nueva versión del %s plugin está disponible." 34 | 35 | #: Puc/v4p3/Plugin/UpdateChecker.php:552 36 | #, php-format 37 | msgctxt "the plugin title" 38 | msgid "Could not determine if updates are available for %s." 39 | msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." 40 | 41 | #: Puc/v4p3/Plugin/UpdateChecker.php:558 42 | #, php-format 43 | msgid "Unknown update checker status \"%s\"" 44 | msgstr "Estado del comprobador de actualización desconocido «%s»" 45 | 46 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 47 | msgid "There is no changelog available." 48 | msgstr "No hay un registro de cambios disponible." 49 | -------------------------------------------------------------------------------- /theme-update-checker/languages/plugin-update-checker-es_PR.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-11-24 17:02+0200\n" 5 | "PO-Revision-Date: 2020-03-21 15:15-0400\n" 6 | "Language-Team: \n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Type: text/plain; charset=UTF-8\n" 9 | "Content-Transfer-Encoding: 8bit\n" 10 | "X-Generator: Poedit 2.3\n" 11 | "X-Poedit-Basepath: ..\n" 12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 | "X-Poedit-SourceCharset: UTF-8\n" 14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 15 | "Last-Translator: \n" 16 | "Language: es_ES\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p3/Plugin/UpdateChecker.php:395 20 | msgid "Check for updates" 21 | msgstr "Comprobar si hay actualizaciones" 22 | 23 | #: Puc/v4p3/Plugin/UpdateChecker.php:548 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "El plugin %s está actualizado." 28 | 29 | #: Puc/v4p3/Plugin/UpdateChecker.php:550 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "Una nueva versión del %s plugin está disponible." 34 | 35 | #: Puc/v4p3/Plugin/UpdateChecker.php:552 36 | #, php-format 37 | msgctxt "the plugin title" 38 | msgid "Could not determine if updates are available for %s." 39 | msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." 40 | 41 | #: Puc/v4p3/Plugin/UpdateChecker.php:558 42 | #, php-format 43 | msgid "Unknown update checker status \"%s\"" 44 | msgstr "Estado del comprobador de actualización desconocido «%s»" 45 | 46 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 47 | msgid "There is no changelog available." 48 | msgstr "No hay un registro de cambios disponible." 49 | -------------------------------------------------------------------------------- /theme-update-checker/languages/plugin-update-checker-es_UY.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-11-24 17:02+0200\n" 5 | "PO-Revision-Date: 2020-03-21 15:15-0400\n" 6 | "Language-Team: \n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Type: text/plain; charset=UTF-8\n" 9 | "Content-Transfer-Encoding: 8bit\n" 10 | "X-Generator: Poedit 2.3\n" 11 | "X-Poedit-Basepath: ..\n" 12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 | "X-Poedit-SourceCharset: UTF-8\n" 14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 15 | "Last-Translator: \n" 16 | "Language: es_ES\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p3/Plugin/UpdateChecker.php:395 20 | msgid "Check for updates" 21 | msgstr "Comprobar si hay actualizaciones" 22 | 23 | #: Puc/v4p3/Plugin/UpdateChecker.php:548 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "El plugin %s está actualizado." 28 | 29 | #: Puc/v4p3/Plugin/UpdateChecker.php:550 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "Una nueva versión del %s plugin está disponible." 34 | 35 | #: Puc/v4p3/Plugin/UpdateChecker.php:552 36 | #, php-format 37 | msgctxt "the plugin title" 38 | msgid "Could not determine if updates are available for %s." 39 | msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." 40 | 41 | #: Puc/v4p3/Plugin/UpdateChecker.php:558 42 | #, php-format 43 | msgid "Unknown update checker status \"%s\"" 44 | msgstr "Estado del comprobador de actualización desconocido «%s»" 45 | 46 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 47 | msgid "There is no changelog available." 48 | msgstr "No hay un registro de cambios disponible." 49 | -------------------------------------------------------------------------------- /theme-update-checker/languages/plugin-update-checker-es_VE.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-11-24 17:02+0200\n" 5 | "PO-Revision-Date: 2020-03-21 14:57-0400\n" 6 | "Language-Team: \n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Type: text/plain; charset=UTF-8\n" 9 | "Content-Transfer-Encoding: 8bit\n" 10 | "X-Generator: Poedit 2.3\n" 11 | "X-Poedit-Basepath: ..\n" 12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n" 13 | "X-Poedit-SourceCharset: UTF-8\n" 14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 15 | "Last-Translator: \n" 16 | "Language: es_ES\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p3/Plugin/UpdateChecker.php:395 20 | msgid "Check for updates" 21 | msgstr "Comprobar si hay actualizaciones" 22 | 23 | #: Puc/v4p3/Plugin/UpdateChecker.php:548 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "El plugin %s está actualizado." 28 | 29 | #: Puc/v4p3/Plugin/UpdateChecker.php:550 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "Una nueva versión del %s plugin está disponible." 34 | 35 | #: Puc/v4p3/Plugin/UpdateChecker.php:552 36 | #, php-format 37 | msgctxt "the plugin title" 38 | msgid "Could not determine if updates are available for %s." 39 | msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." 40 | 41 | #: Puc/v4p3/Plugin/UpdateChecker.php:558 42 | #, php-format 43 | msgid "Unknown update checker status \"%s\"" 44 | msgstr "Estado del comprobador de actualización desconocido «%s»" 45 | 46 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 47 | msgid "There is no changelog available." 48 | msgstr "No hay un registro de cambios disponible." 49 | -------------------------------------------------------------------------------- /theme-update-checker/languages/plugin-update-checker-sl_SI.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-11-24 17:02+0200\n" 5 | "PO-Revision-Date: 2018-10-27 20:36+0200\n" 6 | "Language-Team: \n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Type: text/plain; charset=UTF-8\n" 9 | "Content-Transfer-Encoding: 8bit\n" 10 | "X-Generator: Poedit 2.2\n" 11 | "X-Poedit-Basepath: ..\n" 12 | "Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100>=3 && n%100<=4 ? 2 : 3);\n" 13 | "X-Poedit-SourceCharset: UTF-8\n" 14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 15 | "Last-Translator: Igor Funa\n" 16 | "Language: sl_SI\n" 17 | "X-Poedit-SearchPath-0: .\n" 18 | 19 | #: Puc/v4p3/Plugin/UpdateChecker.php:395 20 | msgid "Check for updates" 21 | msgstr "Preveri posodobitve" 22 | 23 | #: Puc/v4p3/Plugin/UpdateChecker.php:548 24 | #, php-format 25 | msgctxt "the plugin title" 26 | msgid "The %s plugin is up to date." 27 | msgstr "Vtičnik %s je že posodobljen." 28 | 29 | #: Puc/v4p3/Plugin/UpdateChecker.php:550 30 | #, php-format 31 | msgctxt "the plugin title" 32 | msgid "A new version of the %s plugin is available." 33 | msgstr "Nova različica vtičnika %s je na razpolago." 34 | 35 | #: Puc/v4p3/Plugin/UpdateChecker.php:552 36 | #, php-format 37 | msgctxt "the plugin title" 38 | msgid "Could not determine if updates are available for %s." 39 | msgstr "Ne morem ugotoviti če se za vtičnik %s na razpolago posodobitve." 40 | 41 | #: Puc/v4p3/Plugin/UpdateChecker.php:558 42 | #, php-format 43 | msgid "Unknown update checker status \"%s\"" 44 | msgstr "Neznan status preverjanja posodobitev za \"%s\"" 45 | 46 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 47 | msgid "There is no changelog available." 48 | msgstr "Dnevnik sprememb ni na razpolago." 49 | -------------------------------------------------------------------------------- /theme-update-checker/languages/plugin-update-checker-fr_CA.po: -------------------------------------------------------------------------------- 1 | msgid "" 2 | msgstr "" 3 | "Project-Id-Version: plugin-update-checker\n" 4 | "POT-Creation-Date: 2017-11-24 17:02+0200\n" 5 | "PO-Revision-Date: 2018-02-12 10:32-0500\n" 6 | "Language-Team: \n" 7 | "MIME-Version: 1.0\n" 8 | "Content-Type: text/plain; charset=UTF-8\n" 9 | "Content-Transfer-Encoding: 8bit\n" 10 | "X-Generator: Poedit 2.0.4\n" 11 | "X-Poedit-Basepath: ..\n" 12 | "Plural-Forms: nplurals=2; plural=(n > 1);\n" 13 | "X-Poedit-SourceCharset: UTF-8\n" 14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" 15 | "Last-Translator: Eric Gagnon\n"
16 | "Language: fr_CA\n"
17 | "X-Poedit-SearchPath-0: .\n"
18 |
19 | #: Puc/v4p3/Plugin/UpdateChecker.php:395
20 | msgid "Check for updates"
21 | msgstr "Vérifier les mises à jour"
22 |
23 | #: Puc/v4p3/Plugin/UpdateChecker.php:548
24 | #, php-format
25 | msgctxt "the plugin title"
26 | msgid "The %s plugin is up to date."
27 | msgstr "L’extension %s est à jour."
28 |
29 | #: Puc/v4p3/Plugin/UpdateChecker.php:550
30 | #, php-format
31 | msgctxt "the plugin title"
32 | msgid "A new version of the %s plugin is available."
33 | msgstr "Une nouvelle version de l’extension %s est disponible."
34 |
35 | #: Puc/v4p3/Plugin/UpdateChecker.php:552
36 | #, php-format
37 | msgctxt "the plugin title"
38 | msgid "Could not determine if updates are available for %s."
39 | msgstr "Impossible de déterminer si une mise à jour est disponible pour \"%s\""
40 |
41 | #: Puc/v4p3/Plugin/UpdateChecker.php:558
42 | #, php-format
43 | msgid "Unknown update checker status \"%s\""
44 | msgstr "Un problème inconnu est survenu \"%s\""
45 |
46 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95
47 | msgid "There is no changelog available."
48 | msgstr "Il n’y a aucun journal de mise à jour disponible."
49 |
--------------------------------------------------------------------------------
/theme-update-checker/languages/plugin-update-checker-pt_BR.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: plugin-update-checker\n"
4 | "POT-Creation-Date: 2017-05-19 15:41-0300\n"
5 | "PO-Revision-Date: 2017-05-19 15:42-0300\n"
6 | "Last-Translator: \n"
7 | "Language-Team: \n"
8 | "Language: pt_BR\n"
9 | "MIME-Version: 1.0\n"
10 | "Content-Type: text/plain; charset=UTF-8\n"
11 | "Content-Transfer-Encoding: 8bit\n"
12 | "X-Generator: Poedit 1.8.8\n"
13 | "X-Poedit-Basepath: ..\n"
14 | "Plural-Forms: nplurals=2; plural=(n > 1);\n"
15 | "X-Poedit-SourceCharset: UTF-8\n"
16 | "X-Poedit-KeywordsList: __;_e;_x;_x:1,2c\n"
17 | "X-Poedit-SearchPath-0: .\n"
18 |
19 | #: Puc/v4p1/Plugin/UpdateChecker.php:358
20 | msgid "Check for updates"
21 | msgstr "Verificar Atualizações"
22 |
23 | #: Puc/v4p1/Plugin/UpdateChecker.php:401 Puc/v4p1/Plugin/UpdateChecker.php:406
24 | #, php-format
25 | msgctxt "the plugin title"
26 | msgid "The %s plugin is up to date."
27 | msgstr "O plugin %s já está na sua versão mais recente."
28 |
29 | #: Puc/v4p1/Plugin/UpdateChecker.php:408
30 | #, php-format
31 | msgctxt "the plugin title"
32 | msgid "A new version of the %s plugin is available."
33 | msgstr "Há uma nova versão para o plugin %s disponível para download."
34 |
35 | #: Puc/v4p1/Plugin/UpdateChecker.php:410
36 | #, php-format
37 | msgid "Unknown update checker status \"%s\""
38 | msgstr "Status \"%s\" desconhecido."
39 |
40 | #: Puc/v4p1/Vcs/PluginUpdateChecker.php:83
41 | msgid "There is no changelog available."
42 | msgstr "Não há um changelog disponível."
43 |
44 | #~ msgid "The %s plugin is up to date."
45 | #~ msgstr "O plugin %s já está na sua versão mais recente."
46 |
47 | #~ msgid "A new version of the %s plugin is available."
48 | #~ msgstr "Há uma nova versão para o plugin %s disponível para download."
49 |
--------------------------------------------------------------------------------
/theme-update-checker/languages/plugin-update-checker-nl_BE.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: plugin-update-checker\n"
4 | "POT-Creation-Date: 2018-03-25 18:15+0200\n"
5 | "PO-Revision-Date: 2018-03-25 18:32+0200\n"
6 | "Language-Team: \n"
7 | "MIME-Version: 1.0\n"
8 | "Content-Type: text/plain; charset=UTF-8\n"
9 | "Content-Transfer-Encoding: 8bit\n"
10 | "X-Generator: Poedit 1.8.7.1\n"
11 | "X-Poedit-Basepath: ..\n"
12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n"
13 | "X-Poedit-SourceCharset: UTF-8\n"
14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n"
15 | "Last-Translator: Frank Goossens \n"
16 | "Language: nl_BE\n"
17 | "X-Poedit-SearchPath-0: .\n"
18 |
19 | #: Puc/v4p3/Plugin/UpdateChecker.php:395
20 | msgid "Check for updates"
21 | msgstr "Controleer op nieuwe versies"
22 |
23 | #: Puc/v4p3/Plugin/UpdateChecker.php:548
24 | #, php-format
25 | msgctxt "the plugin title"
26 | msgid "The %s plugin is up to date."
27 | msgstr "De meest recente %s versie is geïnstalleerd."
28 |
29 | #: Puc/v4p3/Plugin/UpdateChecker.php:550
30 | #, php-format
31 | msgctxt "the plugin title"
32 | msgid "A new version of the %s plugin is available."
33 | msgstr "Er is een nieuwe versie van %s beschikbaar."
34 |
35 | #: Puc/v4p3/Plugin/UpdateChecker.php:552
36 | #, php-format
37 | msgctxt "the plugin title"
38 | msgid "Could not determine if updates are available for %s."
39 | msgstr "Kon niet bepalen of er nieuwe versie van %s beschikbaar is."
40 |
41 | #: Puc/v4p3/Plugin/UpdateChecker.php:558
42 | #, php-format
43 | msgid "Unknown update checker status \"%s\""
44 | msgstr "Ongekende status bij controle op nieuwe versie: \"%s\""
45 |
46 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95
47 | msgid "There is no changelog available."
48 | msgstr "Er is geen changelog beschikbaar."
49 |
--------------------------------------------------------------------------------
/theme-update-checker/languages/plugin-update-checker-nl_NL.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: plugin-update-checker\n"
4 | "POT-Creation-Date: 2018-03-25 18:15+0200\n"
5 | "PO-Revision-Date: 2018-03-25 18:32+0200\n"
6 | "Language-Team: \n"
7 | "MIME-Version: 1.0\n"
8 | "Content-Type: text/plain; charset=UTF-8\n"
9 | "Content-Transfer-Encoding: 8bit\n"
10 | "X-Generator: Poedit 1.8.7.1\n"
11 | "X-Poedit-Basepath: ..\n"
12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n"
13 | "X-Poedit-SourceCharset: UTF-8\n"
14 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n"
15 | "Last-Translator: Frank Goossens \n"
16 | "Language: nl_NL\n"
17 | "X-Poedit-SearchPath-0: .\n"
18 |
19 | #: Puc/v4p3/Plugin/UpdateChecker.php:395
20 | msgid "Check for updates"
21 | msgstr "Controleer op nieuwe versies"
22 |
23 | #: Puc/v4p3/Plugin/UpdateChecker.php:548
24 | #, php-format
25 | msgctxt "the plugin title"
26 | msgid "The %s plugin is up to date."
27 | msgstr "De meest recente %s versie is geïnstalleerd."
28 |
29 | #: Puc/v4p3/Plugin/UpdateChecker.php:550
30 | #, php-format
31 | msgctxt "the plugin title"
32 | msgid "A new version of the %s plugin is available."
33 | msgstr "Er is een nieuwe versie van %s beschikbaar."
34 |
35 | #: Puc/v4p3/Plugin/UpdateChecker.php:552
36 | #, php-format
37 | msgctxt "the plugin title"
38 | msgid "Could not determine if updates are available for %s."
39 | msgstr "Kon niet bepalen of er nieuwe versie van %s beschikbaar is."
40 |
41 | #: Puc/v4p3/Plugin/UpdateChecker.php:558
42 | #, php-format
43 | msgid "Unknown update checker status \"%s\""
44 | msgstr "Ongekende status bij controle op nieuwe versie: \"%s\""
45 |
46 | #: Puc/v4p3/Vcs/PluginUpdateChecker.php:95
47 | msgid "There is no changelog available."
48 | msgstr "Er is geen changelog beschikbaar."
49 |
--------------------------------------------------------------------------------
/theme-update-checker/languages/plugin-update-checker-ja.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: \n"
4 | "POT-Creation-Date: 2019-07-15 17:07+0900\n"
5 | "PO-Revision-Date: 2019-07-15 17:12+0900\n"
6 | "Last-Translator: tak \n"
7 | "Language-Team: \n"
8 | "Language: ja_JP\n"
9 | "MIME-Version: 1.0\n"
10 | "Content-Type: text/plain; charset=UTF-8\n"
11 | "Content-Transfer-Encoding: 8bit\n"
12 | "X-Generator: Poedit 2.2.3\n"
13 | "X-Poedit-Basepath: ../../../../../../Applications/XAMPP/xamppfiles/htdocs/"
14 | "kisagai/wordpress/wp-content/plugins/simple-stripe-gateway/Puc\n"
15 | "Plural-Forms: nplurals=1; plural=0;\n"
16 | "X-Poedit-KeywordsList: __;_x:1,2c\n"
17 | "X-Poedit-SearchPath-0: .\n"
18 |
19 | #: v4p7/Plugin/Ui.php:54
20 | msgid "View details"
21 | msgstr "詳細を表示"
22 |
23 | #: v4p7/Plugin/Ui.php:77
24 | #, php-format
25 | msgid "More information about %s"
26 | msgstr "%sについての詳細"
27 |
28 | #: v4p7/Plugin/Ui.php:128
29 | msgid "Check for updates"
30 | msgstr "アップデートを確認"
31 |
32 | #: v4p7/Plugin/Ui.php:213
33 | #, php-format
34 | msgctxt "the plugin title"
35 | msgid "The %s plugin is up to date."
36 | msgstr "%s プラグインは、最新バージョンです。"
37 |
38 | #: v4p7/Plugin/Ui.php:215
39 | #, php-format
40 | msgctxt "the plugin title"
41 | msgid "A new version of the %s plugin is available."
42 | msgstr "%s プラグインの最新バージョンがあります。"
43 |
44 | #: v4p7/Plugin/Ui.php:217
45 | #, php-format
46 | msgctxt "the plugin title"
47 | msgid "Could not determine if updates are available for %s."
48 | msgstr "%s のアップデートがあるかどうかを判断できませんでした。"
49 |
50 | #: v4p7/Plugin/Ui.php:223
51 | #, php-format
52 | msgid "Unknown update checker status \"%s\""
53 | msgstr "バージョンアップの確認で想定外の状態になりました。ステータス:”%s”"
54 |
55 | #: v4p7/Vcs/PluginUpdateChecker.php:98
56 | msgid "There is no changelog available."
57 | msgstr "更新履歴はありません。"
58 |
--------------------------------------------------------------------------------
/theme-update-checker/languages/plugin-update-checker-el.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: plugin-update-checker\n"
4 | "POT-Creation-Date: 2022-07-29 15:34+0300\n"
5 | "PO-Revision-Date: 2024-05-09 22:22+0000\n"
6 | "Last-Translator: theogk\n"
7 | "Language-Team: Ελληνικά\n"
8 | "Language: el\n"
9 | "MIME-Version: 1.0\n"
10 | "Content-Type: text/plain; charset=UTF-8\n"
11 | "Content-Transfer-Encoding: 8bit\n"
12 | "Plural-Forms: nplurals=2; plural=n != 1;\n"
13 | "X-Generator: Loco https://localise.biz/\n"
14 | "X-Poedit-Basepath: ..\n"
15 | "X-Poedit-SourceCharset: UTF-8\n"
16 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n"
17 | "X-Poedit-SearchPath-0: .\n"
18 | "Report-Msgid-Bugs-To: \n"
19 | "X-Loco-Version: 2.6.9; wp-6.5.3"
20 |
21 | #: Puc/v5p4/Plugin/Ui.php:128
22 | msgid "Check for updates"
23 | msgstr "Έλεγχος για ενημερώσεις"
24 |
25 | #: Puc/v5p4/Plugin/Ui.php:214
26 | #, php-format
27 | msgctxt "the plugin title"
28 | msgid "The %s plugin is up to date."
29 | msgstr "Το πρόσθετο %s είναι ενημερωμένο."
30 |
31 | #: Puc/v5p4/Plugin/Ui.php:216
32 | #, php-format
33 | msgctxt "the plugin title"
34 | msgid "A new version of the %s plugin is available."
35 | msgstr "Μία νέα έκδοση είναι διαθέσιμη για το πρόσθετο %s."
36 |
37 | #: Puc/v5p4/Plugin/Ui.php:218
38 | #, php-format
39 | msgctxt "the plugin title"
40 | msgid "Could not determine if updates are available for %s."
41 | msgstr ""
42 | "Δεν ήταν εφικτό να εκτελεστεί ο έλεγχος για νέες ενημερώσεις για το πρόσθετο "
43 | "%s."
44 |
45 | #: Puc/v5p4/Plugin/Ui.php:224
46 | #, php-format
47 | msgid "Unknown update checker status \"%s\""
48 | msgstr "Άγνωστο πρόβλημα του ενημερωτή προσθέτων \"%s\""
49 |
50 | #: Puc/v5p4/Vcs/PluginUpdateChecker.php:100
51 | msgid "There is no changelog available."
52 | msgstr "Δεν υπάρχει διαθέσιμο αρχείο αλλαγών."
53 |
--------------------------------------------------------------------------------
/theme-update-checker/languages/plugin-update-checker-sr_RS.po:
--------------------------------------------------------------------------------
1 | msgid ""
2 | msgstr ""
3 | "Project-Id-Version: plugin-update-checker\n"
4 | "POT-Creation-Date: 2024-12-09 11:45+0100\n"
5 | "PO-Revision-Date: 2024-12-09 12:20+0100\n"
6 | "Last-Translator: Aleksandar Urošević \n"
7 | "Language-Team: \n"
8 | "Language: sr_RS\n"
9 | "MIME-Version: 1.0\n"
10 | "Content-Type: text/plain; charset=UTF-8\n"
11 | "Content-Transfer-Encoding: 8bit\n"
12 | "Plural-Forms: nplurals=2; plural=(n != 1);\n"
13 | "X-Generator: Poedit 2.4.3\n"
14 | "X-Poedit-Basepath: ..\n"
15 | "X-Poedit-SourceCharset: UTF-8\n"
16 | "X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n"
17 | "X-Poedit-SearchPath-0: .\n"
18 |
19 | #: Puc/v5p5/Plugin/Ui.php:56
20 | msgid "View details"
21 | msgstr "Види детаље"
22 |
23 | #: Puc/v5p5/Plugin/Ui.php:79
24 | #, php-format
25 | msgid "More information about %s"
26 | msgstr "Више информација о %s"
27 |
28 | #: Puc/v5p5/Plugin/Ui.php:130
29 | msgid "Check for updates"
30 | msgstr "Провера ажурирања"
31 |
32 | #: Puc/v5p5/Plugin/Ui.php:217
33 | #, php-format
34 | msgctxt "the plugin title"
35 | msgid "The %s plugin is up to date."
36 | msgstr "Додатак %s је у најновијем издању."
37 |
38 | #: Puc/v5p5/Plugin/Ui.php:219
39 | #, php-format
40 | msgctxt "the plugin title"
41 | msgid "A new version of the %s plugin is available."
42 | msgstr "Доступно је ново издање за %s."
43 |
44 | #: Puc/v5p5/Plugin/Ui.php:221
45 | #, php-format
46 | msgctxt "the plugin title"
47 | msgid "Could not determine if updates are available for %s."
48 | msgstr "Није могуће утврдити да ли су доступне исправке за %s."
49 |
50 | #: Puc/v5p5/Plugin/Ui.php:227
51 | #, php-format
52 | msgid "Unknown update checker status \"%s\""
53 | msgstr "Непознат статус провере ажурирања \"%s\""
54 |
55 | #: Puc/v5p5/Vcs/PluginUpdateChecker.php:113
56 | msgid "There is no changelog available."
57 | msgstr "Белешке о изменама нису доступне."
58 |
--------------------------------------------------------------------------------
/theme-update-checker/js/debug-bar.js:
--------------------------------------------------------------------------------
1 | jQuery(function($) {
2 |
3 | function runAjaxAction(button, action) {
4 | button = $(button);
5 | var panel = button.closest('.puc-debug-bar-panel-v5');
6 | var responseBox = button.closest('td').find('.puc-ajax-response');
7 |
8 | responseBox.text('Processing...').show();
9 | $.post(
10 | ajaxurl,
11 | {
12 | action : action,
13 | uid : panel.data('uid'),
14 | _wpnonce: panel.data('nonce')
15 | },
16 | function(data) {
17 | //The response contains HTML that should already be escaped in server-side code.
18 | //phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html
19 | responseBox.html(data);
20 | },
21 | 'html'
22 | );
23 | }
24 |
25 | $('.puc-debug-bar-panel-v5 input[name="puc-check-now-button"]').on('click', function() {
26 | runAjaxAction(this, 'puc_v5_debug_check_now');
27 | return false;
28 | });
29 |
30 | $('.puc-debug-bar-panel-v5 input[name="puc-request-info-button"]').on('click', function() {
31 | runAjaxAction(this, 'puc_v5_debug_request_info');
32 | return false;
33 | });
34 |
35 |
36 | // Debug Bar uses the panel class name as part of its link and container IDs. This means we can
37 | // end up with multiple identical IDs if more than one plugin uses the update checker library.
38 | // Fix it by replacing the class name with the plugin slug.
39 | var panels = $('#debug-menu-targets').find('.puc-debug-bar-panel-v5');
40 | panels.each(function() {
41 | var panel = $(this);
42 | var uid = panel.data('uid');
43 | var target = panel.closest('.debug-menu-target');
44 |
45 | //Change the panel wrapper ID.
46 | target.attr('id', 'debug-menu-target-puc-' + uid);
47 |
48 | //Change the menu link ID as well and point it at the new target ID.
49 | $('#debug-bar-menu').find('.puc-debug-menu-link-' + uid)
50 | .closest('.debug-menu-link')
51 | .attr('id', 'debug-menu-link-puc-' + uid)
52 | .attr('href', '#' + target.attr('id'));
53 | });
54 | });
--------------------------------------------------------------------------------
/pandastudio_framework/assets/css/rewrite_post_screen.css:
--------------------------------------------------------------------------------
1 | input[type=checkbox],input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{background-color:#fff;box-shadow:none;border:1px solid #dcdfe6}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{box-shadow:none}.el-switch__input{display:none!important}#adminmenuwrap{z-index:999}.form_decoration{color:#8492a6;line-height:2em;padding-top:5.5px}label .form_decoration{padding-top:0}#wpfooter{display:none}#wpadminbar{z-index:1999}.el-slider__button-wrapper{top:-17px}.el-input__inner{margin:0}.uploader_show_image{max-width:150px;margin-top:10px;margin:auto;display:block}.multi_Uploader_show_image{background-size:cover;display:inline-block;border-radius:6px;height:148px;margin:0 15px 0 0;width:148px;position:relative;cursor:pointer}.multi_Uploader_show_image:after{content:"\E60F";font-family:element-icons;font-size:24px;border-radius:6px;line-height:148px;width:100%;height:100%;text-align:center;background-color:rgba(255,0,0,.5);color:#fff;position:absolute;opacity:0;transition:.25s}.multi_Uploader_show_image:hover:after{opacity:1;transition:.25s}.subcomponent{margin-bottom:4px}.cell>.subcomponent{margin-bottom:0}.subcontentRemove{margin-bottom:10px}.el-upload--picture-card .hover{display:none}.el-upload--picture-card:hover .normal{display:none}.el-upload--picture-card:hover .hover{display:block}.el-radio__label img{vertical-align:middle}.el-table{line-height:24px}.el-table textarea{resize:none}.el-tabs__nav-wrap::after{height:1px!important}
--------------------------------------------------------------------------------
/sidebar.php:
--------------------------------------------------------------------------------
1 |
5 |
32 |
--------------------------------------------------------------------------------
/pandastudio_plugins/baiduAudio/index.php:
--------------------------------------------------------------------------------
1 | ';
6 | echo '';
7 | }
8 | add_action('wp_footer', 'add_baiduAudio_js');
9 | add_filter('modify_pandastudio_translation_array', 'add_baiduAudio_translation_array');
10 | function add_baiduAudio_translation_array($translation_array)
11 | {
12 | $bd_response = get_cache('bd_audio_tok');
13 | if ($bd_response == false) {
14 | $bd_key = 'fKTeA2Gju6WsXMHWXvouDitG';
15 | $bd_secret = 'U01XiwxeOqd4YnYXGggCyveOtgfR9OyN';
16 | $bd_url = 'https://openapi.baidu.com/oauth/2.0/token?grant_type=client_credentials&client_id=' . $bd_key . '&client_secret=' . $bd_secret;
17 | $bd_response = file_get_contents($bd_url);
18 | $bd_response = json_decode($bd_response, true);
19 | if ($bd_response['access_token']) {
20 | set_cache('bd_audio_tok', ['access_token' => $bd_response['access_token'], 'session_key' => $bd_response['session_key']], $bd_response['expires_in'] * 0.9);
21 | }
22 | }
23 | $translation_array['baiduAudio'] = array_merge(get_cache('bd_audio_tok'), array( 'spd' => get_option('baidu_ai_audio_spd') ? get_option('baidu_ai_audio_spd') : 5,'pit' => get_option('baidu_ai_audio_pit') ? get_option('baidu_ai_audio_pit') : 5,'per' => get_option('baidu_ai_audio_per') ? get_option('baidu_ai_audio_per') : 0,'enable' => get_option('baidu_ai_audio_enable') == 'checked'
24 | ));
25 | return $translation_array;
26 | }
27 | add_filter('modify_pandastudio_options', 'add_baiduAudio_to_options');
28 | function add_baiduAudio_to_options($options)
29 | {
30 | $new_file = file_get_contents("baiduAudio_option.json", 1);
31 | $new_arr = json_decode($new_file, true);
32 | $newOptions = array_merge($options, $new_arr);
33 | return $newOptions;
34 | }
35 |
--------------------------------------------------------------------------------
/assets/template/tag-gallery.php:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
18 |
19 |
26 |
27 |
28 |
32 |
33 |
34 |
39 |
40 |
41 |
42 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
55 |
56 |
57 |
58 |
59 |
68 |
--------------------------------------------------------------------------------
/tag.php:
--------------------------------------------------------------------------------
1 |
7 |
8 |
9 |
18 |
19 |
26 |
27 |
28 |
32 |
33 |
34 |
39 |
40 |
41 |
42 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
55 |
56 |
57 |
58 |
59 |
68 |
--------------------------------------------------------------------------------
/theme-update-checker/Puc/v5p6/Theme/Package.php:
--------------------------------------------------------------------------------
1 | stylesheet = $stylesheet;
21 | $this->theme = wp_get_theme($this->stylesheet);
22 |
23 | parent::__construct($updateChecker);
24 | }
25 |
26 | public function getInstalledVersion() {
27 | return $this->theme->get('Version');
28 | }
29 |
30 | public function getAbsoluteDirectoryPath() {
31 | if ( method_exists($this->theme, 'get_stylesheet_directory') ) {
32 | return $this->theme->get_stylesheet_directory(); //Available since WP 3.4.
33 | }
34 | return get_theme_root($this->stylesheet) . '/' . $this->stylesheet;
35 | }
36 |
37 | /**
38 | * Get the value of a specific plugin or theme header.
39 | *
40 | * @param string $headerName
41 | * @param string $defaultValue
42 | * @return string Either the value of the header, or $defaultValue if the header doesn't exist or is empty.
43 | */
44 | public function getHeaderValue($headerName, $defaultValue = '') {
45 | $value = $this->theme->get($headerName);
46 | if ( ($headerName === false) || ($headerName === '') ) {
47 | return $defaultValue;
48 | }
49 | return $value;
50 | }
51 |
52 | protected function getHeaderNames() {
53 | return array(
54 | 'Name' => 'Theme Name',
55 | 'ThemeURI' => 'Theme URI',
56 | 'Description' => 'Description',
57 | 'Author' => 'Author',
58 | 'AuthorURI' => 'Author URI',
59 | 'Version' => 'Version',
60 | 'Template' => 'Template',
61 | 'Status' => 'Status',
62 | 'Tags' => 'Tags',
63 | 'TextDomain' => 'Text Domain',
64 | 'DomainPath' => 'Domain Path',
65 | );
66 | }
67 | }
68 |
69 | endif;
70 |
--------------------------------------------------------------------------------
/theme-update-checker/Puc/v5p6/Utils.php:
--------------------------------------------------------------------------------
1 | $node) ) {
27 | $currentValue = $currentValue->$node;
28 | } else {
29 | return $default;
30 | }
31 | }
32 |
33 | return $currentValue;
34 | }
35 |
36 | /**
37 | * Get the first array element that is not empty.
38 | *
39 | * @param array $values
40 | * @param mixed|null $default Returns this value if there are no non-empty elements.
41 | * @return mixed|null
42 | */
43 | public static function findNotEmpty($values, $default = null) {
44 | if ( empty($values) ) {
45 | return $default;
46 | }
47 |
48 | foreach ($values as $value) {
49 | if ( !empty($value) ) {
50 | return $value;
51 | }
52 | }
53 |
54 | return $default;
55 | }
56 |
57 | /**
58 | * Check if the input string starts with the specified prefix.
59 | *
60 | * @param string $input
61 | * @param string $prefix
62 | * @return bool
63 | */
64 | public static function startsWith($input, $prefix) {
65 | $length = strlen($prefix);
66 | return (substr($input, 0, $length) === $prefix);
67 | }
68 | }
69 |
70 | endif;
71 |
--------------------------------------------------------------------------------
/assets/template/nav-main.php:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/pandastudio_framework/assets/css/rewrite.css:
--------------------------------------------------------------------------------
1 | body{background:#fff}input[type=checkbox],input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],select,textarea{background-color:#fff;box-shadow:none;border:1px solid #dcdfe6}input[type=checkbox]:focus,input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=radio]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,select:focus,textarea:focus{box-shadow:none}.el-switch__input{display:none!important}#adminmenuwrap{z-index:999}.form_decoration{line-height:2em;padding-top:6.5px}label .form_decoration{padding-top:0}#wpbody-content>div:not(#vue_rest){display:none}#wpfooter{display:none}#wpadminbar{z-index:1999}ul#adminmenu a.wp-has-current-submenu::after,ul#adminmenu>li.current>a.current::after{border-right-color:#fff}.el-loading-mask{background:rgba(255,255,255,.8)}.el-slider__button-wrapper{top:-17px}.el-input__inner{margin:0}.uploader_show_image{max-width:150px;margin-top:10px;margin:auto;display:block}.multi_Uploader_show_image{background-size:cover;display:inline-block;border-radius:6px;height:148px;margin:0 15px 0 0;width:148px;position:relative;cursor:pointer}.multi_Uploader_show_image:after{content:"\E60F";font-family:element-icons;font-size:24px;border-radius:6px;line-height:148px;width:100%;height:100%;text-align:center;background-color:rgba(255,0,0,.5);color:#fff;position:absolute;opacity:0;transition:.25s}.multi_Uploader_show_image:hover:after{opacity:1;transition:.25s}.subcomponent{margin-bottom:4px}.cell>.subcomponent{margin-bottom:0}.subcontentRemove{margin-bottom:10px}.el-form-item{margin-bottom:0;padding-bottom:14px}.el-upload--picture-card .hover{display:none}.el-upload--picture-card:hover .normal{display:none}.el-upload--picture-card:hover .hover{display:block}.el-radio__label img{vertical-align:middle}.el-table{line-height:24px}.el-table textarea{resize:none}.el-tabs__nav-wrap::after{height:1px!important}.el-slider__button-wrapper{z-index:998}
--------------------------------------------------------------------------------
/assets/template/single-gallery.php:
--------------------------------------------------------------------------------
1 |
9 |
10 |
11 |
20 |
21 |
22 |
23 |
26 |
27 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
61 |
62 |
63 |
64 |
65 |
--------------------------------------------------------------------------------
/theme-update-checker/Puc/v5p6/Theme/Update.php:
--------------------------------------------------------------------------------
1 | $this->slug,
23 | 'new_version' => $this->version,
24 | 'url' => $this->details_url,
25 | );
26 |
27 | if ( !empty($this->download_url) ) {
28 | $update['package'] = $this->download_url;
29 | }
30 |
31 | return $update;
32 | }
33 |
34 | /**
35 | * Create a new instance of Theme_Update from its JSON-encoded representation.
36 | *
37 | * @param string $json Valid JSON string representing a theme information object.
38 | * @return self New instance of ThemeUpdate, or NULL on error.
39 | */
40 | public static function fromJson($json) {
41 | $instance = new self();
42 | if ( !parent::createFromJson($json, $instance) ) {
43 | return null;
44 | }
45 | return $instance;
46 | }
47 |
48 | /**
49 | * Create a new instance by copying the necessary fields from another object.
50 | *
51 | * @param \StdClass|self $object The source object.
52 | * @return self The new copy.
53 | */
54 | public static function fromObject($object) {
55 | $update = new self();
56 | $update->copyFields($object, $update);
57 | return $update;
58 | }
59 |
60 | /**
61 | * Basic validation.
62 | *
63 | * @param \StdClass $apiResponse
64 | * @return bool|\WP_Error
65 | */
66 | protected function validateMetadata($apiResponse) {
67 | $required = array('version', 'details_url');
68 | foreach($required as $key) {
69 | if ( !isset($apiResponse->$key) || empty($apiResponse->$key) ) {
70 | return new \WP_Error(
71 | 'tuc-invalid-metadata',
72 | sprintf('The theme metadata is missing the required "%s" key.', $key)
73 | );
74 | }
75 | }
76 | return true;
77 | }
78 |
79 | protected function getFieldNames() {
80 | return array_merge(parent::getFieldNames(), self::$extraFields);
81 | }
82 |
83 | protected function getPrefixedFilter($tag) {
84 | return parent::getPrefixedFilter($tag) . '_theme';
85 | }
86 | }
87 |
88 | endif;
89 |
--------------------------------------------------------------------------------
/assets/template/single-post.php:
--------------------------------------------------------------------------------
1 |
10 |
11 |
12 |
21 |
22 |
23 |
24 |
27 |
28 |
47 |
48 |
49 |
50 |
51 |
52 |
58 |
59 |
60 |
61 |
62 |
63 |
67 |
68 |
69 |
70 |
71 |
--------------------------------------------------------------------------------
/favlinks.php:
--------------------------------------------------------------------------------
1 |
7 | ID ), $type );
11 | ?>
12 |
13 |
14 |
23 |
24 |
25 |
26 |
27 |
28 |
29 | 0,
33 | 'taxonomy' => 'favlinks-category',
34 | 'orderby' => 'slug',
35 | )
36 | );
37 | for ( $i = 0; $i < count( $categories ); $i++ ) {
38 | $category = $categories[ $i ];
39 | echo '';
40 | $args = array(
41 | 'post_type' => 'favlinks',
42 | 'posts_per_page' => 100,
43 | 'tax_query' => array(
44 | array(
45 | 'taxonomy' => 'favlinks-category',
46 | 'field' => 'name',
47 | 'terms' => $category->name,
48 | ),
49 | ),
50 | );
51 | $query_posts = new WP_Query();
52 | $query_posts->query( $args );
53 | while ( $query_posts->have_posts() ) {
54 | $query_posts->the_post();
55 | require 'assets/template/postlist-favlinks.php';
56 | }
57 | wp_reset_query();
58 | echo '';
59 | }
60 | ?>
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
74 |
75 |
76 |
77 |
78 |
--------------------------------------------------------------------------------
/theme-update-checker/Puc/v5p6/Vcs/ReleaseAssetSupport.php:
--------------------------------------------------------------------------------
1 | releaseAssetsEnabled = true;
40 | $this->assetFilterRegex = $nameRegex;
41 | $this->releaseAssetPreference = $preference;
42 | }
43 |
44 | /**
45 | * Disable release assets.
46 | *
47 | * @return void
48 | * @noinspection PhpUnused -- Public API
49 | */
50 | public function disableReleaseAssets() {
51 | $this->releaseAssetsEnabled = false;
52 | $this->assetFilterRegex = null;
53 | }
54 |
55 | /**
56 | * Does the specified asset match the name regex?
57 | *
58 | * @param mixed $releaseAsset Data type and structure depend on the host/API.
59 | * @return bool
60 | */
61 | protected function matchesAssetFilter($releaseAsset) {
62 | if ( $this->assetFilterRegex === null ) {
63 | //The default is to accept all assets.
64 | return true;
65 | }
66 |
67 | $name = $this->getFilterableAssetName($releaseAsset);
68 | if ( !is_string($name) ) {
69 | return false;
70 | }
71 | return (bool)preg_match($this->assetFilterRegex, $releaseAsset->name);
72 | }
73 |
74 | /**
75 | * Get the part of asset data that will be checked against the filter regex.
76 | *
77 | * @param mixed $releaseAsset
78 | * @return string|null
79 | */
80 | abstract protected function getFilterableAssetName($releaseAsset);
81 | }
82 |
83 | endif;
--------------------------------------------------------------------------------
/theme-update-checker/Puc/v5p6/WpCliCheckTrigger.php:
--------------------------------------------------------------------------------
1 | componentType = $componentType;
42 | $this->scheduler = $scheduler;
43 |
44 | if ( !defined('WP_CLI') || !class_exists(WP_CLI::class, false) ) {
45 | return; //Nothing to do if WP-CLI is not available.
46 | }
47 |
48 | /*
49 | * We can't hook directly into wp_update_plugins(), but we can hook into the WP-CLI
50 | * commands that call it. We'll use the "before_invoke:xyz" hook to trigger update checks.
51 | */
52 | foreach ($this->getRelevantCommands() as $command) {
53 | WP_CLI::add_hook('before_invoke:' . $command, [$this, 'triggerUpdateCheckOnce']);
54 | }
55 | }
56 |
57 | private function getRelevantCommands() {
58 | $result = [];
59 | foreach (['status', 'list', 'update'] as $subcommand) {
60 | $result[] = $this->componentType . ' ' . $subcommand;
61 | }
62 | return $result;
63 | }
64 |
65 | /**
66 | * Trigger a potential update check once.
67 | *
68 | * @param mixed $input
69 | * @return mixed The input value, unchanged.
70 | * @internal This method is public so that it can be used as a WP-CLI hook callback.
71 | * It should not be called directly.
72 | *
73 | */
74 | public function triggerUpdateCheckOnce($input = null) {
75 | if ( $this->wasCheckTriggered ) {
76 | return $input;
77 | }
78 |
79 | $this->wasCheckTriggered = true;
80 | $this->scheduler->maybeCheckForUpdates();
81 |
82 | return $input;
83 | }
84 | }
--------------------------------------------------------------------------------
/assets/template/postlist-post.php:
--------------------------------------------------------------------------------
1 | 0 ? $gallery_images[ array_rand( $gallery_images, 1 ) ] : '';
20 | break;
21 | }
22 | $tags = get_the_terms( get_the_ID(), 'gallery-tag' );
23 | break;
24 | default:
25 | $thumbnail = '';
26 | break;
27 | }
28 | ?>
29 |
30 |
33 |
34 |
35 |
36 |
76 |
--------------------------------------------------------------------------------
/pandastudio_plugins/baiduAudio/baiduAudio.js:
--------------------------------------------------------------------------------
1 | var baiduAudio={stopped:!0,getToken:function(){baiduAudio.stop(),baiduAudio.tokenData=pandastudio_framework.baiduAudio,baiduAudio.makePlayer()},makePlayer:function(){var a=$("").attr("id","baiduAudioPlayer"),i=$('').addClass("playBtn active").on("click",function(a){baiduAudio.play()});pauseBtn=$('').addClass("pauseBtn").on("click",function(a){baiduAudio.pause()}),stopBtn=$('').addClass("stopBtn").on("click",function(a){baiduAudio.stop()}),text=$("朗读本文").addClass("decoration"),a.append(text).append(i).append(pauseBtn).append(stopBtn),baiduAudio.tokenData.enable&&($(".single .article_wrapper article").prepend(''),$(".article_wrapper article .baiduAudioWrap").append(a))},tokenData:{},speak:function(a){if(baiduAudio.tokenData.access_token){if(a<1)return!1;var i=baiduAudio.tokenData.access_token,d=baiduAudio.tokenData.session_key,e=baiduAudio.tokenData.spd,u=baiduAudio.tokenData.pit,o=baiduAudio.tokenData.per;baiduAudio.audioArray=[];for(var t=0;t0?(baiduAudio.audio.src=baiduAudio.audioArray.pop(),baiduAudio.audio.play()):baiduAudio.stop()},audioArray:[],audio:new Audio,play:function(){baiduAudio.stopped&&(baiduAudio.speak(baiduAudio.getTextArray()),baiduAudio.stopped=!1),$("#baiduAudioPlayer .playBtn").removeClass("active"),$("#baiduAudioPlayer .pauseBtn").addClass("active"),$("#baiduAudioPlayer .stopBtn").addClass("active"),baiduAudio.audio.play()},pause:function(){$("#baiduAudioPlayer .playBtn").addClass("active"),$("#baiduAudioPlayer .pauseBtn").removeClass("active"),$("#baiduAudioPlayer .stopBtn").addClass("active"),baiduAudio.audio.pause()},stop:function(){$("#baiduAudioPlayer .playBtn").addClass("active"),$("#baiduAudioPlayer .pauseBtn").removeClass("active"),$("#baiduAudioPlayer .stopBtn").removeClass("active"),baiduAudio.audio.pause(),baiduAudio.audio.removeEventListener("ended",baiduAudio.playEndedHandler,!1),baiduAudio.stopped=!0},getTextArray:function(){var a=[],i=$(".article_wrapper article").clone();i.find("#baiduAudioPlayer,[anti],[copy],[panda],[reborn],[panda-studio],pre,img,table,.modal,style,script").remove();var d="";$(i).find("div").each(function(){$(this).append("。")}),$(i).find("*").each(function(){var a=$(this).contents();$(this).replaceWith(a)}),d=$(i).html().replace(/ /g,""),textArr=d.split(/。/g);for(var e="",u=0;urootDir = dirname(__FILE__) . '/';
18 |
19 | $namespaceWithSlash = __NAMESPACE__ . '\\';
20 | $this->prefix = $namespaceWithSlash;
21 |
22 | $this->libraryDir = $this->rootDir . '../..';
23 | if ( !self::isPhar() ) {
24 | $this->libraryDir = realpath($this->libraryDir);
25 | }
26 | $this->libraryDir = $this->libraryDir . '/';
27 |
28 | //Usually, dependencies like Parsedown are in the global namespace,
29 | //but if someone adds a custom namespace to the entire library, they
30 | //will be in the same namespace as this class.
31 | $isCustomNamespace = (
32 | substr($namespaceWithSlash, 0, strlen(self::DEFAULT_NS_PREFIX)) !== self::DEFAULT_NS_PREFIX
33 | );
34 | $libraryPrefix = $isCustomNamespace ? $namespaceWithSlash : '';
35 |
36 | $this->staticMap = array(
37 | $libraryPrefix . 'PucReadmeParser' => 'vendor/PucReadmeParser.php',
38 | $libraryPrefix . 'Parsedown' => 'vendor/Parsedown.php',
39 | );
40 |
41 | //Add the generic, major-version-only factory class to the static map.
42 | $versionSeparatorPos = strrpos(__NAMESPACE__, '\\v');
43 | if ( $versionSeparatorPos !== false ) {
44 | $versionSegment = substr(__NAMESPACE__, $versionSeparatorPos + 1);
45 | $pointPos = strpos($versionSegment, 'p');
46 | if ( ($pointPos !== false) && ($pointPos > 1) ) {
47 | $majorVersionSegment = substr($versionSegment, 0, $pointPos);
48 | $majorVersionNs = __NAMESPACE__ . '\\' . $majorVersionSegment;
49 | $this->staticMap[$majorVersionNs . '\\PucFactory'] =
50 | 'Puc/' . $majorVersionSegment . '/Factory.php';
51 | }
52 | }
53 |
54 | spl_autoload_register(array($this, 'autoload'));
55 | }
56 |
57 | /**
58 | * Determine if this file is running as part of a Phar archive.
59 | *
60 | * @return bool
61 | */
62 | private static function isPhar() {
63 | //Check if the current file path starts with "phar://".
64 | static $pharProtocol = 'phar://';
65 | return (substr(__FILE__, 0, strlen($pharProtocol)) === $pharProtocol);
66 | }
67 |
68 | public function autoload($className) {
69 | if ( isset($this->staticMap[$className]) && file_exists($this->libraryDir . $this->staticMap[$className]) ) {
70 | include($this->libraryDir . $this->staticMap[$className]);
71 | return;
72 | }
73 |
74 | if ( strpos($className, $this->prefix) === 0 ) {
75 | $path = substr($className, strlen($this->prefix));
76 | $path = str_replace(array('_', '\\'), '/', $path);
77 | $path = $this->rootDir . $path . '.php';
78 |
79 | if ( file_exists($path) ) {
80 | include $path;
81 | }
82 | }
83 | }
84 | }
85 |
86 | endif;
87 |
--------------------------------------------------------------------------------
/theme-update-checker/Puc/v5p6/Vcs/ThemeUpdateChecker.php:
--------------------------------------------------------------------------------
1 | api = $api;
24 |
25 | parent::__construct($api->getRepositoryUrl(), $stylesheet, $customSlug, $checkPeriod, $optionName);
26 |
27 | $this->api->setHttpFilterName($this->getUniqueName('request_update_options'));
28 | $this->api->setStrategyFilterName($this->getUniqueName('vcs_update_detection_strategies'));
29 | $this->api->setSlug($this->slug);
30 | }
31 |
32 | public function requestUpdate() {
33 | $api = $this->api;
34 | $api->setLocalDirectory($this->package->getAbsoluteDirectoryPath());
35 |
36 | $update = new Theme\Update();
37 | $update->slug = $this->slug;
38 |
39 | //Figure out which reference (tag or branch) we'll use to get the latest version of the theme.
40 | $updateSource = $api->chooseReference($this->branch);
41 | if ( $updateSource ) {
42 | $ref = $updateSource->name;
43 | $update->download_url = $updateSource->downloadUrl;
44 | } else {
45 | do_action(
46 | 'puc_api_error',
47 | new \WP_Error(
48 | 'puc-no-update-source',
49 | 'Could not retrieve version information from the repository. '
50 | . 'This usually means that the update checker either can\'t connect '
51 | . 'to the repository or it\'s configured incorrectly.'
52 | ),
53 | null, null, $this->slug
54 | );
55 | $ref = $this->branch;
56 | }
57 |
58 | //Get headers from the main stylesheet in this branch/tag. Its "Version" header and other metadata
59 | //are what the WordPress install will actually see after upgrading, so they take precedence over releases/tags.
60 | $remoteHeader = $this->package->getFileHeader($api->getRemoteFile('style.css', $ref));
61 | $update->version = Utils::findNotEmpty(array(
62 | $remoteHeader['Version'],
63 | Utils::get($updateSource, 'version'),
64 | ));
65 |
66 | //The details URL defaults to the Theme URI header or the repository URL.
67 | $update->details_url = Utils::findNotEmpty(array(
68 | $remoteHeader['ThemeURI'],
69 | $this->package->getHeaderValue('ThemeURI'),
70 | $this->metadataUrl,
71 | ));
72 |
73 | if ( empty($update->version) ) {
74 | //It looks like we didn't find a valid update after all.
75 | $update = null;
76 | }
77 |
78 | $update = $this->filterUpdateResult($update);
79 | return $update;
80 | }
81 | }
82 |
83 | endif;
84 |
--------------------------------------------------------------------------------
/extend/js/custom.min.js:
--------------------------------------------------------------------------------
1 | function getCookieExpireTime(){const e=new Date;return e.setHours(23,59,59,999),e.toUTCString()}function getCookie(e){if("undefined"==typeof document||!document.cookie)return"";const t=document.cookie.split("; ").find(t=>t.startsWith(e+"="));return t?decodeURIComponent(t.split("=")[1]||""):""}function setCookie(e,t){const o=encodeURIComponent(String(t));document.cookie=`${e}=${o}; path=/; expires=${getCookieExpireTime()}`}function deleteCookie(e){document.cookie=`${e}=; path=/; expires=Thu, 01 Jan 1970 00:00:00 GMT`}function applyNightMode(e){document.body.classList.toggle("night",e);const t=document.querySelector(".colorSwitch");t&&(t.className=`colorSwitch fas ${e?"fa-sun":"fa-moon"}`)}function switchNightMode(){const e=!document.body.classList.contains("night");applyNightMode(e),setCookie("night",e?"1":"0")}function parseTimeToMinutes(e){if("string"!=typeof e)return null;const t=/^(0[0-9]|1[0-9]|2[0-3]):([0-5][0-9])$/;if(!t.test(e.trim()))return null;const o=e.split(":"),n=parseInt(o[0],10),i=parseInt(o[1],10);return n<0||n>23||i<0||i>59?null:60*n+i}function initNightMode(){const e=(window.pandastudio_framework||{}).dark_mode||{},{enable:t="unchecked",auto:o="unchecked"}=e;if(autoNightTimer&&(clearInterval(autoNightTimer),autoNightTimer=null),"checked"!==t)return deleteCookie("night"),applyNightMode(!1);const n=getCookie("night");if(""!==n)return applyNightMode("1"===n);if("checked"!==o)return deleteCookie("night"),applyNightMode(!1);const i={start:"19:00",end:"07:00"},r=null!==parseTimeToMinutes(e.time_start)&&void 0!==parseTimeToMinutes(e.time_start)?parseTimeToMinutes(e.time_start):parseTimeToMinutes(i.start),s=null!==parseTimeToMinutes(e.time_end)&&void 0!==parseTimeToMinutes(e.time_end)?parseTimeToMinutes(e.time_end):parseTimeToMinutes(i.end),d=()=>{if(""!==getCookie("night"))return;const e=new Date,t=60*e.getHours()+e.getMinutes(),o=r>s?t>=r||t=r&&t{o.style.backgroundColor="rgba(0, 0, 0, 0.1)"}),o.addEventListener("mouseleave",()=>{o.style.backgroundColor="rgba(200, 200, 200, 0.2)"}),o.addEventListener("click",()=>{const e=document.createRange();e.selectNode(t);const n=window.getSelection();n.removeAllRanges(),n.addRange(e),document.execCommand("copy"),n.removeAllRanges(),o.innerText="Copied!",o.style.backgroundColor="#333",o.style.color="#fff",setTimeout(()=>{o.innerText="Copy Code",o.style.backgroundColor="rgba(200, 200, 200, 0.2)",o.style.color="#fff"},3e3)}),e.style.position="relative",e.insertBefore(o,t)}function initCodeBlocks(){document.querySelectorAll(".wp-block-code").forEach(addCopyButtonToCodeBlock)}let autoNightTimer=null;document.addEventListener("DOMContentLoaded",()=>{initCodeBlocks(),initNightMode()}),add_action("ajax_render_complete",()=>{initNightMode(),initCodeBlocks()});
--------------------------------------------------------------------------------
/assets/template/postlist-post-thumbnailtag.php:
--------------------------------------------------------------------------------
1 | 0 ? $gallery_images[ array_rand( $gallery_images, 1 ) ] : '';
20 | break;
21 | }
22 | $tags = get_the_terms( get_the_ID(), 'gallery-tag' );
23 | break;
24 | default:
25 | $thumbnail = '';
26 | break;
27 | }
28 | $thumbnail_top_tag = _meta( 'img_top_tag' ) ? '' . _meta( 'img_top_tag' ) . '' : '';
29 | $thumbnail_bottom_tag = _meta( 'img_bottom_tag' ) ? '' . _meta( 'img_bottom_tag' ) . '' : '';
30 | ?>
31 |
32 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
79 |
--------------------------------------------------------------------------------
/category.php:
--------------------------------------------------------------------------------
1 |
4 | $cat,
20 | 'posts_per_page' => 5,
21 | 'orderby' => 'rand',
22 | 'ignore_sticky_posts' => true,
23 | );
24 | $carouselsID_query = new WP_Query();
25 | $carouselsID_query->query( $args );
26 | while ( $carouselsID_query->have_posts() ) {
27 | $carouselsID_query->the_post();
28 | if ( strstr( _opt( 'category_carousels_type' ), 'imageflow' ) ) {
29 | if ( get_post_meta( $post->ID, '分类slider图片地址', true ) ) {
30 | $cpids[] = $post->ID;
31 | }
32 | } else {
33 | $cpids[] = $post->ID;
34 | }
35 | }
36 | wp_reset_query();
37 | }
38 | }
39 | get_topSlider( $cpids, _opt( 'category_carousels_type' ) );
40 | ?>
41 |
42 |
43 |
52 |
53 |
68 |
69 |
70 |
71 |
76 |
77 |
78 |
79 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
92 |
93 |
94 |
95 |
96 |
105 |
--------------------------------------------------------------------------------
/archives.php:
--------------------------------------------------------------------------------
1 |
7 | 7,
26 | 'orderby' => 'rand',
27 | 'cat' => $minius_excludeIDs,
28 | 'ignore_sticky_posts' => true,
29 | );
30 | $carouselsID_query = new WP_Query();
31 | $carouselsID_query->query( $args );
32 | while ( $carouselsID_query->have_posts() ) {
33 | $carouselsID_query->the_post();
34 | $cpids[] = $post->ID;
35 | }
36 | wp_reset_query();
37 | }
38 | get_topSlider( $cpids, _opt( 'frontpage_carousels_type' ) );
39 | ?>
40 |
41 |
42 |
51 |
52 |
59 |
60 |
61 |
62 | 'post',
73 | 'paged' => $paged,
74 | );
75 | query_posts( $args );
76 | while ( have_posts() ) {
77 | the_post();
78 | ?>
79 |
80 |
81 |
82 |
85 |
86 |
87 |
88 |
89 |
90 |
91 |
95 |
96 |
97 |
98 |
99 |
108 |
--------------------------------------------------------------------------------
/theme-update-checker/Puc/v5p6/InstalledPackage.php:
--------------------------------------------------------------------------------
1 | updateChecker = $updateChecker;
20 | }
21 |
22 | /**
23 | * Get the currently installed version of the plugin or theme.
24 | *
25 | * @return string|null Version number.
26 | */
27 | abstract public function getInstalledVersion();
28 |
29 | /**
30 | * Get the full path of the plugin or theme directory (without a trailing slash).
31 | *
32 | * @return string
33 | */
34 | abstract public function getAbsoluteDirectoryPath();
35 |
36 | /**
37 | * Check whether a regular file exists in the package's directory.
38 | *
39 | * @param string $relativeFileName File name relative to the package directory.
40 | * @return bool
41 | */
42 | public function fileExists($relativeFileName) {
43 | return is_file(
44 | $this->getAbsoluteDirectoryPath()
45 | . DIRECTORY_SEPARATOR
46 | . ltrim($relativeFileName, '/\\')
47 | );
48 | }
49 |
50 | /* -------------------------------------------------------------------
51 | * File header parsing
52 | * -------------------------------------------------------------------
53 | */
54 |
55 | /**
56 | * Parse plugin or theme metadata from the header comment.
57 | *
58 | * This is basically a simplified version of the get_file_data() function from /wp-includes/functions.php.
59 | * It's intended as a utility for subclasses that detect updates by parsing files in a VCS.
60 | *
61 | * @param string|null $content File contents.
62 | * @return string[]
63 | */
64 | public function getFileHeader($content) {
65 | $content = (string)$content;
66 |
67 | //WordPress only looks at the first 8 KiB of the file, so we do the same.
68 | $content = substr($content, 0, 8192);
69 | //Normalize line endings.
70 | $content = str_replace("\r", "\n", $content);
71 |
72 | $headers = $this->getHeaderNames();
73 | $results = array();
74 | foreach ($headers as $field => $name) {
75 | $success = preg_match('/^[ \t\/*#@]*' . preg_quote($name, '/') . ':(.*)$/mi', $content, $matches);
76 |
77 | if ( ($success === 1) && $matches[1] ) {
78 | $value = $matches[1];
79 | if ( function_exists('_cleanup_header_comment') ) {
80 | $value = _cleanup_header_comment($value);
81 | }
82 | $results[$field] = $value;
83 | } else {
84 | $results[$field] = '';
85 | }
86 | }
87 |
88 | return $results;
89 | }
90 |
91 | /**
92 | * @return array Format: ['HeaderKey' => 'Header Name']
93 | */
94 | abstract protected function getHeaderNames();
95 |
96 | /**
97 | * Get the value of a specific plugin or theme header.
98 | *
99 | * @param string $headerName
100 | * @return string Either the value of the header, or an empty string if the header doesn't exist.
101 | */
102 | abstract public function getHeaderValue($headerName);
103 |
104 | }
105 | endif;
106 |
--------------------------------------------------------------------------------
/README_tw.md:
--------------------------------------------------------------------------------
1 | 
2 |
3 | [简体中文](README.md) | **繁體中文** | [English](README_en.md) | [Russian](README_ru.md)
4 |
5 | # niRvana-theme
6 |
7 | niRvana · 輕擬物 WordPress 主題
8 |
9 | typecho 版本 : [github.com/michaelliunsky/typecho-theme-niRvana](https://github.com/michaelliunsky/typecho-theme-niRvana)
10 |
11 | [](https://github.com/michaelliunsky/niRvana-theme/releases) [](https://github.com/michaelliunsky/niRvana-theme/releases) [](https://github.com/michaelliunsky/niRvana-theme/blob/master/LICENSE)
12 |
13 | [](https://github.com/michaelliunsky) [](https://github.com/michaelliunsky/niRvana-theme/stargazers)
14 |
15 | [](https://github.com/michaelliunsky/niRvana-theme/commits/master) [](https://github.com/michaelliunsky/niRvana-theme/releases) 
16 |
17 | # 主題基本特性
18 |
19 | - **HTML5、CSS3** - 使用標準語言編寫,支援 IE10 以上瀏覽器
20 | - **響應式** - 在桌面、平板、手機端均以最佳狀態顯示
21 | - **回覆下載** - 可強制要求使用者在評論文章後才提供下載位址
22 | - **內容回覆可見** - 指定某些內容需讀者評論後才可查看,讓讀者與你互動(可設定為要求使用者註冊登入並評論後才顯示某些內容)
23 | - **側邊欄小工具** - 側欄數量可自訂、完全使用 WP 官方的小工具模型,並開發更多適合本主題的小工具
24 | - **語音朗讀** - 使用百度語音合成技術為您朗讀文章
25 | - **評論表情** - 本主題內建評論表情功能,無需外掛即可在後台設定
26 | - **無刷新加載** - 全局提供 ajax 載入文章
27 | - **打賞** - 允許透過多種途徑打賞,例如:支付寶二維碼、微信二維碼、Paypal 連結
28 | - **按讚** - 每篇文章皆提供按讚功能,可展示訪客最喜歡的文章列表(後台可以修改按讚數據)
29 | - **生成封面二維碼** - 每篇文章皆可生成 QR Code 用於分享到微信等社交平台
30 | - **說說功能** - 簡短說說功能,隨時隨地記錄你的想法
31 | - **多語言** - 安裝 [niRvana-translate 多語言翻譯外掛](https://github.com/michaelliunsky/niRvana-translate),享受快速多語言切換
32 |
33 | # 安裝
34 |
35 | 環境要求:**PHP8.3 相容最佳**
36 |
37 | 在 [Release](https://github.com/michaelliunsky/niRvana-theme/releases) 頁面下載 .zip 檔案,於 WordPress 後台「佈景主題」頁面上傳並安裝。
38 |
39 | **主題自帶評論郵件回覆,如果您需要評論回覆的自動郵件提醒功能,請安裝 WP-SMTP 外掛,或自行配置郵箱發送;如果不需要,則無須操作。**
40 |
41 | # 文件
42 |
43 | [作者部落格中的文件 : https://blog.mkliu.top/](https://blog.mkliu.top/135.html)
44 |
45 | # Demo
46 |
47 | [blog.mkliu.top](https://blog.mkliu.top/)
48 |
49 | # 注意
50 |
51 | niRvana 使用 [GPL V3.0](https://github.com/michaelliunsky/niRvana-theme/blob/main/LICENSE) 協議開源,請遵守此協議進行二次開發等。
52 |
53 | 您**必須在頁腳保留 niRvana 主題的名稱及作者連結**,否則請不要使用 niRvana 主題。
54 |
55 | # Telegram 頻道
56 |
57 | [t.me/nvgrp](https://t.me/nvgrp)
58 |
59 | 自動推送更新訊息以及其他關於 niRvana 的消息
60 |
61 | # Telegram 群組
62 |
63 | [t.me/nvgpchat](https://t.me/nvgpchat)
64 |
65 | 自由提問、討論、交流關於 niRvana 主題的問題
66 |
67 | # 更新日誌
68 |
69 | 見 [readme.md](https://github.com/michaelliunsky/niRvana-theme#%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97)
70 |
71 | # 捐贈
72 |
73 | 如果你覺得 niRvana 主題不錯,可以請我一杯咖啡來支持我的開發。
74 |
75 | 
76 | 
77 |
--------------------------------------------------------------------------------
/production.php:
--------------------------------------------------------------------------------
1 | get('Version');
6 | function is_login_page()
7 | {
8 | return in_array($GLOBALS['pagenow'], array('wp-login.php', 'wp-register.php'));
9 | }
10 | if ($is_production) {
11 | add_action('wp_enqueue_scripts', function () use ($theme_version, $theme_uri) {
12 | wp_register_script(
13 | 'niRvana',
14 | $theme_uri . '/assets/minify/app.min.js',
15 | array('jquery'),
16 | $theme_version
17 | );
18 | wp_register_style(
19 | 'niRvana',
20 | $theme_uri . '/assets/minify/app.min.css',
21 | array(),
22 | $theme_version
23 | );
24 | if (!is_admin() && !is_login_page()) {
25 | wp_enqueue_script('niRvana');
26 | wp_enqueue_style('niRvana');
27 | }
28 | });
29 | } else {
30 | add_action('wp_enqueue_scripts', function () {
31 | wp_enqueue_script('jquery');
32 | });
33 | add_action('wp_head', function () use ($theme_uri) {
34 | echo '
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 | ';
69 | });
70 | }
71 |
--------------------------------------------------------------------------------