diff --git a/functions.php b/functions.php index d83dd81..1d12060 100644 --- a/functions.php +++ b/functions.php @@ -20,9 +20,8 @@ function load_modules() { if (get_option('pasw_eulaw') != 0) { require ( get_template_directory() . '/include/moduli/pasw2015-eulaw.php' ); } if (get_option('pasw_post_tpl') != 0) { require ( get_template_directory() . '/include/moduli/pasw2015-post-templates.php' ); } } -add_action('admin_init', "reg_set_p"); - -function reg_set_p() { +add_action('admin_init', function() { + require (get_template_directory() . '/include/moduli-pasw2015.php' ); register_setting( 'pasw2015_options', 'pasw_social'); @@ -73,14 +72,13 @@ function reg_set_p() { wp_safe_redirect(admin_url('/admin.php?page=pasw2015', 'http'), 301); } -} +} ); -add_action('admin_notices', 'pasw_admin_messages'); -function pasw_admin_messages() {; +add_action('admin_notices', function() { - if ( isset($_GET['pasw2015alert'])) { - update_option( 'pasw2015_versionalert', '0' ); - } + if ( isset($_GET['pasw2015alert'])) { + update_option( 'pasw2015_versionalert', '0' ); + } if ( get_option('pasw2015_versionalert') == '1.6.6') { echo ' @@ -93,7 +91,7 @@ function pasw_admin_messages() {;
'; } -} +} ); add_action( 'after_setup_theme', 'pasw2015_setup' ); add_action('admin_notices', 'pasw_alerts'); diff --git a/github/CHANGES.md b/github/CHANGES.md deleted file mode 100644 index 5179326..0000000 --- a/github/CHANGES.md +++ /dev/null @@ -1,428 +0,0 @@ -#### 4.6.2 -* refactor remote update services to new `class Remote_Update` -* general security fixes, don't call files directly... -* fix/test for remote updating via InfiniteWP. Child themes are not identified by IWP as needing updates, otherwise it seems to work as expected. - -#### 4.6.1 -* fix for remote updating via iThemes Sync -* fix for renaming when AJAX updating of plugins - -#### 4.6.0 -* newer, much more precise method for renaming based upon selected repos from the dashboard. Yes, I tested on staging server. :-) -* added feature to use extended naming of plugin directories to avoid potential conflict with WP.org slugs. Props @reinink for the idea. -* strip `.git` from the end of the plugin or theme URI for those who haven't gotten to the README yet. -* added javascript show/hide options on the Install page. -* fixed boolean logic to _not_ display GitLab Private Token input on Install if it's already set. -* updated screenshots in README -* switched a number of methods to be non-static, anticipation of testing. -* [broken: renaming during updates from upgrade services](https://github.com/afragen/github-updater/issues/262) - -#### 4.5.7 -* hotfix GitLab private updating/installing -* fix some PHP notices - -#### 4.5.6 -* bugfix for renaming code to properly strip `CHANGES."
-#~ "md
or CHANGELOG.md
in your repository."
-#~ msgstr ""
-#~ "ملف متابعة التغيرات غير متوافر من خلال GitHub Updater. قم بإنشاء ملف "
-#~ "CHANGES.md
أو CHANGELOG.md
في المستودع الخاص بك"
-
-#, fuzzy
-#~ msgid "%sView version %s details%s or %supdate now%s."
-#~ msgstr ""
-#~ " مراجعة تفاصيل الإصدار %3$s أو حدث الأن "
-#~ "a>."
-
-#~ msgid "URI"
-#~ msgstr "(الرابط)"
-
-#~ msgid "available now."
-#~ msgstr "متوافر الأن"
-
-#~ msgid "View version"
-#~ msgstr "رؤية الإصدار"
-
-#~ msgid "or"
-#~ msgstr "أو"
-
-#~ msgid "update now"
-#~ msgstr "حدث الأن"
-
-#~ msgid "another version?"
-#~ msgstr "نسخة أخرى ؟"
-
-#~ msgid ""
-#~ "GitHub Updater will not load. It requires PHP 5.3 or greater. Please ask "
-#~ "your service provider to update PHP on your server"
-#~ msgstr ""
-#~ "لن يتم تفعيل الإضافة . إن الإضافة تحتاج PHP 5.3 أو أعلى . الرجاء طلب "
-#~ "تحديث النسخة الحالية من قبل مزود الخدمة"
diff --git a/github/languages/github-updater-de_AT.mo b/github/languages/github-updater-de_AT.mo
deleted file mode 100644
index c86d53f..0000000
Binary files a/github/languages/github-updater-de_AT.mo and /dev/null differ
diff --git a/github/languages/github-updater-de_AT.po b/github/languages/github-updater-de_AT.po
deleted file mode 100644
index ca944f8..0000000
--- a/github/languages/github-updater-de_AT.po
+++ /dev/null
@@ -1,342 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: GitHub Updater\n"
-"POT-Creation-Date: 2015-06-08 20:23-0800\n"
-"PO-Revision-Date: 2015-06-08 20:23-0800\n"
-"Last-Translator: Linus Metzler CHANGES."
-#~ "md
or CHANGELOG.md
in your repository."
-#~ msgstr ""
-#~ "Keine Änderungsprotokoll verfügbar via GitHub Updater. Erstellen Sie eine "
-#~ "Datei CHANGES.md
oder CHANGELOG.md
in Ihrem "
-#~ "Repository."
diff --git a/github/languages/github-updater-de_CH.mo b/github/languages/github-updater-de_CH.mo
deleted file mode 100644
index 480820d..0000000
Binary files a/github/languages/github-updater-de_CH.mo and /dev/null differ
diff --git a/github/languages/github-updater-de_CH.po b/github/languages/github-updater-de_CH.po
deleted file mode 100644
index 93b2dc7..0000000
--- a/github/languages/github-updater-de_CH.po
+++ /dev/null
@@ -1,342 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: GitHub Updater\n"
-"POT-Creation-Date: 2015-06-08 20:22-0800\n"
-"PO-Revision-Date: 2015-06-08 20:22-0800\n"
-"Last-Translator: Linus Metzler CHANGES."
-#~ "md
or CHANGELOG.md
in your repository."
-#~ msgstr ""
-#~ "Keine Änderungsprotokoll verfügbar via GitHub Updater. Erstellen Sie eine "
-#~ "Datei CHANGES.md
oder CHANGELOG.md
in Ihrem "
-#~ "Repository."
diff --git a/github/languages/github-updater-de_DE.mo b/github/languages/github-updater-de_DE.mo
deleted file mode 100644
index 85a8395..0000000
Binary files a/github/languages/github-updater-de_DE.mo and /dev/null differ
diff --git a/github/languages/github-updater-de_DE.po b/github/languages/github-updater-de_DE.po
deleted file mode 100644
index f86305c..0000000
--- a/github/languages/github-updater-de_DE.po
+++ /dev/null
@@ -1,342 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: GitHub Updater\n"
-"POT-Creation-Date: 2015-06-08 20:22-0800\n"
-"PO-Revision-Date: 2015-06-08 20:22-0800\n"
-"Last-Translator: Linus Metzler CHANGES."
-#~ "md
or CHANGELOG.md
in your repository."
-#~ msgstr ""
-#~ "Keine Änderungsprotokoll verfügbar via GitHub Updater. Erstellen Sie eine "
-#~ "Datei CHANGES.md
oder CHANGELOG.md
in Ihrem "
-#~ "Repository."
diff --git a/github/languages/github-updater-es_ES.mo b/github/languages/github-updater-es_ES.mo
deleted file mode 100644
index d6ec937..0000000
Binary files a/github/languages/github-updater-es_ES.mo and /dev/null differ
diff --git a/github/languages/github-updater-es_ES.po b/github/languages/github-updater-es_ES.po
deleted file mode 100644
index 8fe1911..0000000
--- a/github/languages/github-updater-es_ES.po
+++ /dev/null
@@ -1,340 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: GitHub Updater\n"
-"POT-Creation-Date: 2015-06-08 20:22-0800\n"
-"PO-Revision-Date: 2015-06-08 20:22-0800\n"
-"Last-Translator: esoj CHANGES."
-#~ "md
or CHANGELOG.md
in your repository."
-#~ msgstr ""
-#~ "No hay registro de cambios está disponible vía GitHub Updater. Crear un "
-#~ "archivo CHANGES.md
o CHANGELOG.md
en su "
-#~ "repositorio."
diff --git a/github/languages/github-updater-fr_FR.mo b/github/languages/github-updater-fr_FR.mo
deleted file mode 100644
index 2de5880..0000000
Binary files a/github/languages/github-updater-fr_FR.mo and /dev/null differ
diff --git a/github/languages/github-updater-fr_FR.po b/github/languages/github-updater-fr_FR.po
deleted file mode 100644
index b555252..0000000
--- a/github/languages/github-updater-fr_FR.po
+++ /dev/null
@@ -1,387 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: GitHub Updater\n"
-"Report-Msgid-Bugs-To: http://wordpress.org/support/plugin/github-updater\n"
-"POT-Creation-Date: 2015-06-08 20:22-0800\n"
-"PO-Revision-Date: 2015-06-08 20:22-0800\n"
-"Last-Translator: fxbenard | FxB CHANGES."
-#~ "md
or CHANGELOG.md
in your repository."
-#~ msgstr ""
-#~ "L'historique des modifications n'est pas disponible. Créez un fichier "
-#~ "CHANGES.md
ou CHANGELOG.md
dans votre dépôt."
-
-#~ msgid "%sView version %s details%s or %supdate now%s."
-#~ msgstr ""
-#~ "%sVoir les détails de la version %s %s ou %smettre à jour maintenant%s."
-
-#~ msgid "URI"
-#~ msgstr "URI"
-
-#~ msgid "available now."
-#~ msgstr "est disponible."
-
-#~ msgid "View version"
-#~ msgstr "Voir la version"
-
-#~ msgid "or"
-#~ msgstr "ou"
-
-#~ msgid "update now"
-#~ msgstr "mettre à jour maintenant"
-
-#~ msgid "another version?"
-#~ msgstr "une autre version ?"
-
-#~ msgid ""
-#~ "GitHub Updater will not load. It requires PHP 5.3 or greater. Please ask "
-#~ "your service provider to update PHP on your server"
-#~ msgstr ""
-#~ "GitHub Updater ne se charge pas. Il nécessite PHP 5.3 ou supérieur. "
-#~ "Veuillez demander à votre hébergeur de mettre à jour PHP sur votre "
-#~ "serveur."
-
-#~ msgid "was not checked."
-#~ msgstr "n'a pas été vérifié."
-
-#~ msgid "GitHub Updater Error Code:"
-#~ msgstr "Code d'erreur GitHub Updater :"
-
-#~ msgid " or "
-#~ msgstr " ou "
diff --git a/github/languages/github-updater-it.mo b/github/languages/github-updater-it.mo
deleted file mode 100644
index 2396014..0000000
Binary files a/github/languages/github-updater-it.mo and /dev/null differ
diff --git a/github/languages/github-updater-it.po b/github/languages/github-updater-it.po
deleted file mode 100644
index 938a8bb..0000000
--- a/github/languages/github-updater-it.po
+++ /dev/null
@@ -1,400 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: GitHub Updater\n"
-"POT-Creation-Date: 2015-06-08 20:22-0800\n"
-"PO-Revision-Date: 2015-06-08 20:22-0800\n"
-"Last-Translator: Enea Overclokk CHANGES."
-#~ "md
or CHANGELOG.md
in your repository."
-#~ msgstr ""
-#~ "Nessun changelog è disponibile con GitHub Updater. Crea un file "
-#~ "CHANGES.md
o CHANGELOG.md
nel tuo repository."
-
-#~ msgid "%1$s was not checked. GitHub Updater Error Code: %2$s"
-#~ msgstr "%1$s non è stata verificata. Codice di errore GitHub Updater: %2$s"
-
-#~ msgid "GitHub API's rate limit will reset in %1$s minutes."
-#~ msgstr "Limite di frequenza su GitHub API si resetterà in minuti di %1$s."
-
-#~ msgid "%sRollback to:%s"
-#~ msgstr "%sRipristina a:%s"
-
-#~ msgid "GitHub Updater shows a new version of %1$s available."
-#~ msgstr "GitHub Updater mostra una nuova versione di %1$s disponibile."
-
-#~ msgid "View version %4$s details"
-#~ msgstr "Visualizza i dettagli della versione %4$s"
-
-#~ msgid "View version %4$s details%5$s or %6$supdate now%7$s."
-#~ msgstr ""
-#~ "%4$sVisualizza i dettagli della versione %5$s o %6$saggiorna adesso%7$s"
-
-#~ msgid "There is a new version of %1$s available now."
-#~ msgstr "E' disponibile una nuova versione di %1$s."
-
-#~ msgid "%sView version %s details%s or %supdate now%s."
-#~ msgstr "%sVisualizza i dettagli della versione %s %s o %saggiorna adesso%s."
-
-#~ msgid "available now."
-#~ msgstr "disponibile adesso."
-
-#, fuzzy
-#~ msgid "View version"
-#~ msgstr "Visualizza i dettagli della versione %4$s"
-
-#~ msgid "or"
-#~ msgstr "o"
-
-#~ msgid "update now"
-#~ msgstr "aggiorna adesso"
-
-#~ msgid "another version?"
-#~ msgstr "un'altra versione?"
-
-#~ msgid "was not checked."
-#~ msgstr "non è stata verificata."
-
-#, fuzzy
-#~ msgid "GitHub Updater Error Code:"
-#~ msgstr "Codice di errore GitHub Updater:"
-
-#~ msgid " or "
-#~ msgstr " o "
diff --git a/github/languages/github-updater-ja.mo b/github/languages/github-updater-ja.mo
deleted file mode 100644
index 2747173..0000000
Binary files a/github/languages/github-updater-ja.mo and /dev/null differ
diff --git a/github/languages/github-updater-ja.po b/github/languages/github-updater-ja.po
deleted file mode 100644
index e9c77ed..0000000
--- a/github/languages/github-updater-ja.po
+++ /dev/null
@@ -1,331 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: GitHub Updater\n"
-"POT-Creation-Date: 2015-06-08 20:22-0800\n"
-"PO-Revision-Date: 2015-06-08 20:22-0800\n"
-"Last-Translator: ishihara CHANGES."
-#~ "md
or CHANGELOG.md
in your repository."
-#~ msgstr ""
-#~ "No changelog está disponível via GitHub Updater. Crie um arquivo "
-#~ "CHANGES.md
ou CHANGELOG.md
em seu repositório."
-
-#~ msgid "%sView version %s details%s or %supdate now%s."
-#~ msgstr "%sVer versão %s detalhada%s ou %satualizar agora%s."
-
-#~ msgid "available now."
-#~ msgstr "disponível agora."
-
-#, fuzzy
-#~ msgid "View version"
-#~ msgstr "Ver versão %4$s detalhada"
-
-#~ msgid "or"
-#~ msgstr "ou"
-
-#~ msgid "update now"
-#~ msgstr "atualize agora"
-
-#~ msgid "another version?"
-#~ msgstr "outra versão?"
-
-#~ msgid "was not checked."
-#~ msgstr "não foi verificada."
-
-#~ msgid "GitHub Updater Error Code:"
-#~ msgstr "Código de erro de GitHub Updater:"
-
-#~ msgid " or "
-#~ msgstr " ou "
diff --git a/github/languages/github-updater-pt_PT.mo b/github/languages/github-updater-pt_PT.mo
deleted file mode 100644
index 12330ef..0000000
Binary files a/github/languages/github-updater-pt_PT.mo and /dev/null differ
diff --git a/github/languages/github-updater-pt_PT.po b/github/languages/github-updater-pt_PT.po
deleted file mode 100644
index 5052fc3..0000000
--- a/github/languages/github-updater-pt_PT.po
+++ /dev/null
@@ -1,332 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: GitHub Updater\n"
-"POT-Creation-Date: 2015-06-08 20:21-0800\n"
-"PO-Revision-Date: 2015-06-08 20:21-0800\n"
-"Last-Translator: Pedro Mendonça master
"
-
-#: src/GitHub_Updater/Install.php:348
-msgid "Enter GitHub Access Token for private GitHub repositories."
-msgstr "Fyll i GitHub Access Token för privata GitHub repos."
-
-#: src/GitHub_Updater/Install.php:362
-#, fuzzy
-msgid "Enter GitLab Private Token for private GitLab repositories."
-msgstr "Fyll i GitHub Access Token för privata GitHub repos."
-
-#: src/GitHub_Updater/Messages.php:61
-#, fuzzy, php-format
-msgid "%s was not checked. GitHub Updater Error Code:"
-msgstr "%1$s har inte kontrollerats. GitHub Updater felkod: %2$s"
-
-#: src/GitHub_Updater/Messages.php:69
-#, fuzzy, php-format
-msgid "GitHub API's rate limit will reset in %s minutes."
-msgstr "Gränsen för GitHub API återställs %1$s minuter."
-
-#: src/GitHub_Updater/Messages.php:74
-#, php-format
-msgid ""
-"It looks like you are running into GitHub API rate limits. Be sure and "
-"configure a %sPersonal Access Token%s to avoid this issue."
-msgstr ""
-
-#: src/GitHub_Updater/Messages.php:82
-msgid "There is probably an error on the GitHub Updater Settings page."
-msgstr ""
-
-#: src/GitHub_Updater/Messages.php:95
-msgid ""
-"You must set a GitLab.com, GitLab CE, or GitLab Enterprise Private Token."
-msgstr ""
-
-#: src/GitHub_Updater/Plugin.php:149
-#, fuzzy, php-format
-msgid "Current branch is `%1$s`, try %2$sanother branch%3$s."
-msgstr "Nuvarande version är aktuell. Testa"
-
-#: src/GitHub_Updater/Plugin.php:199
-#, fuzzy
-msgid "View details"
-msgstr " "
-
-#: src/GitHub_Updater/Settings.php:68 src/GitHub_Updater/Settings.php:528
-msgid "Settings"
-msgstr "Inställningar"
-
-#: src/GitHub_Updater/Settings.php:81 src/GitHub_Updater/Settings.php:89
-#: src/GitHub_Updater/Settings.php:172
-msgid "GitHub Updater Settings"
-msgstr "Inställningar för GitHub Updater"
-
-#. Plugin Name of the plugin/theme
-#: src/GitHub_Updater/Settings.php:82 src/GitHub_Updater/Settings.php:90
-#: src/GitHub_Updater/Settings.php:127
-msgid "GitHub Updater"
-msgstr "GitHub Updater"
-
-#: src/GitHub_Updater/Settings.php:131
-msgid "Saved."
-msgstr "Sparat."
-
-#: src/GitHub_Updater/Settings.php:179
-msgid "Enable Plugin Branch Switching"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:191
-#, fuzzy
-msgid "Personal GitHub Access Token"
-msgstr "GitHub Access Token"
-
-#: src/GitHub_Updater/Settings.php:211
-msgid "GitHub Private Settings"
-msgstr "Privata inställningar för GitHub"
-
-#: src/GitHub_Updater/Settings.php:224
-#, fuzzy
-msgid "GitLab Private Settings"
-msgstr "Privata inställningar för GitHub"
-
-#: src/GitHub_Updater/Settings.php:233
-#, fuzzy
-msgid "GitLab.com Private Token"
-msgstr "Privata inställningar för GitHub"
-
-#: src/GitHub_Updater/Settings.php:244
-msgid "GitLab CE or GitLab Enterprise Private Token"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:257
-msgid "Bitbucket Private Settings"
-msgstr "Inställningar för Bitbucket"
-
-#: src/GitHub_Updater/Settings.php:264
-msgid "Bitbucket Username"
-msgstr "Användarnamn för Bitbucket"
-
-#: src/GitHub_Updater/Settings.php:273
-msgid "Bitbucket Password"
-msgstr "Lösenord för Bitbucket"
-
-#: src/GitHub_Updater/Settings.php:286
-msgid "Bitbucket Private Repositories"
-msgstr "Privata inställningar för Bitbucket"
-
-#: src/GitHub_Updater/Settings.php:298
-msgid "No private repositories are installed."
-msgstr "Inga privata repos är installerade."
-
-#: src/GitHub_Updater/Settings.php:357
-msgid "Theme:"
-msgstr "Tema:"
-
-#: src/GitHub_Updater/Settings.php:433
-msgid "Check to enable branch switching from the Plugins page."
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:440
-msgid "Enter your GitHub Access Token. Leave empty for public repositories."
-msgstr "Fyll i ditt GitHub Access Token. Lämna tomt för publika repos."
-
-#: src/GitHub_Updater/Settings.php:447
-#, fuzzy
-msgid "Enter your personal GitHub Access Token to avoid API access limits."
-msgstr "Fyll i ditt GitHub Access Token. Lämna tomt för publika repos."
-
-#: src/GitHub_Updater/Settings.php:454
-msgid ""
-"Check box if private repository. Leave unchecked for public repositories."
-msgstr "Kryssa i boxen för privata repos. Lämna okryssad för publika repos."
-
-#: src/GitHub_Updater/Settings.php:461
-msgid "Enter your personal Bitbucket username and password."
-msgstr "Fyll i inloggningsinformation för din Bitbucketanvändare."
-
-#: src/GitHub_Updater/Settings.php:468
-msgid "Enter your GitLab.com, GitLab CE, or GitLab Enterprise Private Token."
-msgstr ""
-
-#: src/GitHub_Updater/Theme.php:210
-msgid "Theme is up-to-date!"
-msgstr "Temat är aktuellt!"
-
-#: src/GitHub_Updater/Theme.php:215
-#, fuzzy
-msgid "Rollback to:"
-msgstr "%sGå tillbaka till:%s"
-
-#: src/GitHub_Updater/Theme.php:233
-msgid "No previous tags to rollback to."
-msgstr "Inga föregående taggar att gå tillbaka till."
-
-#: src/GitHub_Updater/Theme.php:241 src/GitHub_Updater/Theme.php:255
-#, fuzzy, php-format
-msgid "GitHub Updater shows a new version of %s available."
-msgstr "GitHub Updater visar att det finns en ny version av %1$s tillgänglig."
-
-#: src/GitHub_Updater/Theme.php:248
-#, fuzzy, php-format
-msgid "View version %s details."
-msgstr "Visa detaljer för version %4$s"
-
-#: src/GitHub_Updater/Theme.php:252
-msgid "Automatic update is unavailable for this theme."
-msgstr "Automatiska uppdateringar är inte tillgängligt för detta temat."
-
-#: src/GitHub_Updater/Theme.php:262 src/GitHub_Updater/Theme.php:347
-#, fuzzy, php-format
-msgid "View version %1$s details%2$s or %3$supdate now%4$s."
-msgstr ""
-"Visa detaljer för version %3$s eller uppdatera "
-"nu."
-
-#: src/GitHub_Updater/Theme.php:340
-#, fuzzy, php-format
-msgid "There is a new version of %s available now."
-msgstr "Det finns en ny version av"
-
-#: src/GitHub_Updater/Theme.php:367
-#, fuzzy, php-format
-msgid "Current version is up to date. Try %sanother version%s"
-msgstr "Nuvarande version är aktuell. Testa"
-
-#: src/GitHub_Updater/Theme.php:381
-msgid "Choose a Version"
-msgstr "Välj en version"
-
-#: src/GitHub_Updater/Theme.php:384
-msgid "Install"
-msgstr "Installera"
-
-#: vendor/WPUpdatePhp.php:24
-#, fuzzy
-msgid "this plugin"
-msgstr "Tilläggs-"
-
-#: vendor/WPUpdatePhp.php:92
-#, php-format
-msgid "Unfortunately, %1$s can not run on PHP versions older than %2$s."
-msgstr ""
-
-#: vendor/WPUpdatePhp.php:94 vendor/WPUpdatePhp.php:110
-#, php-format
-msgid "Read more information about %show you can update%s."
-msgstr ""
-
-#: vendor/WPUpdatePhp.php:108
-#, php-format
-msgid "%1$s recommends a PHP version greater than %2$s."
-msgstr ""
-
-#. Plugin URI of the plugin/theme
-msgid "https://github.com/afragen/github-updater"
-msgstr "https://github.com/afragen/github-updater"
-
-#. Description of the plugin/theme
-#, fuzzy
-msgid ""
-"A plugin to automatically update GitHub, Bitbucket or GitLab hosted plugins "
-"and themes. It also allows for remote installation of plugins or themes into "
-"WordPress. Plugin class based upon codepress/github-plugin-updater. Theme class "
-"based upon Whitelabel Framework modifications."
-msgstr ""
-"Ett tillägg för att automatiskt uppdatera teman och tillägg från GitHub "
-"eller Bitbucket direkt i WordPress. Tilläggsklassen baserad på codepress/github-"
-"plugin-updater. Temaklassen baserad på modifikationer av Whitelabel "
-"Framework."
-
-#. Author of the plugin/theme
-msgid "Andy Fragen"
-msgstr "Andy Fragen"
-
-#~ msgid ""
-#~ "No changelog is available via GitHub Updater. Create a file CHANGES."
-#~ "md
or CHANGELOG.md
in your repository."
-#~ msgstr ""
-#~ "Ingen changelog finns tillgänglig via GitHub Updater. Skapa CHANGES."
-#~ "md
eller CHANGELOG.md
i din repo."
-
-#~ msgid "%sView version %s details%s or %supdate now%s."
-#~ msgstr "%sVisa detaljer för version %s %s eller %suppdatera nu%s."
-
-#~ msgid "URI"
-#~ msgstr "URI"
-
-#~ msgid "available now."
-#~ msgstr "tillgänglig."
-
-#~ msgid "View version"
-#~ msgstr "Visa detaljer för version"
-
-#~ msgid "or"
-#~ msgstr "eller"
-
-#~ msgid "update now"
-#~ msgstr "uppdatera nu"
-
-#~ msgid "another version?"
-#~ msgstr "en annan version?"
-
-#~ msgid "was not checked."
-#~ msgstr "kunde inte kontrolleras. "
-
-#~ msgid "GitHub Updater Error Code:"
-#~ msgstr "GitHub Updater felkod:"
diff --git a/github/languages/github-updater-uk.mo b/github/languages/github-updater-uk.mo
deleted file mode 100644
index 031cd4d..0000000
Binary files a/github/languages/github-updater-uk.mo and /dev/null differ
diff --git a/github/languages/github-updater-uk.po b/github/languages/github-updater-uk.po
deleted file mode 100644
index dceea9d..0000000
--- a/github/languages/github-updater-uk.po
+++ /dev/null
@@ -1,365 +0,0 @@
-msgid ""
-msgstr ""
-"Project-Id-Version: GitHub Updater\n"
-"POT-Creation-Date: 2015-06-08 20:21-0800\n"
-"PO-Revision-Date: 2015-06-08 20:21-0800\n"
-"Last-Translator: Andrii Ryzhkv\n"
-"Language-Team: Andrii Ryzhkv\n"
-"Language: uk\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"
-"X-Poedit-SourceCharset: UTF-8\n"
-"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
-"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
-"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
-"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
-"%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
-"X-Poedit-SearchPath-0: .\n"
-
-#: mu/ghu-loader.php:66
-msgid "Activated as mu-plugin"
-msgstr "Активувати як mu-plugin"
-
-#: src/GitHub_Updater/Base.php:467
-#, fuzzy, php-format
-msgid "Renaming %1$s to %2$s"
-msgstr "Перейменування %s в %s"
-
-#: src/GitHub_Updater/Base.php:477
-msgid "Rename successful"
-msgstr "Перейменування успішне"
-
-#: src/GitHub_Updater/Base.php:484
-msgid "Unable to rename downloaded repository."
-msgstr "Неможливо перейменувати скачане сховище."
-
-#: src/GitHub_Updater/Install.php:56
-#, fuzzy
-msgid "A repository URI is required."
-msgstr "Неможливо перейменувати скачане сховище."
-
-#: src/GitHub_Updater/Install.php:194 src/GitHub_Updater/Settings.php:69
-msgid "Install Plugin"
-msgstr "Встановити плагін"
-
-#: src/GitHub_Updater/Install.php:197 src/GitHub_Updater/Settings.php:70
-msgid "Install Theme"
-msgstr "Інсталювати тему"
-
-#: src/GitHub_Updater/Install.php:214
-msgid "Plugin"
-msgstr "Плагін"
-
-#: src/GitHub_Updater/Install.php:217
-msgid "Theme"
-msgstr "тему:"
-
-#: src/GitHub_Updater/Install.php:228
-#, fuzzy, php-format
-msgid "GitHub Updater Install %s"
-msgstr "GitHub Updater"
-
-#: src/GitHub_Updater/Install.php:235
-#, fuzzy, php-format
-msgid "%s URI"
-msgstr "%sВідкат до:%s"
-
-#: src/GitHub_Updater/Install.php:243
-msgid "Remote Repository Host"
-msgstr "Віддаленого сховища хост"
-
-#: src/GitHub_Updater/Install.php:251
-msgid "Repository Branch"
-msgstr "Репозиторій відділення"
-
-#: src/GitHub_Updater/Install.php:259
-#, fuzzy
-msgid "Private Bitbucket Repository"
-msgstr "Приватні сховища Bitbucket"
-
-#: src/GitHub_Updater/Install.php:267 src/GitHub_Updater/Settings.php:198
-msgid "GitHub Access Token"
-msgstr ""
-
-#: src/GitHub_Updater/Install.php:278
-#, fuzzy
-msgid "GitLab Private Token"
-msgstr "Налаштування приватного GitHub"
-
-#: src/GitHub_Updater/Install.php:306
-msgid "Enter branch name or leave empty for `master`"
-msgstr "Введіть ім'я відділення або Залиште пустим для 'майстер'"
-
-#: src/GitHub_Updater/Install.php:348
-#, fuzzy
-msgid "Enter GitHub Access Token for private GitHub repositories."
-msgstr "Введіть маркер доступу GitHub . Залиште порожнім для публічних сховищ."
-
-#: src/GitHub_Updater/Install.php:362
-#, fuzzy
-msgid "Enter GitLab Private Token for private GitLab repositories."
-msgstr "Введіть маркер доступу GitHub. Залиште порожнім для публічних сховищ."
-
-#: src/GitHub_Updater/Messages.php:61
-#, fuzzy, php-format
-msgid "%s was not checked. GitHub Updater Error Code:"
-msgstr "%1$s не перевірив. GitHub Updater код помилки: %2$s"
-
-#: src/GitHub_Updater/Messages.php:69
-#, fuzzy, php-format
-msgid "GitHub API's rate limit will reset in %s minutes."
-msgstr "Обмеження частоти GitHub API буде скинути в %1$s хвилин."
-
-#: src/GitHub_Updater/Messages.php:74
-#, php-format
-msgid ""
-"It looks like you are running into GitHub API rate limits. Be sure and "
-"configure a %sPersonal Access Token%s to avoid this issue."
-msgstr ""
-
-#: src/GitHub_Updater/Messages.php:82
-msgid "There is probably an error on the GitHub Updater Settings page."
-msgstr ""
-
-#: src/GitHub_Updater/Messages.php:95
-msgid ""
-"You must set a GitLab.com, GitLab CE, or GitLab Enterprise Private Token."
-msgstr ""
-
-#: src/GitHub_Updater/Plugin.php:149
-#, fuzzy, php-format
-msgid "Current branch is `%1$s`, try %2$sanother branch%3$s."
-msgstr "Поточна версія остання. Спробуйте"
-
-#: src/GitHub_Updater/Plugin.php:199
-#, fuzzy
-msgid "View details"
-msgstr "Переглянути подробиці версії %4$s"
-
-#: src/GitHub_Updater/Settings.php:68 src/GitHub_Updater/Settings.php:528
-msgid "Settings"
-msgstr "Налаштування"
-
-#: src/GitHub_Updater/Settings.php:81 src/GitHub_Updater/Settings.php:89
-#: src/GitHub_Updater/Settings.php:172
-msgid "GitHub Updater Settings"
-msgstr "Налаштування GitHub Updater"
-
-#. Plugin Name of the plugin/theme
-#: src/GitHub_Updater/Settings.php:82 src/GitHub_Updater/Settings.php:90
-#: src/GitHub_Updater/Settings.php:127
-msgid "GitHub Updater"
-msgstr "GitHub Updater"
-
-#: src/GitHub_Updater/Settings.php:131
-msgid "Saved."
-msgstr "Збережено."
-
-#: src/GitHub_Updater/Settings.php:179
-msgid "Enable Plugin Branch Switching"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:191
-msgid "Personal GitHub Access Token"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:211
-msgid "GitHub Private Settings"
-msgstr "Налаштування приватного GitHub"
-
-#: src/GitHub_Updater/Settings.php:224
-#, fuzzy
-msgid "GitLab Private Settings"
-msgstr "Налаштування приватного GitHub"
-
-#: src/GitHub_Updater/Settings.php:233
-#, fuzzy
-msgid "GitLab.com Private Token"
-msgstr "Налаштування приватного GitHub"
-
-#: src/GitHub_Updater/Settings.php:244
-msgid "GitLab CE or GitLab Enterprise Private Token"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:257
-msgid "Bitbucket Private Settings"
-msgstr "Налаштування приватного Bitbucket"
-
-#: src/GitHub_Updater/Settings.php:264
-msgid "Bitbucket Username"
-msgstr "Bitbucket ім'я користувача"
-
-#: src/GitHub_Updater/Settings.php:273
-msgid "Bitbucket Password"
-msgstr "Bitbucket пароль"
-
-#: src/GitHub_Updater/Settings.php:286
-msgid "Bitbucket Private Repositories"
-msgstr "Приватні сховища Bitbucket"
-
-#: src/GitHub_Updater/Settings.php:298
-msgid "No private repositories are installed."
-msgstr "Жодне приватне сховище не встановлене."
-
-#: src/GitHub_Updater/Settings.php:357
-msgid "Theme:"
-msgstr "тему:"
-
-#: src/GitHub_Updater/Settings.php:433
-msgid "Check to enable branch switching from the Plugins page."
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:440
-msgid "Enter your GitHub Access Token. Leave empty for public repositories."
-msgstr "Введіть маркер доступу GitHub. Залиште порожнім для публічних сховищ."
-
-#: src/GitHub_Updater/Settings.php:447
-#, fuzzy
-msgid "Enter your personal GitHub Access Token to avoid API access limits."
-msgstr "Введіть маркер доступу GitHub. Залиште порожнім для публічних сховищ."
-
-#: src/GitHub_Updater/Settings.php:454
-msgid ""
-"Check box if private repository. Leave unchecked for public repositories."
-msgstr ""
-"Позначте, якщо сховище приватне. Залиште не позначеним для публічних сховищ."
-
-#: src/GitHub_Updater/Settings.php:461
-msgid "Enter your personal Bitbucket username and password."
-msgstr "Введіть ваші особисті BitBucket ім'я користувача та пароль."
-
-#: src/GitHub_Updater/Settings.php:468
-msgid "Enter your GitLab.com, GitLab CE, or GitLab Enterprise Private Token."
-msgstr ""
-
-#: src/GitHub_Updater/Theme.php:210
-msgid "Theme is up-to-date!"
-msgstr "Тема не має оновлень!"
-
-#: src/GitHub_Updater/Theme.php:215
-#, fuzzy
-msgid "Rollback to:"
-msgstr "%sВідкат до:%s"
-
-#: src/GitHub_Updater/Theme.php:233
-msgid "No previous tags to rollback to."
-msgstr "Немає теґів для відкату назад."
-
-#: src/GitHub_Updater/Theme.php:241 src/GitHub_Updater/Theme.php:255
-#, fuzzy, php-format
-msgid "GitHub Updater shows a new version of %s available."
-msgstr "GitHub Updater показує, що доступна нова версія %1$s. "
-
-#: src/GitHub_Updater/Theme.php:248
-#, fuzzy, php-format
-msgid "View version %s details."
-msgstr "Переглянути подробиці версії %4$s"
-
-#: src/GitHub_Updater/Theme.php:252
-msgid "Automatic update is unavailable for this theme."
-msgstr "Автоматичне оновлення недоступно для цієї теми."
-
-#: src/GitHub_Updater/Theme.php:262 src/GitHub_Updater/Theme.php:347
-#, fuzzy, php-format
-msgid "View version %1$s details%2$s or %3$supdate now%4$s."
-msgstr "%4$sПереглянути подробиці версії %5$s або %6$sоновити зараз%7$s ."
-
-#: src/GitHub_Updater/Theme.php:340
-#, fuzzy, php-format
-msgid "There is a new version of %s available now."
-msgstr "Нова версія"
-
-#: src/GitHub_Updater/Theme.php:367
-#, fuzzy, php-format
-msgid "Current version is up to date. Try %sanother version%s"
-msgstr "Поточна версія остання. Спробуйте"
-
-#: src/GitHub_Updater/Theme.php:381
-msgid "Choose a Version"
-msgstr "Вибрати версію"
-
-#: src/GitHub_Updater/Theme.php:384
-msgid "Install"
-msgstr "Встановити"
-
-#: vendor/WPUpdatePhp.php:24
-#, fuzzy
-msgid "this plugin"
-msgstr "Плагін"
-
-#: vendor/WPUpdatePhp.php:92
-#, php-format
-msgid "Unfortunately, %1$s can not run on PHP versions older than %2$s."
-msgstr ""
-
-#: vendor/WPUpdatePhp.php:94 vendor/WPUpdatePhp.php:110
-#, php-format
-msgid "Read more information about %show you can update%s."
-msgstr ""
-
-#: vendor/WPUpdatePhp.php:108
-#, php-format
-msgid "%1$s recommends a PHP version greater than %2$s."
-msgstr ""
-
-#. Plugin URI of the plugin/theme
-msgid "https://github.com/afragen/github-updater"
-msgstr "https://github.com/afragen/github-updater"
-
-#. Description of the plugin/theme
-#, fuzzy
-msgid ""
-"A plugin to automatically update GitHub, Bitbucket or GitLab hosted plugins "
-"and themes. It also allows for remote installation of plugins or themes into "
-"WordPress. Plugin class based upon codepress/github-plugin-updater. Theme class "
-"based upon Whitelabel Framework modifications."
-msgstr ""
-"Плаґін для автоматичного оновлення плаґінів та тем WordPress, які "
-"розміщуються на GitHub або BitBucket. Клас плаґіну основано на codepress / GitHub-"
-"Plugin-Updater . Клас теми основано на модифікаціях Whitelabel Framework."
-
-#. Author of the plugin/theme
-msgid "Andy Fragen"
-msgstr "Енді Фраген"
-
-#~ msgid ""
-#~ "No changelog is available via GitHub Updater. Create a file CHANGES."
-#~ "md
or CHANGELOG.md
in your repository."
-#~ msgstr ""
-#~ "Немає доступних змін через GitHub Updater. Створіть файл CHANGES."
-#~ "md
або CHANGELOG.md
у вашому сховищі."
-
-#~ msgid "%sView version %s details%s or %supdate now%s."
-#~ msgstr "%sПереглянути подробиці версії %s %s або %sоновити зараз%s ."
-
-#~ msgid "available now."
-#~ msgstr "зараз доступна."
-
-#, fuzzy
-#~ msgid "View version"
-#~ msgstr "Переглянути подробиці версії %4$s"
-
-#~ msgid "or"
-#~ msgstr "або"
-
-#~ msgid "update now"
-#~ msgstr "оновити зараз"
-
-#~ msgid "another version?"
-#~ msgstr "іншу версію?"
-
-#~ msgid "was not checked."
-#~ msgstr "не було підтверджено."
-
-#~ msgid "GitHub Updater Error Code:"
-#~ msgstr "GitHub Updater код помилки:"
-
-#~ msgid " or "
-#~ msgstr " або "
diff --git a/github/languages/github-updater.pot b/github/languages/github-updater.pot
deleted file mode 100644
index 9d4018c..0000000
--- a/github/languages/github-updater.pot
+++ /dev/null
@@ -1,312 +0,0 @@
-#, fuzzy
-msgid ""
-msgstr ""
-"Project-Id-Version: GitHub Updater\n"
-"POT-Creation-Date: 2015-06-08 20:18-0800\n"
-"PO-Revision-Date: 2015-05-20 19:10-0800\n"
-"Last-Translator: \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"
-"X-Poedit-WPHeader: github-updater.php\n"
-"X-Poedit-SourceCharset: UTF-8\n"
-"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;"
-"esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;"
-"_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
-"X-Poedit-SearchPath-0: .\n"
-"X-Poedit-SearchPathExcluded-0: *.js\n"
-
-#: mu/ghu-loader.php:66
-msgid "Activated as mu-plugin"
-msgstr ""
-
-#: src/GitHub_Updater/Base.php:467
-#, php-format
-msgid "Renaming %1$s to %2$s"
-msgstr ""
-
-#: src/GitHub_Updater/Base.php:477
-msgid "Rename successful"
-msgstr ""
-
-#: src/GitHub_Updater/Base.php:484
-msgid "Unable to rename downloaded repository."
-msgstr ""
-
-#: src/GitHub_Updater/Install.php:56
-msgid "A repository URI is required."
-msgstr ""
-
-#: src/GitHub_Updater/Install.php:194 src/GitHub_Updater/Settings.php:69
-msgid "Install Plugin"
-msgstr ""
-
-#: src/GitHub_Updater/Install.php:197 src/GitHub_Updater/Settings.php:70
-msgid "Install Theme"
-msgstr ""
-
-#: src/GitHub_Updater/Install.php:214
-msgid "Plugin"
-msgstr ""
-
-#: src/GitHub_Updater/Install.php:217
-msgid "Theme"
-msgstr ""
-
-#: src/GitHub_Updater/Install.php:228
-#, php-format
-msgid "GitHub Updater Install %s"
-msgstr ""
-
-#: src/GitHub_Updater/Install.php:235
-#, php-format
-msgid "%s URI"
-msgstr ""
-
-#: src/GitHub_Updater/Install.php:243
-msgid "Remote Repository Host"
-msgstr ""
-
-#: src/GitHub_Updater/Install.php:251
-msgid "Repository Branch"
-msgstr ""
-
-#: src/GitHub_Updater/Install.php:259
-msgid "Private Bitbucket Repository"
-msgstr ""
-
-#: src/GitHub_Updater/Install.php:267 src/GitHub_Updater/Settings.php:198
-msgid "GitHub Access Token"
-msgstr ""
-
-#: src/GitHub_Updater/Install.php:278
-msgid "GitLab Private Token"
-msgstr ""
-
-#: src/GitHub_Updater/Install.php:306
-msgid "Enter branch name or leave empty for `master`"
-msgstr ""
-
-#: src/GitHub_Updater/Install.php:348
-msgid "Enter GitHub Access Token for private GitHub repositories."
-msgstr ""
-
-#: src/GitHub_Updater/Install.php:362
-msgid "Enter GitLab Private Token for private GitLab repositories."
-msgstr ""
-
-#: src/GitHub_Updater/Messages.php:61
-#, php-format
-msgid "%s was not checked. GitHub Updater Error Code:"
-msgstr ""
-
-#: src/GitHub_Updater/Messages.php:69
-#, php-format
-msgid "GitHub API's rate limit will reset in %s minutes."
-msgstr ""
-
-#: src/GitHub_Updater/Messages.php:74
-#, php-format
-msgid ""
-"It looks like you are running into GitHub API rate limits. Be sure and "
-"configure a %sPersonal Access Token%s to avoid this issue."
-msgstr ""
-
-#: src/GitHub_Updater/Messages.php:82
-msgid "There is probably an error on the GitHub Updater Settings page."
-msgstr ""
-
-#: src/GitHub_Updater/Messages.php:95
-msgid ""
-"You must set a GitLab.com, GitLab CE, or GitLab Enterprise Private Token."
-msgstr ""
-
-#: src/GitHub_Updater/Plugin.php:149
-#, php-format
-msgid "Current branch is `%1$s`, try %2$sanother branch%3$s."
-msgstr ""
-
-#: src/GitHub_Updater/Plugin.php:199
-msgid "View details"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:68 src/GitHub_Updater/Settings.php:528
-msgid "Settings"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:81 src/GitHub_Updater/Settings.php:89
-#: src/GitHub_Updater/Settings.php:172
-msgid "GitHub Updater Settings"
-msgstr ""
-
-#. Plugin Name of the plugin/theme
-#: src/GitHub_Updater/Settings.php:82 src/GitHub_Updater/Settings.php:90
-#: src/GitHub_Updater/Settings.php:127
-msgid "GitHub Updater"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:131
-msgid "Saved."
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:179
-msgid "Enable Plugin Branch Switching"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:191
-msgid "Personal GitHub Access Token"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:211
-msgid "GitHub Private Settings"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:224
-msgid "GitLab Private Settings"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:233
-msgid "GitLab.com Private Token"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:244
-msgid "GitLab CE or GitLab Enterprise Private Token"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:257
-msgid "Bitbucket Private Settings"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:264
-msgid "Bitbucket Username"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:273
-msgid "Bitbucket Password"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:286
-msgid "Bitbucket Private Repositories"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:298
-msgid "No private repositories are installed."
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:357
-msgid "Theme:"
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:433
-msgid "Check to enable branch switching from the Plugins page."
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:440
-msgid "Enter your GitHub Access Token. Leave empty for public repositories."
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:447
-msgid "Enter your personal GitHub Access Token to avoid API access limits."
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:454
-msgid ""
-"Check box if private repository. Leave unchecked for public repositories."
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:461
-msgid "Enter your personal Bitbucket username and password."
-msgstr ""
-
-#: src/GitHub_Updater/Settings.php:468
-msgid "Enter your GitLab.com, GitLab CE, or GitLab Enterprise Private Token."
-msgstr ""
-
-#: src/GitHub_Updater/Theme.php:210
-msgid "Theme is up-to-date!"
-msgstr ""
-
-#: src/GitHub_Updater/Theme.php:215
-msgid "Rollback to:"
-msgstr ""
-
-#: src/GitHub_Updater/Theme.php:233
-msgid "No previous tags to rollback to."
-msgstr ""
-
-#: src/GitHub_Updater/Theme.php:241 src/GitHub_Updater/Theme.php:255
-#, php-format
-msgid "GitHub Updater shows a new version of %s available."
-msgstr ""
-
-#: src/GitHub_Updater/Theme.php:248
-#, php-format
-msgid "View version %s details."
-msgstr ""
-
-#: src/GitHub_Updater/Theme.php:252
-msgid "Automatic update is unavailable for this theme."
-msgstr ""
-
-#: src/GitHub_Updater/Theme.php:262 src/GitHub_Updater/Theme.php:347
-#, php-format
-msgid "View version %1$s details%2$s or %3$supdate now%4$s."
-msgstr ""
-
-#: src/GitHub_Updater/Theme.php:340
-#, php-format
-msgid "There is a new version of %s available now."
-msgstr ""
-
-#: src/GitHub_Updater/Theme.php:367
-#, php-format
-msgid "Current version is up to date. Try %sanother version%s"
-msgstr ""
-
-#: src/GitHub_Updater/Theme.php:381
-msgid "Choose a Version"
-msgstr ""
-
-#: src/GitHub_Updater/Theme.php:384
-msgid "Install"
-msgstr ""
-
-#: vendor/WPUpdatePhp.php:24
-msgid "this plugin"
-msgstr ""
-
-#: vendor/WPUpdatePhp.php:92
-#, php-format
-msgid "Unfortunately, %1$s can not run on PHP versions older than %2$s."
-msgstr ""
-
-#: vendor/WPUpdatePhp.php:94 vendor/WPUpdatePhp.php:110
-#, php-format
-msgid "Read more information about %show you can update%s."
-msgstr ""
-
-#: vendor/WPUpdatePhp.php:108
-#, php-format
-msgid "%1$s recommends a PHP version greater than %2$s."
-msgstr ""
-
-#. Plugin URI of the plugin/theme
-msgid "https://github.com/afragen/github-updater"
-msgstr ""
-
-#. Description of the plugin/theme
-msgid ""
-"A plugin to automatically update GitHub, Bitbucket or GitLab hosted plugins "
-"and themes. It also allows for remote installation of plugins or themes into "
-"WordPress. Plugin class based upon codepress/github-plugin-updater. Theme class "
-"based upon Whitelabel Framework modifications."
-msgstr ""
-
-#. Author of the plugin/theme
-msgid "Andy Fragen"
-msgstr ""
diff --git a/github/mu/ghu-loader.php b/github/mu/ghu-loader.php
deleted file mode 100644
index b519d45..0000000
--- a/github/mu/ghu-loader.php
+++ /dev/null
@@ -1,82 +0,0 @@
- __('Activated as mu-plugin', 'github-updater' ) ), $actions );
-}
-
-/*
- * Deactivate normal plugin as it's loaded as mu-plugin.
- */
-add_action( 'activated_plugin', 'ghu_deactivate', 10, 2 );
-
-/*
- * Remove links and checkbox from Plugins page so user can't delete main plugin.
- */
-add_filter( 'network_admin_plugin_action_links_' . $ghu_plugin_file, 'ghu_mu_plugin_active' );
-add_filter( 'plugin_action_links_' . $ghu_plugin_file, 'ghu_mu_plugin_active' );
-add_action( 'after_plugin_row_' . $ghu_plugin_file,
- function() {
- print('');
- } );
diff --git a/github/readme.txt b/github/readme.txt
deleted file mode 100644
index 800348a..0000000
--- a/github/readme.txt
+++ /dev/null
@@ -1,45 +0,0 @@
-=== GitHub Updater ===
-Contributors: afragen, garyj, sethmatics
-Donate link: http://bit.ly/github-updater
-Tags: plugin, theme, update, updater, github, bitbucket, gitlab, remote install
-Requires at least: 3.8
-Tested up to: 4.3
-Stable tag: master
-License: GPLv2 or later
-License URI: http://www.gnu.org/licenses/gpl-2.0.html
-
-== Description ==
-
-This plugin was designed to simply update any GitHub hosted WordPress plugin or theme. Currently, plugins or themes hosted on GitHub, Bitbucket, or GitLab are also supported. Additionally, self-hosted installations of GitHub or GitLab are supported. It also allows for remote installation of plugins or themes into WordPress.
-
-Your plugin or theme **must** contain a header in the style.css header or in the plugin's header denoting the location on GitHub. The format is as follows.
-
-`GitHub Plugin URI: afragen/github-updater`
-`GitHub Plugin URI: https://github.com/afragen/github-updater`
-
-or
-
-`GitHub Theme URI: afragen/test-child`
-`GitHub Theme URI: https://github.com/afragen/test-child`
-
-...where the above URI leads to the __owner/repository__ of your theme or plugin. The URI may be in the format `https://github.com/
- ' . $repo['name'] . ''
- );
- echo ' ' . $repo['code'];
- ?>
-
-
- ';
- printf(
- __( 'It looks like you are running into GitHub API rate limits. Be sure and configure a %sPersonal Access Token%s to avoid this issue.', 'github-updater' ),
- '',
- ''
- );
- ?>
-
-
-
-
-
-
- -
-<git>-<owner>-<repo>
');
- printf( 'define( \'GITHUB_UPDATER_EXTENDED_NAMING\', true );
' );
- print( '' . __( 'Check to enable branch switching from the Plugins page.', 'github-updater' ) . '
'); - } - - /** - * Print the GitHub text. - */ - public function print_section_github_info() { - _e( 'Enter your GitHub Access Token. Leave empty for public repositories.', 'github-updater' ); - } - - /** - * Print the GitHub Personal Access Token text. - */ - public function print_section_github_access_token() { - _e( 'Enter your personal GitHub Access Token to avoid API access limits.', 'github-updater' ); - } - - /** - * Print the Bitbucket repo text. - */ - public function print_section_bitbucket_info() { - _e( 'Check box if private repository. Leave unchecked for public repositories.', 'github-updater' ); - } - - /** - * Print the Bitbucket user/pass text. - */ - public function print_section_bitbucket_username() { - _e( 'Enter your personal Bitbucket username and password.', 'github-updater' ); - } - - /** - * Print the GitLab Private Token text. - */ - public function print_section_gitlab_token() { - _e( 'Enter your GitLab.com, GitLab CE, or GitLab Enterprise Private Token.', 'github-updater' ); - } - - /** - * Get the settings option array and print one of its values. - * - * @param $args - */ - public function token_callback_text( $args ) { - $name = isset( parent::$options[ $args['id' ] ] ) ? esc_attr( parent::$options[ $args['id'] ] ) : ''; - $type = stristr( $args['id'], 'password' ) ? 'password' : 'text'; - ?> - - - - 'github-updater', - 'updated' => 'true', - ), - network_admin_url( 'settings.php' ) - ) ); - exit; - } - - /** - * Add setting link to plugin page. - * Applied to the list of links to display on the plugins page (beside the activate/deactivate links). - * - * @link http://codex.wordpress.org/Plugin_API/Filter_Reference/plugin_action_links_(plugin_file_name) - * - * @param $links - * - * @return array - */ - public function plugin_action_links( $links ) { - $settings_page = is_multisite() ? 'settings.php' : 'options-general.php'; - $link = array( '' . __( 'Settings', 'github-updater' ) . '' ); - - return array_merge( $links, $link ); - } - -} diff --git a/github/src/GitHub_Updater/Theme.php b/github/src/GitHub_Updater/Theme.php deleted file mode 100644 index d05bfd7..0000000 --- a/github/src/GitHub_Updater/Theme.php +++ /dev/null @@ -1,451 +0,0 @@ -config = $this->get_theme_meta(); - if ( empty( $this->config ) ) { - return false; - } - if ( isset( $_GET['force-check'] ) ) { - $this->delete_all_transients( 'themes' ); - } - - foreach ( (array) $this->config as $theme ) { - $this->repo_api = null; - switch( $theme->type ) { - case 'github_theme': - $this->repo_api = new GitHub_API( $theme ); - break; - case 'bitbucket_theme': - $this->repo_api = new Bitbucket_API( $theme ); - break; - case 'gitlab_theme': - $this->repo_api = new GitLab_API( $theme ); - break; - } - - if ( is_null( $this->repo_api ) ) { - continue; - } - - $this->{$theme->type} = $theme; - $this->set_defaults( $theme->type ); - - if ( $this->repo_api->get_remote_info( 'style.css' ) ) { - $this->repo_api->get_repo_meta(); - $this->repo_api->get_remote_tag(); - $changelog = $this->get_changelog_filename( $theme->type ); - if ( $changelog ) { - $this->repo_api->get_remote_changes( $changelog ); - } - $theme->download_link = $this->repo_api->construct_download_link(); - } - - /* - * Update theme transient with rollback data. - */ - if ( ! empty( $_GET['rollback'] ) && - ( isset( $_GET['theme'] ) && $_GET['theme'] === $theme->repo ) - ) { - $this->tag = $_GET['rollback']; - $updates_transient = get_site_transient('update_themes'); - $rollback = array( - 'new_version' => $this->tag, - 'url' => $theme->uri, - 'package' => $this->repo_api->construct_download_link( $this->tag, false ), - ); - $updates_transient->response[ $theme->repo ] = $rollback; - set_site_transient( 'update_themes', $updates_transient ); - } - - /* - * Remove WordPress update row in theme row, only in multisite. - * Add update row to theme row, only in multisite. - */ - if ( is_multisite() ) { - add_action( 'after_theme_row', array( &$this, 'remove_after_theme_row' ), 10, 2 ); - if ( ! $this->tag ) { - add_action( "after_theme_row_$theme->repo", array( &$this, 'wp_theme_update_row' ), 10, 2 ); - } - } - - } - - $this->make_force_check_transient( 'themes' ); - - if ( ! is_multisite() ) { - add_filter( 'wp_prepare_themes_for_js', array( &$this, 'customize_theme_update_html' ) ); - } - - $update = array( 'do-core-reinstall', 'do-core-upgrade' ); - if ( empty( $_GET['action'] ) || ! in_array( $_GET['action'], $update, true ) ) { - add_filter( 'pre_set_site_transient_update_themes', array( &$this, 'pre_set_site_transient_update_themes' ) ); - } - - add_filter( 'themes_api', array( &$this, 'themes_api' ), 99, 3 ); - add_filter( 'upgrader_source_selection', array( &$this, 'upgrader_source_selection' ), 10, 3 ); - add_filter( 'http_request_args', array( 'Fragen\\GitHub_Updater\\API', 'http_request_args' ), 10, 2 ); - - Settings::$ghu_themes = $this->config; - } - - - /** - * Put changelog in plugins_api, return WP.org data as appropriate. - * - * @param $false - * @param $action - * @param $response - * - * @return mixed - */ - public function themes_api( $false, $action, $response ) { - if ( ! ( 'theme_information' === $action ) ) { - return $false; - } - - /* - * Early return $false for adding themes from repo - */ - if ( isset( $response->fields ) && ! $response->fields['sections'] ) { - return $false; - } - - foreach ( (array) $this->config as $theme ) { - if ( $response->slug === $theme->repo ) { - $response->slug = $theme->repo; - $response->name = $theme->name; - $response->homepage = $theme->uri; - $response->version = $theme->remote_version; - $response->sections = $theme->sections; - $response->description = implode( "\n", $theme->sections ); - $response->author = $theme->author; - $response->preview_url = $theme->theme_uri; - $response->requires = $theme->requires; - $response->tested = $theme->tested; - $response->downloaded = $theme->downloaded; - $response->last_updated = $theme->last_updated; - $response->rating = $theme->rating; - $response->num_ratings = $theme->num_ratings; - if ( $theme->private ) { - add_action( 'admin_head', array( $this, 'remove_rating_in_private_repo' ) ); - } - } - } - add_action( 'admin_head', array( $this, 'fix_display_none_in_themes_api' ) ); - - return $response; - } - - /** - * Fix for new issue in 3.9 :-( - */ - public function fix_display_none_in_themes_api() { - echo ''; - } - - /** - * Remove star rating for private themes. - */ - public function remove_rating_in_private_repo() { - echo ''; - } - - /** - * Add custom theme update row, from /wp-admin/includes/update.php - * - * @author Seth Carstens - */ - public function wp_theme_update_row( $theme_key, $theme ) { - $current = get_site_transient( 'update_themes' ); - $themes_allowedtags = array( - 'a' => array( 'href' => array(), 'title' => array() ), - 'abbr' => array( 'title' => array() ), - 'acronym' => array( 'title' => array() ), - 'code' => array(), - 'em' => array(), - 'strong' => array(), - ); - $theme_name = wp_kses( $theme['Name'], $themes_allowedtags ); - $wp_list_table = _get_list_table( 'WP_MS_Themes_List_Table' ); - $install_url = self_admin_url( "theme-install.php" ); - $details_url = add_query_arg( - array( - 'tab' => 'theme-information', - 'theme' => $theme_key, - 'TB_iframe' => 'true', - 'width' => 270, - 'height' => 400 - ), - $install_url ); - - if ( isset( $current->up_to_date[ $theme_key ] ) ) { - $rollback = $current->up_to_date[ $theme_key ]['rollback']; - $rollback_keys = array_keys( $rollback ); - echo '