diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 0000000..e69de29 diff --git a/inc/addons/additional-behaviors.php b/inc/addons/additional-behaviors.php index a43756f..4fb8a1f 100644 --- a/inc/addons/additional-behaviors.php +++ b/inc/addons/additional-behaviors.php @@ -4,7 +4,7 @@ Description: Zeigt zusätzliches Standardverhalten der Karte als globale Kartenoptionen an:
- Klicke auf das Element in der Markierungsliste, um das Detail-Popup zu öffnen
- Klicke auf den Wegbeschreibungslink, um zum Wegbeschreibungsformular zu gelangen Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0 -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ class Agm_Mab_AdditionalBehaviors { diff --git a/inc/addons/bp-group-maps.php b/inc/addons/bp-group-maps.php index 7c13522..cb506e5 100644 --- a/inc/addons/bp-group-maps.php +++ b/inc/addons/bp-group-maps.php @@ -6,7 +6,7 @@ Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0.2 Requires: BuddyPress -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ if ( defined( 'BP_PLUGIN_DIR' ) ) : diff --git a/inc/addons/bp-profile-maps.php b/inc/addons/bp-profile-maps.php index 4c8e1d2..8b69997 100644 --- a/inc/addons/bp-profile-maps.php +++ b/inc/addons/bp-profile-maps.php @@ -5,7 +5,7 @@ Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0.1 Requires: BuddyPress -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ diff --git a/inc/addons/center-map.php b/inc/addons/center-map.php index 9c88274..aa453ef 100644 --- a/inc/addons/center-map.php +++ b/inc/addons/center-map.php @@ -5,7 +5,7 @@ Example: [map id="12" center="45.359,20.412"] Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.1 -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ diff --git a/inc/addons/custom-icons.php b/inc/addons/custom-icons.php index d39655c..6f70b75 100644 --- a/inc/addons/custom-icons.php +++ b/inc/addons/custom-icons.php @@ -4,7 +4,7 @@ Description: Aktiviere dieses Add-On, um Deine eigenen Kartenmarkierungssymbole hinzuzufügen! Die benutzerdefinierten Symbole können ausgewählt werden, wenn Du eine Markierung im Karteneditor bearbeitest. Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0 -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ class Agm_Icons_AdminPages { diff --git a/inc/addons/disable-scroll.php b/inc/addons/disable-scroll.php index 1910958..a689d2e 100644 --- a/inc/addons/disable-scroll.php +++ b/inc/addons/disable-scroll.php @@ -5,7 +5,7 @@ Example: [map id="1" disable_scroll="true"] Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0.1 -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ class Agm_DZ_AdminPages { diff --git a/inc/addons/fb-nearby-friends.php b/inc/addons/fb-nearby-friends.php index 895666e..f986d43 100644 --- a/inc/addons/fb-nearby-friends.php +++ b/inc/addons/fb-nearby-friends.php @@ -4,7 +4,7 @@ Description: Zeigt eine Liste der Facebook-Freunde in der Nähe an. Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0 -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ class Agm_Fbnf_AdminPages { diff --git a/inc/addons/featured-image.php b/inc/addons/featured-image.php index 28ee2c5..c38a656 100644 --- a/inc/addons/featured-image.php +++ b/inc/addons/featured-image.php @@ -5,7 +5,7 @@ Example: [map query="post_type=posts" overlay="yes" featured_image="yes"] Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0 -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ class Agm_Fimm_UserPages { diff --git a/inc/addons/fix-and-repair.php b/inc/addons/fix-and-repair.php index 9117e2c..3743d21 100644 --- a/inc/addons/fix-and-repair.php +++ b/inc/addons/fix-and-repair.php @@ -4,7 +4,7 @@ Description: Tools zum Reparieren Deiner PS-Maps-Installation. Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0 -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ class Agm_Far_FormRenderer { diff --git a/inc/addons/geotag-bp.php b/inc/addons/geotag-bp.php index 5b4f2a4..579110f 100644 --- a/inc/addons/geotag-bp.php +++ b/inc/addons/geotag-bp.php @@ -6,7 +6,7 @@ Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0.1 Requires: BuddyPress -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ if ( defined( 'BP_PLUGIN_DIR' ) ) : diff --git a/inc/addons/geotag-wp.php b/inc/addons/geotag-wp.php index b22325c..4471656 100644 --- a/inc/addons/geotag-wp.php +++ b/inc/addons/geotag-wp.php @@ -5,7 +5,7 @@ Example: [agm_gwp_geocoded_posts] Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0 -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ class Agm_GwpAdminPages { diff --git a/inc/addons/hide-markers.php b/inc/addons/hide-markers.php index e96dc6d..c3a8ab3 100644 --- a/inc/addons/hide-markers.php +++ b/inc/addons/hide-markers.php @@ -5,7 +5,7 @@ Example: [map id="1" hide_map_markers="true"] Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0 -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ class Agm_Hacm_UserPages { diff --git a/inc/addons/kml-overlay.php b/inc/addons/kml-overlay.php index 6153cf2..ad6cfca 100644 --- a/inc/addons/kml-overlay.php +++ b/inc/addons/kml-overlay.php @@ -5,7 +5,7 @@ Example: [map id="1" kml_url="http://api.flickr.com/services/feeds/geo/Australia"] Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0 -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ class Agm_Kml_AdminPages { diff --git a/inc/addons/kml-uploader.php b/inc/addons/kml-uploader.php index d544956..2010715 100644 --- a/inc/addons/kml-uploader.php +++ b/inc/addons/kml-uploader.php @@ -5,7 +5,7 @@ Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0.1 Requires: KML Overlay -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ class Agm_Kml_UploaderAdminPages { diff --git a/inc/addons/loading-message.php b/inc/addons/loading-message.php index f71d7d0..33f8b8a 100644 --- a/inc/addons/loading-message.php +++ b/inc/addons/loading-message.php @@ -5,7 +5,7 @@ Example: [map id="1" loading_message="Bitte warte während die Karte geladen wird"] Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0 -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ class Agm_Mlm_Pages { diff --git a/inc/addons/localize-maps.php b/inc/addons/localize-maps.php index d6d4d10..e533929 100644 --- a/inc/addons/localize-maps.php +++ b/inc/addons/localize-maps.php @@ -4,7 +4,7 @@ Description: Standardmäßig werden Karten entsprechend dem bevorzugten Browser-Gebietsschema für Deine Besucher angezeigt. Wenn Du diese Erweiterung aktivierst, werden Karten in der Sprache angezeigt, die Du in den Plugin-Einstellungen ausgewählt hast. Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0 -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ class Agm_Locale_AdminPages { diff --git a/inc/addons/location-shortcode.php b/inc/addons/location-shortcode.php index 48e9396..05552f2 100644 --- a/inc/addons/location-shortcode.php +++ b/inc/addons/location-shortcode.php @@ -5,7 +5,7 @@ Example: [location address="202 / 120 Bay Street,Port Melbourne"], [location coordinates="-37.84119,144.94071"] Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0 -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ class Agm_Map_LocationShortcode extends AgmAddonBase { diff --git a/inc/addons/marker-cluster.php b/inc/addons/marker-cluster.php index 861415e..0ee1491 100644 --- a/inc/addons/marker-cluster.php +++ b/inc/addons/marker-cluster.php @@ -4,7 +4,7 @@ Description: Bereinigt Karten, indem Markierungen in der Nähe in Clustern gruppiert werden. Dies wirkt sich bei Aktivierung automatisch auf alle Karten aus. Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0 -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ class Agm_Mc_UserPages { diff --git a/inc/addons/places.php b/inc/addons/places.php index 23a7a69..8842cdc 100644 --- a/inc/addons/places.php +++ b/inc/addons/places.php @@ -4,7 +4,7 @@ Description: Ermöglicht das Anzeigen von Orten in der Nähe. Im Dialogfeld "Kartenoptionen" stehen neue Optionen zur Verfügung. Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0 -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ class Agm_PlacesAdminPages { diff --git a/inc/addons/responsive-maps.php b/inc/addons/responsive-maps.php index 9a6dade..768f300 100644 --- a/inc/addons/responsive-maps.php +++ b/inc/addons/responsive-maps.php @@ -5,7 +5,7 @@ Example: [map id="1" is_responsive="true"] Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0 -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ class Agm_Rmaps_Pages { diff --git a/inc/addons/traffic-overlay.php b/inc/addons/traffic-overlay.php index ea9fbc9..d0f7d56 100644 --- a/inc/addons/traffic-overlay.php +++ b/inc/addons/traffic-overlay.php @@ -4,7 +4,7 @@ Description: Bietet die Möglichkeit, die Verkehrsüberlagerung auf Deiner Karte anzuzeigen. Du kannst es entweder per "Kartenoptionen" oder mit dem Shortcode-Attribut wie folgt aktivieren: show_traffic="true".
z.B. [map id="1" show_traffic="true"] Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.0 -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ class Agm_Traffic_AdminPages { diff --git a/inc/addons/user-checkin.php b/inc/addons/user-checkin.php index 5227bc5..4ed8882 100644 --- a/inc/addons/user-checkin.php +++ b/inc/addons/user-checkin.php @@ -5,7 +5,7 @@ * Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ * Example: [agm_add_checkin], [agm_show_checkins id="1" last_hour="48"] * Version: 1.0.2 - * Author: DerN3rd (WMS N@W) + * Author: DerN3rd (PSOURCE) */ diff --git a/inc/addons/where-am-i.php b/inc/addons/where-am-i.php index 8c75c9c..e9f4412 100644 --- a/inc/addons/where-am-i.php +++ b/inc/addons/where-am-i.php @@ -4,7 +4,7 @@ Description: Fügt der Karte in unterstützenden Browsern automatisch oder über das Shortcode-Attribut die Standortmarkierung des Besuchers hinzu. Plugin URI: https://n3rds.work/piestingtal-source-project/ps-gmaps/ Version: 1.1 -Author: DerN3rd (WMS N@W) +Author: DerN3rd (PSOURCE) */ class Agm_Wmi_AdminPages { diff --git a/inc/external/wpmu-lib/core.php b/inc/external/wpmu-lib/core.php index a16ba3e..06b5ed6 100644 --- a/inc/external/wpmu-lib/core.php +++ b/inc/external/wpmu-lib/core.php @@ -4,7 +4,7 @@ * Plugin URI: https://n3rds.work/ * Description: Framework to support creating WordPress plugins and themes. * Version: 3.0.0 - * Author: WMS N@W + * Author: PSOURCE * Author URI: https://n3rds.work/ * Textdomain: wpmu-lib * diff --git a/inc/external/wpmu-lib/js/wpmu-vnav.3.js b/inc/external/wpmu-lib/js/wpmu-vnav.3.js index 09e6069..4473744 100644 --- a/inc/external/wpmu-lib/js/wpmu-vnav.3.js +++ b/inc/external/wpmu-lib/js/wpmu-vnav.3.js @@ -1,4 +1,4 @@ -/*! WMS N@W code library - v2.0.3 +/*! PSOURCE code library - v2.0.3 * https://n3rds.work/ * Copyright (c) 2016; * Licensed GPLv2+ */ /*! diff --git a/inc/external/wpmu-lib/js/wpmu-vnav.3.min.js b/inc/external/wpmu-lib/js/wpmu-vnav.3.min.js index d1a816c..9f0caee 100644 --- a/inc/external/wpmu-lib/js/wpmu-vnav.3.min.js +++ b/inc/external/wpmu-lib/js/wpmu-vnav.3.min.js @@ -1,4 +1,4 @@ -/*! WMS N@W code library - v2.0.3 +/*! PSOURCE code library - v2.0.3 * https://n3rds.work/ * Copyright (c) 2016; * Licensed GPLv2+ */ /*! diff --git a/js/admin/center-map.js b/js/admin/center-map.js index 9959392..c82ed08 100644 --- a/js/admin/center-map.js +++ b/js/admin/center-map.js @@ -8,7 +8,7 @@ /** * Plugin Name: Center Map - * Author: DerN3rd (WMS N@W) + * Author: DerN3rd (PSOURCE) * * Javascript component for ADMIN page of the center-map addon. */ diff --git a/languages/psmaps-en_US.po b/languages/psmaps-en_US.po index ee10c67..32824d0 100644 --- a/languages/psmaps-en_US.po +++ b/languages/psmaps-en_US.po @@ -3027,8 +3027,8 @@ msgstr "" #. Author of the plugin/theme #, fuzzy -msgid "WMS N@W" -msgstr "WMS N@W" +msgid "PSOURCE" +msgstr "PSOURCE" #. Author URI of the plugin/theme #, fuzzy diff --git a/languages/psmaps-fr_FR.po b/languages/psmaps-fr_FR.po index c4e378f..4720ca1 100644 --- a/languages/psmaps-fr_FR.po +++ b/languages/psmaps-fr_FR.po @@ -3100,8 +3100,8 @@ msgstr "" "possibilités." #. Author of the plugin/theme -msgid "WMS N@W" -msgstr "WMS N@W" +msgid "PSOURCE" +msgstr "PSOURCE" #. Author URI of the plugin/theme msgid "https://n3rds.work" diff --git a/languages/psmaps-it_IT.po b/languages/psmaps-it_IT.po index f0cf866..de4d44d 100644 --- a/languages/psmaps-it_IT.po +++ b/languages/psmaps-it_IT.po @@ -3096,8 +3096,8 @@ msgstr "" #. Author of the plugin/theme #, fuzzy -msgid "WMS N@W" -msgstr "WMS N@W" +msgid "PSOURCE" +msgstr "PSOURCE" #. Author URI of the plugin/theme #, fuzzy diff --git a/languages/psmaps.pot b/languages/psmaps.pot index 3be77b5..199a3b0 100644 --- a/languages/psmaps.pot +++ b/languages/psmaps.pot @@ -2428,7 +2428,7 @@ msgid "" msgstr "" #. Author of the plugin/theme -msgid "WMS N@W" +msgid "PSOURCE" msgstr "" #. Author URI of the plugin/theme diff --git a/psource/psource-plugin-update/.gitattributes b/psource/psource-plugin-update/.gitattributes new file mode 100644 index 0000000..ba74e78 --- /dev/null +++ b/psource/psource-plugin-update/.gitattributes @@ -0,0 +1 @@ +/build export-ignore diff --git a/psource/psource-plugin-update/.gitignore b/psource/psource-plugin-update/.gitignore new file mode 100644 index 0000000..7126070 --- /dev/null +++ b/psource/psource-plugin-update/.gitignore @@ -0,0 +1,40 @@ +# Created by .ignore support plugin (hsz.mobi) +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# The entire IDEA/PhpStorm directory +.idea/ + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser diff --git a/psource/psource-plugin-update/Puc/v5/PucFactory.php b/psource/psource-plugin-update/Puc/v5/PucFactory.php index 2c8fc20..a2ec2d2 100644 --- a/psource/psource-plugin-update/Puc/v5/PucFactory.php +++ b/psource/psource-plugin-update/Puc/v5/PucFactory.php @@ -1,10 +1,10 @@ ' . htmlentities(print_r($value, true)) . ''; } else if ($value === null) { $value = 'null'; } - printf('%1$s %2$s', $name, $value); + printf( + '%1$s %2$s', + esc_html($name), + //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Escaped above. + $value + ); } } diff --git a/psource/psource-plugin-update/Puc/v5p0/DebugBar/PluginExtension.php b/psource/psource-plugin-update/Puc/v5p3/DebugBar/PluginExtension.php similarity index 90% rename from psource/psource-plugin-update/Puc/v5p0/DebugBar/PluginExtension.php rename to psource/psource-plugin-update/Puc/v5p3/DebugBar/PluginExtension.php index a1edf40..b5546c7 100644 --- a/psource/psource-plugin-update/Puc/v5p0/DebugBar/PluginExtension.php +++ b/psource/psource-plugin-update/Puc/v5p3/DebugBar/PluginExtension.php @@ -1,8 +1,8 @@ + */ + protected $extraProperties = array(); /** * Create an instance of this class from a JSON document. @@ -135,6 +141,22 @@ protected function getFieldNames() { protected function getPrefixedFilter($tag) { return 'puc_' . $tag; } + + public function __set($name, $value) { + $this->extraProperties[$name] = $value; + } + + public function __get($name) { + return isset($this->extraProperties[$name]) ? $this->extraProperties[$name] : null; + } + + public function __isset($name) { + return isset($this->extraProperties[$name]); + } + + public function __unset($name) { + unset($this->extraProperties[$name]); + } } endif; diff --git a/psource/psource-plugin-update/Puc/v5p0/OAuthSignature.php b/psource/psource-plugin-update/Puc/v5p3/OAuthSignature.php similarity index 98% rename from psource/psource-plugin-update/Puc/v5p0/OAuthSignature.php rename to psource/psource-plugin-update/Puc/v5p3/OAuthSignature.php index 51159cd..be9ad9e 100644 --- a/psource/psource-plugin-update/Puc/v5p0/OAuthSignature.php +++ b/psource/psource-plugin-update/Puc/v5p3/OAuthSignature.php @@ -1,5 +1,5 @@ %s', esc_url(network_admin_url('plugin-install.php?tab=plugin-information&plugin=' . urlencode($this->updateChecker->slug) . '&TB_iframe=true&width=600&height=550')), - esc_attr(sprintf(__('Weitere Informationen zu %s'), $pluginData['Name'])), + esc_attr(sprintf(__('More information about %s'), $pluginData['Name'])), esc_attr($pluginData['Name']), $linkText ); @@ -127,7 +127,7 @@ public function addCheckForUpdatesLink($pluginMeta, $pluginFile) { $linkText = apply_filters( $this->updateChecker->getUniqueName('manual_check_link'), - __('Auf neuere Version prüfen', 'plugin-update-checker') + __('Check for updates', 'plugin-update-checker') ); if ( !empty($linkText) ) { /** @noinspection HtmlUnknownTarget */ @@ -214,17 +214,17 @@ public function displayManualCheckResult() { $details = ''; if ( $status == 'no_update' ) { - $message = sprintf(_x('Keine neuere Version von %s im PSOURCE REPO gefunden.', 'the plugin title', 'plugin-update-checker'), $title); + $message = sprintf(_x('The %s plugin is up to date.', 'the plugin title', 'plugin-update-checker'), $title); } else if ( $status == 'update_available' ) { - $message = sprintf(_x('Im PSOURCE REPO ist eine neuere Version von %s verfügbar!.', 'the plugin title', 'plugin-update-checker'), $title); + $message = sprintf(_x('A new version of the %s plugin is available.', 'the plugin title', 'plugin-update-checker'), $title); } else if ( $status === 'error' ) { - $message = sprintf(_x('Entschuldige, es konnte nicht festgestellt werden, ob Updates für %s verfügbar sind.', 'the plugin title', 'plugin-update-checker'), $title); + $message = sprintf(_x('Could not determine if updates are available for %s.', 'the plugin title', 'plugin-update-checker'), $title); $noticeClass = 'error notice-error'; $details = $this->formatManualCheckErrors(get_site_transient($this->manualCheckErrorTransient)); delete_site_transient($this->manualCheckErrorTransient); } else { - $message = sprintf(__('Unbekannter PSOURCE-UPDATTER-Status "%s"', 'plugin-update-checker'), $status); + $message = sprintf(__('Unknown update checker status "%s"', 'plugin-update-checker'), $status); $noticeClass = 'error notice-error'; } diff --git a/psource/psource-plugin-update/Puc/v5p0/Plugin/Update.php b/psource/psource-plugin-update/Puc/v5p3/Plugin/Update.php similarity index 96% rename from psource/psource-plugin-update/Puc/v5p0/Plugin/Update.php rename to psource/psource-plugin-update/Puc/v5p3/Plugin/Update.php index 4cca2dd..cec09cf 100644 --- a/psource/psource-plugin-update/Puc/v5p0/Plugin/Update.php +++ b/psource/psource-plugin-update/Puc/v5p3/Plugin/Update.php @@ -1,7 +1,7 @@ pluginFile, array($this, 'removeHooks')); $this->extraUi = new Ui($this); diff --git a/psource/psource-plugin-update/Puc/v5p0/PucFactory.php b/psource/psource-plugin-update/Puc/v5p3/PucFactory.php similarity index 97% rename from psource/psource-plugin-update/Puc/v5p0/PucFactory.php rename to psource/psource-plugin-update/Puc/v5p3/PucFactory.php index df35f6d..2063277 100644 --- a/psource/psource-plugin-update/Puc/v5p0/PucFactory.php +++ b/psource/psource-plugin-update/Puc/v5p3/PucFactory.php @@ -1,10 +1,10 @@ checkPeriod . 'hours'; + //phpcs:ignore WordPress.WP.CronInterval.ChangeDetected -- WPCS fails to parse the callback. add_filter('cron_schedules', array($this, '_addCustomSchedule')); } @@ -79,6 +80,7 @@ public function __construct($updateChecker, $checkPeriod, $hourlyHooks = array(' //Like WordPress itself, we check more often on certain pages. /** @see wp_update_plugins */ add_action('load-update-core.php', array($this, 'maybeCheckForUpdates')); + //phpcs:ignore Squiz.PHP.CommentedOutCode.Found -- Not actually code, just file names. //"load-update.php" and "load-plugins.php" or "load-themes.php". $this->hourlyCheckHooks = array_merge($this->hourlyCheckHooks, $hourlyHooks); foreach($this->hourlyCheckHooks as $hook) { @@ -208,7 +210,7 @@ protected function getEffectiveCheckPeriod() { //Check less frequently if it's already known that an update is available. $period = $this->throttledCheckPeriod * 3600; } else if ( defined('DOING_CRON') && constant('DOING_CRON') ) { - //WordPress cron schedules are not exact, so lets do an update check even + //WordPress cron schedules are not exact, so let's do an update check even //if slightly less than $checkPeriod hours have elapsed since the last check. $cronFuzziness = 20 * 60; $period = $this->checkPeriod * 3600 - $cronFuzziness; diff --git a/psource/psource-plugin-update/Puc/v5p0/StateStore.php b/psource/psource-plugin-update/Puc/v5p3/StateStore.php similarity index 95% rename from psource/psource-plugin-update/Puc/v5p0/StateStore.php rename to psource/psource-plugin-update/Puc/v5p3/StateStore.php index 3ccc543..f182787 100644 --- a/psource/psource-plugin-update/Puc/v5p0/StateStore.php +++ b/psource/psource-plugin-update/Puc/v5p3/StateStore.php @@ -1,5 +1,5 @@ updateClass; } - if ( ($updateClass !== null) && class_exists($updateClass) ) { - $this->update = call_user_func(array($updateClass, 'fromObject'), $state->update); + $factory = array($updateClass, 'fromObject'); + if ( ($updateClass !== null) && is_callable($factory) ) { + $this->update = call_user_func($factory, $state->update); } } } diff --git a/psource/psource-plugin-update/Puc/v5p0/Theme/Package.php b/psource/psource-plugin-update/Puc/v5p3/Theme/Package.php similarity index 93% rename from psource/psource-plugin-update/Puc/v5p0/Theme/Package.php rename to psource/psource-plugin-update/Puc/v5p3/Theme/Package.php index edaf6cb..8a83f66 100644 --- a/psource/psource-plugin-update/Puc/v5p0/Theme/Package.php +++ b/psource/psource-plugin-update/Puc/v5p3/Theme/Package.php @@ -1,7 +1,7 @@ 10, //seconds + 'timeout' => wp_doing_cron() ? 10 : 3, 'headers' => array( 'Accept' => 'application/json', ), @@ -980,7 +980,11 @@ protected function isBadDirectoryStructure($remoteSource) { * Initialize the update checker Debug Bar plugin/add-on thingy. */ public function maybeInitDebugBar() { - if ( class_exists('Debug_Bar', false) && file_exists(dirname(__FILE__) . '/DebugBar') ) { + if ( + class_exists('Debug_Bar', false) + && class_exists('Debug_Bar_Panel', false) + && file_exists(dirname(__FILE__) . '/DebugBar') + ) { $this->debugBarExtension = $this->createDebugBarExtension(); } } diff --git a/psource/psource-plugin-update/Puc/v5p0/UpgraderStatus.php b/psource/psource-plugin-update/Puc/v5p3/UpgraderStatus.php similarity index 98% rename from psource/psource-plugin-update/Puc/v5p0/UpgraderStatus.php rename to psource/psource-plugin-update/Puc/v5p3/UpgraderStatus.php index ac46dd4..81b1f4c 100644 --- a/psource/psource-plugin-update/Puc/v5p0/UpgraderStatus.php +++ b/psource/psource-plugin-update/Puc/v5p3/UpgraderStatus.php @@ -1,5 +1,5 @@ oauth->sign($url,'GET'); } - $options = array('timeout' => 10); + $options = array('timeout' => wp_doing_cron() ? 10 : 3); if ( !empty($this->httpFilterName) ) { $options = apply_filters($this->httpFilterName, $options); } diff --git a/psource/psource-plugin-update/Puc/v5p0/Vcs/GitHubApi.php b/psource/psource-plugin-update/Puc/v5p3/Vcs/GitHubApi.php similarity index 97% rename from psource/psource-plugin-update/Puc/v5p0/Vcs/GitHubApi.php rename to psource/psource-plugin-update/Puc/v5p3/Vcs/GitHubApi.php index 62e0d6e..4858ab0 100644 --- a/psource/psource-plugin-update/Puc/v5p0/Vcs/GitHubApi.php +++ b/psource/psource-plugin-update/Puc/v5p3/Vcs/GitHubApi.php @@ -1,6 +1,6 @@ releaseAssetsEnabled ) { //Use the first release asset that matches the specified regular expression. if ( isset($release->assets, $release->assets[0]) ) { - $matchingAssets = array_filter($release->assets, array($this, 'matchesAssetFilter')); + $matchingAssets = array_values(array_filter($release->assets, array($this, 'matchesAssetFilter'))); } else { $matchingAssets = array(); } @@ -248,7 +248,7 @@ protected function api($url, $queryParams = array()) { $baseUrl = $url; $url = $this->buildApiUrl($url, $queryParams); - $options = array('timeout' => 10); + $options = array('timeout' => wp_doing_cron() ? 10 : 3); if ( $this->isAuthenticationEnabled() ) { $options['headers'] = array('Authorization' => $this->getAuthorizationHeader()); } @@ -358,7 +358,7 @@ public function setAuthentication($credentials) { protected function getUpdateDetectionStrategies($configBranch) { $strategies = array(); - if ( $configBranch === 'master' ) { + if ( $configBranch === 'master' || $configBranch === 'main') { //Use the latest release. $strategies[self::STRATEGY_LATEST_RELEASE] = array($this, 'getLatestRelease'); //Failing that, use the tag with the highest version number. diff --git a/psource/psource-plugin-update/Puc/v5p0/Vcs/GitLabApi.php b/psource/psource-plugin-update/Puc/v5p3/Vcs/GitLabApi.php similarity index 99% rename from psource/psource-plugin-update/Puc/v5p0/Vcs/GitLabApi.php rename to psource/psource-plugin-update/Puc/v5p3/Vcs/GitLabApi.php index 9559fd7..ee07149 100644 --- a/psource/psource-plugin-update/Puc/v5p0/Vcs/GitLabApi.php +++ b/psource/psource-plugin-update/Puc/v5p3/Vcs/GitLabApi.php @@ -1,6 +1,6 @@ buildApiUrl($url, $queryParams); - $options = array('timeout' => 10); + $options = array('timeout' => wp_doing_cron() ? 10 : 3); if ( !empty($this->httpFilterName) ) { $options = apply_filters($this->httpFilterName, $options); } diff --git a/psource/psource-plugin-update/Puc/v5p0/Vcs/PluginUpdateChecker.php b/psource/psource-plugin-update/Puc/v5p3/Vcs/PluginUpdateChecker.php similarity index 93% rename from psource/psource-plugin-update/Puc/v5p0/Vcs/PluginUpdateChecker.php rename to psource/psource-plugin-update/Puc/v5p3/Vcs/PluginUpdateChecker.php index 715ea16..e9aee45 100644 --- a/psource/psource-plugin-update/Puc/v5p0/Vcs/PluginUpdateChecker.php +++ b/psource/psource-plugin-update/Puc/v5p3/Vcs/PluginUpdateChecker.php @@ -1,8 +1,8 @@ setInfoFromHeader($remoteHeader, $info); } + //Sanity check: Reject updates that don't have a version number. + //This can happen when we're using a branch, and we either fail to retrieve the main plugin + //file or the file doesn't have a "Version" header. + if ( empty($info->version) ) { + do_action( + 'puc_api_error', + new \WP_Error( + 'puc-no-plugin-version', + 'Could not find the version number in the repository.' + ), + null, null, $this->slug + ); + return null; + } + //Try parsing readme.txt. If it's formatted according to WordPress.org standards, it will contain //a lot of useful information like the required/tested WP version, changelog, and so on. if ( $this->readmeTxtExistsLocally() ) { diff --git a/psource/psource-plugin-update/Puc/v5p0/Vcs/Reference.php b/psource/psource-plugin-update/Puc/v5p3/Vcs/Reference.php similarity index 95% rename from psource/psource-plugin-update/Puc/v5p0/Vcs/Reference.php rename to psource/psource-plugin-update/Puc/v5p3/Vcs/Reference.php index eab1df0..7f6988a 100644 --- a/psource/psource-plugin-update/Puc/v5p0/Vcs/Reference.php +++ b/psource/psource-plugin-update/Puc/v5p3/Vcs/Reference.php @@ -1,5 +1,5 @@ + +**Table of Contents** + +- [Getting Started](#getting-started) + - [Self-hosted Plugins and Themes](#self-hosted-plugins-and-themes) + - [How to Release an Update](#how-to-release-an-update) + - [Notes](#notes) + - [GitHub Integration](#github-integration) + - [How to Release an Update](#how-to-release-an-update-1) + - [Notes](#notes-1) + - [BitBucket Integration](#bitbucket-integration) + - [How to Release an Update](#how-to-release-an-update-2) + - [GitLab Integration](#gitlab-integration) + - [How to Release a GitLab Update](#how-to-release-a-gitlab-update) +- [Migrating from 4.x](#migrating-from-4x) +- [License Management](#license-management) +- [Resources](#resources) + + + +Getting Started +--------------- + +*Note:* In each of the below examples, part of the instructions are to create an instance of the update checker class. It's recommended to do this either during the `plugins_loaded` action or outside of any hooks. If you do it only during an `admin_*` action, then updates will not be visible to a wide variety of WordPress maanagement tools; they will only be visible to logged-in users on dashboard pages. + +### Self-hosted Plugins and Themes + +1. Download [the latest release](https://github.com/YahnisElsts/plugin-update-checker/releases/latest) and copy the `plugin-update-checker` directory to your plugin or theme. +2. Go to the `examples` subdirectory and open the .json file that fits your project type. Replace the placeholder data with your plugin/theme details. + - Plugin example: + + ```json + { + "name" : "Plugin Name", + "version" : "2.0", + "download_url" : "https://example.com/plugin-name-2.0.zip", + "sections" : { + "description" : "Plugin description here. You can use HTML." + } + } + ``` + + This is a minimal example that leaves out optional fields. See [this table](https://docs.google.com/spreadsheets/d/1eOBbW7Go2qEQXReOOCdidMTf_tDYRq4JfegcO1CBPIs/edit?usp=sharing) for a full list of supported fields and their descriptions. + - Theme example: + + ```json + { + "version": "2.0", + "details_url": "https://example.com/version-2.0-details.html", + "download_url": "https://example.com/example-theme-2.0.zip" + } + ``` + + This is actually a complete example that shows all theme-related fields. `version` and `download_url` should be self-explanatory. The `details_url` key specifies the page that the user will see if they click the "View version 1.2.3 details" link in an update notification. +3. Upload the JSON file to a publicly accessible location. +4. Add the following code to the main plugin file or to the `functions.php` file: + + ```php + require 'path/to/plugin-update-checker/plugin-update-checker.php'; + use YahnisElsts\PluginUpdateChecker\v5\PucFactory; + + $myUpdateChecker = PucFactory::buildUpdateChecker( + 'https://example.com/path/to/details.json', + __FILE__, //Full path to the main plugin file or functions.php. + 'unique-plugin-or-theme-slug' + ); + ``` + Note: If you're using the Composer autoloader, you don't need to explicitly `require` the library. + +#### How to Release an Update + +Change the `version` number in the JSON file and make sure that `download_url` points to the latest version. Update the other fields if necessary. Tip: You can use [wp-update-server](https://github.com/YahnisElsts/wp-update-server) to automate this process. + +By default, the library will check the specified URL for changes every 12 hours. You can force it to check immediately by clicking the "Check for updates" link on the "Plugins" page (it's next to the "Visit plugin site" link). Themes don't have that link, but you can also trigger an update check like this: + + 1. Install [Debug Bar](https://srd.wordpress.org/plugins/debug-bar/). + 2. Click the "Debug" menu in the Admin Bar (a.k.a Toolbar). + 3. Open the "PUC (your-slug)" panel. + 4. Click the "Check Now" button. + +#### Notes +- The second argument passed to `buildUpdateChecker` must be the absolute path to the main plugin file or any file in the theme directory. If you followed the "getting started" instructions, you can just use the `__FILE__` constant. +- The third argument - i.e. the slug - is optional but recommended. In most cases, the slug should be the same as the name of your plugin directory. For example, if your plugin lives in `/wp-content/plugins/my-plugin`, set the slug to `my-plugin`. If the slug is omitted, the update checker will use the name of the main plugin file as the slug (e.g. `my-cool-plugin.php` → `my-cool-plugin`). This can lead to conflicts if your plugin has a generic file name like `plugin.php`. + + This doesn't affect themes because PUC uses the theme directory name as the default slug. Still, if you're planning to use the slug in your own code - e.g. to filter updates or override update checker behaviour - it can be a good idea to set it explicitly. + +### GitHub Integration + +1. Download [the latest release](https://github.com/YahnisElsts/plugin-update-checker/releases/latest) and copy the `plugin-update-checker` directory to your plugin or theme. +2. Add the following code to the main plugin file or `functions.php`: + + ```php + require 'plugin-update-checker/plugin-update-checker.php'; + use YahnisElsts\PluginUpdateChecker\v5\PucFactory; + + $myUpdateChecker = PucFactory::buildUpdateChecker( + 'https://github.com/user-name/repo-name/', + __FILE__, + 'unique-plugin-or-theme-slug' + ); + + //Set the branch that contains the stable release. + $myUpdateChecker->setBranch('stable-branch-name'); + + //Optional: If you're using a private repository, specify the access token like this: + $myUpdateChecker->setAuthentication('your-token-here'); + ``` +3. Plugins only: Add a `readme.txt` file formatted according to the [WordPress.org plugin readme standard](https://wordpress.org/plugins/readme.txt) to your repository. The contents of this file will be shown when the user clicks the "View version 1.2.3 details" link. + +#### How to Release an Update + +This library supports a couple of different ways to release updates on GitHub. Pick the one that best fits your workflow. + +- **GitHub releases** + + Create a new release using the "Releases" feature on GitHub. The tag name and release title don't matter. The description is optional, but if you do provide one, it will be displayed when the user clicks the "View version x.y.z details" link on the "Plugins" page. Note that PUC ignores releases marked as "This is a pre-release". + + If you want to use release assets, call the `enableReleaseAssets()` method after creating the update checker instance: + ```php + $myUpdateChecker->getVcsApi()->enableReleaseAssets(); + ``` + +- **Tags** + + To release version 1.2.3, create a new Git tag named `v1.2.3` or `1.2.3`. That's it. + + PUC doesn't require strict adherence to [SemVer](https://semver.org/). These are all valid tag names: `v1.2.3`, `v1.2-foo`, `1.2.3_rc1-ABC`, `1.2.3.4.5`. However, be warned that it's not smart enough to filter out alpha/beta/RC versions. If that's a problem, you might want to use GitHub releases or branches instead. + +- **Stable branch** + + Point the update checker at a stable, production-ready branch: + ```php + $updateChecker->setBranch('branch-name'); + ``` + PUC will periodically check the `Version` header in the main plugin file or `style.css` and display a notification if it's greater than the installed version. + + Caveat: If you set the branch to `master` (the default), the update checker will look for recent releases and tags first. It'll only use the `master` branch if it doesn't find anything else suitable. + +#### Notes + +The library will pull update details from the following parts of a release/tag/branch: + +- Version number + - The "Version" plugin header. + - The latest GitHub release or tag name. +- Changelog + - The "Changelog" section of `readme.txt`. + - One of the following files: + CHANGES.md, CHANGELOG.md, changes.md, changelog.md + - GitHub release notes. +- Required and tested WordPress versions + - The "Requires at least" and "Tested up to" fields in `readme.txt`. + - The following plugin headers: + `Required WP`, `Tested WP`, `Requires at least`, `Tested up to` +- "Last updated" timestamp + - The creation timestamp of the latest GitHub release. + - The latest commit in the selected tag or branch. +- Number of downloads + - The `download_count` statistic of the latest release. + - If you're not using GitHub releases, there will be no download stats. +- Other plugin details - author, homepage URL, description + - The "Description" section of `readme.txt`. + - Remote plugin headers (i.e. the latest version on GitHub). + - Local plugin headers (i.e. the currently installed version). +- Ratings, banners, screenshots + - Not supported. + +### BitBucket Integration + +1. Download [the latest release](https://github.com/YahnisElsts/plugin-update-checker/releases/latest) and copy the `plugin-update-checker` directory to your plugin or theme. +2. Add the following code to the main plugin file or `functions.php`: + + ```php + require 'plugin-update-checker/plugin-update-checker.php'; + use YahnisElsts\PluginUpdateChecker\v5\PucFactory; + + $myUpdateChecker = PucFactory::buildUpdateChecker( + 'https://bitbucket.org/user-name/repo-name', + __FILE__, + 'unique-plugin-or-theme-slug' + ); + + //Optional: If you're using a private repository, create an OAuth consumer + //and set the authentication credentials like this: + //Note: For now you need to check "This is a private consumer" when + //creating the consumer to work around #134: + // https://github.com/YahnisElsts/plugin-update-checker/issues/134 + $myUpdateChecker->setAuthentication(array( + 'consumer_key' => '...', + 'consumer_secret' => '...', + )); + + //Optional: Set the branch that contains the stable release. + $myUpdateChecker->setBranch('stable-branch-name'); + ``` +3. Optional: Add a `readme.txt` file formatted according to the [WordPress.org plugin readme standard](https://wordpress.org/plugins/readme.txt) to your repository. For plugins, the contents of this file will be shown when the user clicks the "View version 1.2.3 details" link. + +#### How to Release an Update + +BitBucket doesn't have an equivalent to GitHub's releases, so the process is slightly different. You can use any of the following approaches: + +- **`Stable tag` header** + + This is the recommended approach if you're using tags to mark each version. Add a `readme.txt` file formatted according to the [WordPress.org plugin readme standard](https://wordpress.org/plugins/readme.txt) to your repository. Set the "stable tag" header to the tag that represents the latest release. Example: + ```text + Stable tag: v1.2.3 + ``` + The tag doesn't have to start with a "v" or follow any particular format. You can use any name you like as long as it's a valid Git tag. + + Tip: If you explicitly set a stable branch, the update checker will look for a `readme.txt` in that branch. Otherwise it will only look at the `master` branch. + +- **Tags** + + You can skip the "stable tag" bit and just create a new Git tag named `v1.2.3` or `1.2.3`. The update checker will look at the most recent tags and pick the one that looks like the highest version number. + + PUC doesn't require strict adherence to [SemVer](https://semver.org/). These are all valid tag names: `v1.2.3`, `v1.2-foo`, `1.2.3_rc1-ABC`, `1.2.3.4.5`. However, be warned that it's not smart enough to filter out alpha/beta/RC versions. + +- **Stable branch** + + Point the update checker at a stable, production-ready branch: + ```php + $updateChecker->setBranch('branch-name'); + ``` + PUC will periodically check the `Version` header in the main plugin file or `style.css` and display a notification if it's greater than the installed version. Caveat: If you set the branch to `master`, the update checker will still look for tags first. + +### GitLab Integration + +1. Download [the latest release](https://github.com/YahnisElsts/plugin-update-checker/releases/latest) and copy the `plugin-update-checker` directory to your plugin or theme. +2. Add the following code to the main plugin file or `functions.php` and define how you want to check for updates from Gitlab (refer to: [Gitlab: How to Release an Update](#how-to-release-a-gitlab-update)): + + ```php + require 'plugin-update-checker/plugin-update-checker.php'; + use YahnisElsts\PluginUpdateChecker\v5\PucFactory; + + $myUpdateChecker = PucFactory::buildUpdateChecker( + 'https://gitlab.com/user-name/repo-name/', + __FILE__, + 'unique-plugin-or-theme-slug' + ); + + //Optional: If you're using a private repository, specify the access token like this: + $myUpdateChecker->setAuthentication('your-token-here'); + ``` + + Alternatively, if you're using a self-hosted GitLab instance, initialize the update checker like this: + ```php + use YahnisElsts\PluginUpdateChecker\v5p3\Vcs\PluginUpdateChecker; + use YahnisElsts\PluginUpdateChecker\v5p3\Vcs\GitLabApi; + + $myUpdateChecker = new PluginUpdateChecker( + new GitLabApi('https://myserver.com/user-name/repo-name/'), + __FILE__, + 'unique-plugin-or-theme-slug' + ); + //Optional: Add setAuthentication(...) and setBranch(...) as shown above. + ``` + If you're using a self-hosted GitLab instance and [subgroups or nested groups](https://docs.gitlab.com/ce/user/group/subgroups/index.html), you have to tell the update checker which parts of the URL are subgroups: + ```php + use YahnisElsts\PluginUpdateChecker\v5p3\Vcs\PluginUpdateChecker; + use YahnisElsts\PluginUpdateChecker\v5p3\Vcs\GitLabApi; + + $myUpdateChecker = new PluginUpdateChecker( + new GitLabApi( + 'https://myserver.com/group-name/subgroup-level1/subgroup-level2/subgroup-level3/repo-name/', + null, + 'subgroup-level1/subgroup-level2/subgroup-level3' + ), + __FILE__, + 'unique-plugin-or-theme-slug' + ); + ``` + +3. Plugins only: Add a `readme.txt` file formatted according to the [WordPress.org plugin readme standard](https://wordpress.org/plugins/readme.txt) to your repository. The contents of this file will be shown when the user clicks the "View version 1.2.3 details" link. + +#### How to Release a GitLab Update + +A GitLab repository can be checked for updates in 3 different ways. + +- **GitLab releases** + + Create a new release using the "Releases" feature on GitLab. The tag name should match the version number. You can add a `v` prefix to the tag, like `v1.2.3`. Releases that are marked as ["Upcoming Release"](https://docs.gitlab.com/ee/user/project/releases/index.html#upcoming-releases) will be automatically ignored. + + If you want to use custom release assets, call the `enableReleaseAssets()` method after creating the update checker instance: + ```php + $myUpdateChecker->getVcsApi()->enableReleaseAssets(); + ``` + + By default, PUC will use the first available asset link, regardless of type. You can pass a regular expression to `enableReleaseAssets()` to make it pick the first link where the URL matches the regex. For example: + ```php + $myUpdateChecker->getVcsApi()->enableReleaseAssets('/\.zip($|[?&#])/i'); + ``` + + **Tip:** You can use a Gitlab CI/CD Pipeline to automatically generate your update on release using a Generic Package. For more information about generic packages, refer to the following links: + - [Gitlab CI/CD Release Documentation](https://docs.gitlab.com/ee/user/project/releases/#create-release-from-gitlab-ci) + - [Gitlab Release Assets as Generic Package Documentation](https://gitlab.com/gitlab-org/release-cli/-/tree/master/docs/examples/release-assets-as-generic-package/) + - [Example .gitlab-ci.yml file using Release Generic Packages for generating a update package from the Sensei-LMS wordpress plugin](https://gist.github.com/timwiel/9dfd3526c768efad4973254085e065ce) + +- **Tags** + + To release version 1.2.3, create a new Git tag named `v1.2.3` or `1.2.3`. The update checker will look at recent tags and use the one that looks like the highest version number. + + PUC doesn't require strict adherence to [SemVer](https://semver.org/). However, be warned that it's not smart enough to filter out alpha/beta/RC versions. If that's a problem, you might want to use GitLab branches instead. + +- **Stable branch** + + Point the update checker at any stable, production-ready branch: + ```php + $myUpdateChecker->setBranch('stable-branch-name'); + ``` + PUC will periodically check the `Version` header in the main plugin file or `style.css` and display a notification if it's greater than the installed version. Caveat: Even if you set the branch to `main` (the default) or `master` (the historical default), the update checker will still look for recent releases and tags first. + +Migrating from 4.x +------------------ + +Older versions of the library didn't use namespaces. Code that was written for those versions will need to be updated to work with the current version. At a minimum, you'll need to change the factory class name. + +Old code: +```php +$myUpdateChecker = Puc_v4_Factory::buildUpdateChecker( + 'https://example.com/info.json', + __FILE__, + 'my-slug' +); +``` + +New code: +```php +use YahnisElsts\PluginUpdateChecker\v5\PucFactory; + +$myUpdateChecker = PucFactory::buildUpdateChecker( + 'https://example.com/info.json', + __FILE__, + 'my-slug' +); +``` + +Other classes have also been renamed, usually by simply removing the `Puc_vXpY_` prefix and converting `Category_Thing` to `Category\Thing`. Here's a table of the most commonly used classes and their new names: + +| Old class name | New class name | +|-------------------------------------|----------------------------------------------------------------| +| `Puc_v4_Factory` | `YahnisElsts\PluginUpdateChecker\v5\PucFactory` | +| `Puc_v4p13_Factory` | `YahnisElsts\PluginUpdateChecker\v5p3\PucFactory` | +| `Puc_v4p13_Plugin_UpdateChecker` | `YahnisElsts\PluginUpdateChecker\v5p3\Plugin\UpdateChecker` | +| `Puc_v4p13_Theme_UpdateChecker` | `YahnisElsts\PluginUpdateChecker\v5p3\Theme\UpdateChecker` | +| `Puc_v4p13_Vcs_PluginUpdateChecker` | `YahnisElsts\PluginUpdateChecker\v5p3\Vcs\PluginUpdateChecker` | +| `Puc_v4p13_Vcs_ThemeUpdateChecker` | `YahnisElsts\PluginUpdateChecker\v5p3\Vcs\ThemeUpdateChecker` | +| `Puc_v4p13_Vcs_GitHubApi` | `YahnisElsts\PluginUpdateChecker\v5p3\Vcs\GitHubApi` | +| `Puc_v4p13_Vcs_GitLabApi` | `YahnisElsts\PluginUpdateChecker\v5p3\Vcs\GitLabApi` | +| `Puc_v4p13_Vcs_BitBucketApi` | `YahnisElsts\PluginUpdateChecker\v5p3\Vcs\BitBucketApi` | + +License Management +------------------ + +Currently, the update checker doesn't have any built-in license management features. It only provides some hooks that you can use to, for example, append license keys to update requests (`$updateChecker->addQueryArgFilter()`). If you're looking for ways to manage and verify licenses, please post your feedback in [this issue](https://github.com/YahnisElsts/plugin-update-checker/issues/222). + +Resources +--------- + +- [This blog post](https://w-shadow.com/blog/2010/09/02/automatic-updates-for-any-plugin/) has more information about the update checker API. *Slightly out of date.* +- [Debug Bar](https://wordpress.org/plugins/debug-bar/) - useful for testing and debugging the update checker. +- [Update format reference](https://docs.google.com/spreadsheets/d/1eOBbW7Go2qEQXReOOCdidMTf_tDYRq4JfegcO1CBPIs/edit?usp=sharing) - describes all fields supported by the JSON-based update information format used by the update checker. Only covers plugins. Themes use a similar but more limited format. +- [Securing download links](https://w-shadow.com/blog/2013/03/19/plugin-updates-securing-download-links/) - a general overview. +- [A GUI for entering download credentials](https://open-tools.net/documentation/tutorial-automatic-updates.html#wordpress) +- [Theme Update Checker](https://w-shadow.com/blog/2011/06/02/automatic-updates-for-commercial-themes/) - an older, theme-only variant of this update checker. diff --git a/psource/psource-plugin-update/composer.json b/psource/psource-plugin-update/composer.json index a846761..27b65b0 100644 --- a/psource/psource-plugin-update/composer.json +++ b/psource/psource-plugin-update/composer.json @@ -3,7 +3,7 @@ "type": "library", "description": "A custom update checker for WordPress plugins and themes. Useful if you can't host your plugin in the official WP repository but still want it to support automatic updates.", "keywords": ["wordpress", "plugin updates", "automatic updates", "theme updates"], - "homepage": "https://github.com/Psource/plugin-update-checker/", + "homepage": "https://github.com/YahnisElsts/plugin-update-checker/", "license": "MIT", "authors": [ { @@ -18,6 +18,6 @@ "ext-json": "*" }, "autoload": { - "files": ["load-v5p0.php"] + "files": ["load-v5p3.php"] } } diff --git a/psource/psource-plugin-update/js/debug-bar.js b/psource/psource-plugin-update/js/debug-bar.js index 9cb65a0..80f53f1 100644 --- a/psource/psource-plugin-update/js/debug-bar.js +++ b/psource/psource-plugin-update/js/debug-bar.js @@ -14,6 +14,8 @@ jQuery(function($) { _wpnonce: panel.data('nonce') }, function(data) { + //The response contains HTML that should already be escaped in server-side code. + //phpcs:ignore WordPressVIPMinimum.JS.HTMLExecutingFunctions.html responseBox.html(data); }, 'html' diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-ca.mo b/psource/psource-plugin-update/languages/plugin-update-checker-ca.mo new file mode 100644 index 0000000..59645fa Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-ca.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-ca.po b/psource/psource-plugin-update/languages/plugin-update-checker-ca.po new file mode 100644 index 0000000..36f3ad7 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-ca.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-11-24 17:02+0200\n" +"PO-Revision-Date: 2019-09-25 18:15+0200\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.2.3\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: \n" +"Language: ca\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Comprova si hi ha actualitzacions" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "L’extensió %s està actualitzada." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Una nova versió de l’extensió %s està disponible." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "No s’ha pogut determinar si hi ha actualitzacions per a %s." + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Estat del comprovador d’actualitzacions desconegut \"%s\"" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "No hi ha cap registre de canvis disponible." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-cs_CZ.mo b/psource/psource-plugin-update/languages/plugin-update-checker-cs_CZ.mo new file mode 100644 index 0000000..ac6d20e Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-cs_CZ.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-cs_CZ.po b/psource/psource-plugin-update/languages/plugin-update-checker-cs_CZ.po new file mode 100644 index 0000000..2c9af18 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-cs_CZ.po @@ -0,0 +1,45 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2017-05-20 10:53+0300\n" +"PO-Revision-Date: 2017-07-05 15:39+0000\n" +"Last-Translator: Vojtěch Sajdl \n" +"Language-Team: Czech (Czech Republic)\n" +"Language: cs-CZ\n" +"Plural-Forms: nplurals=2; plural=(n != 1)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Loco-Source-Locale: cs_CZ\n" +"X-Generator: Loco - https://localise.biz/\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"X-Poedit-SearchPath-0: .\n" +"X-Loco-Parser: loco_parse_po" + +#: Puc/v4p1/Plugin/UpdateChecker.php:358 +msgid "Check for updates" +msgstr "Zkontrolovat aktualizace" + +#: Puc/v4p1/Plugin/UpdateChecker.php:405 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "Plugin %s je aktuální." + +#: Puc/v4p1/Plugin/UpdateChecker.php:407 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Nová verze pluginu %s je dostupná." + +#: Puc/v4p1/Plugin/UpdateChecker.php:409 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Neznámý status kontroly aktualizací \"%s\"" + +#: Puc/v4p1/Vcs/PluginUpdateChecker.php:83 +msgid "There is no changelog available." +msgstr "Changelog není dostupný." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-da_DK.mo b/psource/psource-plugin-update/languages/plugin-update-checker-da_DK.mo new file mode 100644 index 0000000..9c59670 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-da_DK.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-da_DK.po b/psource/psource-plugin-update/languages/plugin-update-checker-da_DK.po new file mode 100644 index 0000000..8f2bc0d --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-da_DK.po @@ -0,0 +1,42 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-05-20 10:53+0300\n" +"PO-Revision-Date: 2017-10-17 11:07+0200\n" +"Last-Translator: Mikk3lRo\n" +"Language-Team: Mikk3lRo\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.0.4\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Language: da_DK\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p1/Plugin/UpdateChecker.php:358 +msgid "Check for updates" +msgstr "Undersøg for opdateringer" + +#: Puc/v4p1/Plugin/UpdateChecker.php:405 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "Plugin'et %s er allerede opdateret." + +#: Puc/v4p1/Plugin/UpdateChecker.php:407 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "En ny version af plugin'et %s er tilgængelig." + +#: Puc/v4p1/Plugin/UpdateChecker.php:409 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Ukendt opdateringsstatus: \"%s\"" + +#: Puc/v4p1/Vcs/PluginUpdateChecker.php:83 +msgid "There is no changelog available." +msgstr "Der er ingen ændringslog tilgængelig." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-de_DE.mo b/psource/psource-plugin-update/languages/plugin-update-checker-de_DE.mo new file mode 100644 index 0000000..0734cae Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-de_DE.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-de_DE.po b/psource/psource-plugin-update/languages/plugin-update-checker-de_DE.po new file mode 100644 index 0000000..25234ba --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-de_DE.po @@ -0,0 +1,38 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2016-06-29 20:21+0100\n" +"PO-Revision-Date: 2016-06-29 20:23+0100\n" +"Last-Translator: Igor Lückel \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.1\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e\n" +"Language: de_DE\n" +"X-Poedit-SearchPath-0: .\n" + +#: github-checker.php:137 +msgid "There is no changelog available." +msgstr "Es ist keine Liste von Programmänderungen verfügbar." + +#: plugin-update-checker.php:852 +msgid "Check for updates" +msgstr "Nach Update suchen" + +#: plugin-update-checker.php:896 +msgid "This plugin is up to date." +msgstr "Das Plugin ist aktuell." + +#: plugin-update-checker.php:898 +msgid "A new version of this plugin is available." +msgstr "Es ist eine neue Version für das Plugin verfügbar." + +#: plugin-update-checker.php:900 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Unbekannter Update Status \"%s\"" diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_AR.mo b/psource/psource-plugin-update/languages/plugin-update-checker-es_AR.mo new file mode 100644 index 0000000..85afecd Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-es_AR.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_AR.po b/psource/psource-plugin-update/languages/plugin-update-checker-es_AR.po new file mode 100644 index 0000000..80b1c1a --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-es_AR.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-11-24 17:02+0200\n" +"PO-Revision-Date: 2020-03-21 15:13-0400\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.3\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: \n" +"Language: es_ES\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Comprobar si hay actualizaciones" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "El plugin %s está actualizado." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Una nueva versión del %s plugin está disponible." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Estado del comprobador de actualización desconocido «%s»" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "No hay un registro de cambios disponible." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_CL.mo b/psource/psource-plugin-update/languages/plugin-update-checker-es_CL.mo new file mode 100644 index 0000000..de9c752 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-es_CL.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_CL.po b/psource/psource-plugin-update/languages/plugin-update-checker-es_CL.po new file mode 100644 index 0000000..1ab41b1 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-es_CL.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-11-24 17:02+0200\n" +"PO-Revision-Date: 2020-03-21 15:14-0400\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.3\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: \n" +"Language: es_ES\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Comprobar si hay actualizaciones" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "El plugin %s está actualizado." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Una nueva versión del %s plugin está disponible." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Estado del comprobador de actualización desconocido «%s»" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "No hay un registro de cambios disponible." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_CO.mo b/psource/psource-plugin-update/languages/plugin-update-checker-es_CO.mo new file mode 100644 index 0000000..de9c752 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-es_CO.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_CO.po b/psource/psource-plugin-update/languages/plugin-update-checker-es_CO.po new file mode 100644 index 0000000..1ab41b1 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-es_CO.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-11-24 17:02+0200\n" +"PO-Revision-Date: 2020-03-21 15:14-0400\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.3\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: \n" +"Language: es_ES\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Comprobar si hay actualizaciones" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "El plugin %s está actualizado." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Una nueva versión del %s plugin está disponible." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Estado del comprobador de actualización desconocido «%s»" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "No hay un registro de cambios disponible." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_CR.mo b/psource/psource-plugin-update/languages/plugin-update-checker-es_CR.mo new file mode 100644 index 0000000..de9c752 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-es_CR.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_CR.po b/psource/psource-plugin-update/languages/plugin-update-checker-es_CR.po new file mode 100644 index 0000000..1ab41b1 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-es_CR.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-11-24 17:02+0200\n" +"PO-Revision-Date: 2020-03-21 15:14-0400\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.3\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: \n" +"Language: es_ES\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Comprobar si hay actualizaciones" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "El plugin %s está actualizado." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Una nueva versión del %s plugin está disponible." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Estado del comprobador de actualización desconocido «%s»" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "No hay un registro de cambios disponible." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_DO.mo b/psource/psource-plugin-update/languages/plugin-update-checker-es_DO.mo new file mode 100644 index 0000000..de9c752 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-es_DO.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_DO.po b/psource/psource-plugin-update/languages/plugin-update-checker-es_DO.po new file mode 100644 index 0000000..1ab41b1 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-es_DO.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-11-24 17:02+0200\n" +"PO-Revision-Date: 2020-03-21 15:14-0400\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.3\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: \n" +"Language: es_ES\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Comprobar si hay actualizaciones" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "El plugin %s está actualizado." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Una nueva versión del %s plugin está disponible." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Estado del comprobador de actualización desconocido «%s»" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "No hay un registro de cambios disponible." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_ES.mo b/psource/psource-plugin-update/languages/plugin-update-checker-es_ES.mo new file mode 100644 index 0000000..1cf71f4 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-es_ES.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_ES.po b/psource/psource-plugin-update/languages/plugin-update-checker-es_ES.po new file mode 100644 index 0000000..c404f91 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-es_ES.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-11-24 17:02+0200\n" +"PO-Revision-Date: 2020-03-21 14:56-0400\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.3\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: \n" +"Language: es_ES\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Comprobar si hay actualizaciones" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "El plugin %s está actualizado." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Una nueva versión del %s plugin está disponible." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Estado del comprobador de actualización desconocido «%s»" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "No hay un registro de cambios disponible." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_GT.mo b/psource/psource-plugin-update/languages/plugin-update-checker-es_GT.mo new file mode 100644 index 0000000..de9c752 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-es_GT.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_GT.po b/psource/psource-plugin-update/languages/plugin-update-checker-es_GT.po new file mode 100644 index 0000000..1ab41b1 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-es_GT.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-11-24 17:02+0200\n" +"PO-Revision-Date: 2020-03-21 15:14-0400\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.3\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: \n" +"Language: es_ES\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Comprobar si hay actualizaciones" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "El plugin %s está actualizado." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Una nueva versión del %s plugin está disponible." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Estado del comprobador de actualización desconocido «%s»" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "No hay un registro de cambios disponible." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_HN.mo b/psource/psource-plugin-update/languages/plugin-update-checker-es_HN.mo new file mode 100644 index 0000000..de9c752 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-es_HN.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_HN.po b/psource/psource-plugin-update/languages/plugin-update-checker-es_HN.po new file mode 100644 index 0000000..1ab41b1 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-es_HN.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-11-24 17:02+0200\n" +"PO-Revision-Date: 2020-03-21 15:14-0400\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.3\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: \n" +"Language: es_ES\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Comprobar si hay actualizaciones" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "El plugin %s está actualizado." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Una nueva versión del %s plugin está disponible." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Estado del comprobador de actualización desconocido «%s»" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "No hay un registro de cambios disponible." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_MX.mo b/psource/psource-plugin-update/languages/plugin-update-checker-es_MX.mo new file mode 100644 index 0000000..9ce83f6 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-es_MX.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_MX.po b/psource/psource-plugin-update/languages/plugin-update-checker-es_MX.po new file mode 100644 index 0000000..0e29c45 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-es_MX.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-11-24 17:02+0200\n" +"PO-Revision-Date: 2020-03-21 14:57-0400\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.3\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: \n" +"Language: es_ES\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Comprobar si hay actualizaciones" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "El plugin %s está actualizado." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Una nueva versión del %s plugin está disponible." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Estado del comprobador de actualización desconocido «%s»" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "No hay un registro de cambios disponible." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_PE.mo b/psource/psource-plugin-update/languages/plugin-update-checker-es_PE.mo new file mode 100644 index 0000000..92c4f34 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-es_PE.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_PE.po b/psource/psource-plugin-update/languages/plugin-update-checker-es_PE.po new file mode 100644 index 0000000..c0db8e3 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-es_PE.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-11-24 17:02+0200\n" +"PO-Revision-Date: 2020-03-21 15:15-0400\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.3\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: \n" +"Language: es_ES\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Comprobar si hay actualizaciones" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "El plugin %s está actualizado." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Una nueva versión del %s plugin está disponible." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Estado del comprobador de actualización desconocido «%s»" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "No hay un registro de cambios disponible." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_PR.mo b/psource/psource-plugin-update/languages/plugin-update-checker-es_PR.mo new file mode 100644 index 0000000..92c4f34 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-es_PR.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_PR.po b/psource/psource-plugin-update/languages/plugin-update-checker-es_PR.po new file mode 100644 index 0000000..c0db8e3 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-es_PR.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-11-24 17:02+0200\n" +"PO-Revision-Date: 2020-03-21 15:15-0400\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.3\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: \n" +"Language: es_ES\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Comprobar si hay actualizaciones" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "El plugin %s está actualizado." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Una nueva versión del %s plugin está disponible." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Estado del comprobador de actualización desconocido «%s»" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "No hay un registro de cambios disponible." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_UY.mo b/psource/psource-plugin-update/languages/plugin-update-checker-es_UY.mo new file mode 100644 index 0000000..92c4f34 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-es_UY.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_UY.po b/psource/psource-plugin-update/languages/plugin-update-checker-es_UY.po new file mode 100644 index 0000000..c0db8e3 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-es_UY.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-11-24 17:02+0200\n" +"PO-Revision-Date: 2020-03-21 15:15-0400\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.3\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: \n" +"Language: es_ES\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Comprobar si hay actualizaciones" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "El plugin %s está actualizado." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Una nueva versión del %s plugin está disponible." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Estado del comprobador de actualización desconocido «%s»" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "No hay un registro de cambios disponible." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_VE.mo b/psource/psource-plugin-update/languages/plugin-update-checker-es_VE.mo new file mode 100644 index 0000000..9ce83f6 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-es_VE.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-es_VE.po b/psource/psource-plugin-update/languages/plugin-update-checker-es_VE.po new file mode 100644 index 0000000..0e29c45 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-es_VE.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-11-24 17:02+0200\n" +"PO-Revision-Date: 2020-03-21 14:57-0400\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.3\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: \n" +"Language: es_ES\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Comprobar si hay actualizaciones" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "El plugin %s está actualizado." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Una nueva versión del %s plugin está disponible." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "No se pudo determinar si hay actualizaciones disponibles para %s." + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Estado del comprobador de actualización desconocido «%s»" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "No hay un registro de cambios disponible." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-fa_IR.mo b/psource/psource-plugin-update/languages/plugin-update-checker-fa_IR.mo new file mode 100644 index 0000000..a68f100 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-fa_IR.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-fa_IR.po b/psource/psource-plugin-update/languages/plugin-update-checker-fa_IR.po new file mode 100644 index 0000000..20b6938 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-fa_IR.po @@ -0,0 +1,38 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2016-02-17 14:21+0100\n" +"PO-Revision-Date: 2016-10-28 14:30+0330\n" +"Last-Translator: studio RVOLA \n" +"Language-Team: Pro Style \n" +"Language: fa_IR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.8\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e\n" +"X-Poedit-SearchPath-0: .\n" + +#: github-checker.php:120 +msgid "There is no changelog available." +msgstr "شرحی برای تغییرات یافت نشد" + +#: plugin-update-checker.php:637 +msgid "Check for updates" +msgstr "بررسی برای بروزرسانی " + +#: plugin-update-checker.php:681 +msgid "This plugin is up to date." +msgstr "شما از آخرین نسخه استفاده میکنید . به‌روز باشید" + +#: plugin-update-checker.php:683 +msgid "A new version of this plugin is available." +msgstr "نسخه جدیدی برای افزونه ارائه شده است ." + +#: plugin-update-checker.php:685 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "وضعیت ناشناخته برای بروزرسانی \"%s\"" diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-fr_CA.mo b/psource/psource-plugin-update/languages/plugin-update-checker-fr_CA.mo new file mode 100644 index 0000000..24639b6 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-fr_CA.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-fr_CA.po b/psource/psource-plugin-update/languages/plugin-update-checker-fr_CA.po new file mode 100644 index 0000000..5dfa8ba --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-fr_CA.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-11-24 17:02+0200\n" +"PO-Revision-Date: 2018-02-12 10:32-0500\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.0.4\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: Eric Gagnon \n" +"Language: fr_CA\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Vérifier les mises à jour" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "L’extension %s est à jour." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Une nouvelle version de l’extension %s est disponible." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "Impossible de déterminer si une mise à jour est disponible pour \"%s\"" + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Un problème inconnu est survenu \"%s\"" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "Il n’y a aucun journal de mise à jour disponible." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-fr_FR.mo b/psource/psource-plugin-update/languages/plugin-update-checker-fr_FR.mo new file mode 100644 index 0000000..a492d96 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-fr_FR.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-fr_FR.po b/psource/psource-plugin-update/languages/plugin-update-checker-fr_FR.po new file mode 100644 index 0000000..9f18e2c --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-fr_FR.po @@ -0,0 +1,42 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-07-07 14:53+0200\n" +"PO-Revision-Date: 2017-07-07 14:54+0200\n" +"Language-Team: studio RVOLA \n" +"Language: fr_FR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.0.2\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: Nicolas GEHIN\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p1/Plugin/UpdateChecker.php:358 +msgid "Check for updates" +msgstr "Vérifier les mises à jour" + +#: Puc/v4p1/Plugin/UpdateChecker.php:405 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "L’extension %s est à jour." + +#: Puc/v4p1/Plugin/UpdateChecker.php:407 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Une nouvelle version de l’extension %s est disponible." + +#: Puc/v4p1/Plugin/UpdateChecker.php:409 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Un problème inconnu est survenu \"%s\"" + +#: Puc/v4p1/Vcs/PluginUpdateChecker.php:85 +msgid "There is no changelog available." +msgstr "Il n’y a aucun journal de mise à jour disponible." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-hu_HU.mo b/psource/psource-plugin-update/languages/plugin-update-checker-hu_HU.mo new file mode 100644 index 0000000..4789ef1 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-hu_HU.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-hu_HU.po b/psource/psource-plugin-update/languages/plugin-update-checker-hu_HU.po new file mode 100644 index 0000000..df22657 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-hu_HU.po @@ -0,0 +1,41 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2016-01-11 21:23+0100\n" +"PO-Revision-Date: 2016-01-11 21:25+0100\n" +"Last-Translator: Tamás András Horváth \n" +"Language-Team: \n" +"Language: hu_HU\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.6\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e\n" +"X-Poedit-SearchPath-0: .\n" + +#: github-checker.php:137 +msgid "There is no changelog available." +msgstr "Nem érhető el a changelog." + +#: plugin-update-checker.php:852 +msgid "Check for updates" +msgstr "Frissítés ellenőrzése" + +#: plugin-update-checker.php:896 +msgid "This plugin is up to date." +msgstr "Ez a plugin naprakész." + +#: plugin-update-checker.php:898 +msgid "A new version of this plugin is available." +msgstr "Új verzió érhető el a kiegészítőhöz" + +#: plugin-update-checker.php:900 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Ismeretlen a frissítés ellenőrző státusza \"%s\"" + +#~ msgid "Every %d hours" +#~ msgstr "Minden %d órában" diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-it_IT.mo b/psource/psource-plugin-update/languages/plugin-update-checker-it_IT.mo new file mode 100644 index 0000000..4b40d32 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-it_IT.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-it_IT.po b/psource/psource-plugin-update/languages/plugin-update-checker-it_IT.po new file mode 100644 index 0000000..db62bb1 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-it_IT.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2020-08-08 14:36+0300\n" +"PO-Revision-Date: 2022-05-20 00:17+0200\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 3.0\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: d79\n" +"Language: it_IT\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p11/Plugin/Ui.php:128 +msgid "Check for updates" +msgstr "Verifica aggiornamenti" + +#: Puc/v4p11/Plugin/Ui.php:213 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "Il plugin %s è aggiornato." + +#: Puc/v4p11/Plugin/Ui.php:215 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Una nuova versione del plugin %s è disponibile." + +#: Puc/v4p11/Plugin/Ui.php:217 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "Non è possibile verificare se c'è un aggiornamento disponibile per %s." + +#: Puc/v4p11/Plugin/Ui.php:223 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Stato di controllo aggiornamenti sconosciuto \"%s\"" + +#: Puc/v4p11/Vcs/PluginUpdateChecker.php:98 +msgid "There is no changelog available." +msgstr "Non c'è alcun registro delle modifiche disponibile." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-ja.mo b/psource/psource-plugin-update/languages/plugin-update-checker-ja.mo new file mode 100644 index 0000000..941b6ba Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-ja.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-ja.po b/psource/psource-plugin-update/languages/plugin-update-checker-ja.po new file mode 100644 index 0000000..5a5c5ff --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-ja.po @@ -0,0 +1,57 @@ +msgid "" +msgstr "" +"Project-Id-Version: \n" +"POT-Creation-Date: 2019-07-15 17:07+0900\n" +"PO-Revision-Date: 2019-07-15 17:12+0900\n" +"Last-Translator: tak \n" +"Language-Team: \n" +"Language: ja_JP\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.2.3\n" +"X-Poedit-Basepath: ../../../../../../Applications/XAMPP/xamppfiles/htdocs/" +"kisagai/wordpress/wp-content/plugins/simple-stripe-gateway/Puc\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Poedit-KeywordsList: __;_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" + +#: v4p7/Plugin/Ui.php:54 +msgid "View details" +msgstr "詳細を表示" + +#: v4p7/Plugin/Ui.php:77 +#, php-format +msgid "More information about %s" +msgstr "%sについての詳細" + +#: v4p7/Plugin/Ui.php:128 +msgid "Check for updates" +msgstr "アップデートを確認" + +#: v4p7/Plugin/Ui.php:213 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "%s プラグインは、最新バージョンです。" + +#: v4p7/Plugin/Ui.php:215 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "%s プラグインの最新バージョンがあります。" + +#: v4p7/Plugin/Ui.php:217 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "%s のアップデートがあるかどうかを判断できませんでした。" + +#: v4p7/Plugin/Ui.php:223 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "バージョンアップの確認で想定外の状態になりました。ステータス:”%s”" + +#: v4p7/Vcs/PluginUpdateChecker.php:98 +msgid "There is no changelog available." +msgstr "更新履歴はありません。" diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-nl_BE.mo b/psource/psource-plugin-update/languages/plugin-update-checker-nl_BE.mo new file mode 100644 index 0000000..1cea26d Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-nl_BE.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-nl_BE.po b/psource/psource-plugin-update/languages/plugin-update-checker-nl_BE.po new file mode 100644 index 0000000..e1734bb --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-nl_BE.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2018-03-25 18:15+0200\n" +"PO-Revision-Date: 2018-03-25 18:32+0200\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.7.1\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: Frank Goossens \n" +"Language: nl_BE\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Controleer op nieuwe versies" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "De meest recente %s versie is geïnstalleerd." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Er is een nieuwe versie van %s beschikbaar." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "Kon niet bepalen of er nieuwe versie van %s beschikbaar is." + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Ongekende status bij controle op nieuwe versie: \"%s\"" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "Er is geen changelog beschikbaar." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-nl_NL.mo b/psource/psource-plugin-update/languages/plugin-update-checker-nl_NL.mo new file mode 100644 index 0000000..16dde62 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-nl_NL.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-nl_NL.po b/psource/psource-plugin-update/languages/plugin-update-checker-nl_NL.po new file mode 100644 index 0000000..7f57a89 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-nl_NL.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2018-03-25 18:15+0200\n" +"PO-Revision-Date: 2018-03-25 18:32+0200\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.7.1\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: Frank Goossens \n" +"Language: nl_NL\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Controleer op nieuwe versies" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "De meest recente %s versie is geïnstalleerd." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Er is een nieuwe versie van %s beschikbaar." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "Kon niet bepalen of er nieuwe versie van %s beschikbaar is." + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Ongekende status bij controle op nieuwe versie: \"%s\"" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "Er is geen changelog beschikbaar." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-pt_BR.mo b/psource/psource-plugin-update/languages/plugin-update-checker-pt_BR.mo new file mode 100644 index 0000000..d1c0f28 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-pt_BR.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-pt_BR.po b/psource/psource-plugin-update/languages/plugin-update-checker-pt_BR.po new file mode 100644 index 0000000..70a0f62 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-pt_BR.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-05-19 15:41-0300\n" +"PO-Revision-Date: 2017-05-19 15:42-0300\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 1.8.8\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x;_x:1,2c\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p1/Plugin/UpdateChecker.php:358 +msgid "Check for updates" +msgstr "Verificar Atualizações" + +#: Puc/v4p1/Plugin/UpdateChecker.php:401 Puc/v4p1/Plugin/UpdateChecker.php:406 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "O plugin %s já está na sua versão mais recente." + +#: Puc/v4p1/Plugin/UpdateChecker.php:408 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Há uma nova versão para o plugin %s disponível para download." + +#: Puc/v4p1/Plugin/UpdateChecker.php:410 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Status \"%s\" desconhecido." + +#: Puc/v4p1/Vcs/PluginUpdateChecker.php:83 +msgid "There is no changelog available." +msgstr "Não há um changelog disponível." + +#~ msgid "The %s plugin is up to date." +#~ msgstr "O plugin %s já está na sua versão mais recente." + +#~ msgid "A new version of the %s plugin is available." +#~ msgstr "Há uma nova versão para o plugin %s disponível para download." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-ru_RU.mo b/psource/psource-plugin-update/languages/plugin-update-checker-ru_RU.mo new file mode 100644 index 0000000..50b330e Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-ru_RU.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-ru_RU.po b/psource/psource-plugin-update/languages/plugin-update-checker-ru_RU.po new file mode 100644 index 0000000..33a1199 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-ru_RU.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2020-08-08 14:36+0300\n" +"PO-Revision-Date: 2021-12-20 17:59+0200\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.2\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: \n" +"Language: ru_RU\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p11/Plugin/Ui.php:128 +msgid "Check for updates" +msgstr "Проверить обновления" + +#: Puc/v4p11/Plugin/Ui.php:213 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "Плагин %s обновлён." + +#: Puc/v4p11/Plugin/Ui.php:215 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Новая версия %s доступна." + +#: Puc/v4p11/Plugin/Ui.php:217 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "Не удалось определить, доступны ли обновления для %s." + +#: Puc/v4p11/Plugin/Ui.php:223 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Неизвестный статус средства проверки обновлений \"%s\"" + +#: Puc/v4p11/Vcs/PluginUpdateChecker.php:98 +msgid "There is no changelog available." +msgstr "Журнал изменений отсутствует." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-sl_SI.mo b/psource/psource-plugin-update/languages/plugin-update-checker-sl_SI.mo new file mode 100644 index 0000000..df47ca7 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-sl_SI.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-sl_SI.po b/psource/psource-plugin-update/languages/plugin-update-checker-sl_SI.po new file mode 100644 index 0000000..385d801 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-sl_SI.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-11-24 17:02+0200\n" +"PO-Revision-Date: 2018-10-27 20:36+0200\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.2\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100>=3 && n%100<=4 ? 2 : 3);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: Igor Funa\n" +"Language: sl_SI\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Preveri posodobitve" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "Vtičnik %s je že posodobljen." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Nova različica vtičnika %s je na razpolago." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "Ne morem ugotoviti če se za vtičnik %s na razpolago posodobitve." + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Neznan status preverjanja posodobitev za \"%s\"" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "Dnevnik sprememb ni na razpolago." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-sv_SE.mo b/psource/psource-plugin-update/languages/plugin-update-checker-sv_SE.mo new file mode 100644 index 0000000..4d06fc1 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-sv_SE.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-sv_SE.po b/psource/psource-plugin-update/languages/plugin-update-checker-sv_SE.po new file mode 100644 index 0000000..b894814 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-sv_SE.po @@ -0,0 +1,42 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-05-20 10:53+0300\n" +"PO-Revision-Date: 2017-10-16 15:02+0200\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.0.4\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: \n" +"Language: sv_SE\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p1/Plugin/UpdateChecker.php:358 +msgid "Check for updates" +msgstr "Sök efter uppdateringar" + +#: Puc/v4p1/Plugin/UpdateChecker.php:405 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "Tillägget %s är uppdaterat." + +#: Puc/v4p1/Plugin/UpdateChecker.php:407 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Det finns en ny version av tillägget %s." + +#: Puc/v4p1/Plugin/UpdateChecker.php:409 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Okänd status för kontroll av uppdatering “%s”" + +#: Puc/v4p1/Vcs/PluginUpdateChecker.php:83 +msgid "There is no changelog available." +msgstr "Det finns ingen ändringslogg tillgänglig." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-tr_TR.mo b/psource/psource-plugin-update/languages/plugin-update-checker-tr_TR.mo new file mode 100644 index 0000000..58be2f9 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-tr_TR.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-tr_TR.po b/psource/psource-plugin-update/languages/plugin-update-checker-tr_TR.po new file mode 100644 index 0000000..ba5e291 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-tr_TR.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2017-11-24 17:02+0200\n" +"PO-Revision-Date: 2021-11-15 19:07+0300\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 3.0\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: Emre Erkan \n" +"Language: tr\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p3/Plugin/UpdateChecker.php:395 +msgid "Check for updates" +msgstr "Güncellemeleri kontrol et" + +#: Puc/v4p3/Plugin/UpdateChecker.php:548 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "%s eklentisi güncel." + +#: Puc/v4p3/Plugin/UpdateChecker.php:550 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "%s eklentisinin yeni bir sürümü mevcut." + +#: Puc/v4p3/Plugin/UpdateChecker.php:552 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "%s için güncelleme olup olmadığı belirlenemedi." + +#: Puc/v4p3/Plugin/UpdateChecker.php:558 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Bilinmeyen güncelleme denetleyicisi durumu \"%s\"" + +#: Puc/v4p3/Vcs/PluginUpdateChecker.php:95 +msgid "There is no changelog available." +msgstr "Kullanılabilir bir değişiklik yok." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-uk_UA.mo b/psource/psource-plugin-update/languages/plugin-update-checker-uk_UA.mo new file mode 100644 index 0000000..79494e5 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-uk_UA.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-uk_UA.po b/psource/psource-plugin-update/languages/plugin-update-checker-uk_UA.po new file mode 100644 index 0000000..b84b16e --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-uk_UA.po @@ -0,0 +1,48 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2020-08-08 14:36+0300\n" +"PO-Revision-Date: 2021-12-20 17:55+0200\n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.2\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"Last-Translator: \n" +"Language: uk_UA\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p11/Plugin/Ui.php:128 +msgid "Check for updates" +msgstr "Перевірити оновлення" + +#: Puc/v4p11/Plugin/Ui.php:213 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "Плагін %s оновлено." + +#: Puc/v4p11/Plugin/Ui.php:215 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "Нова версія %s доступна." + +#: Puc/v4p11/Plugin/Ui.php:217 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "Не вдалося визначити, чи доступні оновлення для %s." + +#: Puc/v4p11/Plugin/Ui.php:223 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "Невідомий статус перевірки оновлень \"%s\"" + +#: Puc/v4p11/Vcs/PluginUpdateChecker.php:98 +msgid "There is no changelog available." +msgstr "Немає доступного журналу змін." diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-zh_CN.mo b/psource/psource-plugin-update/languages/plugin-update-checker-zh_CN.mo new file mode 100644 index 0000000..86d1144 Binary files /dev/null and b/psource/psource-plugin-update/languages/plugin-update-checker-zh_CN.mo differ diff --git a/psource/psource-plugin-update/languages/plugin-update-checker-zh_CN.po b/psource/psource-plugin-update/languages/plugin-update-checker-zh_CN.po new file mode 100644 index 0000000..d4f7056 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker-zh_CN.po @@ -0,0 +1,57 @@ +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2022-01-29 12:09+0800\n" +"PO-Revision-Date: 2022-01-29 12:10+0800\n" +"Last-Translator: Seaton Jiang \n" +"Language-Team: \n" +"Language: zh_CN\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: Poedit 2.4.3\n" +"X-Poedit-Basepath: ..\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v4p11/Plugin/Ui.php:54 +msgid "View details" +msgstr "查看详情" + +#: Puc/v4p11/Plugin/Ui.php:77 +#, php-format +msgid "More information about %s" +msgstr "%s 的更多信息" + +#: Puc/v4p11/Plugin/Ui.php:128 +msgid "Check for updates" +msgstr "检查更新" + +#: Puc/v4p11/Plugin/Ui.php:214 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "%s 目前是最新版本。" + +#: Puc/v4p11/Plugin/Ui.php:216 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "%s 当前有可用的更新。" + +#: Puc/v4p11/Plugin/Ui.php:218 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "%s 无法确定是否有可用的更新。" + +#: Puc/v4p11/Plugin/Ui.php:224 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "未知的更新检查状态:%s" + +#: Puc/v4p11/Vcs/PluginUpdateChecker.php:100 +msgid "There is no changelog available." +msgstr "没有可用的更新日志。" diff --git a/psource/psource-plugin-update/languages/plugin-update-checker.pot b/psource/psource-plugin-update/languages/plugin-update-checker.pot new file mode 100644 index 0000000..4985307 --- /dev/null +++ b/psource/psource-plugin-update/languages/plugin-update-checker.pot @@ -0,0 +1,49 @@ +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: plugin-update-checker\n" +"POT-Creation-Date: 2022-07-29 15:34+0300\n" +"PO-Revision-Date: 2016-01-10 20:59+0100\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: en_US\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"X-Generator: Poedit 3.1.1\n" +"X-Poedit-Basepath: ..\n" +"X-Poedit-SourceCharset: UTF-8\n" +"X-Poedit-KeywordsList: __;_e;_x:1,2c;_x\n" +"X-Poedit-SearchPath-0: .\n" + +#: Puc/v5p3/Plugin/Ui.php:128 +msgid "Check for updates" +msgstr "" + +#: Puc/v5p3/Plugin/Ui.php:214 +#, php-format +msgctxt "the plugin title" +msgid "The %s plugin is up to date." +msgstr "" + +#: Puc/v5p3/Plugin/Ui.php:216 +#, php-format +msgctxt "the plugin title" +msgid "A new version of the %s plugin is available." +msgstr "" + +#: Puc/v5p3/Plugin/Ui.php:218 +#, php-format +msgctxt "the plugin title" +msgid "Could not determine if updates are available for %s." +msgstr "" + +#: Puc/v5p3/Plugin/Ui.php:224 +#, php-format +msgid "Unknown update checker status \"%s\"" +msgstr "" + +#: Puc/v5p3/Vcs/PluginUpdateChecker.php:100 +msgid "There is no changelog available." +msgstr "" diff --git a/psource/psource-plugin-update/license.txt b/psource/psource-plugin-update/license.txt index be948f6..7fff536 100644 --- a/psource/psource-plugin-update/license.txt +++ b/psource/psource-plugin-update/license.txt @@ -1,4 +1,4 @@ -Copyright (c) 2017 Jānis Elsts +Copyright (c) 2023 Jānis Elsts Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/psource/psource-plugin-update/load-v5p0.php b/psource/psource-plugin-update/load-v5p3.php similarity index 74% rename from psource/psource-plugin-update/load-v5p0.php rename to psource/psource-plugin-update/load-v5p3.php index 6ecf437..1de3d58 100644 --- a/psource/psource-plugin-update/load-v5p0.php +++ b/psource/psource-plugin-update/load-v5p3.php @@ -1,14 +1,14 @@ $pucVersionedClass ) { - MajorFactory::addVersion($pucGeneralClass, $pucVersionedClass, '5.0'); + MajorFactory::addVersion($pucGeneralClass, $pucVersionedClass, '5.3'); //Also add it to the minor-version factory in case the major-version factory //was already defined by another, older version of the update checker. - MinorFactory::addVersion($pucGeneralClass, $pucVersionedClass, '5.0'); + MinorFactory::addVersion($pucGeneralClass, $pucVersionedClass, '5.3'); } diff --git a/psource/psource-plugin-update/phpcs.xml b/psource/psource-plugin-update/phpcs.xml new file mode 100644 index 0000000..e8260b9 --- /dev/null +++ b/psource/psource-plugin-update/phpcs.xml @@ -0,0 +1,21 @@ + + + PHPCS settings for Plugin Update Checker + + + + + + + + ./ + + + + + + + + + ^vendor/* + diff --git a/psource/psource-plugin-update/plugin-update-checker.php b/psource/psource-plugin-update/plugin-update-checker.php new file mode 100644 index 0000000..7a9268c --- /dev/null +++ b/psource/psource-plugin-update/plugin-update-checker.php @@ -0,0 +1,10 @@ +setBranch('master'); + if ( ! defined( 'ABSPATH' ) ) { die( 'Es tut uns leid, aber Du kannst nicht direkt auf diese Datei zugreifen.' ); } -require 'psource/psource-plugin-update/psource-plugin-updater.php'; -use Psource\PluginUpdateChecker\v5\PucFactory; -$MyUpdateChecker = PucFactory::buildUpdateChecker( - 'https://n3rds.work//wp-update-server/?action=get_metadata&slug=ps-maps', - __FILE__, - 'ps-maps' -); - // Define plugin constants. define( 'AGM_PLUGIN', basename( dirname( __FILE__ ) ) . '/' . basename( __FILE__ ) ); define( 'AGM_PLUGIN_DIRNAME', basename( dirname( __FILE__ ) ) ); diff --git a/readme.txt b/readme.txt index ff14d7f..14a1403 100644 --- a/readme.txt +++ b/readme.txt @@ -1,5 +1,5 @@ === PS Google Maps === -Contributors: DerN3rd (WMS N@W) +Contributors: DerN3rd (PSOURCE) Donate link: https://n3rds.work/spendenaktionen/unterstuetze-unsere-psource-free-werke/ Tags: multisite, abstimmung, voting, post, Requires at least: 4.9