Cyr-To-Lat - Version 4.5.2

Version Description

(08.12.2020) = * Fix bug on deploy to wp.org

Download this release

Release Info

Developer mihdan
Plugin Icon 128x128 Cyr-To-Lat
Version 4.5.2
Comparing to
See all releases

Code changes from version 4.5.0 to 4.5.2

Files changed (145) hide show
  1. LICENSE +0 -0
  2. classes/background-processes/class-conversion-process.php +0 -0
  3. classes/background-processes/class-post-conversion-process.php +0 -0
  4. classes/background-processes/class-term-conversion-process.php +0 -0
  5. classes/class-acf.php +0 -0
  6. classes/class-admin-notices.php +0 -0
  7. classes/class-conversion-tables.php +0 -0
  8. classes/class-converter.php +0 -0
  9. classes/class-main.php +0 -0
  10. classes/class-requirements.php +0 -0
  11. classes/class-settings.php +0 -0
  12. classes/class-wp-cli.php +0 -0
  13. css/cyr-to-lat-admin.css +0 -0
  14. cyr-to-lat.php +4 -4
  15. dist/js/settings/app.js +0 -0
  16. js/acf-field-group.js +0 -0
  17. languages/cyr2lat-ru_RU.mo +0 -0
  18. languages/cyr2lat-ru_RU.po +66 -42
  19. languages/cyr2lat-sv.mo +0 -0
  20. languages/cyr2lat-sv.po +0 -0
  21. languages/cyr2lat-uk.mo +0 -0
  22. languages/cyr2lat-uk.po +0 -0
  23. languages/en_US.pot +0 -0
  24. lib/polyfill-mbstring/LICENSE +0 -0
  25. lib/polyfill-mbstring/Mbstring.php +0 -0
  26. lib/polyfill-mbstring/README.md +13 -0
  27. lib/polyfill-mbstring/Resources/unidata/lowerCase.php +0 -0
  28. lib/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php +0 -0
  29. lib/polyfill-mbstring/Resources/unidata/upperCase.php +0 -0
  30. lib/polyfill-mbstring/bootstrap.php +0 -0
  31. lib/polyfill-mbstring/composer.json +34 -0
  32. lib/wp-background-processing/class-wp-async-request.php +0 -0
  33. lib/wp-background-processing/class-wp-background-process.php +0 -0
  34. readme.txt +9 -2
  35. vendor/autoload.php +1 -1
  36. vendor/composer/ClassLoader.php +3 -3
  37. vendor/composer/InstalledVersions.php +232 -0
  38. vendor/composer/LICENSE +0 -0
  39. vendor/composer/autoload_classmap.php +1 -0
  40. vendor/composer/autoload_files.php +0 -0
  41. vendor/composer/autoload_namespaces.php +0 -0
  42. vendor/composer/autoload_psr4.php +0 -0
  43. vendor/composer/autoload_real.php +8 -8
  44. vendor/composer/autoload_static.php +5 -4
  45. vendor/composer/installed.json +150 -126
  46. vendor/composer/installed.php +47 -0
  47. vendor/composer/installers/LICENSE +0 -0
  48. vendor/composer/installers/composer.json +112 -0
  49. vendor/composer/installers/src/Composer/Installers/AglInstaller.php +21 -0
  50. vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php +9 -0
  51. vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php +11 -0
  52. vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php +49 -0
  53. vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php +9 -0
  54. vendor/composer/installers/src/Composer/Installers/BaseInstaller.php +137 -0
  55. vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php +126 -0
  56. vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php +9 -0
  57. vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php +72 -0
  58. vendor/composer/installers/src/Composer/Installers/ChefInstaller.php +11 -0
  59. vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php +9 -0
  60. vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php +10 -0
  61. vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php +34 -0
  62. vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php +11 -0
  63. vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php +13 -0
  64. vendor/composer/installers/src/Composer/Installers/CraftInstaller.php +35 -0
  65. vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php +21 -0
  66. vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php +10 -0
  67. vendor/composer/installers/src/Composer/Installers/DframeInstaller.php +10 -0
  68. vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php +50 -0
  69. vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php +16 -0
  70. vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php +22 -0
  71. vendor/composer/installers/src/Composer/Installers/ElggInstaller.php +9 -0
  72. vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php +12 -0
  73. vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php +29 -0
  74. vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php +10 -0
  75. vendor/composer/installers/src/Composer/Installers/FuelInstaller.php +11 -0
  76. vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php +9 -0
  77. vendor/composer/installers/src/Composer/Installers/GravInstaller.php +30 -0
  78. vendor/composer/installers/src/Composer/Installers/HuradInstaller.php +25 -0
  79. vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php +11 -0
  80. vendor/composer/installers/src/Composer/Installers/Installer.php +280 -0
  81. vendor/composer/installers/src/Composer/Installers/ItopInstaller.php +9 -0
  82. vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php +15 -0
  83. vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php +18 -0
  84. vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php +11 -0
  85. vendor/composer/installers/src/Composer/Installers/KnownInstaller.php +11 -0
  86. vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php +10 -0
  87. vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php +9 -0
  88. vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php +27 -0
  89. vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php +9 -0
  90. vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php +10 -0
  91. vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php +10 -0
  92. vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php +9 -0
  93. vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php +16 -0
  94. vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php +11 -0
  95. vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php +37 -0
  96. vendor/composer/installers/src/Composer/Installers/MakoInstaller.php +9 -0
  97. vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php +23 -0
  98. vendor/composer/installers/src/Composer/Installers/MauticInstaller.php +25 -0
  99. vendor/composer/installers/src/Composer/Installers/MayaInstaller.php +33 -0
  100. vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php +51 -0
  101. vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php +119 -0
  102. vendor/composer/installers/src/Composer/Installers/ModxInstaller.php +12 -0
  103. vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php +58 -0
  104. vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php +47 -0
  105. vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php +24 -0
  106. vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php +14 -0
  107. vendor/composer/installers/src/Composer/Installers/OxidInstaller.php +59 -0
  108. vendor/composer/installers/src/Composer/Installers/PPIInstaller.php +9 -0
  109. vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php +11 -0
  110. vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php +11 -0
  111. vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php +21 -0
  112. vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php +32 -0
  113. vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php +29 -0
  114. vendor/composer/installers/src/Composer/Installers/Plugin.php +27 -0
  115. vendor/composer/installers/src/Composer/Installers/PortoInstaller.php +9 -0
  116. vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php +10 -0
  117. vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php +11 -0
  118. vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php +63 -0
  119. vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php +24 -0
  120. vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php +10 -0
  121. vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php +10 -0
  122. vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php +10 -0
  123. vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php +22 -0
  124. vendor/composer/installers/src/Composer/Installers/SMFInstaller.php +10 -0
  125. vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php +60 -0
  126. vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php +35 -0
  127. vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php +25 -0
  128. vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php +49 -0
  129. vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php +9 -0
  130. vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php +26 -0
  131. vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php +16 -0
  132. vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php +38 -0
  133. vendor/composer/installers/src/Composer/Installers/TaoInstaller.php +12 -0
  134. vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php +12 -0
  135. vendor/composer/installers/src/Composer/Installers/TuskInstaller.php +14 -0
  136. vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php +9 -0
  137. vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php +10 -0
  138. vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php +49 -0
  139. vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php +21 -0
  140. vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php +9 -0
  141. vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php +12 -0
  142. vendor/composer/installers/src/Composer/Installers/YawikInstaller.php +32 -0
  143. vendor/composer/installers/src/Composer/Installers/ZendInstaller.php +11 -0
  144. vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php +10 -0
  145. vendor/composer/installers/src/bootstrap.php +13 -0
LICENSE CHANGED
File without changes
classes/background-processes/class-conversion-process.php CHANGED
File without changes
classes/background-processes/class-post-conversion-process.php CHANGED
File without changes
classes/background-processes/class-term-conversion-process.php CHANGED
File without changes
classes/class-acf.php CHANGED
File without changes
classes/class-admin-notices.php CHANGED
File without changes
classes/class-conversion-tables.php CHANGED
File without changes
classes/class-converter.php CHANGED
File without changes
classes/class-main.php CHANGED
File without changes
classes/class-requirements.php CHANGED
File without changes
classes/class-settings.php CHANGED
File without changes
classes/class-wp-cli.php CHANGED
File without changes
css/cyr-to-lat-admin.css CHANGED
File without changes
cyr-to-lat.php CHANGED
@@ -8,9 +8,9 @@
8
  * Author: Sergey Biryukov, Mikhail Kobzarev, Igor Gergel
9
  * Author URI: https://profiles.wordpress.org/sergeybiryukov/
10
  * Requires at least: 5.1
11
- * Tested up to: 5.4
12
- * Version: 4.5.0
13
- * Stable tag: 4.5.0
14
  *
15
  * Text Domain: cyr2lat
16
  * Domain Path: /languages/
@@ -34,7 +34,7 @@ if ( defined( 'CYR_TO_LAT_VERSION' ) ) {
34
  /**
35
  * Plugin version.
36
  */
37
- define( 'CYR_TO_LAT_VERSION', '4.5.0' );
38
 
39
  /**
40
  * Path to the plugin dir.
8
  * Author: Sergey Biryukov, Mikhail Kobzarev, Igor Gergel
9
  * Author URI: https://profiles.wordpress.org/sergeybiryukov/
10
  * Requires at least: 5.1
11
+ * Tested up to: 5.6
12
+ * Version: 4.5.2
13
+ * Stable tag: 4.5.2
14
  *
15
  * Text Domain: cyr2lat
16
  * Domain Path: /languages/
34
  /**
35
  * Plugin version.
36
  */
37
+ define( 'CYR_TO_LAT_VERSION', '4.5.2' );
38
 
39
  /**
40
  * Path to the plugin dir.
dist/js/settings/app.js CHANGED
File without changes
js/acf-field-group.js CHANGED
File without changes
languages/cyr2lat-ru_RU.mo CHANGED
Binary file
languages/cyr2lat-ru_RU.po CHANGED
@@ -1,15 +1,15 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Cyr To Lat\n"
4
- "POT-Creation-Date: 2020-04-05 21:15+0300\n"
5
- "PO-Revision-Date: 2020-04-05 21:17+0300\n"
6
  "Last-Translator: KAGG Design <info@kagg.eu>\n"
7
  "Language-Team: KAGG Design\n"
8
  "Language: ru_RU\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 2.3\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
15
  "%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
@@ -32,7 +32,23 @@ msgstr ""
32
  msgid "Post slug converted:"
33
  msgstr "Ярлык поста сконвертирован:"
34
 
35
- #: classes/background-processes/class-post-conversion-process.php:84
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
36
  msgid "Post slugs conversion completed."
37
  msgstr "Конвертация ярлыков постов завершена."
38
 
@@ -44,47 +60,47 @@ msgstr "Ярлык термина сконвертирован:"
44
  msgid "Term slugs conversion completed."
45
  msgstr "Конвертация ярлыков терминов завершена."
46
 
47
- #: classes/class-converter.php:105
48
  msgid "Cyr To Lat converts existing post slugs in the background process."
49
  msgstr "Cyr To Lat конвертирует существующие ярлыки постов в фоновом процессе."
50
 
51
- #: classes/class-converter.php:112
52
  msgid "Cyr To Lat converts existing term slugs in the background process."
53
  msgstr ""
54
  "Cyr To Lat конвертирует существующие ярлыки терминов в фоновом процессе."
55
 
56
- #: classes/class-converter.php:119
57
  msgid "Cyr To Lat completed conversion of existing post slugs."
58
  msgstr "Cyr To Lat завершил конвертацию существующих ярлыков постов."
59
 
60
- #: classes/class-converter.php:126
61
  msgid "Cyr To Lat completed conversion of existing term slugs."
62
  msgstr "Cyr To Lat завершил конвертацию существующих ярлыков терминов."
63
 
64
- #: classes/class-converter.php:197
 
 
 
 
65
  msgid "Post slugs conversion started."
66
  msgstr "Начата конвертация ярлыков постов."
67
 
68
- #: classes/class-converter.php:199
69
  msgid "Cyr To Lat started conversion of existing post slugs."
70
  msgstr "Cyr To Lat начал конвертацию существующих ярлыков постов."
71
 
72
- #: classes/class-converter.php:206
73
- msgid "Cyr To Lat has not found existing post slugs for conversion."
74
- msgstr "Cyr To Lat не нашёл существующих ярлыков постов для конвертации."
75
 
76
- #: classes/class-converter.php:225
77
  msgid "Term slugs conversion started."
78
  msgstr "Начата конвертация ярлыков терминов."
79
 
80
- #: classes/class-converter.php:227
81
  msgid "Cyr To Lat started conversion of existing term slugs."
82
  msgstr "Cyr To Lat начал конвертацию существующих ярлыков терминов."
83
 
84
- #: classes/class-converter.php:234
85
- msgid "Cyr To Lat has not found existing term slugs for conversion."
86
- msgstr "Cyr To Lat не нашёл существующих ярлыков терминов для конвертации."
87
-
88
  #: classes/class-requirements.php:99
89
  msgid "Cyr To Lat plugin has been deactivated."
90
  msgstr "Плагин Cyr To Lat был деактивирован."
@@ -137,87 +153,95 @@ msgstr ""
137
  "См.: <a href=\"http://sevenspark.com/docs/ubermenu-3/faqs/menu-item-limit\" "
138
  "target=\"_blank\">Увеличение лимита max input vars.</a>"
139
 
140
- #: classes/class-settings.php:122
141
  msgid "View Cyr To Lat settings"
142
  msgstr "Посмотреть настройки Cyr To Lat"
143
 
144
- #: classes/class-settings.php:123
145
  msgid "Settings"
146
  msgstr "Настройки"
147
 
148
- #: classes/class-settings.php:135
149
  msgid "ISO9 Table"
150
  msgstr "Таблица ISO9"
151
 
152
- #: classes/class-settings.php:144
153
  msgid "bel Table"
154
  msgstr "Таблица bel"
155
 
156
- #: classes/class-settings.php:153
157
  msgid "uk Table"
158
  msgstr "Таблица uk"
159
 
160
- #: classes/class-settings.php:162
161
  msgid "bg_BG Table"
162
  msgstr "Таблица bg_BG"
163
 
164
- #: classes/class-settings.php:171
165
  msgid "mk_MK Table"
166
  msgstr "Таблица mk_MK"
167
 
168
- #: classes/class-settings.php:180
169
  msgid "sr_RS Table"
170
  msgstr "Таблица sr_RS"
171
 
172
- #: classes/class-settings.php:189
 
 
 
 
 
 
 
 
173
  msgid "ka_GE Table"
174
  msgstr "Таблица ka_GE"
175
 
176
- #: classes/class-settings.php:198
177
  msgid "kk Table"
178
  msgstr "Таблица kk"
179
 
180
- #: classes/class-settings.php:207
181
  msgid "he_IL Table"
182
  msgstr "Таблица he_IL"
183
 
184
- #: classes/class-settings.php:216
185
  msgid "zh_CN Table"
186
  msgstr "Таблица zh_CN"
187
 
188
- #: classes/class-settings.php:280 classes/class-settings.php:281
 
 
 
 
189
  msgid "Cyr To Lat"
190
  msgstr "Cyr To Lat"
191
 
192
  #. Admin panel title.
193
- #: classes/class-settings.php:301
194
  msgid "Cyr To Lat Plugin Options"
195
  msgstr "Опции плагина Cyr To Lat"
196
 
197
- #: classes/class-settings.php:316
198
  msgid "Convert Existing Slugs"
199
  msgstr "Конвертировать существующие ярлыки"
200
 
201
- #: classes/class-settings.php:322
202
  msgid "Donate"
203
  msgstr "Пожертвовать"
204
 
205
- #: classes/class-settings.php:325
206
  msgid "Would you like to support the advancement of this plugin?"
207
  msgstr "Хотите поддержать развитие этого плагина?"
208
 
209
- #: classes/class-settings.php:339
210
  msgid "Your appreciation"
211
  msgstr "Ваша оценка"
212
 
213
- #: classes/class-settings.php:344
214
  msgid "Leave a ★★★★★ plugin review on WordPress.org"
215
  msgstr "Оставьте ★★★★★ обзор плагина на WordPress.org"
216
 
217
- #: classes/class-settings.php:363
218
- msgid "(current)"
219
- msgstr "(текущая)"
220
-
221
  #. translators: %d: cron interval
222
  #: lib/wp-background-processing/class-wp-background-process.php:399
223
  #, php-format
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Cyr To Lat\n"
4
+ "POT-Creation-Date: 2020-05-19 22:53+0300\n"
5
+ "PO-Revision-Date: 2020-05-19 22:55+0300\n"
6
  "Last-Translator: KAGG Design <info@kagg.eu>\n"
7
  "Language-Team: KAGG Design\n"
8
  "Language: ru_RU\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 2.3.1\n"
13
  "X-Poedit-Basepath: ..\n"
14
  "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n"
15
  "%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n"
32
  msgid "Post slug converted:"
33
  msgstr "Ярлык поста сконвертирован:"
34
 
35
+ #: classes/background-processes/class-post-conversion-process.php:101
36
+ msgid "Attachment file converted:"
37
+ msgstr "Файл вложения сконвертирован:"
38
+
39
+ #: classes/background-processes/class-post-conversion-process.php:107
40
+ msgid "Cannot convert attachment file for attachment id:"
41
+ msgstr "Невозможно сконвертировать файл вложения для вложения с id:"
42
+
43
+ #: classes/background-processes/class-post-conversion-process.php:125
44
+ msgid "Thumbnail file renamed:"
45
+ msgstr "Файл миниатюры переименован:"
46
+
47
+ #: classes/background-processes/class-post-conversion-process.php:128
48
+ msgid "Cannot rename thumbnail file:"
49
+ msgstr "Невозможно переименовать файл миниатюры:"
50
+
51
+ #: classes/background-processes/class-post-conversion-process.php:197
52
  msgid "Post slugs conversion completed."
53
  msgstr "Конвертация ярлыков постов завершена."
54
 
60
  msgid "Term slugs conversion completed."
61
  msgstr "Конвертация ярлыков терминов завершена."
62
 
63
+ #: classes/class-converter.php:115
64
  msgid "Cyr To Lat converts existing post slugs in the background process."
65
  msgstr "Cyr To Lat конвертирует существующие ярлыки постов в фоновом процессе."
66
 
67
+ #: classes/class-converter.php:122
68
  msgid "Cyr To Lat converts existing term slugs in the background process."
69
  msgstr ""
70
  "Cyr To Lat конвертирует существующие ярлыки терминов в фоновом процессе."
71
 
72
+ #: classes/class-converter.php:129
73
  msgid "Cyr To Lat completed conversion of existing post slugs."
74
  msgstr "Cyr To Lat завершил конвертацию существующих ярлыков постов."
75
 
76
+ #: classes/class-converter.php:136
77
  msgid "Cyr To Lat completed conversion of existing term slugs."
78
  msgstr "Cyr To Lat завершил конвертацию существующих ярлыков терминов."
79
 
80
+ #: classes/class-converter.php:214
81
+ msgid "Cyr To Lat has not found existing post slugs for conversion."
82
+ msgstr "Cyr To Lat не нашёл существующих ярлыков постов для конвертации."
83
+
84
+ #: classes/class-converter.php:226
85
  msgid "Post slugs conversion started."
86
  msgstr "Начата конвертация ярлыков постов."
87
 
88
+ #: classes/class-converter.php:228
89
  msgid "Cyr To Lat started conversion of existing post slugs."
90
  msgstr "Cyr To Lat начал конвертацию существующих ярлыков постов."
91
 
92
+ #: classes/class-converter.php:253
93
+ msgid "Cyr To Lat has not found existing term slugs for conversion."
94
+ msgstr "Cyr To Lat не нашёл существующих ярлыков терминов для конвертации."
95
 
96
+ #: classes/class-converter.php:265
97
  msgid "Term slugs conversion started."
98
  msgstr "Начата конвертация ярлыков терминов."
99
 
100
+ #: classes/class-converter.php:267
101
  msgid "Cyr To Lat started conversion of existing term slugs."
102
  msgstr "Cyr To Lat начал конвертацию существующих ярлыков терминов."
103
 
 
 
 
 
104
  #: classes/class-requirements.php:99
105
  msgid "Cyr To Lat plugin has been deactivated."
106
  msgstr "Плагин Cyr To Lat был деактивирован."
153
  "См.: <a href=\"http://sevenspark.com/docs/ubermenu-3/faqs/menu-item-limit\" "
154
  "target=\"_blank\">Увеличение лимита max input vars.</a>"
155
 
156
+ #: classes/class-settings.php:129
157
  msgid "View Cyr To Lat settings"
158
  msgstr "Посмотреть настройки Cyr To Lat"
159
 
160
+ #: classes/class-settings.php:130
161
  msgid "Settings"
162
  msgstr "Настройки"
163
 
164
+ #: classes/class-settings.php:146
165
  msgid "ISO9 Table"
166
  msgstr "Таблица ISO9"
167
 
168
+ #: classes/class-settings.php:149
169
  msgid "bel Table"
170
  msgstr "Таблица bel"
171
 
172
+ #: classes/class-settings.php:152
173
  msgid "uk Table"
174
  msgstr "Таблица uk"
175
 
176
+ #: classes/class-settings.php:155
177
  msgid "bg_BG Table"
178
  msgstr "Таблица bg_BG"
179
 
180
+ #: classes/class-settings.php:158
181
  msgid "mk_MK Table"
182
  msgstr "Таблица mk_MK"
183
 
184
+ #: classes/class-settings.php:161
185
  msgid "sr_RS Table"
186
  msgstr "Таблица sr_RS"
187
 
188
+ #: classes/class-settings.php:164
189
+ msgid "el Table"
190
+ msgstr "Таблица el"
191
+
192
+ #: classes/class-settings.php:167
193
+ msgid "hy Table"
194
+ msgstr "Таблица hy"
195
+
196
+ #: classes/class-settings.php:170
197
  msgid "ka_GE Table"
198
  msgstr "Таблица ka_GE"
199
 
200
+ #: classes/class-settings.php:173
201
  msgid "kk Table"
202
  msgstr "Таблица kk"
203
 
204
+ #: classes/class-settings.php:176
205
  msgid "he_IL Table"
206
  msgstr "Таблица he_IL"
207
 
208
+ #: classes/class-settings.php:179
209
  msgid "zh_CN Table"
210
  msgstr "Таблица zh_CN"
211
 
212
+ #: classes/class-settings.php:206
213
+ msgid "(current)"
214
+ msgstr "(текущая)"
215
+
216
+ #: classes/class-settings.php:273 classes/class-settings.php:274
217
  msgid "Cyr To Lat"
218
  msgstr "Cyr To Lat"
219
 
220
  #. Admin panel title.
221
+ #: classes/class-settings.php:294
222
  msgid "Cyr To Lat Plugin Options"
223
  msgstr "Опции плагина Cyr To Lat"
224
 
225
+ #: classes/class-settings.php:309
226
  msgid "Convert Existing Slugs"
227
  msgstr "Конвертировать существующие ярлыки"
228
 
229
+ #: classes/class-settings.php:315
230
  msgid "Donate"
231
  msgstr "Пожертвовать"
232
 
233
+ #: classes/class-settings.php:318
234
  msgid "Would you like to support the advancement of this plugin?"
235
  msgstr "Хотите поддержать развитие этого плагина?"
236
 
237
+ #: classes/class-settings.php:332
238
  msgid "Your appreciation"
239
  msgstr "Ваша оценка"
240
 
241
+ #: classes/class-settings.php:337
242
  msgid "Leave a ★★★★★ plugin review on WordPress.org"
243
  msgstr "Оставьте ★★★★★ обзор плагина на WordPress.org"
244
 
 
 
 
 
245
  #. translators: %d: cron interval
246
  #: lib/wp-background-processing/class-wp-background-process.php:399
247
  #, php-format
languages/cyr2lat-sv.mo CHANGED
File without changes
languages/cyr2lat-sv.po CHANGED
File without changes
languages/cyr2lat-uk.mo CHANGED
File without changes
languages/cyr2lat-uk.po CHANGED
File without changes
languages/en_US.pot CHANGED
File without changes
lib/polyfill-mbstring/LICENSE CHANGED
File without changes
lib/polyfill-mbstring/Mbstring.php CHANGED
File without changes
lib/polyfill-mbstring/README.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Symfony Polyfill / Mbstring
2
+ ===========================
3
+
4
+ This component provides a partial, native PHP implementation for the
5
+ [Mbstring](http://php.net/mbstring) extension.
6
+
7
+ More information can be found in the
8
+ [main Polyfill README](https://github.com/symfony/polyfill/blob/master/README.md).
9
+
10
+ License
11
+ =======
12
+
13
+ This library is released under the [MIT license](LICENSE).
lib/polyfill-mbstring/Resources/unidata/lowerCase.php CHANGED
File without changes
lib/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php CHANGED
File without changes
lib/polyfill-mbstring/Resources/unidata/upperCase.php CHANGED
File without changes
lib/polyfill-mbstring/bootstrap.php CHANGED
File without changes
lib/polyfill-mbstring/composer.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "symfony/polyfill-mbstring",
3
+ "type": "library",
4
+ "description": "Symfony polyfill for the Mbstring extension",
5
+ "keywords": ["polyfill", "shim", "compatibility", "portable", "mbstring"],
6
+ "homepage": "https://symfony.com",
7
+ "license": "MIT",
8
+ "authors": [
9
+ {
10
+ "name": "Nicolas Grekas",
11
+ "email": "p@tchwork.com"
12
+ },
13
+ {
14
+ "name": "Symfony Community",
15
+ "homepage": "https://symfony.com/contributors"
16
+ }
17
+ ],
18
+ "require": {
19
+ "php": ">=5.3.3"
20
+ },
21
+ "autoload": {
22
+ "psr-4": { "Symfony\\Polyfill\\Mbstring\\": "" },
23
+ "files": [ "bootstrap.php" ]
24
+ },
25
+ "suggest": {
26
+ "ext-mbstring": "For best performance"
27
+ },
28
+ "minimum-stability": "dev",
29
+ "extra": {
30
+ "branch-alias": {
31
+ "dev-master": "1.13-dev"
32
+ }
33
+ }
34
+ }
lib/wp-background-processing/class-wp-async-request.php CHANGED
File without changes
lib/wp-background-processing/class-wp-background-process.php CHANGED
File without changes
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: SergeyBiryukov, mihdan, karevn, webvitaly, kaggdesign
3
  Tags: cyrillic, belorussian, ukrainian, bulgarian, macedonian, georgian, kazakh, latin, l10n, russian, cyr-to-lat, cyr2lat, rustolat, slugs, translations, transliteration
4
  Requires at least: 5.1
5
- Tested up to: 5.4
6
- Stable tag: 4.5.0
7
  Requires PHP: 5.6.20
8
 
9
  Converts Cyrillic characters in post, page and term slugs to Latin characters.
@@ -99,6 +99,13 @@ Yes you can!
99
 
100
  == Changelog ==
101
 
 
 
 
 
 
 
 
102
  = 4.5.0 (18.05.2020) =
103
  * Added Greek and Armenian languages
104
  * Added background conversion of attachments and thumbnails
2
  Contributors: SergeyBiryukov, mihdan, karevn, webvitaly, kaggdesign
3
  Tags: cyrillic, belorussian, ukrainian, bulgarian, macedonian, georgian, kazakh, latin, l10n, russian, cyr-to-lat, cyr2lat, rustolat, slugs, translations, transliteration
4
  Requires at least: 5.1
5
+ Tested up to: 5.6
6
+ Stable tag: 4.5.2
7
  Requires PHP: 5.6.20
8
 
9
  Converts Cyrillic characters in post, page and term slugs to Latin characters.
99
 
100
  == Changelog ==
101
 
102
+ = 4.5.2 (08.12.2020) =
103
+ * Fix bug on deploy to wp.org
104
+
105
+ = 4.5.1 (07.12.2020) =
106
+ * Tested up to WordPress 5.6
107
+ * Tested on PHP 5.6 - 8.0
108
+
109
  = 4.5.0 (18.05.2020) =
110
  * Added Greek and Armenian languages
111
  * Added background conversion of attachments and thumbnails
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit460c17ef6a9eaa75f4cb75bec3b19218::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit66aae1050084c32980bd69853e156383::getLoader();
vendor/composer/ClassLoader.php CHANGED
@@ -37,8 +37,8 @@ namespace Composer\Autoload;
37
  *
38
  * @author Fabien Potencier <fabien@symfony.com>
39
  * @author Jordi Boggiano <j.boggiano@seld.be>
40
- * @see http://www.php-fig.org/psr/psr-0/
41
- * @see http://www.php-fig.org/psr/psr-4/
42
  */
43
  class ClassLoader
44
  {
@@ -60,7 +60,7 @@ class ClassLoader
60
  public function getPrefixes()
61
  {
62
  if (!empty($this->prefixesPsr0)) {
63
- return call_user_func_array('array_merge', $this->prefixesPsr0);
64
  }
65
 
66
  return array();
37
  *
38
  * @author Fabien Potencier <fabien@symfony.com>
39
  * @author Jordi Boggiano <j.boggiano@seld.be>
40
+ * @see https://www.php-fig.org/psr/psr-0/
41
+ * @see https://www.php-fig.org/psr/psr-4/
42
  */
43
  class ClassLoader
44
  {
60
  public function getPrefixes()
61
  {
62
  if (!empty($this->prefixesPsr0)) {
63
+ return call_user_func_array('array_merge', array_values($this->prefixesPsr0));
64
  }
65
 
66
  return array();
vendor/composer/InstalledVersions.php ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace Composer;
4
+
5
+ use Composer\Semver\VersionParser;
6
+
7
+
8
+
9
+
10
+
11
+
12
+ class InstalledVersions
13
+ {
14
+ private static $installed = array (
15
+ 'root' =>
16
+ array (
17
+ 'pretty_version' => '4.5.1.x-dev',
18
+ 'version' => '4.5.1.9999999-dev',
19
+ 'aliases' =>
20
+ array (
21
+ ),
22
+ 'reference' => '6af2eee63c3d9ebb8f0ff33d4ec8a093aa587245',
23
+ 'name' => 'mihdan/cyr2lat',
24
+ ),
25
+ 'versions' =>
26
+ array (
27
+ 'composer/installers' =>
28
+ array (
29
+ 'pretty_version' => 'v1.9.0',
30
+ 'version' => '1.9.0.0',
31
+ 'aliases' =>
32
+ array (
33
+ ),
34
+ 'reference' => 'b93bcf0fa1fccb0b7d176b0967d969691cd74cca',
35
+ ),
36
+ 'mihdan/cyr2lat' =>
37
+ array (
38
+ 'pretty_version' => '4.5.1.x-dev',
39
+ 'version' => '4.5.1.9999999-dev',
40
+ 'aliases' =>
41
+ array (
42
+ ),
43
+ 'reference' => '6af2eee63c3d9ebb8f0ff33d4ec8a093aa587245',
44
+ ),
45
+ 'roundcube/plugin-installer' =>
46
+ array (
47
+ 'replaced' =>
48
+ array (
49
+ 0 => '*',
50
+ ),
51
+ ),
52
+ 'shama/baton' =>
53
+ array (
54
+ 'replaced' =>
55
+ array (
56
+ 0 => '*',
57
+ ),
58
+ ),
59
+ ),
60
+ );
61
+
62
+
63
+
64
+
65
+
66
+
67
+
68
+ public static function getInstalledPackages()
69
+ {
70
+ return array_keys(self::$installed['versions']);
71
+ }
72
+
73
+
74
+
75
+
76
+
77
+
78
+
79
+
80
+
81
+ public static function isInstalled($packageName)
82
+ {
83
+ return isset(self::$installed['versions'][$packageName]);
84
+ }
85
+
86
+
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+
97
+
98
+
99
+ public static function satisfies(VersionParser $parser, $packageName, $constraint)
100
+ {
101
+ $constraint = $parser->parseConstraints($constraint);
102
+ $provided = $parser->parseConstraints(self::getVersionRanges($packageName));
103
+
104
+ return $provided->matches($constraint);
105
+ }
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+ public static function getVersionRanges($packageName)
117
+ {
118
+ if (!isset(self::$installed['versions'][$packageName])) {
119
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
120
+ }
121
+
122
+ $ranges = array();
123
+ if (isset(self::$installed['versions'][$packageName]['pretty_version'])) {
124
+ $ranges[] = self::$installed['versions'][$packageName]['pretty_version'];
125
+ }
126
+ if (array_key_exists('aliases', self::$installed['versions'][$packageName])) {
127
+ $ranges = array_merge($ranges, self::$installed['versions'][$packageName]['aliases']);
128
+ }
129
+ if (array_key_exists('replaced', self::$installed['versions'][$packageName])) {
130
+ $ranges = array_merge($ranges, self::$installed['versions'][$packageName]['replaced']);
131
+ }
132
+ if (array_key_exists('provided', self::$installed['versions'][$packageName])) {
133
+ $ranges = array_merge($ranges, self::$installed['versions'][$packageName]['provided']);
134
+ }
135
+
136
+ return implode(' || ', $ranges);
137
+ }
138
+
139
+
140
+
141
+
142
+
143
+ public static function getVersion($packageName)
144
+ {
145
+ if (!isset(self::$installed['versions'][$packageName])) {
146
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
147
+ }
148
+
149
+ if (!isset(self::$installed['versions'][$packageName]['version'])) {
150
+ return null;
151
+ }
152
+
153
+ return self::$installed['versions'][$packageName]['version'];
154
+ }
155
+
156
+
157
+
158
+
159
+
160
+ public static function getPrettyVersion($packageName)
161
+ {
162
+ if (!isset(self::$installed['versions'][$packageName])) {
163
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
164
+ }
165
+
166
+ if (!isset(self::$installed['versions'][$packageName]['pretty_version'])) {
167
+ return null;
168
+ }
169
+
170
+ return self::$installed['versions'][$packageName]['pretty_version'];
171
+ }
172
+
173
+
174
+
175
+
176
+
177
+ public static function getReference($packageName)
178
+ {
179
+ if (!isset(self::$installed['versions'][$packageName])) {
180
+ throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed');
181
+ }
182
+
183
+ if (!isset(self::$installed['versions'][$packageName]['reference'])) {
184
+ return null;
185
+ }
186
+
187
+ return self::$installed['versions'][$packageName]['reference'];
188
+ }
189
+
190
+
191
+
192
+
193
+
194
+ public static function getRootPackage()
195
+ {
196
+ return self::$installed['root'];
197
+ }
198
+
199
+
200
+
201
+
202
+
203
+
204
+
205
+ public static function getRawData()
206
+ {
207
+ return self::$installed;
208
+ }
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+
217
+
218
+
219
+
220
+
221
+
222
+
223
+
224
+
225
+
226
+
227
+
228
+ public static function reload($data)
229
+ {
230
+ self::$installed = $data;
231
+ }
232
+ }
vendor/composer/LICENSE CHANGED
File without changes
vendor/composer/autoload_classmap.php CHANGED
@@ -6,6 +6,7 @@ $vendorDir = dirname(dirname(__FILE__));
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
 
9
  'Cyr_To_Lat\\ACF' => $baseDir . '/classes/class-acf.php',
10
  'Cyr_To_Lat\\Admin_Notices' => $baseDir . '/classes/class-admin-notices.php',
11
  'Cyr_To_Lat\\Conversion_Process' => $baseDir . '/classes/background-processes/class-conversion-process.php',
6
  $baseDir = dirname($vendorDir);
7
 
8
  return array(
9
+ 'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
10
  'Cyr_To_Lat\\ACF' => $baseDir . '/classes/class-acf.php',
11
  'Cyr_To_Lat\\Admin_Notices' => $baseDir . '/classes/class-admin-notices.php',
12
  'Cyr_To_Lat\\Conversion_Process' => $baseDir . '/classes/background-processes/class-conversion-process.php',
vendor/composer/autoload_files.php CHANGED
File without changes
vendor/composer/autoload_namespaces.php CHANGED
File without changes
vendor/composer/autoload_psr4.php CHANGED
File without changes
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit460c17ef6a9eaa75f4cb75bec3b19218
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit460c17ef6a9eaa75f4cb75bec3b19218
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInit460c17ef6a9eaa75f4cb75bec3b19218', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInit460c17ef6a9eaa75f4cb75bec3b19218', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
- require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInit460c17ef6a9eaa75f4cb75bec3b19218::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
@@ -51,19 +51,19 @@ class ComposerAutoloaderInit460c17ef6a9eaa75f4cb75bec3b19218
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
- $includeFiles = Composer\Autoload\ComposerStaticInit460c17ef6a9eaa75f4cb75bec3b19218::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
- composerRequire460c17ef6a9eaa75f4cb75bec3b19218($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
- function composerRequire460c17ef6a9eaa75f4cb75bec3b19218($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit66aae1050084c32980bd69853e156383
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInit66aae1050084c32980bd69853e156383', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInit66aae1050084c32980bd69853e156383', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
+ require __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInit66aae1050084c32980bd69853e156383::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
+ $includeFiles = Composer\Autoload\ComposerStaticInit66aae1050084c32980bd69853e156383::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
+ composerRequire66aae1050084c32980bd69853e156383($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
+ function composerRequire66aae1050084c32980bd69853e156383($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit460c17ef6a9eaa75f4cb75bec3b19218
8
  {
9
  public static $files = array (
10
  '344a0f93a05b8ca362c22e39586db500' => __DIR__ . '/../..' . '/lib/polyfill-mbstring/bootstrap.php',
@@ -25,6 +25,7 @@ class ComposerStaticInit460c17ef6a9eaa75f4cb75bec3b19218
25
  );
26
 
27
  public static $classMap = array (
 
28
  'Cyr_To_Lat\\ACF' => __DIR__ . '/../..' . '/classes/class-acf.php',
29
  'Cyr_To_Lat\\Admin_Notices' => __DIR__ . '/../..' . '/classes/class-admin-notices.php',
30
  'Cyr_To_Lat\\Conversion_Process' => __DIR__ . '/../..' . '/classes/background-processes/class-conversion-process.php',
@@ -44,9 +45,9 @@ class ComposerStaticInit460c17ef6a9eaa75f4cb75bec3b19218
44
  public static function getInitializer(ClassLoader $loader)
45
  {
46
  return \Closure::bind(function () use ($loader) {
47
- $loader->prefixLengthsPsr4 = ComposerStaticInit460c17ef6a9eaa75f4cb75bec3b19218::$prefixLengthsPsr4;
48
- $loader->prefixDirsPsr4 = ComposerStaticInit460c17ef6a9eaa75f4cb75bec3b19218::$prefixDirsPsr4;
49
- $loader->classMap = ComposerStaticInit460c17ef6a9eaa75f4cb75bec3b19218::$classMap;
50
 
51
  }, null, ClassLoader::class);
52
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit66aae1050084c32980bd69853e156383
8
  {
9
  public static $files = array (
10
  '344a0f93a05b8ca362c22e39586db500' => __DIR__ . '/../..' . '/lib/polyfill-mbstring/bootstrap.php',
25
  );
26
 
27
  public static $classMap = array (
28
+ 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
29
  'Cyr_To_Lat\\ACF' => __DIR__ . '/../..' . '/classes/class-acf.php',
30
  'Cyr_To_Lat\\Admin_Notices' => __DIR__ . '/../..' . '/classes/class-admin-notices.php',
31
  'Cyr_To_Lat\\Conversion_Process' => __DIR__ . '/../..' . '/classes/background-processes/class-conversion-process.php',
45
  public static function getInitializer(ClassLoader $loader)
46
  {
47
  return \Closure::bind(function () use ($loader) {
48
+ $loader->prefixLengthsPsr4 = ComposerStaticInit66aae1050084c32980bd69853e156383::$prefixLengthsPsr4;
49
+ $loader->prefixDirsPsr4 = ComposerStaticInit66aae1050084c32980bd69853e156383::$prefixDirsPsr4;
50
+ $loader->classMap = ComposerStaticInit66aae1050084c32980bd69853e156383::$classMap;
51
 
52
  }, null, ClassLoader::class);
53
  }
vendor/composer/installed.json CHANGED
@@ -1,126 +1,150 @@
1
- [
2
- {
3
- "name": "composer/installers",
4
- "version": "v1.7.0",
5
- "version_normalized": "1.7.0.0",
6
- "source": {
7
- "type": "git",
8
- "url": "https://github.com/composer/installers.git",
9
- "reference": "141b272484481432cda342727a427dc1e206bfa0"
10
- },
11
- "dist": {
12
- "type": "zip",
13
- "url": "https://api.github.com/repos/composer/installers/zipball/141b272484481432cda342727a427dc1e206bfa0",
14
- "reference": "141b272484481432cda342727a427dc1e206bfa0",
15
- "shasum": ""
16
- },
17
- "require": {
18
- "composer-plugin-api": "^1.0"
19
- },
20
- "replace": {
21
- "roundcube/plugin-installer": "*",
22
- "shama/baton": "*"
23
- },
24
- "require-dev": {
25
- "composer/composer": "1.0.*@dev",
26
- "phpunit/phpunit": "^4.8.36"
27
- },
28
- "time": "2019-08-12T15:00:31+00:00",
29
- "type": "composer-plugin",
30
- "extra": {
31
- "class": "Composer\\Installers\\Plugin",
32
- "branch-alias": {
33
- "dev-master": "1.0-dev"
34
- }
35
- },
36
- "installation-source": "dist",
37
- "autoload": {
38
- "psr-4": {
39
- "Composer\\Installers\\": "src/Composer/Installers"
40
- }
41
- },
42
- "notification-url": "https://packagist.org/downloads/",
43
- "license": [
44
- "MIT"
45
- ],
46
- "authors": [
47
- {
48
- "name": "Kyle Robinson Young",
49
- "email": "kyle@dontkry.com",
50
- "homepage": "https://github.com/shama"
51
- }
52
- ],
53
- "description": "A multi-framework Composer library installer",
54
- "homepage": "https://composer.github.io/installers/",
55
- "keywords": [
56
- "Craft",
57
- "Dolibarr",
58
- "Eliasis",
59
- "Hurad",
60
- "ImageCMS",
61
- "Kanboard",
62
- "Lan Management System",
63
- "MODX Evo",
64
- "Mautic",
65
- "Maya",
66
- "OXID",
67
- "Plentymarkets",
68
- "Porto",
69
- "RadPHP",
70
- "SMF",
71
- "Thelia",
72
- "Whmcs",
73
- "WolfCMS",
74
- "agl",
75
- "aimeos",
76
- "annotatecms",
77
- "attogram",
78
- "bitrix",
79
- "cakephp",
80
- "chef",
81
- "cockpit",
82
- "codeigniter",
83
- "concrete5",
84
- "croogo",
85
- "dokuwiki",
86
- "drupal",
87
- "eZ Platform",
88
- "elgg",
89
- "expressionengine",
90
- "fuelphp",
91
- "grav",
92
- "installer",
93
- "itop",
94
- "joomla",
95
- "known",
96
- "kohana",
97
- "laravel",
98
- "lavalite",
99
- "lithium",
100
- "magento",
101
- "majima",
102
- "mako",
103
- "mediawiki",
104
- "modulework",
105
- "modx",
106
- "moodle",
107
- "osclass",
108
- "phpbb",
109
- "piwik",
110
- "ppi",
111
- "puppet",
112
- "pxcms",
113
- "reindex",
114
- "roundcube",
115
- "shopware",
116
- "silverstripe",
117
- "sydes",
118
- "symfony",
119
- "typo3",
120
- "wordpress",
121
- "yawik",
122
- "zend",
123
- "zikula"
124
- ]
125
- }
126
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "packages": [
3
+ {
4
+ "name": "composer/installers",
5
+ "version": "v1.9.0",
6
+ "version_normalized": "1.9.0.0",
7
+ "source": {
8
+ "type": "git",
9
+ "url": "https://github.com/composer/installers.git",
10
+ "reference": "b93bcf0fa1fccb0b7d176b0967d969691cd74cca"
11
+ },
12
+ "dist": {
13
+ "type": "zip",
14
+ "url": "https://api.github.com/repos/composer/installers/zipball/b93bcf0fa1fccb0b7d176b0967d969691cd74cca",
15
+ "reference": "b93bcf0fa1fccb0b7d176b0967d969691cd74cca",
16
+ "shasum": ""
17
+ },
18
+ "require": {
19
+ "composer-plugin-api": "^1.0 || ^2.0"
20
+ },
21
+ "replace": {
22
+ "roundcube/plugin-installer": "*",
23
+ "shama/baton": "*"
24
+ },
25
+ "require-dev": {
26
+ "composer/composer": "1.6.* || 2.0.*@dev",
27
+ "composer/semver": "1.0.* || 2.0.*@dev",
28
+ "phpunit/phpunit": "^4.8.36",
29
+ "sebastian/comparator": "^1.2.4",
30
+ "symfony/process": "^2.3"
31
+ },
32
+ "time": "2020-04-07T06:57:05+00:00",
33
+ "type": "composer-plugin",
34
+ "extra": {
35
+ "class": "Composer\\Installers\\Plugin",
36
+ "branch-alias": {
37
+ "dev-master": "1.0-dev"
38
+ }
39
+ },
40
+ "installation-source": "dist",
41
+ "autoload": {
42
+ "psr-4": {
43
+ "Composer\\Installers\\": "src/Composer/Installers"
44
+ }
45
+ },
46
+ "notification-url": "https://packagist.org/downloads/",
47
+ "license": [
48
+ "MIT"
49
+ ],
50
+ "authors": [
51
+ {
52
+ "name": "Kyle Robinson Young",
53
+ "email": "kyle@dontkry.com",
54
+ "homepage": "https://github.com/shama"
55
+ }
56
+ ],
57
+ "description": "A multi-framework Composer library installer",
58
+ "homepage": "https://composer.github.io/installers/",
59
+ "keywords": [
60
+ "Craft",
61
+ "Dolibarr",
62
+ "Eliasis",
63
+ "Hurad",
64
+ "ImageCMS",
65
+ "Kanboard",
66
+ "Lan Management System",
67
+ "MODX Evo",
68
+ "MantisBT",
69
+ "Mautic",
70
+ "Maya",
71
+ "OXID",
72
+ "Plentymarkets",
73
+ "Porto",
74
+ "RadPHP",
75
+ "SMF",
76
+ "Thelia",
77
+ "Whmcs",
78
+ "WolfCMS",
79
+ "agl",
80
+ "aimeos",
81
+ "annotatecms",
82
+ "attogram",
83
+ "bitrix",
84
+ "cakephp",
85
+ "chef",
86
+ "cockpit",
87
+ "codeigniter",
88
+ "concrete5",
89
+ "croogo",
90
+ "dokuwiki",
91
+ "drupal",
92
+ "eZ Platform",
93
+ "elgg",
94
+ "expressionengine",
95
+ "fuelphp",
96
+ "grav",
97
+ "installer",
98
+ "itop",
99
+ "joomla",
100
+ "known",
101
+ "kohana",
102
+ "laravel",
103
+ "lavalite",
104
+ "lithium",
105
+ "magento",
106
+ "majima",
107
+ "mako",
108
+ "mediawiki",
109
+ "modulework",
110
+ "modx",
111
+ "moodle",
112
+ "osclass",
113
+ "phpbb",
114
+ "piwik",
115
+ "ppi",
116
+ "puppet",
117
+ "pxcms",
118
+ "reindex",
119
+ "roundcube",
120
+ "shopware",
121
+ "silverstripe",
122
+ "sydes",
123
+ "sylius",
124
+ "symfony",
125
+ "typo3",
126
+ "wordpress",
127
+ "yawik",
128
+ "zend",
129
+ "zikula"
130
+ ],
131
+ "support": {
132
+ "issues": "https://github.com/composer/installers/issues",
133
+ "source": "https://github.com/composer/installers/tree/v1.9.0"
134
+ },
135
+ "funding": [
136
+ {
137
+ "url": "https://packagist.com",
138
+ "type": "custom"
139
+ },
140
+ {
141
+ "url": "https://tidelift.com/funding/github/packagist/composer/composer",
142
+ "type": "tidelift"
143
+ }
144
+ ],
145
+ "install-path": "./installers"
146
+ }
147
+ ],
148
+ "dev": false,
149
+ "dev-package-names": []
150
+ }
vendor/composer/installed.php ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php return array (
2
+ 'root' =>
3
+ array (
4
+ 'pretty_version' => '4.5.1.x-dev',
5
+ 'version' => '4.5.1.9999999-dev',
6
+ 'aliases' =>
7
+ array (
8
+ ),
9
+ 'reference' => '6af2eee63c3d9ebb8f0ff33d4ec8a093aa587245',
10
+ 'name' => 'mihdan/cyr2lat',
11
+ ),
12
+ 'versions' =>
13
+ array (
14
+ 'composer/installers' =>
15
+ array (
16
+ 'pretty_version' => 'v1.9.0',
17
+ 'version' => '1.9.0.0',
18
+ 'aliases' =>
19
+ array (
20
+ ),
21
+ 'reference' => 'b93bcf0fa1fccb0b7d176b0967d969691cd74cca',
22
+ ),
23
+ 'mihdan/cyr2lat' =>
24
+ array (
25
+ 'pretty_version' => '4.5.1.x-dev',
26
+ 'version' => '4.5.1.9999999-dev',
27
+ 'aliases' =>
28
+ array (
29
+ ),
30
+ 'reference' => '6af2eee63c3d9ebb8f0ff33d4ec8a093aa587245',
31
+ ),
32
+ 'roundcube/plugin-installer' =>
33
+ array (
34
+ 'replaced' =>
35
+ array (
36
+ 0 => '*',
37
+ ),
38
+ ),
39
+ 'shama/baton' =>
40
+ array (
41
+ 'replaced' =>
42
+ array (
43
+ 0 => '*',
44
+ ),
45
+ ),
46
+ ),
47
+ );
vendor/composer/installers/LICENSE CHANGED
File without changes
vendor/composer/installers/composer.json ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "composer/installers",
3
+ "type": "composer-plugin",
4
+ "license": "MIT",
5
+ "description": "A multi-framework Composer library installer",
6
+ "keywords": [
7
+ "installer",
8
+ "Aimeos",
9
+ "AGL",
10
+ "AnnotateCms",
11
+ "Attogram",
12
+ "Bitrix",
13
+ "CakePHP",
14
+ "Chef",
15
+ "Cockpit",
16
+ "CodeIgniter",
17
+ "concrete5",
18
+ "Craft",
19
+ "Croogo",
20
+ "DokuWiki",
21
+ "Dolibarr",
22
+ "Drupal",
23
+ "Elgg",
24
+ "Eliasis",
25
+ "ExpressionEngine",
26
+ "eZ Platform",
27
+ "FuelPHP",
28
+ "Grav",
29
+ "Hurad",
30
+ "ImageCMS",
31
+ "iTop",
32
+ "Joomla",
33
+ "Kanboard",
34
+ "Known",
35
+ "Kohana",
36
+ "Lan Management System",
37
+ "Laravel",
38
+ "Lavalite",
39
+ "Lithium",
40
+ "Magento",
41
+ "majima",
42
+ "Mako",
43
+ "MantisBT",
44
+ "Mautic",
45
+ "Maya",
46
+ "MODX",
47
+ "MODX Evo",
48
+ "MediaWiki",
49
+ "OXID",
50
+ "osclass",
51
+ "MODULEWork",
52
+ "Moodle",
53
+ "Piwik",
54
+ "pxcms",
55
+ "phpBB",
56
+ "Plentymarkets",
57
+ "PPI",
58
+ "Puppet",
59
+ "Porto",
60
+ "RadPHP",
61
+ "ReIndex",
62
+ "Roundcube",
63
+ "shopware",
64
+ "SilverStripe",
65
+ "SMF",
66
+ "SyDES",
67
+ "Sylius",
68
+ "symfony",
69
+ "Thelia",
70
+ "TYPO3",
71
+ "WHMCS",
72
+ "WolfCMS",
73
+ "WordPress",
74
+ "YAWIK",
75
+ "Zend",
76
+ "Zikula"
77
+ ],
78
+ "homepage": "https://composer.github.io/installers/",
79
+ "authors": [
80
+ {
81
+ "name": "Kyle Robinson Young",
82
+ "email": "kyle@dontkry.com",
83
+ "homepage": "https://github.com/shama"
84
+ }
85
+ ],
86
+ "autoload": {
87
+ "psr-4": { "Composer\\Installers\\": "src/Composer/Installers" }
88
+ },
89
+ "extra": {
90
+ "class": "Composer\\Installers\\Plugin",
91
+ "branch-alias": {
92
+ "dev-master": "1.0-dev"
93
+ }
94
+ },
95
+ "replace": {
96
+ "shama/baton": "*",
97
+ "roundcube/plugin-installer": "*"
98
+ },
99
+ "require": {
100
+ "composer-plugin-api": "^1.0 || ^2.0"
101
+ },
102
+ "require-dev": {
103
+ "composer/composer": "1.6.* || 2.0.*@dev",
104
+ "composer/semver": "1.0.* || 2.0.*@dev",
105
+ "phpunit/phpunit": "^4.8.36",
106
+ "sebastian/comparator": "^1.2.4",
107
+ "symfony/process": "^2.3"
108
+ },
109
+ "scripts": {
110
+ "test": "phpunit"
111
+ }
112
+ }
vendor/composer/installers/src/Composer/Installers/AglInstaller.php ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Composer\Installers;
3
+
4
+ class AglInstaller extends BaseInstaller
5
+ {
6
+ protected $locations = array(
7
+ 'module' => 'More/{$name}/',
8
+ );
9
+
10
+ /**
11
+ * Format package name to CamelCase
12
+ */
13
+ public function inflectPackageVars($vars)
14
+ {
15
+ $vars['name'] = preg_replace_callback('/(?:^|_|-)(.?)/', function ($matches) {
16
+ return strtoupper($matches[1]);
17
+ }, $vars['name']);
18
+
19
+ return $vars;
20
+ }
21
+ }
vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Composer\Installers;
3
+
4
+ class AimeosInstaller extends BaseInstaller
5
+ {
6
+ protected $locations = array(
7
+ 'extension' => 'ext/{$name}/',
8
+ );
9
+ }
vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Composer\Installers;
3
+
4
+ class AnnotateCmsInstaller extends BaseInstaller
5
+ {
6
+ protected $locations = array(
7
+ 'module' => 'addons/modules/{$name}/',
8
+ 'component' => 'addons/components/{$name}/',
9
+ 'service' => 'addons/services/{$name}/',
10
+ );
11
+ }
vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Composer\Installers;
3
+
4
+ class AsgardInstaller extends BaseInstaller
5
+ {
6
+ protected $locations = array(
7
+ 'module' => 'Modules/{$name}/',
8
+ 'theme' => 'Themes/{$name}/'
9
+ );
10
+
11
+ /**
12
+ * Format package name.
13
+ *
14
+ * For package type asgard-module, cut off a trailing '-plugin' if present.
15
+ *
16
+ * For package type asgard-theme, cut off a trailing '-theme' if present.
17
+ *
18
+ */
19
+ public function inflectPackageVars($vars)
20
+ {
21
+ if ($vars['type'] === 'asgard-module') {
22
+ return $this->inflectPluginVars($vars);
23
+ }
24
+
25
+ if ($vars['type'] === 'asgard-theme') {
26
+ return $this->inflectThemeVars($vars);
27
+ }
28
+
29
+ return $vars;
30
+ }
31
+
32
+ protected function inflectPluginVars($vars)
33
+ {
34
+ $vars['name'] = preg_replace('/-module$/', '', $vars['name']);
35
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
36
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
37
+
38
+ return $vars;
39
+ }
40
+
41
+ protected function inflectThemeVars($vars)
42
+ {
43
+ $vars['name'] = preg_replace('/-theme$/', '', $vars['name']);
44
+ $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
45
+ $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
46
+
47
+ return $vars;
48
+ }
49
+ }
vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Composer\Installers;
3
+
4
+ class AttogramInstaller extends BaseInstaller
5
+ {
6
+ protected $locations = array(
7
+ 'module' => 'modules/{$name}/',
8
+ );
9
+ }
vendor/composer/installers/src/Composer/Installers/BaseInstaller.php ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace Composer\Installers;
3
+
4
+ use Composer\IO\IOInterface;
5
+ use Composer\Composer;
6
+ use Composer\Package\PackageInterface;
7
+
8
+ abstract class BaseInstaller
9
+ {
10
+ protected $locations = array();
11
+ protected $composer;
12
+ protected $package;
13
+ protected $io;
14
+
15
+ /**
16
+ * Initializes base installer.
17
+ *
18
+ * @param PackageInterface $package
19
+ * @param Composer $composer
20
+ * @param IOInterface $io
21
+ */
22
+ public function __construct(PackageInterface $package = null, Composer $composer = null, IOInterface $io = null)
23
+ {
24
+ $this->composer = $composer;
25
+ $this->package = $package;
26
+ $this->io = $io;
27
+ }
28
+
29
+ /**
30
+ * Return the install path based on package type.
31
+ *
32
+ * @param PackageInterface $package
33
+ * @param string $frameworkType
34
+ * @return string
35
+ */
36
+ public function getInstallPath(PackageInterface $package, $frameworkType = '')
37
+ {
38
+ $type = $this->package->getType();
39
+
40
+ $prettyName = $this->package->getPrettyName();
41
+ if (strpos($prettyName, '/') !== false) {
42
+ list($vendor, $name) = explode('/', $prettyName);
43
+ } else {
44
+ $vendor = '';
45
+ $name = $prettyName;
46
+ }
47
+
48
+ $availableVars = $this->inflectPackageVars(compact('name', 'vendor', 'type'));
49
+
50
+ $extra = $package->getExtra();
51
+ if (!empty($extra['installer-name'])) {
52
+ $availableVars['name'] = $extra['installer-name'];
53
+ }
54
+
55
+ if ($this->composer->getPackage()) {
56
+ $extra = $this->composer->getPackage()->getExtra();
57
+ if (!empty($extra['installer-paths'])) {
58
+ $customPath = $this->mapCustomInstallPaths($extra['installer-paths'], $prettyName, $type, $vendor);
59
+ if ($customPath !== false) {
60
+ return $this->templatePath($customPath, $availableVars);
61
+ }
62
+ }
63
+ }
64
+
65
+ $packageType = substr($type, strlen($frameworkType) + 1);
66
+ $locations = $this->getLocations();
67
+ if (!isset($locations[$packageType])) {
68
+ throw new \InvalidArgumentException(sprintf('Package type "%s" is not supported', $type));
69
+ }
70
+
71
+ return $this->templatePath($locations[$packageType], $availableVars);
72
+ }
73
+
74
+ /**
75
+ * For an installer to override to modify the vars per installer.
76
+ *
77
+ * @param array $vars
78
+ * @return array
79
+ */
80
+ public function inflectPackageVars($vars)
81
+ {
82
+ return $vars;
83
+ }
84
+
85
+ /**
86
+ * Gets the installer's locations
87
+ *
88
+ * @return array
89
+ */
90
+ public function getLocations()
91
+ {
92
+ return $this->locations;
93
+ }
94
+
95
+ /**
96
+ * Replace vars in a path
97
+ *
98
+ * @param string $path
99
+ * @param array $vars
100
+ * @return string
101
+ */
102
+ protected function templatePath($path, array $vars = array())
103
+ {
104
+ if (strpos($path, '{') !== false) {
105
+ extract($vars);
106
+ preg_match_all('@\{\$([A-Za-z0-9_]*)\}@i', $path, $matches);
107
+ if (!empty($matches[1])) {
108
+ foreach ($matches[1] as $var) {
109
+ $path = str_replace('{$' . $var . '}', $$var, $path);
110
+ }
111
+ }
112
+ }
113
+
114
+ return $path;
115
+ }
116
+
117
+ /**
118
+ * Search through a passed paths array for a custom install path.
119
+ *
120
+ * @param array $paths
121
+ * @param string $name
122
+ * @param string $type
123
+ * @param string $vendor = NULL
124
+ * @return string
125
+ */
126
+ protected function mapCustomInstallPaths(array $paths, $name, $type, $vendor = NULL)
127
+ {
128
+ foreach ($paths as $path => $names) {
129
+ $names = (array) $names;
130
+ if (in_array($name, $names) || in_array('type:' . $type, $names) || in_array('vendor:' . $vendor, $names)) {
131
+ return $path;
132
+ }
133
+ }
134
+
135
+ return false;
136
+ }
137
+ }
vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php ADDED
@@ -0,0 +1,126 @@