From f1f736b4ba89e0bb2fb9387914b9054c8587b82d Mon Sep 17 00:00:00 2001 From: Petro Lesiuk Date: Mon, 21 Jan 2013 13:40:51 +0100 Subject: [PATCH 1/5] Translated using Weblate (Ukrainian) Currently translated at 66.5% (1705 of 2562) --- po/uk.po | 219 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 149 insertions(+), 70 deletions(-) diff --git a/po/uk.po b/po/uk.po index 3de77a5bacce..e0241d91a779 100644 --- a/po/uk.po +++ b/po/uk.po @@ -4,8 +4,8 @@ msgstr "" "Project-Id-Version: phpMyAdmin 3.5.4-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2012-10-16 14:37+0200\n" -"PO-Revision-Date: 2013-01-20 19:51+0200\n" -"Last-Translator: Andrey Prokopenko \n" +"PO-Revision-Date: 2013-01-21 13:40+0200\n" +"Last-Translator: Petro Lesiuk \n" "Language-Team: Ukrainian \n" "Language: uk\n" "MIME-Version: 1.0\n" @@ -3989,7 +3989,7 @@ msgstr "SQL запити" #: libraries/config/messages.inc.php:217 msgid "SQL Query box" -msgstr "SQL Query box" +msgstr "SQL Запит" #: libraries/config/messages.inc.php:218 msgid "Customize links shown in SQL Query boxes" @@ -4616,7 +4616,7 @@ msgstr "Рядок, що відображається при ідентифік #: libraries/config/messages.inc.php:369 msgid "HTTP Realm" -msgstr "HTTP Realm" +msgstr "HTTP область" #: libraries/config/messages.inc.php:370 msgid "" @@ -4813,6 +4813,12 @@ msgid "" "their names in order and use [kbd]*[/kbd] at the end to show the rest in " "alphabetical order." msgstr "" +"Ви можете використовувати підставні символи (% і _), екрануйте їх, якщо " +"хочете використовувати, як звичайні літературні символи, тобто " +"використовуйте [kbd]'my\\_db'[/kbd] а не [kbd]'my_db'[/kbd]. За допомогою " +"даної настройки можна сортувати список баз даних, для чого достатньо ввести " +"їх імена в певному порядку і використовувати [kbd]*[/kbd] в кінці для " +"виведення залишилися в алфавітному порядку." #: libraries/config/messages.inc.php:407 msgid "Show only listed databases" @@ -4830,10 +4836,12 @@ msgstr "Пароль для config auth" msgid "" "Leave blank for no PDF schema support, suggested: [kbd]pma_pdf_pages[/kbd]" msgstr "" +"Залишити пустим, якщо немає підтримки PDF схеми, рекомендуєтсья: [kbd] " +"pma_pdf_pages [/kbd]" #: libraries/config/messages.inc.php:411 msgid "PDF schema: pages table" -msgstr "" +msgstr "PDF схема: сторінки таблиці" #: libraries/config/messages.inc.php:412 msgid "" @@ -4841,6 +4849,10 @@ msgid "" "phpmyadmin.net/pma/pmadb]pmadb[/a] for complete information. Leave blank for " "no support. Suggested: [kbd]phpmyadmin[/kbd]" msgstr "" +"База даних використовувана для розширених функцій: зв'язків, закладок, і " +"PDF. Для більш повної інформації дивіться " +"[a@http://wiki.phpmyadmin.net/pma/pmadb]pmadb[/a]. Для відключення " +"підтримки, залиште поле порожнім. Рекомендується: [kbd]phpmyadmin[/kbd]" #: libraries/config/messages.inc.php:413 msgid "Database name" @@ -4861,6 +4873,8 @@ msgid "" "Leave blank for no \"persistent\" recently used tables across sessions, " "suggested: [kbd]pma_recent[/kbd]" msgstr "" +"Для відключення можливості перегляду нещодавно використаних таблиць, залиште " +"поле порожнім. Рекомендується: [kbd]pma_recent[/kbd]" #: libraries/config/messages.inc.php:417 #| msgid "Analyze table" @@ -4872,14 +4886,17 @@ msgid "" "Leave blank for no [a@http://wiki.phpmyadmin.net/pma/relation]relation-links" "[/a] support, suggested: [kbd]pma_relation[/kbd]" msgstr "" +"Для відключення підтримки " +"[a@http://wiki.phpmyadmin.net/pma/relation]зв'язаних таблиць[/a] залиште " +"поле порожнім. Рекомендується: [kbd] pma_relation [/kbd]" #: libraries/config/messages.inc.php:419 msgid "Relation table" -msgstr "" +msgstr "Таблиця зв'язків" #: libraries/config/messages.inc.php:420 msgid "SQL command to fetch available databases" -msgstr "" +msgstr "SQL команда для вибірки доступних баз даних" #: libraries/config/messages.inc.php:421 msgid "SHOW DATABASES command" @@ -4895,15 +4912,17 @@ msgstr "" #: libraries/config/messages.inc.php:423 msgid "Signon session name" -msgstr "" +msgstr "Ім'я сесії для Signon" #: libraries/config/messages.inc.php:424 msgid "Signon URL" -msgstr "" +msgstr "Signon URL" #: libraries/config/messages.inc.php:425 msgid "Socket on which MySQL server is listening, leave empty for default" msgstr "" +"Сокет на якому працює сервер MySQL, Для значення за замовчуванням, залиште " +"порожнім." #: libraries/config/messages.inc.php:426 msgid "Server socket" @@ -4921,26 +4940,32 @@ msgstr "Використовувати SSL" msgid "" "Leave blank for no PDF schema support, suggested: [kbd]pma_table_coords[/kbd]" msgstr "" +"Для відключення підтримки PDF схеми залиште поле порожнім. Рекомендується: " +"[kbd]pma_table_coords[/kbd]" #: libraries/config/messages.inc.php:430 msgid "PDF schema: table coordinates" -msgstr "" +msgstr "PDF схема: координати таблиць" #: libraries/config/messages.inc.php:431 msgid "" "Table to describe the display columns, leave blank for no support; " "suggested: [kbd]pma_table_info[/kbd]" msgstr "" +"Таблиця для опису видимих полів. Для відключення підтримки даної функції " +"залиште поле порожнім. Рекомендується: [kbd]pma_table_info[/kbd]" #: libraries/config/messages.inc.php:432 msgid "Display columns table" -msgstr "Показувати колонки таблиці" +msgstr "Таблиця з описами полів" #: libraries/config/messages.inc.php:433 msgid "" "Leave blank for no \"persistent\" tables'UI preferences across sessions, " "suggested: [kbd]pma_table_uiprefs[/kbd]" msgstr "" +"Для відключення можливості зберігання налаштувань інтерфейсу таблиць, " +"залиште поле порожнім. Рекомендується: [kbd]pma_table_uiprefs[/kbd]" #: libraries/config/messages.inc.php:434 msgid "UI preferences table" @@ -4951,6 +4976,8 @@ msgid "" "Whether a DROP DATABASE IF EXISTS statement will be added as first line to " "the log when creating a database." msgstr "" +"Чи буде при створенні бази даних, в журнал першим рядком додано вираз DROP " +"DATABASE IF EXISTS." #: libraries/config/messages.inc.php:436 msgid "Add DROP DATABASE" @@ -4961,6 +4988,8 @@ msgid "" "Whether a DROP TABLE IF EXISTS statement will be added as first line to the " "log when creating a table." msgstr "" +"Чи буде при створенні бази даних, в журнал першим рядком додано вираз DROP " +"DATABASE IF EXISTS." #: libraries/config/messages.inc.php:438 msgid "Add DROP TABLE" @@ -4971,6 +5000,8 @@ msgid "" "Whether a DROP VIEW IF EXISTS statement will be added as first line to the " "log when creating a view." msgstr "" +"Чи буде при створенні вистави, в журнал першим рядком додано вираз DROP VIEW " +"IF EXISTS." #: libraries/config/messages.inc.php:440 msgid "Add DROP VIEW" @@ -4979,16 +5010,20 @@ msgstr "Додати DROP VIEW" #: libraries/config/messages.inc.php:441 msgid "Defines the list of statements the auto-creation uses for new versions." msgstr "" +"Визначити список виразів, які використовуються для автоматичного створення " +"нових версій." #: libraries/config/messages.inc.php:442 msgid "Statements to track" -msgstr "" +msgstr "Стеження за виразами" #: libraries/config/messages.inc.php:443 msgid "" "Leave blank for no SQL query tracking support, suggested: [kbd]pma_tracking[/" "kbd]" msgstr "" +"Для відключення підтримки стеження за SQL запитами залиште поле порожнім. " +"Рекомендується: [kbd]pma_tracking[/kbd]" #: libraries/config/messages.inc.php:444 msgid "SQL query tracking table" @@ -5019,7 +5054,7 @@ msgstr "Таблиця збереження налаштувань корист #: libraries/config/messages.inc.php:450 msgid "User for config auth" -msgstr "" +msgstr "Прописаний користувач" #: libraries/config/messages.inc.php:451 msgid "" @@ -5037,7 +5072,7 @@ msgstr "Докладна перевірка" msgid "" "A user-friendly description of this server. Leave blank to display the " "hostname instead." -msgstr "" +msgstr "Користувацький опис сервера. Залиште пустим, щоб вивести назву хоста." #: libraries/config/messages.inc.php:454 msgid "Verbose name of this server" @@ -5057,6 +5092,10 @@ msgid "" "authentication mode because the password is hard coded in the configuration " "file; this does not limit the ability to execute the same command directly" msgstr "" +"Будь ласка, зверніть увагу, що включення даного параметра не дасть ефекту " +"при ідентифікації методом [kbd]config[/kbd] через жорстко прописаного " +"пароля. Зміна пароля в конфігураційному файлі безпосередньо ніяк не " +"обмежена." #: libraries/config/messages.inc.php:458 msgid "Show password change form" @@ -5172,19 +5211,24 @@ msgid "" "['LeftFrameTableSeparator'] directive, so only the folder is called like the " "alias, the table name itself stays unchanged" msgstr "" +"При виборі [kbd]nested[/kbd], коментар таблиці буде виведений тільки у " +"кореневого значення, розділених зазначеної в директиві " +"$cfg['LeftFrameTableSeparator'] рядком, таблиць" #: libraries/config/messages.inc.php:480 msgid "Display table comment instead of its name" -msgstr "" +msgstr "Коментар таблиці замість імені" #: libraries/config/messages.inc.php:481 msgid "Display table comments in tooltips" -msgstr "" +msgstr "Коментарі таблиці в спливаючих підказках" #: libraries/config/messages.inc.php:482 msgid "" "Mark used tables and make it possible to show databases with locked tables" msgstr "" +"Відзначати використані таблиці і зробити можливим відображення баз даних із " +"заблокованими таблицями" #: libraries/config/messages.inc.php:483 msgid "Skip locked tables" @@ -5221,6 +5265,8 @@ msgid "" "If you have a custom username, specify it here (defaults to [kbd]anonymous[/" "kbd])" msgstr "" +"При наявності виділеного імені користувача, пропишіть його тут (по " +"замовчуванню використовується [kbd]anonymous[/kbd])" #: libraries/config/messages.inc.php:494 tbl_tracking.php:460 #: tbl_tracking.php:517 @@ -5232,46 +5278,52 @@ msgid "" "Suggest a database name on the "Create Database" form (if " "possible) or keep the text field empty" msgstr "" +"Пропонувати ім'я створюваної бази даних за наявності такої можливості, або " +"залишити поле порожнім" #: libraries/config/messages.inc.php:496 msgid "Suggest new database name" -msgstr "" +msgstr "Пропонувати ім'я нової бази даних" #: libraries/config/messages.inc.php:497 msgid "A warning is displayed on the main page if Suhosin is detected" -msgstr "" +msgstr "При визначенні Suhosin, на головній сторінці виводиться попередження" #: libraries/config/messages.inc.php:498 msgid "Suhosin warning" -msgstr "" +msgstr "Попередження про Suhosin" #: libraries/config/messages.inc.php:499 msgid "" "Textarea size (columns) in edit mode, this value will be emphasized for SQL " "query textareas (*2) and for query window (*1.25)" msgstr "" +"Розмір текстового поля в режимі редагування (у стовпцях); дане значення буде " +"пріоритетним для текстових полів SQL запиту (*2) і для вікна запиту (*1.25)" #: libraries/config/messages.inc.php:500 msgid "Textarea columns" -msgstr "" +msgstr "Стовпців у текстовому полі" #: libraries/config/messages.inc.php:501 msgid "" "Textarea size (rows) in edit mode, this value will be emphasized for SQL " "query textareas (*2) and for query window (*1.25)" msgstr "" +"Розмір текстового поля в режимі редагування (в рядках); дане значення буде " +"пріоритетним для текстових полів SQL запиту (*2) і для вікна запиту (*1.25)" #: libraries/config/messages.inc.php:502 msgid "Textarea rows" -msgstr "" +msgstr "Рядків у текстовому полі" #: libraries/config/messages.inc.php:503 msgid "Title of browser window when a database is selected" -msgstr "" +msgstr "Заголовок вікна браузера при виборі бази даних" #: libraries/config/messages.inc.php:505 msgid "Title of browser window when nothing is selected" -msgstr "" +msgstr "Заголовок вікна браузера за замовчуванням" #: libraries/config/messages.inc.php:506 msgid "Default title" @@ -5279,11 +5331,11 @@ msgstr "Заголовок по замовчуванню" #: libraries/config/messages.inc.php:507 msgid "Title of browser window when a server is selected" -msgstr "" +msgstr "Заголовок вікна браузера при виборі сервера" #: libraries/config/messages.inc.php:509 msgid "Title of browser window when a table is selected" -msgstr "" +msgstr "Заголовок вікна браузера при виборі таблиці" #: libraries/config/messages.inc.php:511 msgid "" @@ -5292,36 +5344,44 @@ msgid "" "For) header coming from the proxy 1.2.3.4:[br][kbd]1.2.3.4: " "HTTP_X_FORWARDED_FOR[/kbd]" msgstr "" +"Додайте проксі у вигляді [kbd]IP: довірений HTTP заголовок[/kbd]. Наступний " +"приклад показує, що phpMyAdmin повинен довіряти HTTP_X_FORWARDED_FOR (X" +"-Forwarded-For) заголовку, що прийшов з проксі 1.2.3.4: " +"[br][kbd]1.2.3.4:HTTP_X_FORWARDED_FOR[/kbd]" #: libraries/config/messages.inc.php:512 msgid "List of trusted proxies for IP allow/deny" -msgstr "" +msgstr "Список довірених проксі для IP allow/deny" #: libraries/config/messages.inc.php:513 msgid "Directory on server where you can upload files for import" msgstr "" +"Каталог на сервері, в який ви можете завантажувати файли для подальшого " +"імпорту" #: libraries/config/messages.inc.php:514 msgid "Upload directory" -msgstr "" +msgstr "Каталог завантаження" #: libraries/config/messages.inc.php:515 msgid "Allow for searching inside the entire database" -msgstr "" +msgstr "Дозволити пошук по всій базі даних" #: libraries/config/messages.inc.php:516 msgid "Use database search" -msgstr "" +msgstr "Використовувати пошук по базі даних" #: libraries/config/messages.inc.php:517 msgid "" "When disabled, users cannot set any of the options below, regardless of the " "checkbox on the right" msgstr "" +"При відключенні, користувачі не зможуть встановити ніякі із зазначених нижче " +"параметрів, незалежно від галочки праворуч від них" #: libraries/config/messages.inc.php:518 msgid "Enable the Developer tab in settings" -msgstr "" +msgstr "Включення вкладки розробника в налаштуваннях" #: libraries/config/messages.inc.php:519 msgid "" @@ -5329,18 +5389,23 @@ msgid "" "libraries/import.lib.php for defaults on how many queries a statement may " "contain." msgstr "" +"Показувати кількість задіяних кожним виразом рядків в складені запитах. Для " +"визначення кількості виразів в складеному запиті дивіться " +"libraries/import.lib.php." #: libraries/config/messages.inc.php:520 msgid "Verbose multiple statements" -msgstr "" +msgstr "Коментувати складові запити" #: libraries/config/messages.inc.php:521 setup/frames/index.inc.php:243 msgid "Check for latest version" -msgstr "" +msgstr "Перевірити оновлення" #: libraries/config/messages.inc.php:522 msgid "Enables check for latest version on main phpMyAdmin page" msgstr "" +"Включає можливість перевірки останньої версії phpMyAdmin на головній " +"сторінці" #: libraries/config/messages.inc.php:523 setup/lib/index.lib.php:121 #: setup/lib/index.lib.php:131 setup/lib/index.lib.php:151 @@ -5348,60 +5413,62 @@ msgstr "" #: setup/lib/index.lib.php:179 setup/lib/index.lib.php:185 #: setup/lib/index.lib.php:224 msgid "Version check" -msgstr "" +msgstr "перевірка версії" #: libraries/config/messages.inc.php:524 msgid "" "Enable [a@http://en.wikipedia.org/wiki/ZIP_(file_format)]ZIP[/a] compression " "for import and export operations" msgstr "" +"Включити [a@http://en.wikipedia.org/wiki/ZIP_(file_format)]ZIP[/a] " +"архівування для операцій імпорту та експорту" #: libraries/config/messages.inc.php:525 msgid "ZIP" -msgstr "" +msgstr "ZIP" #: libraries/config/setup.forms.php:41 msgid "Config authentication" -msgstr "" +msgstr "Авторизація через файл конфігурації" #: libraries/config/setup.forms.php:45 msgid "Cookie authentication" -msgstr "" +msgstr "Авторизація за допомогою cookie" #: libraries/config/setup.forms.php:48 msgid "HTTP authentication" -msgstr "" +msgstr "Авторизація за допомогою HTTP" #: libraries/config/setup.forms.php:51 msgid "Signon authentication" -msgstr "" +msgstr "Авторизація за допомогою Signon" #: libraries/config/setup.forms.php:251 #: libraries/config/user_preferences.forms.php:151 libraries/import/ldi.php:35 msgid "CSV using LOAD DATA" -msgstr "" +msgstr "CSV, використовуючи LOAD DATA" #: libraries/config/setup.forms.php:260 libraries/config/setup.forms.php:353 #: libraries/config/user_preferences.forms.php:159 #: libraries/config/user_preferences.forms.php:251 libraries/export/ods.php:18 #: libraries/import/ods.php:29 msgid "Open Document Spreadsheet" -msgstr "" +msgstr "Відкрити документ електронної таблиці" #: libraries/config/setup.forms.php:267 #: libraries/config/user_preferences.forms.php:166 msgid "Quick" -msgstr "" +msgstr "Швидко" #: libraries/config/setup.forms.php:271 #: libraries/config/user_preferences.forms.php:170 msgid "Custom" -msgstr "" +msgstr "Звичайно" #: libraries/config/setup.forms.php:292 #: libraries/config/user_preferences.forms.php:190 msgid "Database export options" -msgstr "Налаштування експорту бази даних" +msgstr "Параметри експорту бази даних" #: libraries/config/setup.forms.php:325 #: libraries/config/user_preferences.forms.php:223 @@ -5413,81 +5480,90 @@ msgstr "CSV для даних MS Excel" #: libraries/config/user_preferences.forms.php:246 #: libraries/export/htmlword.php:18 msgid "Microsoft Word 2000" -msgstr "" +msgstr "Microsoft Word 2000" #: libraries/config/setup.forms.php:357 #: libraries/config/user_preferences.forms.php:255 libraries/export/odt.php:22 msgid "Open Document Text" -msgstr "" +msgstr "OpenDocument текст" #: libraries/config/validate.lib.php:198 msgid "Could not initialize Drizzle connection library" -msgstr "" +msgstr "Неможливо ініціалізувати бібліотеку з'єднання Drizzle" #: libraries/config/validate.lib.php:205 libraries/config/validate.lib.php:212 msgid "Could not connect to Drizzle server" -msgstr "" +msgstr "Не вдалося з'єднатися з сервером Drizzle" #: libraries/config/validate.lib.php:223 libraries/config/validate.lib.php:230 msgid "Could not connect to MySQL server" -msgstr "" +msgstr "Неможливо з'єднатися з сервером MySQL" #: libraries/config/validate.lib.php:254 msgid "Empty username while using config authentication method" msgstr "" +"При використанні ідентифікації по конфігураційному файлу не встановлено ім'я " +"користувача" #: libraries/config/validate.lib.php:258 msgid "Empty signon session name while using signon authentication method" msgstr "" +"При використанні єдиного методу ідентифікації signon не встановлено ім’я " +"сесії" #: libraries/config/validate.lib.php:262 msgid "Empty signon URL while using signon authentication method" msgstr "" +"При використанні єдиного методу ідентифікації signon не встановлений URL" #: libraries/config/validate.lib.php:295 msgid "Empty phpMyAdmin control user while using pmadb" -msgstr "" +msgstr "При використанні pmadb не встановлений керуючий користувач phpMyAdmin" #: libraries/config/validate.lib.php:299 msgid "Empty phpMyAdmin control user password while using pmadb" msgstr "" +"При використанні pmadb не встановлений пароль керуючого користувача " +"phpMyAdmin" #: libraries/config/validate.lib.php:385 #, php-format msgid "Incorrect IP address: %s" -msgstr "" +msgstr "Некоректно введена IP адреса: %s" #: libraries/core.lib.php:268 #, php-format msgid "The %s extension is missing. Please check your PHP configuration." -msgstr "" +msgstr "Розширення %s не знайдено. Будь ласка, перевірте ваші налаштування PHP." #: libraries/core.lib.php:416 msgid "possible deep recursion attack" -msgstr "" +msgstr "можлива атака глибокої рекурсії" #: libraries/database_interface.lib.php:1813 msgid "" "The server is not responding (or the local server's socket is not correctly " "configured)." msgstr "" +"Сервер не відповідає (або локальний сокет сервера MySQL невірно " +"налаштований)." #: libraries/database_interface.lib.php:1816 msgid "The server is not responding." -msgstr "" +msgstr "Сервер не відповідає." #: libraries/database_interface.lib.php:1820 msgid "Please check privileges of directory containing database." -msgstr "" +msgstr "Будь ласка, перевірте привілеї каталогу містить базу даних." #: libraries/database_interface.lib.php:1828 msgid "Details..." -msgstr "" +msgstr "Деталі..." #: libraries/db_links.inc.php:42 libraries/db_links.inc.php:43 #: libraries/db_links.inc.php:44 msgid "Database seems to be empty!" -msgstr "" +msgstr "Порожня база даних!" #: libraries/db_links.inc.php:65 libraries/relation.lib.php:144 #: libraries/tbl_links.inc.php:97 @@ -5500,7 +5576,7 @@ msgstr "Запит згідно прикладу" #: libraries/db_links.inc.php:75 libraries/relation.lib.php:132 msgid "Designer" -msgstr "" +msgstr "Дизайнер" #: libraries/db_links.inc.php:92 server_privileges.php:121 #: server_privileges.php:1900 server_privileges.php:2259 @@ -5527,11 +5603,13 @@ msgid "" "May be approximate. See [a@./Documentation.html#faq3_11@Documentation]FAQ " "3.11[/a]" msgstr "" +"Може бути приблизно. Дивіться " +"[a@./Documentation.html#faq3_11@Documentation]FAQ 3.11[/a]" #: libraries/dbi/drizzle.dbi.lib.php:114 libraries/dbi/mysql.dbi.lib.php:117 #: libraries/dbi/mysqli.dbi.lib.php:189 msgid "Connection for controluser as defined in your configuration failed." -msgstr "" +msgstr "Помилка при вказуванні з'єднання для controluser в конфігурації." #: libraries/display_change_password.lib.php:29 main.php:94 #: user_password.php:105 user_password.php:123 @@ -5551,11 +5629,11 @@ msgstr "Підтвердження" #: libraries/display_change_password.lib.php:51 msgid "Password Hashing" -msgstr "" +msgstr "Хешування пароля" #: libraries/display_change_password.lib.php:65 msgid "MySQL 4.0 compatible" -msgstr "" +msgstr "Сумісно з MySQL 4.0" #: libraries/display_create_database.lib.php:21 #: libraries/display_create_database.lib.php:39 @@ -5575,7 +5653,7 @@ msgstr "Без привілеїв" #: libraries/display_create_table.lib.php:46 pmd_general.php:71 #: server_synchronize.php:442 server_synchronize.php:914 msgid "Create table" -msgstr "" +msgstr "Створити таблицю" #: libraries/display_create_table.lib.php:51 libraries/rte/rte_list.lib.php:51 #: libraries/rte/rte_list.lib.php:57 libraries/rte/rte_list.lib.php:66 @@ -5592,6 +5670,7 @@ msgstr "Число колонок" #: libraries/display_export.lib.php:37 msgid "Could not load export plugins, please check your installation!" msgstr "" +"Відсутні модулі експорту. Перевірте вміст встановленої копії phpMyAdmin!" #: libraries/display_export.lib.php:82 msgid "Exporting databases from the current server" @@ -5613,11 +5692,11 @@ msgstr "Метод Експорту:" #: libraries/display_export.lib.php:108 msgid "Quick - display only the minimal options" -msgstr "" +msgstr "Швидкий - відображати мінімум налаштувань" #: libraries/display_export.lib.php:124 msgid "Custom - display all possible options" -msgstr "" +msgstr "Звичайний - відображати всі можливі настройки" #: libraries/display_export.lib.php:132 msgid "Database(s):" @@ -5633,7 +5712,7 @@ msgstr "Рядки:" #: libraries/display_export.lib.php:152 msgid "Dump some row(s)" -msgstr "" +msgstr "Вивантажити частину рядків" #: libraries/display_export.lib.php:154 msgid "Number of rows:" @@ -5641,15 +5720,15 @@ msgstr "Число рядків:" #: libraries/display_export.lib.php:157 msgid "Row to begin at:" -msgstr "" +msgstr "Почати з рядка:" #: libraries/display_export.lib.php:168 msgid "Dump all rows" -msgstr "" +msgstr "Вивантажити всі рядки" #: libraries/display_export.lib.php:176 libraries/display_export.lib.php:197 msgid "Output:" -msgstr "" +msgstr "Вывод:" #: libraries/display_export.lib.php:183 libraries/display_export.lib.php:209 #, php-format @@ -5666,15 +5745,15 @@ msgstr "Шаблон назви файлу:" #: libraries/display_export.lib.php:224 msgid "@SERVER@ will become the server name" -msgstr "" +msgstr "@SERVER@ буде заміщено іменем сервера" #: libraries/display_export.lib.php:226 msgid ", @DATABASE@ will become the database name" -msgstr "" +msgstr ", @DATABASE@ буде заміщено ім'ям бази даних" #: libraries/display_export.lib.php:228 msgid ", @TABLE@ will become the table name" -msgstr "" +msgstr ", @TABLE@ буде заміщено ім'ям таблиці" #: libraries/display_export.lib.php:232 #, php-format From ee42a2267a6daf4904d14a6c42506578d1a2da2e Mon Sep 17 00:00:00 2001 From: Rostyslav Gaitkulov Date: Mon, 21 Jan 2013 14:13:57 +0100 Subject: [PATCH 2/5] Translated using Weblate (Ukrainian) Currently translated at 66.7% (1709 of 2562) --- po/uk.po | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/po/uk.po b/po/uk.po index e0241d91a779..e036e20b3848 100644 --- a/po/uk.po +++ b/po/uk.po @@ -4,8 +4,8 @@ msgstr "" "Project-Id-Version: phpMyAdmin 3.5.4-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2012-10-16 14:37+0200\n" -"PO-Revision-Date: 2013-01-21 13:40+0200\n" -"Last-Translator: Petro Lesiuk \n" +"PO-Revision-Date: 2013-01-21 14:13+0200\n" +"Last-Translator: Rostyslav Gaitkulov \n" "Language-Team: Ukrainian \n" "Language: uk\n" "MIME-Version: 1.0\n" @@ -5765,7 +5765,7 @@ msgstr "" #: libraries/display_export.lib.php:270 msgid "use this for future exports" -msgstr "" +msgstr "використовувати для майбутнього експорту" #: libraries/display_export.lib.php:276 libraries/display_import.lib.php:188 #: libraries/display_import.lib.php:201 libraries/sql_query_form.lib.php:468 @@ -5789,10 +5789,9 @@ msgid "bzipped" msgstr "стиснено в \"bzip\"" #: libraries/display_export.lib.php:323 -#, fuzzy #| msgid "Save output to a file" msgid "View output as text" -msgstr "Зберегти вивід у файл" +msgstr "Відобразити вивід як текст" #: libraries/display_export.lib.php:328 libraries/display_import.lib.php:244 #: libraries/export/codegen.php:38 @@ -5809,10 +5808,12 @@ msgid "" "Scroll down to fill in the options for the selected format and ignore the " "options for other formats." msgstr "" +"Заповніть параметри для обраного формату і ігноруйте параметри інших " +"форматів." #: libraries/display_export.lib.php:342 libraries/display_import.lib.php:260 msgid "Encoding Conversion:" -msgstr "" +msgstr "Зміна кодування:" #: libraries/display_import.lib.php:66 msgid "" From c1b00661d450e172160445201fcc0e5097c7d55a Mon Sep 17 00:00:00 2001 From: Rouslan Placella Date: Mon, 21 Jan 2013 13:07:25 +0000 Subject: [PATCH 3/5] Dropped custom enum/set parser. Fixes bug #3779 --- ChangeLog | 1 + libraries/common.lib.php | 60 ++++++---------------------------------- tbl_change.php | 2 -- 3 files changed, 9 insertions(+), 54 deletions(-) diff --git a/ChangeLog b/ChangeLog index c0367cfd1c25..9bf52bbc9fb3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ phpMyAdmin - ChangeLog ====================== 3.5.7.0 (not yet released) +- bug #3779 [core] Problem with backslash in enum fields 3.5.6.0 (not yet released) - bug #3593604 [status] Erroneous advisor rule diff --git a/libraries/common.lib.php b/libraries/common.lib.php index 73beaf6e248f..376b6a7e95b8 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -2927,57 +2927,7 @@ function PMA_extractFieldSpec($fieldspec) if ('enum' == $type || 'set' == $type) { // Define our working vars - $enum_set_values = array(); - $working = ""; - $in_string = false; - $index = 0; - - // While there is another character to process - while (isset($fieldspec[$index])) { - // Grab the char to look at - $char = $fieldspec[$index]; - - // If it is a single quote, needs to be handled specially - if ($char == "'") { - // If we are not currently in a string, begin one - if (! $in_string) { - $in_string = true; - $working = ""; - } else { - // Otherwise, it may be either an end of a string, - // or a 'double quote' which can be handled as-is - // Check out the next character (if possible) - $has_next = isset($fieldspec[$index + 1]); - $next = $has_next ? $fieldspec[$index + 1] : null; - - //If we have reached the end of our 'working' string (because - //there are no more chars,or the next char is not another quote) - if (! $has_next || $next != "'") { - $enum_set_values[] = $working; - $in_string = false; - - } elseif ($next == "'") { - // Otherwise, this is a 'double quote', - // and can be added to the working string - $working .= "'"; - // Skip the next char; we already know what it is - $index++; - } - } - } elseif ('\\' == $char - && isset($fieldspec[$index + 1]) - && "'" == $fieldspec[$index + 1] - ) { - // escaping of a quote? - $working .= "'"; - $index++; - } else { - // Otherwise, add it to our working string like normal - $working .= $char; - } - // Increment character index - $index++; - } // end while + $enum_set_values = PMA_parseEnumSetValues($fieldspec, false); $printtype = $type . '(' . str_replace("','", "', '", $spec_in_brackets) . ')'; $binary = false; $unsigned = false; @@ -3843,10 +3793,11 @@ function PMA_printButton() * * @param string $definition The definition of the column * for which to parse the values + * @param bool $escapeHtml Whether to escape html entitites * * @return array */ -function PMA_parseEnumSetValues($definition) +function PMA_parseEnumSetValues($definition, $escapeHtml = true) { $values_string = htmlentities($definition); // There is a JS port of the below parser in functions.js @@ -3878,6 +3829,11 @@ function PMA_parseEnumSetValues($definition) // The leftovers in the buffer are the last value (if any) $values[] = $buffer; } + if (! $escapeHtml) { + foreach ($values as $key => $value) { + $values[$key] = html_entity_decode($value, ENT_QUOTES); + } + } return $values; } diff --git a/tbl_change.php b/tbl_change.php index 2cffd16ebd3d..6ec71c66ab36 100644 --- a/tbl_change.php +++ b/tbl_change.php @@ -702,8 +702,6 @@ class="textfield" if (! isset($table_fields[$i]['values'])) { $table_fields[$i]['values'] = array(); foreach ($extracted_fieldspec['enum_set_values'] as $val) { - // Removes automatic MySQL escape format - $val = str_replace('\'\'', '\'', str_replace('\\\\', '\\', $val)); $table_fields[$i]['values'][] = array( 'plain' => $val, 'html' => htmlspecialchars($val), From fe9a550ff0b93f5cbbc26d39a9a9523e7053bb6f Mon Sep 17 00:00:00 2001 From: Rouslan Placella Date: Mon, 21 Jan 2013 13:08:00 +0000 Subject: [PATCH 4/5] Added extra unit test for enum fields parsing --- test/libraries/common/PMA_extractFieldSpec_test.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/test/libraries/common/PMA_extractFieldSpec_test.php b/test/libraries/common/PMA_extractFieldSpec_test.php index cb5bb1e8ffca..6c35857fb206 100644 --- a/test/libraries/common/PMA_extractFieldSpec_test.php +++ b/test/libraries/common/PMA_extractFieldSpec_test.php @@ -74,6 +74,19 @@ public function provider() 'attribute' => ' ', ), ), + array( + "ENUM('a&b', 'b''c\\'d', 'e\\\\f')", + array( + 'type' => 'enum', + 'print_type' => "enum('a&b', 'b''c\\'d', 'e\\\\f')", + 'binary' => false, + 'unsigned' => false, + 'zerofill' => false, + 'spec_in_brackets' => "'a&b', 'b''c\\'d', 'e\\\\f'", + 'enum_set_values' => array('a&b', 'b\'c\'d', 'e\\f'), + 'attribute' => ' ', + ), + ), array( "INT UNSIGNED zerofill", array( From bf278f3d8d4d5119616a67a5d9aae30c088915e9 Mon Sep 17 00:00:00 2001 From: Rouslan Placella Date: Mon, 21 Jan 2013 13:09:07 +0000 Subject: [PATCH 5/5] Coding style fixes --- .../common/PMA_extractFieldSpec_test.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/test/libraries/common/PMA_extractFieldSpec_test.php b/test/libraries/common/PMA_extractFieldSpec_test.php index 6c35857fb206..dcf48d94184b 100644 --- a/test/libraries/common/PMA_extractFieldSpec_test.php +++ b/test/libraries/common/PMA_extractFieldSpec_test.php @@ -46,8 +46,8 @@ public function provider() 'spec_in_brackets' => "'a','b'", 'enum_set_values' => array('a', 'b'), 'attribute' => ' ', - ), ), + ), array( "SET('\'a','b')", array( @@ -59,8 +59,8 @@ public function provider() 'spec_in_brackets' => "'\'a','b'", 'enum_set_values' => array("'a", 'b'), 'attribute' => ' ', - ), ), + ), array( "SET('''a','b')", array( @@ -72,8 +72,8 @@ public function provider() 'spec_in_brackets' => "'''a','b'", 'enum_set_values' => array("'a", 'b'), 'attribute' => ' ', - ), ), + ), array( "ENUM('a&b', 'b''c\\'d', 'e\\\\f')", array( @@ -85,8 +85,8 @@ public function provider() 'spec_in_brackets' => "'a&b', 'b''c\\'d', 'e\\\\f'", 'enum_set_values' => array('a&b', 'b\'c\'d', 'e\\f'), 'attribute' => ' ', - ), ), + ), array( "INT UNSIGNED zerofill", array( @@ -98,8 +98,8 @@ public function provider() 'spec_in_brackets' => '', 'enum_set_values' => array(), 'attribute' => 'UNSIGNED ZEROFILL', - ), ), + ), array( "VARCHAR(255)", array( @@ -111,8 +111,8 @@ public function provider() 'spec_in_brackets' => '255', 'enum_set_values' => array(), 'attribute' => ' ', - ), ), + ), array( "VARBINARY(255)", array( @@ -124,8 +124,8 @@ public function provider() 'spec_in_brackets' => '255', 'enum_set_values' => array(), 'attribute' => ' ', - ), ), - ); + ), + ); } }