Skip to content

Commit

Permalink
Completed translation of index page. Started Java page.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreycha authored and petdance committed Jun 11, 2012
1 parent 8797047 commit 651a540
Showing 1 changed file with 59 additions and 19 deletions.
78 changes: 59 additions & 19 deletions share/locale/ru_RU/LC_MESSAGES/com.bobby-tables.po
Original file line number Diff line number Diff line change
Expand Up @@ -471,48 +471,53 @@ msgid " INSERT INTO Students (Name) VALUES ('Robert'); DROP TABLE Students;--
msgstr ""

#: s/index.md.tt2:43
msgid "This inserts Robert into the Students table. However, the INSERT statement is now followed by a DROP TABLE statement which removes the entire Students table. Ouch!"
msgid "Это команда вставляет запись о Роберте в таблицу Students. Однако, после команды INSERT идет команда DROP TABLE, которая удаляет всю таблицу студентов. Ой!"
msgstr ""

#: s/index.md.tt2:45
msgid ""
"\n"
"How to avoid Bobby Tables\n"
"Как избежать случая с Робертом-Брось-Таблицу\n"
"========================="
msgstr ""

#: s/index.md.tt2:49
msgid "There is only one way to avoid Bobby Tables attacks"
msgid "Есть только один способ избежать таких атак"
msgstr ""

#: s/index.md.tt2:51
msgid ""
"* Do not create SQL statements that include outside data.\n"
"* Use parameterized SQL calls."
"* Не создавайте SQL выражений, которыесодержат пользовательский ввод.\n"
"* Используйте параметризованные SQL вызовы."
msgstr ""

#: s/index.md.tt2:54
msgid "That's it. Don't try to escape invalid characters. Don't try to do it yourself. Learn how to use parameterized statements. Always, every single time."
msgid "Вот и все. Не пытайтесь экранировать неверные символы самостоятельно. Не пытайтесь делать это сами. Научитесь использовать параметризованные выражения. Каждый раз, всегда."
msgstr ""

#: s/index.md.tt2:56
msgid "The strip gets one thing crucially wrong. The answer is not to \"sanitize your database inputs\" yourself. It is prone to error."
msgid "В комиксе есть одна ошибка. \"Экранировать входные данные\" самому — это неверный способ, он подвержен ошибкам."
msgstr ""

#: s/index.md.tt2:58
>>>>>>> dea5b38... Translated pages from ASP to Delphi, part of index page.
msgid ""
"Examples\n"
"Примеры\n"
"========"
msgstr ""

<<<<<<< HEAD
#: s/index.md.tt2:27
msgid "See the sidebar to the left for your specific language."
=======
#: s/index.md.tt2:61
msgid "Смотрите разделы меню слева, чтобы увидеть примеры для конкретного языка."
>>>>>>> f3dc656... Completed translation of index page. Started Java page.
msgstr ""

#: s/index.md.tt2:29
msgid ""
"Other random resources\n"
"Другие ресурсы\n"
"======================"
msgstr ""

Expand All @@ -528,32 +533,44 @@ msgstr ""

#: s/index.md.tt2:36
msgid ""
"Patches welcome\n"
"Дополнения приветствуются\n"
"==============="
msgstr ""

<<<<<<< HEAD
#: s/index.md.tt2:39
msgid ""
"Don't see a language that you'd like to see represented? Please let me know "
"if you have updates or additions through one of these methods, in decreasing "
"order of preference."
=======
#: s/index.md.tt2:73
msgid "Не находите нужного вам языка?Пожалуйста, дайте знать, если у вас есть какие-либо изменения или дополнения, перечисленные ниже в порядке убывания важности:"
>>>>>>> f3dc656... Completed translation of index page. Started Java page.
msgstr ""

#: s/index.md.tt2:41
msgid ""
<<<<<<< HEAD
"* Fork the [bobby-tables repository at github](http://github.com/petdance/"
"bobby-tables), make your changes, and send me a pull request.\n"
"* Add an issue in the [issue tracker](http://github.com/petdance/bobby-"
"tables/issues).\n"
"* Email me, Andy Lester, at andy at petdance.com."
=======
"* Сделайте ветку [репозитория bobby-tables на github](http://github.com/petdance/bobby-tables), сделайте необходимые изменения, и пришлите запрос на изменение.\n"
"* Добавьте заявку в [трекер](http://github.com/petdance/bobby-tables/issues).\n"
"* Напишите мне, Энди Лестеру, по адресу andy at petdance.com."
>>>>>>> f3dc656... Completed translation of index page. Started Java page.
msgstr ""

#: s/index.md.tt2:45
msgid ""
"Translations also welcome\n"
"Переводы также приветствуются\n"
"========================="
msgstr ""

<<<<<<< HEAD
#: s/index.md.tt2:48
msgid ""
"Help translate this site! There are less than 200 phrases. No programming "
Expand All @@ -564,28 +581,41 @@ msgstr ""
msgid ""
"See the instructions at the [bobby-tables repository at github](http://"
"github.com/petdance/bobby-tables#readme)."
=======
#: s/index.md.tt2:82
msgid "Помогите перевести этот сайт! Тут меньше двухсот фраз. И никакого программирования."
msgstr ""

#: s/index.md.tt2:84
msgid "Смотрите инструкции в [репозитории bobby-tables на github](http://github.com/petdance/bobby-tables#readme)."
>>>>>>> f3dc656... Completed translation of index page. Started Java page.
msgstr ""

#: s/index.md.tt2:52
msgid ""
"To do\n"
"Список дел\n"
"====="
msgstr ""

#: s/index.md.tt2:55
msgid ""
"* Explain why creating code from outside data is bad.\n"
"* Potential speed win when reusing prepared statements."
"* Объяснить, почему создание кода, содержащего данные извне, это плохо.\n"
"* Потенциальный прирост в скорости выполнения запросов при использовании подготовленных выражений."
msgstr ""

#: s/index.md.tt2:58
msgid ""
"Thanks\n"
"Благодарности\n"
"======"
msgstr ""

<<<<<<< HEAD
#: s/index.md.tt2:61
msgid "Thanks to the following folks for their contributions:"
=======
#: s/index.md.tt2:95
msgid "Спасибо следующим людям за их вклад:"
>>>>>>> f3dc656... Completed translation of index page. Started Java page.
msgstr ""

#: s/index.md.tt2:63
Expand Down Expand Up @@ -629,6 +659,7 @@ msgstr ""

#: s/java.md.tt2:7
msgid ""
<<<<<<< HEAD
"The [JDBC API](http://download.oracle.com/javase/tutorial/jdbc/index.html)\n"
"has a class called\n"
"[`PreparedStatement`](http://download.oracle.com/javase/6/docs/api/java/sql/"
Expand All @@ -637,17 +668,26 @@ msgid ""
"into a SQL query. The location of each input value in the query\n"
"string is marked with a question mark. The various `set*()` methods\n"
"are then used to safely perform the insertion."
=======
"В [JDBC API](http://download.oracle.com/javase/tutorial/jdbc/index.html)\n"
"содержится класс,\n"
"[`PreparedStatement`](http://download.oracle.com/javase/6/docs/api/java/sql/PreparedStatement.html)\n"
"который позволяет разработчику безопасно вставлять данные из пользовательского ввода\n"
"в SQL запрос. Позиция каждого входного значения в запросе\n"
"помечена вопросительным знаком. Затем используются различные `set*()` методы\n"
"для того чтобы безопасно произвести вставки."
>>>>>>> f3dc656... Completed translation of index page. Started Java page.
msgstr ""

#: s/java.md.tt2:15
msgid ""
" String name = //user input\n"
" int age = //user input\n"
" String name = //пользовательский ввод\n"
" int age = //пользовательский ввод\n"
" Connection connection = DriverManager.getConnection(...);\n"
" PreparedStatement statement = connection.prepareStatement(\n"
" \"SELECT * FROM people WHERE lastName = ? AND age > ?\" );\n"
" statement.setString(1, name); //lastName is a VARCHAR\n"
" statement.setInt(2, age); //age is an INT\n"
" statement.setString(1, name); //lastName это VARCHAR\n"
" statement.setInt(2, age); //age это INT\n"
" ResultSet rs = statement.executeQuery();\n"
" while (rs.next()){\n"
" //...\n"
Expand Down

0 comments on commit 651a540

Please sign in to comment.