From 662757a8678cd4afd6bd821b9a7343874f63a3ef Mon Sep 17 00:00:00 2001 From: Dong-bum Kim Date: Fri, 11 Jan 2013 11:36:58 +0100 Subject: [PATCH 01/15] Translated using Weblate (Korean) Currently translated at 40.6% (1040 of 2562) --- po/ko.po | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/po/ko.po b/po/ko.po index 2ea86c74e3..8e6e3a37da 100644 --- a/po/ko.po +++ b/po/ko.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-03 22:27+0200\n" -"Last-Translator: Nabu Marduk \n" +"PO-Revision-Date: 2013-01-11 11:36+0200\n" +"Last-Translator: Dong-bum Kim \n" "Language-Team: Korean \n" "Language: ko\n" "MIME-Version: 1.0\n" @@ -1988,6 +1988,8 @@ msgid "" "This table does not contain a unique column. Features related to the grid " "edit, checkbox, Edit, Copy and Delete links may not work after saving." msgstr "" +"이 테이블에는 유일 속성을 가진 컬럼이 없습니다. 저장 시에 격자창 편집, 체크박스, 편집, 복사, 삭제 등의 기능이 정상적으로 동작하지 " +"않을 수 있습니다." #: js/messages.php:355 msgid "" @@ -2359,7 +2361,7 @@ msgstr "HTML 폼에 지정된 MAX_FILE_SIZE 값보다 더 큰 파일이 업로 #: libraries/File.class.php:284 msgid "The uploaded file was only partially uploaded." -msgstr "" +msgstr "파일업로드가 완전하지 않게 실행되었습니다." #: libraries/File.class.php:287 msgid "Missing a temporary folder." @@ -2529,7 +2531,7 @@ msgstr "테이블 %s을(를) %s(으)로 이름을 변경하였습니다." #: libraries/Table.class.php:1385 msgid "Could not save table UI preferences" -msgstr "테이블 UI 환경 설정을 저장할 수 없습니다." +msgstr "테이블 UI 설정을 저장할 수 없습니다." #: libraries/Table.class.php:1408 #, php-format @@ -3304,7 +3306,7 @@ msgstr "" #: libraries/config/messages.inc.php:35 msgid "Minimum size for input field" -msgstr "" +msgstr "입력 필드의 최소 크기" #: libraries/config/messages.inc.php:36 msgid "" @@ -3314,7 +3316,7 @@ msgstr "" #: libraries/config/messages.inc.php:37 msgid "Maximum size for input field" -msgstr "" +msgstr "입력 필드의 최대 크기" #: libraries/config/messages.inc.php:38 msgid "Number of columns for CHAR/VARCHAR textareas" @@ -3334,7 +3336,7 @@ msgstr "" #: libraries/config/messages.inc.php:42 msgid "Check config file permissions" -msgstr "" +msgstr "설정 파일에 대한 권한을 확인해주세요." #: libraries/config/messages.inc.php:43 msgid "" @@ -3349,7 +3351,7 @@ msgstr "" #: libraries/config/messages.inc.php:45 setup/frames/config.inc.php:25 #: setup/frames/index.inc.php:167 msgid "Configuration file" -msgstr "" +msgstr "설정 파일" #: libraries/config/messages.inc.php:46 msgid "" @@ -3408,7 +3410,7 @@ msgstr "" #: libraries/config/messages.inc.php:59 msgid "Display databases as a list" -msgstr "" +msgstr "데이터베이스들을 목록으로 표시" #: libraries/config/messages.inc.php:60 msgid "Show server listing as a list instead of a drop down" @@ -3416,7 +3418,7 @@ msgstr "" #: libraries/config/messages.inc.php:61 msgid "Display servers as a list" -msgstr "" +msgstr "서버들을 목록으로 표시" #: libraries/config/messages.inc.php:62 msgid "" @@ -3431,7 +3433,7 @@ msgstr "다중테이블 유지보수기능 해제" #: libraries/config/messages.inc.php:64 msgid "Edit SQL queries in popup window" -msgstr "" +msgstr "팝업창으로 SQL 쿼리 편집" #: libraries/config/messages.inc.php:65 msgid "Edit in window" @@ -3462,7 +3464,7 @@ msgstr "" #: libraries/config/messages.inc.php:71 msgid "Maximum execution time" -msgstr "" +msgstr "최대 실행 시간" #: libraries/config/messages.inc.php:72 prefs_manage.php:297 msgid "Save as file" @@ -8245,10 +8247,9 @@ msgid "More settings" msgstr "" #: main.php:169 -#, fuzzy #| msgid "Databases" msgid "Database server" -msgstr "데이터베이스 " +msgstr "데이터베이스 서버" #: main.php:172 msgid "Software" @@ -8305,10 +8306,9 @@ msgid "Get support" msgstr "" #: main.php:244 -#, fuzzy #| msgid "No change" msgid "List of changes" -msgstr "변화 없음" +msgstr "변경 목록" #: main.php:268 msgid "" @@ -9417,7 +9417,7 @@ msgstr "쓰레드 %s 를 죽였습니다." #, php-format msgid "" "phpMyAdmin was unable to kill thread %s. It probably has already been closed." -msgstr "" +msgstr "phpMyAdmin이 쓰레드 %s를 종료하는데 실패했습니다. 이미 해당 쓰레드가 종료되었을 것입니다." #: server_status.php:594 msgid "Handler" @@ -9430,11 +9430,11 @@ msgstr "질의 종류" #: server_status.php:596 msgid "Threads" -msgstr "" +msgstr "쓰레드" #: server_status.php:598 msgid "Temporary data" -msgstr "" +msgstr "임시 데이터" #: server_status.php:599 #, fuzzy From 8a130c58ff396e3caeb2461f3483a69d324e1729 Mon Sep 17 00:00:00 2001 From: Victor Volkov Date: Sun, 13 Jan 2013 21:07:27 +0100 Subject: [PATCH 02/15] Translated using Weblate (Russian) Currently translated at 100.0% (2602 of 2602) --- po/ru.po | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/po/ru.po b/po/ru.po index 107fee61b7..5ecfd0a6bd 100644 --- a/po/ru.po +++ b/po/ru.po @@ -4,16 +4,16 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.0.0-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-01-10 13:45+0100\n" -"PO-Revision-Date: 2012-12-25 21:55+0200\n" +"PO-Revision-Date: 2013-01-13 21:07+0200\n" "Last-Translator: Victor Volkov \n" -"Language-Team: Russian \n" +"Language-Team: Russian " +"\n" "Language: ru\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\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" +"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-Generator: Weblate 1.4-dev\n" #: browse_foreigners.php:36 browse_foreigners.php:60 js/messages.php:344 @@ -12284,10 +12284,9 @@ msgid "" msgstr "(Имя \"PRIMARY\" должен иметь только первичный индекс!)" #: tbl_indexes.php:227 -#, fuzzy #| msgid "Comment" msgid "Comment:" -msgstr "Комментарий" +msgstr "Комментарий:" #: tbl_indexes.php:239 msgid "Index type:" From 8063d2270ee21ede89147ecf84f9e62f5639e98e Mon Sep 17 00:00:00 2001 From: Robert Readman Date: Mon, 14 Jan 2013 10:50:10 +0100 Subject: [PATCH 03/15] Translated using Weblate (English (United Kingdom)) Currently translated at 100.0% (2602 of 2602) --- po/en_GB.po | 162 ++++++++++++++++++++-------------------------------- 1 file changed, 63 insertions(+), 99 deletions(-) diff --git a/po/en_GB.po b/po/en_GB.po index 1fd2eb5edc..e94a49ac20 100644 --- a/po/en_GB.po +++ b/po/en_GB.po @@ -6,16 +6,16 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.0.0-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-01-10 13:45+0100\n" -"PO-Revision-Date: 2012-11-08 18:56+0200\n" -"Last-Translator: Rouslan Placella \n" -"Language-Team: English (United Kingdom) \n" +"PO-Revision-Date: 2013-01-14 10:50+0200\n" +"Last-Translator: Robert Readman \n" +"Language-Team: English (United Kingdom) " +"\n" "Language: en_GB\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" -"X-Generator: Weblate 1.3-dev\n" +"X-Generator: Weblate 1.4-dev\n" #: browse_foreigners.php:36 browse_foreigners.php:60 js/messages.php:344 #: libraries/DisplayResults.class.php:809 @@ -953,10 +953,10 @@ msgid "Edit Index" msgstr "Edit Index" #: js/messages.php:44 tbl_indexes.php:339 tbl_indexes.php:347 -#, fuzzy, php-format +#, php-format #| msgid "Add %d column(s) to index" msgid "Add %s column(s) to index" -msgstr "Add %d column(s) to index" +msgstr "Add %s column(s) to index" #. l10n: Default description for the y-Axis of Charts #: js/messages.php:48 @@ -1581,12 +1581,12 @@ msgstr "Error in Processing Request" #: js/messages.php:225 #, php-format msgid "Error code: %s" -msgstr "" +msgstr "Error code: %s" #: js/messages.php:226 #, php-format msgid "Error text: %s" -msgstr "" +msgstr "Error text: %s" #: js/messages.php:227 libraries/db_common.inc.php:58 #: libraries/db_table_exists.lib.php:28 server_databases.php:89 @@ -1840,7 +1840,7 @@ msgstr "Add an option for column " #: js/messages.php:334 #, php-format msgid "%d object(s) created" -msgstr "" +msgstr "%d object(s) created" #: js/messages.php:337 msgid "Press escape to cancel editing" @@ -1883,20 +1883,16 @@ msgstr "" "edit, tick-box, Edit, Copy and Delete links may not work after saving." #: js/messages.php:350 -#, fuzzy #| msgid "" #| "You can also edit most columns
by clicking directly on their content." msgid "You can also edit most values
by double-clicking directly on them." -msgstr "" -"You can also edit most columns
by clicking directly on their content." +msgstr "You can also edit most values
by double-clicking directly on them." #: js/messages.php:353 -#, fuzzy #| msgid "" #| "You can also edit most columns
by clicking directly on their content." msgid "You can also edit most values
by clicking directly on them." -msgstr "" -"You can also edit most columns
by clicking directly on their content." +msgstr "You can also edit most values
by clicking directly on them." #: js/messages.php:358 msgid "Go to link" @@ -2747,7 +2743,7 @@ msgstr "Open new phpMyAdmin window" #: libraries/Header.class.php:386 msgid "Click on the bar to scroll to top of page" -msgstr "" +msgstr "Click on the bar to scroll to top of page" #: libraries/Header.class.php:593 #: libraries/plugins/auth/AuthenticationCookie.class.php:267 @@ -3846,7 +3842,7 @@ msgstr "You should upgrade to %s %s or later." #: libraries/common.inc.php:1042 msgid "Error: Token mismatch" -msgstr "" +msgstr "Error: Token mismatch" #: libraries/common.inc.php:1086 msgid "GLOBALS overwrite attempt" @@ -3879,11 +3875,11 @@ msgstr "Right" #: libraries/config.values.php:69 msgid "Click" -msgstr "" +msgstr "Click" #: libraries/config.values.php:70 msgid "Double click" -msgstr "" +msgstr "Double click" #: libraries/config.values.php:71 libraries/config.values.php:103 #: libraries/config/FormDisplay.tpl.php:225 libraries/relation.lib.php:98 @@ -5054,7 +5050,7 @@ msgstr "" #: libraries/config/messages.inc.php:287 msgid "Maximum items in branch" -msgstr "" +msgstr "Maximum items in branch" #: libraries/config/messages.inc.php:288 msgid "" @@ -5143,25 +5139,24 @@ msgid "Target for quick access icon" msgstr "Target for quick access icon" #: libraries/config/messages.inc.php:306 -#, fuzzy #| msgid "Minimum number of tables to display the table filter box" msgid "" "Defines the minimum number of items (tables, views, routines and events) to " "display a filter box." -msgstr "Minimum number of tables to display the table filter box" +msgstr "" +"Defines the minimum number of items (tables, views, routines and events) to " +"display a filter box." #: libraries/config/messages.inc.php:307 -#, fuzzy #| msgid "Minimum number of tables to display the table filter box" msgid "Minimum number of items to display the filter box" -msgstr "Minimum number of tables to display the table filter box" +msgstr "Minimum number of items to display the filter box" #: libraries/config/messages.inc.php:308 msgid "Minimum number of databases to display the database filter box" msgstr "Minimum number of databases to display the database filter box" #: libraries/config/messages.inc.php:309 -#, fuzzy #| msgid "" #| "Only light version; display databases in a tree (determined by the " #| "separator defined below)" @@ -5169,12 +5164,12 @@ msgid "" "Group items in the navigation tree (determined by the separator defined " "below)" msgstr "" -"Only light version; display databases in a tree (determined by the separator " -"defined below)" +"Group items in the navigation tree (determined by the separator defined " +"below)" #: libraries/config/messages.inc.php:310 msgid "Group items in the tree" -msgstr "" +msgstr "Group items in the tree" #: libraries/config/messages.inc.php:311 msgid "String that separates databases into different tree levels" @@ -5279,7 +5274,6 @@ msgid "Missing phpMyAdmin configuration storage tables" msgstr "Missing phpMyAdmin configuration storage tables" #: libraries/config/messages.inc.php:334 -#, fuzzy #| msgid "" #| "Disable the default warning that is displayed if mcrypt is missing for " #| "cookie authentication" @@ -5287,12 +5281,12 @@ msgid "" "Disable the default warning that is displayed if a difference between the " "MySQL library and server is detected" msgstr "" -"Disable the default warning that is displayed if mcrypt is missing for " -"cookie authentication" +"Disable the default warning that is displayed if a difference between the " +"MySQL library and server is detected" #: libraries/config/messages.inc.php:335 msgid "Server/library difference warning" -msgstr "" +msgstr "Server/library difference warning" #: libraries/config/messages.inc.php:337 msgid "Iconic table operations" @@ -5379,13 +5373,12 @@ msgstr "Repeat headers" #: libraries/config/messages.inc.php:358 msgid "Grid editing: trigger action" -msgstr "" +msgstr "Grid editing: trigger action" #: libraries/config/messages.inc.php:359 -#, fuzzy #| msgid "Save all edited cells at once" msgid "Grid editing: save all edited cells at once" -msgstr "Save all edited cells at once" +msgstr "Grid editing: save all edited cells at once" #: libraries/config/messages.inc.php:360 msgid "Directory where exports can be saved on server" @@ -5450,7 +5443,6 @@ msgid "Authentication type" msgstr "Authentication type" #: libraries/config/messages.inc.php:374 -#, fuzzy #| msgid "" #| "Leave blank for no [a@http://wiki.phpmyadmin.net/pma/bookmark]bookmark[/" #| "a] support, suggested: [kbd]pma_bookmark[/kbd]" @@ -5459,14 +5451,13 @@ msgid "" "support, suggested: [kbd]pma__bookmark[/kbd]" msgstr "" "Leave blank for no [a@http://wiki.phpmyadmin.net/pma/bookmark]bookmark[/a] " -"support, suggested: [kbd]pma_bookmark[/kbd]" +"support, suggested: [kbd]pma__bookmark[/kbd]" #: libraries/config/messages.inc.php:375 msgid "Bookmark table" msgstr "Bookmark table" #: libraries/config/messages.inc.php:376 -#, fuzzy #| msgid "" #| "Leave blank for no column comments/mime types, suggested: [kbd]" #| "pma_column_info[/kbd]" @@ -5474,8 +5465,8 @@ msgid "" "Leave blank for no column comments/mime types, suggested: [kbd]" "pma__column_info[/kbd]" msgstr "" -"Leave blank for no column comments/mime types, suggested: [kbd]" -"pma_column_info[/kbd]" +"Leave blank for no column comments/mime types, suggested: " +"[kbd]pma__column_info[/kbd]" #: libraries/config/messages.inc.php:377 msgid "Column information table" @@ -5534,7 +5525,6 @@ msgid "Count tables" msgstr "Count tables" #: libraries/config/messages.inc.php:389 -#, fuzzy #| msgid "" #| "Leave blank for no Designer support, suggested: [kbd]pma_designer_coords[/" #| "kbd]" @@ -5542,8 +5532,8 @@ msgid "" "Leave blank for no Designer support, suggested: [kbd]pma__designer_coords[/" "kbd]" msgstr "" -"Leave blank for no Designer support, suggested: [kbd]pma_designer_coords[/" -"kbd]" +"Leave blank for no Designer support, suggested: " +"[kbd]pma__designer_coords[/kbd]" #: libraries/config/messages.inc.php:390 msgid "Designer table" @@ -5578,7 +5568,6 @@ msgid "Hide databases" msgstr "Hide databases" #: libraries/config/messages.inc.php:397 -#, fuzzy #| msgid "" #| "Leave blank for no SQL query history support, suggested: [kbd]pma_history" #| "[/kbd]" @@ -5586,8 +5575,8 @@ msgid "" "Leave blank for no SQL query history support, suggested: [kbd]pma__history[/" "kbd]" msgstr "" -"Leave blank for no SQL query history support, suggested: [kbd]pma_history[/" -"kbd]" +"Leave blank for no SQL query history support, suggested: " +"[kbd]pma__history[/kbd]" #: libraries/config/messages.inc.php:398 msgid "SQL query history table" @@ -5652,13 +5641,12 @@ msgid "Password for config auth" msgstr "Password for config auth" #: libraries/config/messages.inc.php:410 -#, fuzzy #| msgid "" #| "Leave blank for no PDF schema support, suggested: [kbd]pma_pdf_pages[/kbd]" msgid "" "Leave blank for no PDF schema support, suggested: [kbd]pma__pdf_pages[/kbd]" msgstr "" -"Leave blank for no PDF schema support, suggested: [kbd]pma_pdf_pages[/kbd]" +"Leave blank for no PDF schema support, suggested: [kbd]pma__pdf_pages[/kbd]" #: libraries/config/messages.inc.php:411 msgid "PDF schema: pages table" @@ -5687,7 +5675,6 @@ msgid "Server port" msgstr "Server port" #: libraries/config/messages.inc.php:416 -#, fuzzy #| msgid "" #| "Leave blank for no \"persistent\" recently used tables across sessions, " #| "suggested: [kbd]pma_recent[/kbd]" @@ -5696,14 +5683,13 @@ msgid "" "suggested: [kbd]pma__recent[/kbd]" msgstr "" "Leave blank for no \"persistent\" recently used tables across sessions, " -"suggested: [kbd]pma_recent[/kbd]" +"suggested: [kbd]pma__recent[/kbd]" #: libraries/config/messages.inc.php:417 msgid "Recently used table" msgstr "Recently used table" #: libraries/config/messages.inc.php:418 -#, fuzzy #| msgid "" #| "Leave blank for no [a@http://wiki.phpmyadmin.net/pma/relation]relation-" #| "links[/a] support, suggested: [kbd]pma_relation[/kbd]" @@ -5711,8 +5697,8 @@ msgid "" "Leave blank for no [a@http://wiki.phpmyadmin.net/pma/relation]relation-links" "[/a] support, suggested: [kbd]pma__relation[/kbd]" msgstr "" -"Leave blank for no [a@http://wiki.phpmyadmin.net/pma/relation]relation-links" -"[/a] support, suggested: [kbd]pma_relation[/kbd]" +"Leave blank for no [a@http://wiki.phpmyadmin.net/pma/relation]relation-" +"links[/a] support, suggested: [kbd]pma__relation[/kbd]" #: libraries/config/messages.inc.php:419 msgid "Relation table" @@ -5759,7 +5745,6 @@ msgid "Use SSL" msgstr "Use SSL" #: libraries/config/messages.inc.php:429 -#, fuzzy #| msgid "" #| "Leave blank for no PDF schema support, suggested: [kbd]pma_table_coords[/" #| "kbd]" @@ -5767,14 +5752,14 @@ msgid "" "Leave blank for no PDF schema support, suggested: [kbd]pma__table_coords[/" "kbd]" msgstr "" -"Leave blank for no PDF schema support, suggested: [kbd]pma_table_coords[/kbd]" +"Leave blank for no PDF schema support, suggested: " +"[kbd]pma__table_coords[/kbd]" #: libraries/config/messages.inc.php:430 msgid "PDF schema: table coordinates" msgstr "PDF schema: table coordinates" #: libraries/config/messages.inc.php:431 -#, fuzzy #| msgid "" #| "Table to describe the display columns, leave blank for no support; " #| "suggested: [kbd]pma_table_info[/kbd]" @@ -5783,14 +5768,13 @@ msgid "" "suggested: [kbd]pma__table_info[/kbd]" msgstr "" "Table to describe the display columns, leave blank for no support; " -"suggested: [kbd]pma_table_info[/kbd]" +"suggested: [kbd]pma__table_info[/kbd]" #: libraries/config/messages.inc.php:432 msgid "Display columns table" msgstr "Display columns table" #: libraries/config/messages.inc.php:433 -#, fuzzy #| msgid "" #| "Leave blank for no \"persistent\" tables'UI preferences across sessions, " #| "suggested: [kbd]pma_table_uiprefs[/kbd]" @@ -5799,7 +5783,7 @@ msgid "" "suggested: [kbd]pma__table_uiprefs[/kbd]" msgstr "" "Leave blank for no \"persistent\" tables'UI preferences across sessions, " -"suggested: [kbd]pma_table_uiprefs[/kbd]" +"suggested: [kbd]pma__table_uiprefs[/kbd]" #: libraries/config/messages.inc.php:434 msgid "UI preferences table" @@ -5851,7 +5835,6 @@ msgid "Statements to track" msgstr "Statements to track" #: libraries/config/messages.inc.php:443 -#, fuzzy #| msgid "" #| "Leave blank for no SQL query tracking support, suggested: [kbd]" #| "pma_tracking[/kbd]" @@ -5859,8 +5842,8 @@ msgid "" "Leave blank for no SQL query tracking support, suggested: [kbd]pma__tracking" "[/kbd]" msgstr "" -"Leave blank for no SQL query tracking support, suggested: [kbd]pma_tracking[/" -"kbd]" +"Leave blank for no SQL query tracking support, suggested: " +"[kbd]pma__tracking[/kbd]" #: libraries/config/messages.inc.php:444 msgid "SQL query tracking table" @@ -5879,7 +5862,6 @@ msgid "Automatically create versions" msgstr "Automatically create versions" #: libraries/config/messages.inc.php:447 -#, fuzzy #| msgid "" #| "Leave blank for no user preferences storage in database, suggested: [kbd]" #| "pma_userconfig[/kbd]" @@ -5887,8 +5869,8 @@ msgid "" "Leave blank for no user preferences storage in database, suggested: [kbd]" "pma__userconfig[/kbd]" msgstr "" -"Leave blank for no user preferences storage in database, suggested: [kbd]" -"pma_userconfig[/kbd]" +"Leave blank for no user preferences storage in database, suggested: " +"[kbd]pma__userconfig[/kbd]" #: libraries/config/messages.inc.php:448 msgid "User preferences storage table" @@ -6682,7 +6664,6 @@ msgstr "" "Previous import timed out, after resubmitting will continue from position %d." #: libraries/display_import.lib.php:289 -#, fuzzy #| msgid "" #| "Allow the interruption of an import in case the script detects it is " #| "close to the PHP timeout limit. (This might be good way to import " @@ -7414,7 +7395,7 @@ msgstr "unknown" #: libraries/navigation/Navigation.class.php:61 msgid "An error has occured while loading the navigation tree" -msgstr "" +msgstr "An error has occurred while loading the navigation tree" #: libraries/navigation/NavigationHeader.class.php:182 msgid "Home" @@ -7436,24 +7417,21 @@ msgstr "Reload navigation frame" #, php-format msgid "%s other result found" msgid_plural "%s other results found" -msgstr[0] "" -msgstr[1] "" +msgstr[0] "%s other result found" +msgstr[1] "%s other results found" #: libraries/navigation/NavigationTree.class.php:1027 -#, fuzzy #| msgid "Filter databases by name" msgid "filter databases by name" -msgstr "Filter databases by name" +msgstr "filter databases by name" #: libraries/navigation/NavigationTree.class.php:1028 #: libraries/navigation/NavigationTree.class.php:1054 -#, fuzzy #| msgid "Clear series" msgid "Clear Fast Filter" -msgstr "Clear series" +msgstr "Clear Fast Filter" #: libraries/navigation/NavigationTree.class.php:1053 -#, fuzzy #| msgid "Filter tables by name" msgid "filter items by name" msgstr "Filter tables by name" @@ -7462,12 +7440,12 @@ msgstr "Filter tables by name" #: libraries/navigation/NodeFactory.class.php:41 #, php-format msgid "Invalid class name \"%1$s\", using default of \"Node\"" -msgstr "" +msgstr "Invalid class name \"%1$s\", using default of \"Node\"" #: libraries/navigation/NodeFactory.class.php:65 #, php-format msgid "Could not include class \"%1$s\", file \"%2$s\" not found" -msgstr "" +msgstr "Could not include class \"%1$s\", file \"%2$s\" not found" #: libraries/navigation/Nodes/Node_Column_Container.class.php:26 #: libraries/sql_query_form.lib.php:271 @@ -7475,14 +7453,12 @@ msgid "Columns" msgstr "Columns" #: libraries/navigation/Nodes/Node_Column_Container.class.php:38 -#, fuzzy #| msgid "New" msgctxt "Create new column" msgid "New" msgstr "New" #: libraries/navigation/Nodes/Node_Event_Container.class.php:36 -#, fuzzy #| msgid "New" msgctxt "Create new event" msgid "New" @@ -7495,14 +7471,12 @@ msgid "Functions" msgstr "Functions" #: libraries/navigation/Nodes/Node_Function_Container.class.php:36 -#, fuzzy #| msgid "New" msgctxt "Create new function" msgid "New" msgstr "New" #: libraries/navigation/Nodes/Node_Index_Container.class.php:38 -#, fuzzy #| msgid "New" msgctxt "Create new index" msgid "New" @@ -7516,21 +7490,18 @@ msgstr "Procedures" #: libraries/navigation/Nodes/Node_Procedure_Container.class.php:36 #: libraries/rte/rte_footer.lib.php:29 -#, fuzzy #| msgid "New" msgctxt "Create new procedure" msgid "New" msgstr "New" #: libraries/navigation/Nodes/Node_Table_Container.class.php:40 -#, fuzzy #| msgid "New" msgctxt "Create new table" msgid "New" msgstr "New" #: libraries/navigation/Nodes/Node_Trigger_Container.class.php:36 -#, fuzzy #| msgid "New" msgctxt "Create new trigger" msgid "New" @@ -7542,7 +7513,6 @@ msgid "Views" msgstr "Views" #: libraries/navigation/Nodes/Node_View_Container.class.php:36 -#, fuzzy #| msgid "New" msgctxt "Create new view" msgid "New" @@ -9479,7 +9449,6 @@ msgid "User has been added." msgstr "User has been added." #: libraries/server_privileges.lib.php:1625 -#, fuzzy #| msgid "New" msgctxt "Create new user" msgid "New" @@ -10072,7 +10041,7 @@ msgstr "Error in ZIP archive:" #: navigation.php:23 msgid "Fatal error: The navigation can only be accessed via ajax" -msgstr "" +msgstr "Fatal error: The navigation can only be accessed via Ajax" #: pmd_display_field.php:60 pmd_save_pos.php:81 msgid "Modifications have been saved" @@ -10084,11 +10053,11 @@ msgstr "Show/Hide left menu" #: pmd_general.php:86 msgid "View in fullscreen" -msgstr "" +msgstr "View in full-screen" #: pmd_general.php:90 msgid "Exit fullscreen" -msgstr "" +msgstr "Exit full-screen" #: pmd_general.php:95 msgid "Save position" @@ -12025,10 +11994,9 @@ msgid "Using bookmark \"%s\" as default browse query." msgstr "Using bookmark \"%s\" as default browse query." #: sql.php:381 -#, fuzzy #| msgid "Bookmark %s created" msgid "Bookmark not created" -msgstr "Bookmark %s created" +msgstr "Bookmark not created" #: sql.php:914 msgid "Showing as PHP code" @@ -12056,10 +12024,9 @@ msgid "Label" msgstr "Label" #: tbl_chart.php:41 -#, fuzzy #| msgid "No data found" msgid "No data to display" -msgstr "No data found" +msgstr "No data to display" #: tbl_chart.php:129 msgctxt "Chart type" @@ -12200,10 +12167,9 @@ msgstr "" "(\"PRIMARY\" must be the name of and only of a primary key!)" #: tbl_indexes.php:227 -#, fuzzy #| msgid "Comment" msgid "Comment:" -msgstr "Comment" +msgstr "Comment:" #: tbl_indexes.php:239 msgid "Index type:" @@ -12569,7 +12535,6 @@ msgid "log_slow_queries is set to 'OFF'" msgstr "log_slow_queries is set to 'OFF'" #: libraries/advisory_rules.txt:95 -#, fuzzy #| msgid "" #| "Enable slow query logging by setting {log_slow_queries} to 'ON'. This " #| "will help troubleshooting badly performing queries." @@ -12577,14 +12542,13 @@ msgid "" "Enable slow query logging by setting {slow_query_log} to 'ON'. This will " "help troubleshooting badly performing queries." msgstr "" -"Enable slow query logging by setting {log_slow_queries} to 'ON'. This will " +"Enable slow query logging by setting {slow_query_log} to 'ON'. This will " "help troubleshooting badly performing queries." #: libraries/advisory_rules.txt:96 -#, fuzzy #| msgid "log_slow_queries is set to 'OFF'" msgid "slow_query_log is set to 'OFF'" -msgstr "log_slow_queries is set to 'OFF'" +msgstr "slow_query_log is set to 'OFF'" #: libraries/advisory_rules.txt:100 msgid "Release Series" From d30aaaee73e4391c15095280cf0345d5cf23e671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 15 Jan 2013 09:08:32 +0100 Subject: [PATCH 04/15] Escape HTML in chart title --- js/server_status_monitor.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/server_status_monitor.js b/js/server_status_monitor.js index 98d79c127b..152a6b3385 100644 --- a/js/server_status_monitor.js +++ b/js/server_status_monitor.js @@ -1030,7 +1030,10 @@ $(function() { function addChart(chartObj, initialize) { var settings = { - title: chartObj.title, + title: { + text: chartObj.title, + escapeHtml: true, + }, grid: { drawBorder: false, shadow: false, From d876574e61e413cca6906da7c208c1d3c8ae34d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 15 Jan 2013 09:08:39 +0100 Subject: [PATCH 05/15] Whitespace cleanup --- js/server_status_monitor.js | 240 ++++++++++++++++++------------------ 1 file changed, 120 insertions(+), 120 deletions(-) diff --git a/js/server_status_monitor.js b/js/server_status_monitor.js index 152a6b3385..610e7286a1 100644 --- a/js/server_status_monitor.js +++ b/js/server_status_monitor.js @@ -14,15 +14,15 @@ $(function() { $('div#logAnalyseDialog .datetimefield').each(function() { PMA_addDatepicker($(this)); }); - + /**** Monitor charting implementation ****/ /* Saves the previous ajax response for differential values */ var oldChartData = null; // Holds about to created chart var newChart = null; var chartSpacing; - - // Whenever the monitor object (runtime.charts) or the settings object (monitorSettings) + + // Whenever the monitor object (runtime.charts) or the settings object (monitorSettings) // changes in a way incompatible to the previous version, increase this number // It will reset the users monitor and settings object in his localStorage to the default configuration var monitorProtocolVersion = '1.0'; @@ -47,7 +47,7 @@ $(function() { xmin: -1, xmax: -1 }; - + var monitorSettings = null; var defaultMonitorSettings = { @@ -61,7 +61,7 @@ $(function() { // Allows drag and drop rearrange and print/edit icons on charts var editMode = false; - + /* List of preconfigured charts that the user may select */ var presetCharts = { // Query cache efficiency @@ -97,14 +97,14 @@ $(function() { // chart tooltip var tooltipBox; - + /* Add OS specific system info charts to the preset chart list */ switch(server_os) { - case 'WINNT': - $.extend(presetCharts, { + case 'WINNT': + $.extend(presetCharts, { 'cpu': { title: PMA_messages['strSystemCPUUsage'], - series: [ { + series: [ { label: PMA_messages['strAverageLoad'] } ], nodes: [ { @@ -112,7 +112,7 @@ $(function() { } ], maxYLabel: [] }, - + 'memory': { title: PMA_messages['strSystemMemory'], series: [ { @@ -130,7 +130,7 @@ $(function() { ], maxYLabel: [] }, - + 'swap': { title: PMA_messages['strSystemSwap'], series: [ { @@ -149,7 +149,7 @@ $(function() { } }); break; - + case 'Linux': $.extend(presetCharts, { 'cpu': { @@ -192,12 +192,12 @@ $(function() { } }); break; - + case 'SunOS': $.extend(presetCharts, { 'cpu': { title: PMA_messages['strSystemCPUUsage'], - series: [ { + series: [ { label: PMA_messages['strAverageLoad'] } ], nodes: [ { @@ -409,7 +409,7 @@ $(function() { // To many cells in one row => put into next row $tr.find('td').each(function() { if (numColumns > monitorSettings.columns) { - if ($tr.next().length == 0) { + if ($tr.next().length == 0) { $tr.after(''); } $tr.next().prepend($(this)); @@ -505,14 +505,14 @@ $(function() { $(this).dialog("close"); }; - + dlgButtons[PMA_messages['strClose']] = function() { newChart = null; $('span#clearSeriesLink').hide(); $('#seriesPreview').html(''); $(this).dialog("close"); }; - + var $presetList = $('div#addChartDialog select[name="presetCharts"]'); if ($presetList.html().length == 0) { $.each(presetCharts, function(key, value) { @@ -523,7 +523,7 @@ $(function() { $('input[name="chartTitle"]').attr('value', presetCharts[$(this).prop('value')].title); }); } - + $('div#addChartDialog').dialog({ width: 'auto', height: 'auto', @@ -534,7 +534,7 @@ $(function() { return false; }); - + $('a[href="#exportMonitorConfig"]').click(function() { var gridCopy = {}; @@ -544,15 +544,15 @@ $(function() { gridCopy[key].settings = elem.settings; gridCopy[key].title = elem.title; }); - + var exportData = { monitorCharts: gridCopy, monitorSettings: monitorSettings }; var $form; - + $('body').append($form = $('
')); - + $form.append(''); $form.submit(); $form.remove(); @@ -562,16 +562,16 @@ $(function() { $('div#emptyDialog').dialog({title: PMA_messages['strImportDialogTitle']}); $('div#emptyDialog').html(PMA_messages['strImportDialogMessage'] + ':
' + '
'); - + var dlgBtns = {}; - + dlgBtns[PMA_messages['strImport']] = function() { var $iframe, $form; $('body').append($iframe = $('')); var d = $iframe[0].contentWindow.document; d.open(); d.close(); mew = d; - + $iframe.load(function() { var json; @@ -585,14 +585,14 @@ $(function() { $('div#emptyDialog').dialog('close'); return; } - + // Basic check, is this a monitor config json? if (!json || ! json.monitorCharts || ! json.monitorCharts) { alert(PMA_messages['strFailedParsingConfig']); $('div#emptyDialog').dialog('close'); return; } - + // If json ok, try applying config try { window.localStorage['monitorCharts'] = $.toJSON(json.monitorCharts); @@ -605,20 +605,20 @@ $(function() { window.localStorage.removeItem('monitorSettings'); rebuildGrid(); } - + $('div#emptyDialog').dialog('close'); }); - + $("body", d).append($form = $('div#emptyDialog').find('form')); $form.submit(); $('div#emptyDialog').append(''); }; - + dlgBtns[PMA_messages['strCancel']] = function() { $(this).dialog('close'); } - - + + $('div#emptyDialog').dialog({ width: 'auto', height: 'auto', @@ -647,7 +647,7 @@ $(function() { } return false; }); - + $('a[href="#monitorInstructionsDialog"]').click(function() { var $dialog = $('div#monitorInstructionsDialog'); @@ -699,7 +699,7 @@ $(function() { + $.sprintf(PMA_messages['strSmallerLongQueryTimeAdvice'], logVars['long_query_time']) + '
'; } - + if (logVars['long_query_time'] < 2) { str += PMA_getImage('s_success.png') + ' ' + $.sprintf(PMA_messages['strLongQueryTimeSet'], logVars['long_query_time']) @@ -718,7 +718,7 @@ $(function() { if (logVars['log_output'] == 'TABLE') { varValue = 'FILE'; } - + str += '- ' + $.sprintf(PMA_messages['strSetLogOutput'], varValue) + '
'; @@ -772,8 +772,8 @@ $(function() { } ); }; - - + + loadLogVars(); return false; @@ -782,7 +782,7 @@ $(function() { $('input[name="chartType"]').change(function() { $('#chartVariableSettings').toggle(this.checked && this.value == 'variable'); var title = $('input[name="chartTitle"]').attr('value'); - if (title == PMA_messages['strChartTitle'] + if (title == PMA_messages['strChartTitle'] || title == $('label[for="' + $('input[name="chartTitle"]').data('lastRadio') + '"]').text() ) { $('input[name="chartTitle"]') @@ -831,7 +831,7 @@ $(function() { if ($('input#variableInput').attr('value').length == 0) { return false; } - + if (newChart == null) { $('#seriesPreview').html(''); @@ -905,11 +905,11 @@ $(function() { var dlgBtns = {}; dlgBtns[PMA_messages['strClose']] = function() { $(this).dialog('close'); }; - $('div#emptyDialog').dialog({ + $('div#emptyDialog').dialog({ width: 400, - buttons: dlgBtns + buttons: dlgBtns }); - } + } } if (runtime.charts == null) { @@ -934,13 +934,13 @@ $(function() { /* Calculate how much spacing there is between each chart */ $('table#chartGrid').html(''); chartSpacing = { - width: $('table#chartGrid td:nth-child(2)').offset().left + width: $('table#chartGrid td:nth-child(2)').offset().left - $('table#chartGrid td:nth-child(1)').offset().left, - height: $('table#chartGrid tr:nth-child(2) td:nth-child(2)').offset().top + height: $('table#chartGrid tr:nth-child(2) td:nth-child(2)').offset().top - $('table#chartGrid tr:nth-child(1) td:nth-child(1)').offset().top } $('table#chartGrid').html(''); - + /* Add all charts - in correct order */ var keys = []; $.each(runtime.charts, function(key, value) { @@ -959,11 +959,11 @@ $(function() { // Empty cells should keep their size so you can drop onto them $('table#chartGrid tr td').css('width', chartSize().width + 'px'); - + buildRequiredDataList(); refreshChartGrid(); } - + /* Destroys all monitor related resources */ function destroyGrid() { if (runtime.charts) { @@ -973,22 +973,22 @@ $(function() { } catch(err) {} }); } - + try { runtime.refreshRequest.abort(); } catch(err) {} - try { + try { clearTimeout(runtime.refreshTimeout); } catch(err) {} - + $('table#chartGrid').html(''); runtime.charts = null; runtime.chartAI = 0; monitorSettings = null; } - - /* Calls destroyGrid() and initGrid(), but before doing so it saves the chart + + /* Calls destroyGrid() and initGrid(), but before doing so it saves the chart * data from each chart and restores it after the monitor is initialized again */ function rebuildGrid() { var oldData = null; @@ -1002,10 +1002,10 @@ $(function() { } }); } - + destroyGrid(); initGrid(); - + if (oldData) { $.each(runtime.charts, function(key, chartObj) { for (var j = 0; j < chartObj.nodes.length; j++) { @@ -1014,7 +1014,7 @@ $(function() { } } }); - } + } } /* Calculactes the dynamic chart size that depends on the column width */ @@ -1211,7 +1211,7 @@ $(function() { if (! htmlnode ) { return; } - + var chart = null; var chartKey = null; $.each(runtime.charts, function(key, value) { @@ -1221,7 +1221,7 @@ $(function() { return false; } }); - + if (chart == null) { return; } @@ -1231,18 +1231,18 @@ $(function() { for (var i = 0; i
'; } - + dlgBtns = {}; dlgBtns[PMA_messages['strSave']] = function() { runtime.charts[chartKey].title = $('div#emptyDialog input[name="chartTitle"]').attr('value'); runtime.charts[chartKey].chart.setTitle({ text: runtime.charts[chartKey].title }); - + $('div#emptyDialog input[name*="chartSerie"]').each(function() { var idx = $(this).attr('name').split('-')[1]; runtime.charts[chartKey].nodes[idx].name = $(this).attr('value'); runtime.charts[chartKey].chart.series[idx].name = $(this).attr('value'); }); - + $(this).dialog('close'); saveMonitor(); }; @@ -1271,7 +1271,7 @@ $(function() { loadLog('slow', min, max); $(this).dialog("close"); }; - + dlgBtns[PMA_messages['strFromGeneralLog']] = function() { loadLog('general', min, max); $(this).dialog("close"); @@ -1296,15 +1296,15 @@ $(function() { limitTypes: $('input#limitTypes').prop('checked') }); } - - + + /* Removes a chart from the grid */ function removeChart(chartObj) { var htmlnode = chartObj.options.chart.renderTo; if (! htmlnode ) { return; } - + $.each(runtime.charts, function(key, value) { if (value.chart.options.chart.renderTo == htmlnode) { delete runtime.charts[key]; @@ -1328,10 +1328,10 @@ $(function() { function refreshChartGrid() { /* Send to server */ runtime.refreshRequest = $.post('server_status.php?' + url_query, { - ajax_request: true, - chart_data: 1, - type: 'chartgrid', - requiredData: $.toJSON(runtime.dataList) + ajax_request: true, + chart_data: 1, + type: 'chartgrid', + requiredData: $.toJSON(runtime.dataList) }, function(data) { var chartData; try { @@ -1341,7 +1341,7 @@ $(function() { } var value, i = 0; var diff; - + /* Update values in each graph */ $.each(runtime.charts, function(orderKey, elem) { var key = elem.chartID; @@ -1366,7 +1366,7 @@ $(function() { //elem.chart.xAxis[0].setExtremes(runtime.xmin, runtime.xmax, false); /* Calculate y value */ - + // If transform function given, use it if (elem.nodes[j].transformFn) { value = chartValueTransform( @@ -1382,7 +1382,7 @@ $(function() { value = parseFloat(chartData[key][j][0].value); if (elem.nodes[j].display == 'differential') { - if (oldChartData == null || oldChartData[key] == null) { + if (oldChartData == null || oldChartData[key] == null) { continue; } value -= oldChartData[key][j][0].value; @@ -1392,7 +1392,7 @@ $(function() { value = value / elem.nodes[j].valueDivisor; } } - + // Set y value, if defined if (value != undefined) { elem.chart.series[j].data.push([chartData.x, value]); @@ -1432,9 +1432,9 @@ $(function() { runtime.refreshTimeout = setTimeout(refreshChartGrid, monitorSettings.gridRefresh); }); } - + /* Function that supplies special value transform functions for chart values */ - function chartValueTransform(name, cur, prev) { + function chartValueTransform(name, cur, prev) { switch(name) { case 'cpu-linux': if (prev == null) { @@ -1474,7 +1474,7 @@ $(function() { */ function buildRequiredDataList() { runtime.dataList = {}; - // Store an own id, because the property name is subject of reordering, + // Store an own id, because the property name is subject of reordering, // thus destroying our mapping with runtime.charts <=> runtime.dataList var chartID = 0; $.each(runtime.charts, function(key, chart) { @@ -1498,10 +1498,10 @@ $(function() { if (! opts.limitTypes) { opts.limitTypes = false; } - + $('#emptyDialog').dialog({title: PMA_messages['strAnalysingLogsTitle']}); - $('#emptyDialog').html(PMA_messages['strAnalysingLogs'] + - ' '); var dlgBtns = {}; @@ -1529,14 +1529,14 @@ $(function() { removeVariables: opts.removeVariables, limitTypes: opts.limitTypes }, - function(data) { + function(data) { var logData; try { logData = $.parseJSON(data); } catch(err) { return serverResponseError(); } - + if (logData.rows.length != 0) { runtime.logDataCols = buildLogTable(logData); @@ -1585,26 +1585,26 @@ $(function() { $(this).dialog("close"); $(document).scrollTop($('div#logTable').offset().top); }; - + $('#emptyDialog').dialog( "option", "buttons", dlgBtns); - + } else { $('#emptyDialog').dialog({title: PMA_messages['strNoDataFoundTitle']}); $('#emptyDialog').html('

' + PMA_messages['strNoDataFound'] + '

'); - + var dlgBtns = {}; - dlgBtns[PMA_messages['strClose']] = function() { - $(this).dialog("close"); + dlgBtns[PMA_messages['strClose']] = function() { + $(this).dialog("close"); }; - + $('#emptyDialog').dialog( "option", "buttons", dlgBtns ); } } ); - /* Handles the actions performed when the user uses any of the log table filters + /* Handles the actions performed when the user uses any of the log table filters * which are the filter by name and grouping with ignoring data in WHERE clauses - * + * * @param boolean Should be true when the users enabled or disabled to group queries ignoring data in WHERE clauses */ function filterQueries(varFilterChange) { @@ -1616,7 +1616,7 @@ $(function() { } else { textFilter = new RegExp(val, 'i'); } - + var rowSum = 0, totalSum = 0, i = 0, q; var noVars = $('div#logTable input#noWHEREData').attr('checked'); var equalsFilter = /([^=]+)=(\d+|((\'|"|).*?[^\\])\4((\s+)|$))/gi; @@ -1627,7 +1627,7 @@ $(function() { var sumColumnName = runtime.logDataCols[runtime.logDataCols.length - 1]; var isSlowLog = opts.src == 'slow'; var columnSums = {}; - + // For the slow log we have to count many columns (query_time, lock_time, rows_examined, rows_sent, etc.) var countRow = function(query, row) { var cells = row.match(/(.*?)<\/td>/gi); @@ -1642,15 +1642,15 @@ $(function() { columnSums[query][2] += parseInt(cells[4].replace(/(|<\/td>)/gi, '')); columnSums[query][3] += parseInt(cells[5].replace(/(|<\/td>)/gi, '')); }; - + // We just assume the sql text is always in the second last column, and that the total count is right of it $('div#logTable table tbody tr td:nth-child(' + (runtime.logDataCols.length - 1) + ')').each(function() { - // If query is a SELECT and user enabled or disabled to group queries ignoring data in where statements, we + // If query is a SELECT and user enabled or disabled to group queries ignoring data in where statements, we // need to re-calculate the sums of each row if (varFilterChange && $(this).html().match(/^SELECT/i)) { if (noVars) { // Group on => Sum up identical columns, and hide all but 1 - + q = $(this).text().replace(equalsFilter, '$1=...$6').trim(); q = q.replace(functionFilter, ' $1(...)'); @@ -1712,7 +1712,7 @@ $(function() { hide = false; i++; }); - + // We finished summarizing counts => Update count values of all grouped entries if (varFilterChange) { if (noVars) { @@ -1721,11 +1721,11 @@ $(function() { if (filteredQueries[key] <= 1) { return; } - + row = $table.children('tr:nth-child(' + (value + 1) + ')'); numCol = row.children(':nth-child(' + (runtime.logDataCols.length) + ')'); numCol.text(filteredQueries[key]); - + if (isSlowLog) { row.children('td:nth-child(3)').text(secToTime(columnSums[key][0])); row.children('td:nth-child(4)').text(secToTime(columnSums[key][1])); @@ -1734,9 +1734,9 @@ $(function() { } }); } - - $('div#logTable table').trigger("update"); - setTimeout(function() { + + $('div#logTable table').trigger("update"); + setTimeout(function() { $('div#logTable table').trigger('sorton', [[[runtime.logDataCols.length - 1, 1]]]); }, 0); } @@ -1754,14 +1754,14 @@ $(function() { var time = timeStr.split(':'); return parseInt(time[0]*3600) + parseInt(time[1]*60) + parseInt(time[2]); } - + /* Turns a number into a timespan (100 into 00:01:40) */ function secToTime(timeInt) { hours = Math.floor(timeInt / 3600); timeInt -= hours*3600; minutes = Math.floor(timeInt / 60); timeInt -= minutes*60; - + if (hours < 10) { hours = '0' + hours; } @@ -1771,10 +1771,10 @@ $(function() { if (timeInt < 10) { timeInt = '0' + timeInt; } - + return hours + ':' + minutes + ':' + timeInt; } - + /* Constructs the log table out of the retrieved server data */ function buildLogTable(data) { var rows = data.rows; @@ -1791,7 +1791,7 @@ $(function() { } return value; }; - + for (var i = 0; i < rows.length; i++) { if (i == 0) { $.each(rows[0], function(key, value) { @@ -1856,7 +1856,7 @@ $(function() { return cols; } - + /* Opens the query analyzer dialog */ function openQueryAnalyzer() { var rowData = $(this).parent().data('query'); @@ -1871,11 +1871,11 @@ $(function() { var profilingChart = null; var dlgBtns = {}; - - dlgBtns[PMA_messages['strAnalyzeQuery']] = function() { - loadQueryAnalysis(rowData); + + dlgBtns[PMA_messages['strAnalyzeQuery']] = function() { + loadQueryAnalysis(rowData); }; - dlgBtns[PMA_messages['strClose']] = function() { + dlgBtns[PMA_messages['strClose']] = function() { if (profilingChart != null) { profilingChart.destroy(); } @@ -1891,13 +1891,13 @@ $(function() { buttons: dlgBtns }); } - + /* Loads and displays the analyzed query data */ function loadQueryAnalysis(rowData) { var db = rowData.db || ''; - + $('div#queryAnalyzerDialog div.placeHolder').html( - PMA_messages['strAnalyzing'] + ' '); $.post('server_status.php?' + url_query, { @@ -1917,7 +1917,7 @@ $(function() { // Float sux, I'll use table :( $('div#queryAnalyzerDialog div.placeHolder') .html('
'); - + var explain = '' + PMA_messages['strExplainOutput'] + ' ' + explain_docu; if (data.explain.length > 1) { explain += ' ('; @@ -1934,7 +1934,7 @@ $(function() { explain += '
0? 'style="display:none;"' : '' ) + '>'; $.each(data.explain[i], function(key, value) { value = (value == null)?'null':value; - + if (key == 'type' && value.toLowerCase() == 'all') { value = '' + value + ''; } @@ -1945,17 +1945,17 @@ $(function() { }); explain += '
'; } - + explain += '

' + PMA_messages['strAffectedRows'] + ' ' + data.affectedRows; $('div#queryAnalyzerDialog div.placeHolder td.explain').append(explain); - + $('div#queryAnalyzerDialog div.placeHolder a[href*="#showExplain"]').click(function() { var id = $(this).attr('href').split('-')[1]; $(this).parent().find('div[class*="explain"]').hide(); $(this).parent().find('div[class*="explain-' + id + '"]').show(); }); - + if (data.profiling) { var chartData = []; var numberTable = ''; @@ -1971,12 +1971,12 @@ $(function() { } numberTable += ''; numberTable += '
' + PMA_messages['strStatus'] + '' + PMA_messages['strTime'] + '
' + PMA_messages['strTotalTime'] + '' + PMA_prettyProfilingNum(totalTime, 2) + '
'; - + $('div#queryAnalyzerDialog div.placeHolder td.chart').append( '' + PMA_messages['strProfilingResults'] + ' ' + profiling_docu + ' ' + '(' + PMA_messages['strTable'] + ', ' + PMA_messages['strChart'] + ')
' + numberTable + '

'); - + $('div#queryAnalyzerDialog div.placeHolder a[href="#showNums"]').click(function() { $('div#queryAnalyzerDialog div#queryProfiling').hide(); $('div#queryAnalyzerDialog table.queryNums').show(); @@ -1990,7 +1990,7 @@ $(function() { }); profilingChart = PMA_createProfilingChartJqplot( - 'queryProfiling', + 'queryProfiling', chartData ); From 75ab209aaff202e35b7e524483855c8a8acee247 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 15 Jan 2013 09:00:43 +0100 Subject: [PATCH 06/15] Translated using Weblate (Czech) Currently translated at 100.0% (2562 of 2562) --- po/cs.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/cs.po b/po/cs.po index de3c0f5525..7c41dd22da 100644 --- a/po/cs.po +++ b/po/cs.po @@ -6,7 +6,7 @@ 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: 2012-11-14 13:43+0200\n" +"PO-Revision-Date: 2013-01-15 09:00+0200\n" "Last-Translator: Michal Čihař \n" "Language-Team: Czech \n" "Language: cs\n" @@ -14,7 +14,7 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" -"X-Generator: Weblate 1.3-dev\n" +"X-Generator: Weblate 1.4-dev\n" #: browse_foreigners.php:35 browse_foreigners.php:53 js/messages.php:353 #: libraries/display_tbl.lib.php:359 server_privileges.php:1679 @@ -10600,7 +10600,7 @@ msgstr "Vynásobit" #: server_status.php:1703 msgid "Append unit to data values" -msgstr "Přidat jednoty" +msgstr "Zobrazit hodnoty s jednotkou" #: server_status.php:1709 msgid "Add this series" From 90ed3865ea287638b6b014404ffba4b18eb1f5ee Mon Sep 17 00:00:00 2001 From: Pham Andrei Date: Mon, 14 Jan 2013 20:21:27 +0100 Subject: [PATCH 07/15] Translated using Weblate (Romanian) Currently translated at 60.2% (1543 of 2562) --- po/ro.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/po/ro.po b/po/ro.po index 99d6b7d559..8ea3860008 100644 --- a/po/ro.po +++ b/po/ro.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-10 13:37+0200\n" -"Last-Translator: Michal Čihař \n" +"PO-Revision-Date: 2013-01-14 20:21+0200\n" +"Last-Translator: Pham Andrei \n" "Language-Team: Romanian \n" "Language: ro\n" "MIME-Version: 1.0\n" @@ -11761,15 +11761,15 @@ msgstr "Vizualizarea schemei tabelului" #: tbl_gis_visualization.php:112 msgid "Display GIS Visualization" -msgstr "" +msgstr "Afișează Vizualizarea GIS" #: tbl_gis_visualization.php:128 msgid "Width" -msgstr "" +msgstr "Lățime" #: tbl_gis_visualization.php:132 msgid "Height" -msgstr "" +msgstr "Înălțime" #: tbl_gis_visualization.php:136 #, fuzzy @@ -11789,7 +11789,7 @@ msgstr "Număr de fișiere-jurnal" #: tbl_gis_visualization.php:175 msgid "Redraw" -msgstr "" +msgstr "Redesenează" #: tbl_gis_visualization.php:177 #, fuzzy From fb0fb6c756724bc12a8e68fe5a8a311bcc54d0ef Mon Sep 17 00:00:00 2001 From: ProUser Date: Mon, 14 Jan 2013 23:55:59 +0100 Subject: [PATCH 08/15] Translated using Weblate (Swedish) Currently translated at 100.0% (2562 of 2562) --- po/sv.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/po/sv.po b/po/sv.po index fe050ac1b8..8f985aad92 100644 --- a/po/sv.po +++ b/po/sv.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: 2012-12-13 12:56+0200\n" -"Last-Translator: Michal Čihař \n" +"PO-Revision-Date: 2013-01-14 23:55+0200\n" +"Last-Translator: ProUser \n" "Language-Team: Swedish \n" "Language: sv\n" "MIME-Version: 1.0\n" @@ -26,7 +26,7 @@ msgstr "Visa alla" #: libraries/schema/User_Schema.class.php:396 #: libraries/select_lang.lib.php:489 msgid "Page number:" -msgstr "Sida:" +msgstr "Sida nummer:" #: browse_foreigners.php:142 msgid "" From 7e968cf30e811fd2dc51ae754907d01049468505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 15 Jan 2013 09:10:48 +0100 Subject: [PATCH 09/15] Escape HTML in titles of table charts --- js/tbl_chart.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/tbl_chart.js b/js/tbl_chart.js index 6e395e72c1..f139ca06e7 100644 --- a/js/tbl_chart.js +++ b/js/tbl_chart.js @@ -53,6 +53,7 @@ $(document).ready(function() { }, title: { text: $('input[name="chartTitle"]').attr('value') + escapeHtml: true, //margin:20 }, legend: { @@ -245,7 +246,8 @@ function PMA_queryChart(data, passedSettings, passedNonJqplotSettings) var settings = { title: { - text: '' + text: '' + escapeHtml: true, //margin:20 } }; @@ -279,7 +281,7 @@ function PMA_queryChart(data, passedSettings, passedNonJqplotSettings) if (passedNonJqplotSettings.chart.type == 'spline') { settings.seriesDefaults = { rendererOptions: { - smooth: true + smooth: true } }; } From b489fdffb6572e7036933d5d87dbe648cd583733 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 15 Jan 2013 09:08:32 +0100 Subject: [PATCH 10/15] Escape HTML in chart title --- js/server_status_monitor.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/js/server_status_monitor.js b/js/server_status_monitor.js index 29dd8790cd..dd50b3cb24 100644 --- a/js/server_status_monitor.js +++ b/js/server_status_monitor.js @@ -1136,7 +1136,10 @@ AJAX.registerOnload('server_status_monitor.js', function() { function addChart(chartObj, initialize) { var settings = { - title: chartObj.title, + title: { + text: chartObj.title, + escapeHtml: true, + }, grid: { drawBorder: false, shadow: false, From b23372a3368d33d7adf3bfe5a0466a572d7ec5a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 15 Jan 2013 09:10:48 +0100 Subject: [PATCH 11/15] Escape HTML in titles of table charts Conflicts: js/tbl_chart.js --- js/tbl_chart.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/tbl_chart.js b/js/tbl_chart.js index 14baf4749e..758cea0505 100644 --- a/js/tbl_chart.js +++ b/js/tbl_chart.js @@ -71,6 +71,7 @@ AJAX.registerOnload('tbl_chart.js', function() { }, title: { text: $('input[name="chartTitle"]').attr('value') + escapeHtml: true, //margin:20 }, legend: { @@ -286,6 +287,7 @@ function PMA_queryChart(data, passedSettings, passedNonJqplotSettings) var settings = { title: { + escapeHtml: true, text: '' //margin:20 } From 7ddc71c033256baad76957c42fc1b9ad83bac8e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 15 Jan 2013 09:13:24 +0100 Subject: [PATCH 12/15] Fix possibly wrong commas --- js/server_status_monitor.js | 2 +- js/tbl_chart.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/js/server_status_monitor.js b/js/server_status_monitor.js index 610e7286a1..b3f40cd446 100644 --- a/js/server_status_monitor.js +++ b/js/server_status_monitor.js @@ -1032,7 +1032,7 @@ $(function() { var settings = { title: { text: chartObj.title, - escapeHtml: true, + escapeHtml: true }, grid: { drawBorder: false, diff --git a/js/tbl_chart.js b/js/tbl_chart.js index f139ca06e7..050d020c91 100644 --- a/js/tbl_chart.js +++ b/js/tbl_chart.js @@ -52,8 +52,8 @@ $(document).ready(function() { } }, title: { - text: $('input[name="chartTitle"]').attr('value') - escapeHtml: true, + text: $('input[name="chartTitle"]').attr('value'), + escapeHtml: true //margin:20 }, legend: { @@ -246,8 +246,8 @@ function PMA_queryChart(data, passedSettings, passedNonJqplotSettings) var settings = { title: { - text: '' - escapeHtml: true, + text: '', + escapeHtml: true //margin:20 } }; From b59d6dee04d117c1e608403763e47485c9edca66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 15 Jan 2013 09:00:42 +0100 Subject: [PATCH 13/15] Translated using Weblate (Czech) Currently translated at 100.0% (2602 of 2602) --- po/cs.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/po/cs.po b/po/cs.po index ed2579a3ab..ad48cb76f0 100644 --- a/po/cs.po +++ b/po/cs.po @@ -6,7 +6,7 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.0.0-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-01-10 13:45+0100\n" -"PO-Revision-Date: 2013-01-09 14:32+0200\n" +"PO-Revision-Date: 2013-01-15 09:00+0200\n" "Last-Translator: Michal Čihař \n" "Language-Team: Czech \n" "Language: cs\n" @@ -10798,7 +10798,7 @@ msgstr "Vynásobit" #: server_status_monitor.php:653 msgid "Append unit to data values" -msgstr "Přidat jednoty" +msgstr "Zobrazit hodnoty s jednotkou" #: server_status_monitor.php:659 msgid "Add this series" From 9433426417e701fde78a04772c60d451eafe20b4 Mon Sep 17 00:00:00 2001 From: Pham Andrei Date: Mon, 14 Jan 2013 20:21:26 +0100 Subject: [PATCH 14/15] Translated using Weblate (Romanian) Currently translated at 55.5% (1444 of 2602) --- po/ro.po | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/po/ro.po b/po/ro.po index 8f31c4928c..3ffa623d99 100644 --- a/po/ro.po +++ b/po/ro.po @@ -4,10 +4,10 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.0.0-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-01-10 13:45+0100\n" -"PO-Revision-Date: 2013-01-10 13:37+0200\n" -"Last-Translator: Michal Čihař \n" -"Language-Team: Romanian \n" +"PO-Revision-Date: 2013-01-14 20:21+0200\n" +"Last-Translator: Pham Andrei \n" +"Language-Team: Romanian " +"\n" "Language: ro\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -12585,15 +12585,15 @@ msgstr "Vizualizarea schemei tabelului" #: tbl_gis_visualization.php:109 msgid "Display GIS Visualization" -msgstr "" +msgstr "Afișează Vizualizarea GIS" #: tbl_gis_visualization.php:126 msgid "Width" -msgstr "" +msgstr "Lățime" #: tbl_gis_visualization.php:130 msgid "Height" -msgstr "" +msgstr "Înălțime" #: tbl_gis_visualization.php:134 #, fuzzy @@ -12613,7 +12613,7 @@ msgstr "Număr de fișiere-jurnal" #: tbl_gis_visualization.php:176 msgid "Redraw" -msgstr "" +msgstr "Redesenează" #: tbl_gis_visualization.php:178 #, fuzzy From 84c35b75fb330c11ff79f4e1d771505861195d68 Mon Sep 17 00:00:00 2001 From: ProUser Date: Tue, 15 Jan 2013 00:03:30 +0100 Subject: [PATCH 15/15] Translated using Weblate (Swedish) Currently translated at 99.5% (2588 of 2602) --- po/sv.po | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) diff --git a/po/sv.po b/po/sv.po index e89a26013d..6e66f1d65e 100644 --- a/po/sv.po +++ b/po/sv.po @@ -4,10 +4,10 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.0.0-dev\n" "Report-Msgid-Bugs-To: phpmyadmin-devel@lists.sourceforge.net\n" "POT-Creation-Date: 2013-01-10 13:45+0100\n" -"PO-Revision-Date: 2012-12-13 12:56+0200\n" -"Last-Translator: Michal Čihař \n" -"Language-Team: Swedish \n" +"PO-Revision-Date: 2013-01-15 00:03+0200\n" +"Last-Translator: ProUser \n" +"Language-Team: Swedish " +"\n" "Language: sv\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -28,7 +28,7 @@ msgstr "Visa alla" #: libraries/schema/User_Schema.class.php:419 #: libraries/select_lang.lib.php:510 msgid "Page number:" -msgstr "Sida:" +msgstr "Sida nummer:" #: browse_foreigners.php:94 msgid "" @@ -1840,7 +1840,7 @@ msgstr "Lägg till ett alternativ för kolumn " #: js/messages.php:334 #, php-format msgid "%d object(s) created" -msgstr "" +msgstr "%d objekt skapade" #: js/messages.php:337 msgid "Press escape to cancel editing" @@ -1884,23 +1884,20 @@ msgstr "" "fungerar när du har sparat." #: js/messages.php:350 -#, fuzzy #| msgid "" #| "You can also edit most columns
by double-clicking directly on their " #| "content." msgid "You can also edit most values
by double-clicking directly on them." msgstr "" -"Du kan även redigera de flesta kolumner
genom att dubbelklicka direkt " -"på deras innehåll." +"Du kan även redigera de flesta värden
genom att dubbelklicka direkt på " +"dessa." #: js/messages.php:353 -#, fuzzy #| msgid "" #| "You can also edit most columns
by clicking directly on their content." msgid "You can also edit most values
by clicking directly on them." msgstr "" -"Du kan även redigera de flesta kolumner
genom att klicka direkt på " -"deras innehåll." +"Du kan även redigera de flesta värden
genom att klicka direkt på dessa." #: js/messages.php:358 msgid "Go to link" @@ -5280,7 +5277,6 @@ msgid "Missing phpMyAdmin configuration storage tables" msgstr "Saknade phpMyAdmin konfiguration lagringstabeller" #: libraries/config/messages.inc.php:334 -#, fuzzy #| msgid "" #| "Disable the default warning that is displayed if mcrypt is missing for " #| "cookie authentication" @@ -5288,12 +5284,12 @@ msgid "" "Disable the default warning that is displayed if a difference between the " "MySQL library and server is detected" msgstr "" -"Inaktivera standardvarningen som visas när en skillnad mellan MySQL " -"biblioteket och servern är upptäckt" +"Inaktivera standardvarningen vilken visas om en skillnad mellan MySQL " +"biblioteket och servern upptäcks" #: libraries/config/messages.inc.php:335 msgid "Server/library difference warning" -msgstr "" +msgstr "Server/bibliotek skillnadsvarning" #: libraries/config/messages.inc.php:337 msgid "Iconic table operations"