Mercurial > kallithea
changeset 5014:0ab0c3980b5d
Merge with stable
author | Andrew Shadura <andrew@shadura.me> |
---|---|
date | Tue, 14 Apr 2015 23:03:30 +0200 |
parents | caef25781d8c (diff) 49e0b5a72ba2 (current diff) |
children | 2481c0a1ed31 |
files | |
diffstat | 9 files changed, 117 insertions(+), 119 deletions(-) [+] |
line wrap: on
line diff
--- a/.hgignore Tue Apr 14 20:31:43 2015 +0200 +++ b/.hgignore Tue Apr 14 23:03:30 2015 +0200 @@ -6,6 +6,8 @@ *.egg-info *.egg *.mo +.eggs/ +tarballcache/ syntax: regexp ^rcextensions
--- a/kallithea/i18n/hu/LC_MESSAGES/kallithea.po Tue Apr 14 20:31:43 2015 +0200 +++ b/kallithea/i18n/hu/LC_MESSAGES/kallithea.po Tue Apr 14 23:03:30 2015 +0200 @@ -8,14 +8,16 @@ "Project-Id-Version: Kallithea\n" "Report-Msgid-Bugs-To: translations@kallithea-scm.org\n" "POT-Creation-Date: 2015-04-01 03:17+0200\n" -"PO-Revision-Date: 2014-07-02 19:08-0400\n" -"Last-Translator: Automatically generated\n" -"Language-Team: none\n" +"PO-Revision-Date: 2015-04-11 00:59+0200\n" +"Last-Translator: Balázs Úr <urbalazs@gmail.com>\n" +"Language-Team: Hungarian " +"<https://hosted.weblate.org/projects/kallithea/kallithea/hu/>\n" +"Language: hu\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Language: hu\n" -"Plural-Forms: nplurals=2; plural=(n != 1);\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 2.3-dev\n" #: kallithea/controllers/changelog.py:86 #: kallithea/controllers/pullrequests.py:247 kallithea/lib/base.py:449 @@ -55,9 +57,8 @@ #: kallithea/controllers/changeset.py:352 #: kallithea/controllers/pullrequests.py:699 -#, fuzzy msgid "No comments." -msgstr "" +msgstr "Nincsenek hozzászólások." #: kallithea/controllers/changeset.py:382 msgid "" @@ -2351,11 +2352,11 @@ #: kallithea/templates/admin/admin.html:13 #: kallithea/templates/journal/journal.html:12 -#, fuzzy, python-format +#, python-format msgid "%s Entry" msgid_plural "%s Entries" -msgstr[0] "" -msgstr[1] "" +msgstr[0] "%s bejegyzés" +msgstr[1] "%s bejegyzés" #: kallithea/templates/admin/admin_log.html:6 #: kallithea/templates/admin/my_account/my_account_repos.html:50 @@ -3246,9 +3247,8 @@ msgstr "" #: kallithea/templates/admin/repo_groups/repo_group_edit_settings.html:53 -#, fuzzy msgid "Confirm to delete this group" -msgstr "" +msgstr "A csoport törlésének megerősítése" #: kallithea/templates/admin/repo_groups/repo_group_show.html:4 #, python-format @@ -3335,9 +3335,9 @@ msgstr "" #: kallithea/templates/admin/repos/repo_edit.html:8 -#, fuzzy, python-format +#, python-format msgid "%s Repository Settings" -msgstr "" +msgstr "%s tároló beállítások" #: kallithea/templates/admin/repos/repo_edit.html:49 msgid "Extra Fields" @@ -3429,16 +3429,15 @@ msgstr "" #: kallithea/templates/admin/repos/repo_edit_advanced.html:82 -#, fuzzy msgid "Delete this Repository" -msgstr "" +msgstr "Tároló törlése" #: kallithea/templates/admin/repos/repo_edit_advanced.html:85 -#, fuzzy, python-format +#, python-format msgid "This repository has %s fork" msgid_plural "This repository has %s forks" -msgstr[0] "" -msgstr[1] "" +msgstr[0] "Ennek a tárolónak %s elágazása van" +msgstr[1] "Ennek a tárolónak %s elágazása van" #: kallithea/templates/admin/repos/repo_edit_advanced.html:86 msgid "Detach forks" @@ -4437,9 +4436,8 @@ msgstr "" #: kallithea/templates/base/root.html:22 -#, fuzzy msgid "Add Another Comment" -msgstr "" +msgstr "Egy másik hozzászólás hozzáadása" #: kallithea/templates/base/root.html:23 #: kallithea/templates/data_table/_dt_elements.html:216 @@ -4809,9 +4807,8 @@ msgstr "" #: kallithea/templates/changeset/changeset_file_comment.html:50 -#, fuzzy msgid "Delete comment?" -msgstr "" +msgstr "Hozzászólás törlése?" #: kallithea/templates/changeset/changeset_file_comment.html:67 msgid "Commenting on line {1}." @@ -4866,11 +4863,11 @@ msgstr[1] "" #: kallithea/templates/changeset/changeset_file_comment.html:115 -#, fuzzy, python-format +#, python-format msgid "%d inline" msgid_plural "%d inline" -msgstr[0] "" -msgstr[1] "" +msgstr[0] "%d sorközi" +msgstr[1] "%d sorközi" #: kallithea/templates/changeset/changeset_file_comment.html:116 #, python-format @@ -4957,9 +4954,9 @@ msgstr "" #: kallithea/templates/compare/compare_cs.html:84 -#, fuzzy, python-format +#, python-format msgid "%s changesets" -msgstr "" +msgstr "%s módosításcsomag" #: kallithea/templates/compare/compare_cs.html:85 msgid "behind" @@ -5575,14 +5572,12 @@ msgstr "" #: kallithea/templates/pullrequests/pullrequest_show.html:227 -#, fuzzy msgid "Remove reviewer" -msgstr "" +msgstr "Átnéző eltávolítása" #: kallithea/templates/pullrequests/pullrequest_show.html:247 -#, fuzzy msgid "Potential Reviewers" -msgstr "" +msgstr "Lehetséges átnézők" #: kallithea/templates/pullrequests/pullrequest_show.html:250 msgid "Click to add the repository owner as reviewer:" @@ -5841,4 +5836,3 @@ #: kallithea/templates/tags/tags.html:26 msgid "Compare Tags" msgstr "" -
--- a/kallithea/i18n/ru/LC_MESSAGES/kallithea.po Tue Apr 14 20:31:43 2015 +0200 +++ b/kallithea/i18n/ru/LC_MESSAGES/kallithea.po Tue Apr 14 23:03:30 2015 +0200 @@ -12,18 +12,20 @@ # SkryabinD <skryabind@gmail.com>, 2014 # softforwinxp <softforwinxp@gmail.com>, 2013 # zhmylove <zhmylove@narod.ru>, 2013 +# Andrew Shadura <andrew@shadura.me>, 2015 +# msgid "" msgstr "" "Project-Id-Version: Kallithea\n" "Report-Msgid-Bugs-To: translations@kallithea-scm.org\n" "POT-Creation-Date: 2015-04-01 03:17+0200\n" -"PO-Revision-Date: 2015-04-01 13:08+0200\n" +"PO-Revision-Date: 2015-04-13 20:18+0200\n" "Last-Translator: Andrew Shadura <andrew@shadura.me>\n" "Language-Team: Russian " "<https://hosted.weblate.org/projects/kallithea/kallithea/ru/>\n" "Language: ru\n" "MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=utf-8\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" @@ -84,7 +86,7 @@ #: kallithea/controllers/compare.py:255 msgid "Cannot compare repositories without using common ancestor" -msgstr "" +msgstr "Невозможно сравнивать репозитории без общего предка" #: kallithea/controllers/error.py:96 msgid "The request could not be understood by the server due to malformed syntax." @@ -221,7 +223,7 @@ #: kallithea/controllers/files.py:541 msgid "Empty repository" -msgstr "Пустой репозитарий" +msgstr "Пустой репозиторий" #: kallithea/controllers/files.py:543 msgid "Unknown archive type" @@ -357,12 +359,12 @@ #: kallithea/controllers/pullrequests.py:398 msgid "Missing changesets since the previous pull request:" -msgstr "" +msgstr "Отсутствующие ревизии относительно предыдущего pull-запроса:" #: kallithea/controllers/pullrequests.py:405 #, python-format msgid "New changesets on %s %s since the previous pull request:" -msgstr "" +msgstr "Новые ревизии на %s %s относительно предыдущего pull-запроса" #: kallithea/controllers/pullrequests.py:412 msgid "Ancestor didn't change - show diff since previous version:" @@ -373,17 +375,17 @@ msgid "" "This pull request is based on another %s revision and there is no simple " "diff." -msgstr "" +msgstr "Этот pull-запрос основан на другой ревизии %s, простой diff невозможен" #: kallithea/controllers/pullrequests.py:421 #, python-format msgid "No changes found on %s %s since previous version." -msgstr "" +msgstr "Нет изменений на %s %s относительно предыдущей версии." #: kallithea/controllers/pullrequests.py:456 #, python-format msgid "Closed, replaced by %s ." -msgstr "" +msgstr "Закрыт, замещён %s ." #: kallithea/controllers/pullrequests.py:464 msgid "Pull request update created" @@ -400,29 +402,29 @@ #: kallithea/controllers/pullrequests.py:577 #, python-format msgid "This pull request has already been merged to %s." -msgstr "" +msgstr "Этот pull-запрос уже принят на ветку %s." #: kallithea/controllers/pullrequests.py:579 msgid "This pull request has been closed and can not be updated." -msgstr "" +msgstr "Этот pull-запрос был закрыт и не может быть обновлён." #: kallithea/controllers/pullrequests.py:597 #, python-format msgid "This pull request can be updated with changes on %s:" -msgstr "" +msgstr "Этот pull-запрос может быть обновлён из %s:" #: kallithea/controllers/pullrequests.py:600 msgid "No changesets found for updating this pull request." -msgstr "" +msgstr "Нет изменений для обновления этого pull-запроса." #: kallithea/controllers/pullrequests.py:608 #, python-format msgid "Note: Branch %s has another head: %s." -msgstr "" +msgstr "Внимание: Ветка %s имеет ещё одну верхушку: %s." #: kallithea/controllers/pullrequests.py:614 msgid "Git pull requests don't support updates yet." -msgstr "" +msgstr "Обновление pull-запросы git не поддерживается." #: kallithea/controllers/pullrequests.py:701 msgid "Closing." @@ -521,12 +523,12 @@ #: kallithea/controllers/admin/gists.py:267 msgid "Successfully updated gist data" -msgstr "" +msgstr "Данные gist-записи обновлены" #: kallithea/controllers/admin/gists.py:270 #, python-format msgid "Error occurred during update of gist %s" -msgstr "" +msgstr "Произошла ошибка при обновлении gist-записи %s" #: kallithea/controllers/admin/my_account.py:70 msgid "You can't edit this user since it's crucial for entire application" @@ -571,17 +573,17 @@ #: kallithea/controllers/admin/my_account.py:254 #: kallithea/controllers/admin/users.py:314 msgid "Api key successfully created" -msgstr "" +msgstr "API-ключ успешно создан" #: kallithea/controllers/admin/my_account.py:266 #: kallithea/controllers/admin/users.py:330 msgid "Api key successfully reset" -msgstr "" +msgstr "API-ключ успешно сброшен" #: kallithea/controllers/admin/my_account.py:270 #: kallithea/controllers/admin/users.py:334 msgid "Api key successfully deleted" -msgstr "" +msgstr "API-ключ успешно удалён" #: kallithea/controllers/admin/permissions.py:63 #: kallithea/controllers/admin/permissions.py:67 @@ -805,7 +807,7 @@ #: kallithea/controllers/admin/repos.py:492 msgid "-- Not a fork --" -msgstr "" +msgstr "-- Не форк --" #: kallithea/controllers/admin/repos.py:526 msgid "Updated repository visibility in public journal" @@ -860,7 +862,7 @@ #: kallithea/controllers/admin/repos.py:622 msgid "Cache invalidation successful" -msgstr "" +msgstr "Кэш сброшен" #: kallithea/controllers/admin/repos.py:626 msgid "An error occurred during cache invalidation" @@ -1045,7 +1047,7 @@ #: kallithea/lib/base.py:427 msgid "Repository not found in the filesystem" -msgstr "" +msgstr "Репозиторий не найден на файловой системе" #: kallithea/lib/base.py:453 kallithea/lib/helpers.py:643 msgid "Changeset not found" @@ -2079,7 +2081,7 @@ #: kallithea/templates/about.html:4 kallithea/templates/about.html:17 msgid "About" -msgstr "" +msgstr "О программе" #: kallithea/templates/index.html:5 msgid "Dashboard" @@ -2316,7 +2318,7 @@ #: kallithea/templates/password_reset.html:35 #: kallithea/templates/register.html:79 msgid "Captcha" -msgstr "" +msgstr "Капча" #: kallithea/templates/password_reset.html:46 msgid "Send Password Reset Email" @@ -2331,12 +2333,12 @@ #: kallithea/templates/register.html:5 kallithea/templates/register.html:14 #: kallithea/templates/register.html:90 msgid "Sign Up" -msgstr "Вступить" +msgstr "Регистрация" #: kallithea/templates/register.html:12 #, python-format msgid "Sign Up to %s" -msgstr "" +msgstr "Регистра на %s" #: kallithea/templates/register.html:42 msgid "Re-enter password" @@ -2372,7 +2374,7 @@ #: kallithea/templates/register.html:94 msgid "Please wait for an administrator to activate your account." -msgstr "" +msgstr "Пожалуйста, подождите, пока администратор подтвердит Вашу регистрацию." #: kallithea/templates/switch_to_list.html:10 #: kallithea/templates/branches/branches_data.html:69 @@ -2433,7 +2435,7 @@ #: kallithea/templates/admin/admin_log.html:7 #: kallithea/templates/admin/permissions/permissions_globals.html:18 msgid "Repository" -msgstr "Репозитарий" +msgstr "Репозиторий" #: kallithea/templates/admin/admin_log.html:8 #: kallithea/templates/bookmarks/bookmarks.html:51 @@ -2485,12 +2487,12 @@ #: kallithea/templates/admin/auth/auth_settings.html:40 #: kallithea/templates/base/root.html:40 msgid "enabled" -msgstr "" +msgstr "включено" #: kallithea/templates/admin/auth/auth_settings.html:40 #: kallithea/templates/base/root.html:41 msgid "disabled" -msgstr "" +msgstr "отключено" #: kallithea/templates/admin/auth/auth_settings.html:51 msgid "Plugin" @@ -2556,7 +2558,7 @@ #: kallithea/templates/admin/defaults/defaults.html:59 #: kallithea/templates/admin/repos/repo_edit_settings.html:95 msgid "Enable statistics window on summary page." -msgstr "Включить окно статистики на странице 'Общие сведения'." +msgstr "Включить окно статистики на странице «Общие сведения»." #: kallithea/templates/admin/defaults/defaults.html:65 #: kallithea/templates/admin/repos/repo_edit_settings.html:100 @@ -2566,7 +2568,7 @@ #: kallithea/templates/admin/defaults/defaults.html:69 #: kallithea/templates/admin/repos/repo_edit_settings.html:104 msgid "Enable download menu on summary page." -msgstr "Включить меню скачивания на странице 'Общие сведения'." +msgstr "Включить меню скачивания на странице «Общие сведения»." #: kallithea/templates/admin/defaults/defaults.html:75 #: kallithea/templates/admin/repo_groups/repo_group_edit_settings.html:34 @@ -2582,7 +2584,7 @@ #: kallithea/templates/admin/gists/edit.html:5 #: kallithea/templates/admin/gists/edit.html:18 msgid "Edit Gist" -msgstr "" +msgstr "Правка gist-записи" #: kallithea/templates/admin/gists/edit.html:36 #, python-format @@ -2622,7 +2624,7 @@ #: kallithea/templates/admin/gists/edit.html:145 msgid "Update Gist" -msgstr "" +msgstr "Обновить" #: kallithea/templates/admin/gists/edit.html:146 #: kallithea/templates/changeset/changeset_file_comment.html:89 @@ -2633,24 +2635,24 @@ #: kallithea/templates/admin/gists/index.html:16 #, python-format msgid "Private Gists for User %s" -msgstr "Приватная запись Gist для пользователя %s" +msgstr "Приватная gist-запись для пользователя %s" #: kallithea/templates/admin/gists/index.html:8 #: kallithea/templates/admin/gists/index.html:18 #, python-format msgid "Public Gists for User %s" -msgstr "Публичная запись Gist для пользователя %s" +msgstr "Публичная gist-запись для пользователя %s" #: kallithea/templates/admin/gists/index.html:10 #: kallithea/templates/admin/gists/index.html:20 msgid "Public Gists" -msgstr "Публичные записи Gist" +msgstr "Публичные gist-записи" #: kallithea/templates/admin/gists/index.html:37 #: kallithea/templates/admin/gists/show.html:25 #: kallithea/templates/base/base.html:240 msgid "Create New Gist" -msgstr "" +msgstr "Создать новую gist-запись" #: kallithea/templates/admin/gists/index.html:54 #: kallithea/templates/data_table/_dt_elements.html:143 @@ -2659,7 +2661,7 @@ #: kallithea/templates/admin/gists/index.html:74 msgid "There are no gists yet" -msgstr "Записи Gist отсутствуют" +msgstr "Gist-записи отсутствуют" #: kallithea/templates/admin/gists/new.html:5 #: kallithea/templates/admin/gists/new.html:18 @@ -2737,7 +2739,7 @@ #: kallithea/templates/admin/gists/show.html:56 msgid "Confirm to delete this Gist" -msgstr "" +msgstr "Подтвердите удаление этой gist-записи" #: kallithea/templates/admin/gists/show.html:63 #: kallithea/templates/changeset/changeset_file_comment.html:91 @@ -2755,16 +2757,16 @@ #: kallithea/templates/files/files_edit.html:49 #: kallithea/templates/files/files_source.html:34 msgid "Show as Raw" -msgstr "" +msgstr "Показать только текст" #: kallithea/templates/admin/gists/show.html:73 msgid "created" -msgstr "создал" +msgstr "создана" #: kallithea/templates/admin/gists/show.html:86 #: kallithea/templates/files/files_source.html:73 msgid "Show as raw" -msgstr "Показать без форматирования" +msgstr "Показать только текст" #: kallithea/templates/admin/my_account/my_account.html:5 #: kallithea/templates/admin/my_account/my_account.html:9 @@ -2780,11 +2782,11 @@ #: kallithea/templates/admin/my_account/my_account.html:37 #: kallithea/templates/admin/users/user_edit.html:30 msgid "API Keys" -msgstr "" +msgstr "API-ключи" #: kallithea/templates/admin/my_account/my_account.html:38 msgid "My Emails" -msgstr "Мои Email-ы" +msgstr "Мои адреса E-mail" #: kallithea/templates/admin/my_account/my_account.html:39 msgid "My Repositories" @@ -2817,7 +2819,7 @@ #: kallithea/templates/admin/users/user_edit_api_keys.html:14 #, python-format msgid "Confirm to reset this api key: %s" -msgstr "" +msgstr "Подтвердите сброс этого API-ключа: %s" #: kallithea/templates/admin/my_account/my_account_api_keys.html:15 #: kallithea/templates/admin/users/user_edit_api_keys.html:15 @@ -2833,7 +2835,7 @@ #: kallithea/templates/admin/users/user_edit_api_keys.html:40 #, python-format msgid "Confirm to remove this api key: %s" -msgstr "" +msgstr "Подтвердите удаление этого API-ключа: %s" #: kallithea/templates/admin/my_account/my_account_api_keys.html:42 #: kallithea/templates/admin/users/user_edit_api_keys.html:42 @@ -2901,7 +2903,7 @@ #: kallithea/templates/admin/my_account/my_account_password.html:7 msgid "Current password" -msgstr "" +msgstr "Текущий пароль" #: kallithea/templates/admin/my_account/my_account_password.html:16 #: kallithea/templates/admin/users/user_edit_profile.html:69 @@ -2910,7 +2912,7 @@ #: kallithea/templates/admin/my_account/my_account_password.html:25 msgid "Confirm new password" -msgstr "" +msgstr "Подтвердите новый пароль" #: kallithea/templates/admin/my_account/my_account_profile.html:11 msgid "Change your avatar at" @@ -2933,7 +2935,7 @@ #: kallithea/templates/admin/my_account/my_account_profile.html:16 #: kallithea/templates/admin/users/user_edit_profile.html:15 msgid "current IP" -msgstr "" +msgstr "текущий IP-адрес" #: kallithea/templates/admin/my_account/my_account_profile.html:28 msgid "" @@ -3039,9 +3041,8 @@ "permission, note that all custom default permission on repositories will " "be lost" msgstr "" -"Выбранные привилегии будут установлены по умолчанию для каждого " -"репозитория. Учтите, что ранее установленные привилегии по умолчанию " -"будут сброшены" +"Выбранные привилегии будут установлены по умолчанию для каждого репозитория. " +"Учтите, что ранее установленные привилегии по умолчанию будут сброшены" #: kallithea/templates/admin/permissions/permissions_globals.html:27 #: kallithea/templates/admin/permissions/permissions_globals.html:40 @@ -3064,8 +3065,8 @@ "will be lost" msgstr "" "Выбранные привилегии будут установлены по умолчанию для каждой группы " -"репозиториев. Учтите, что ранее установленные привилегии по умолчанию для" -" групп репозиториев будут сброшены" +"репозиториев. Учтите, что ранее установленные привилегии по умолчанию для " +"групп репозиториев будут сброшены" #: kallithea/templates/admin/permissions/permissions_globals.html:46 #: kallithea/templates/data_table/_dt_elements.html:211 @@ -3079,8 +3080,8 @@ "will be lost" msgstr "" "Выбранные привилегии будут установлены по умолчанию для каждой группы " -"пользователей. Учтите, что ранее установленные привилегии по умолчанию " -"для групп пользователей будут сброшены" +"пользователей. Учтите, что ранее установленные привилегии по умолчанию для " +"групп пользователей будут сброшены" #: kallithea/templates/admin/permissions/permissions_globals.html:60 msgid "Repository creation" @@ -3120,7 +3121,7 @@ #: kallithea/templates/admin/users/user_edit_ips.html:23 #, python-format msgid "Confirm to delete this ip: %s" -msgstr "Подтвердите удаление ip %s" +msgstr "Подтвердите удаление IP %s" #: kallithea/templates/admin/permissions/permissions_ips.html:21 #: kallithea/templates/admin/users/user_edit_ips.html:30 @@ -3130,11 +3131,11 @@ #: kallithea/templates/admin/permissions/permissions_ips.html:32 #: kallithea/templates/admin/users/user_edit_ips.html:42 msgid "New ip address" -msgstr "Новый ip-адрес" +msgstr "Новый IP-адрес" #: kallithea/templates/admin/permissions/permissions_perms.html:1 msgid "Default User Permissions Overview" -msgstr "Обзор прав пользователей по-умолчанию" +msgstr "Обзор прав пользователей по умолчанию" #: kallithea/templates/admin/repo_groups/repo_group_add.html:11 #: kallithea/templates/admin/repo_groups/repo_group_edit.html:11 @@ -3169,7 +3170,7 @@ #: kallithea/templates/admin/repo_groups/repo_group_edit.html:5 #, python-format msgid "%s Repository Group Settings" -msgstr "Настройки рруппы репозиториев %s" +msgstr "Настройки группы репозиториев %s" #: kallithea/templates/admin/repo_groups/repo_group_edit.html:21 msgid "Add Child Group" @@ -3228,7 +3229,7 @@ #: kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html:25 msgid "Delete this repository group" -msgstr "" +msgstr "Удалить эту группу репозиториев" #: kallithea/templates/admin/repo_groups/repo_group_edit_perms.html:7 #: kallithea/templates/admin/repos/repo_edit_permissions.html:8 @@ -3271,7 +3272,7 @@ #: kallithea/templates/admin/user_groups/user_group_edit_perms.html:28 #: kallithea/templates/admin/user_groups/user_group_edit_perms.html:45 msgid "default" -msgstr "по-умолчанию" +msgstr "по умолчанию" #: kallithea/templates/admin/repo_groups/repo_group_edit_perms.html:34 #: kallithea/templates/admin/repo_groups/repo_group_edit_perms.html:71 @@ -3312,7 +3313,7 @@ "Enable lock-by-pulling on group. This option will be applied to all other" " groups and repositories inside" msgstr "" -"Включить lock-by-pulling для группы. Эта опция будет применена ко всем " +"Включить автоблокировку для группы. Эта опция будет применена ко всем " "дочерним группам и репозиториям" #: kallithea/templates/admin/repo_groups/repo_group_edit_settings.html:53 @@ -3361,7 +3362,8 @@ #: kallithea/templates/admin/repos/repo_edit_settings.html:76 #: kallithea/templates/forks/fork.html:42 msgid "Keep it short and to the point. Use a README file for longer descriptions." -msgstr "Короткое и осмысленное. Для развернутого описания используйте файл README." +msgstr "" +"Короткое и осмысленное. Для развернутого описания используйте файл README." #: kallithea/templates/admin/repos/repo_add_base.html:45 #: kallithea/templates/admin/repos/repo_edit_settings.html:46 @@ -4963,7 +4965,7 @@ msgstr[2] "%d к строкам" #: kallithea/templates/changeset/changeset_file_comment.html:116 -#, fuzzy, python-format +#, python-format msgid "%d general" msgid_plural "%d general" msgstr[0] ""
--- a/kallithea/lib/vcs/backends/hg/repository.py Tue Apr 14 20:31:43 2015 +0200 +++ b/kallithea/lib/vcs/backends/hg/repository.py Tue Apr 14 23:03:30 2015 +0200 @@ -229,7 +229,7 @@ def _get_all_revisions(self): - return map(lambda x: hex(x[7]), self._repo.changelog.index)[:-1] + return [self._repo[x].hex() for x in self._repo.filtered('visible').changelog.revs()] def get_diff(self, rev1, rev2, path='', ignore_whitespace=False, context=3):
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/kallithea/tests/conftest.py Tue Apr 14 23:03:30 2015 +0200 @@ -0,0 +1,14 @@ +import os +import sys + +import pkg_resources +from paste.deploy import loadapp +import pylons.test + + +def pytest_configure(): + path = os.getcwd() + sys.path.insert(0, path) + pkg_resources.working_set.add_entry(path) + pylons.test.pylonsapp = loadapp('config:test.ini', relative_to=path) + return pylons.test.pylonsapp
--- a/kallithea/tests/models/test_user_group_permissions_on_repo_groups.py Tue Apr 14 20:31:43 2015 +0200 +++ b/kallithea/tests/models/test_user_group_permissions_on_repo_groups.py Tue Apr 14 23:03:30 2015 +0200 @@ -1,5 +1,4 @@ import functools -from kallithea.tests import * from kallithea.model.repo_group import RepoGroupModel from kallithea.model.db import RepoGroup @@ -168,6 +167,7 @@ for name, perm in items: yield check_tree_perms, name, perm, group, 'group.admin' + @with_setup(permissions_setup_func) def test_user_permissions_on_group_with_recursive_mode_on_repos(): # set permission to g0/g0_1 with recursive mode on just repositories @@ -192,6 +192,7 @@ old_perm = perm yield check_tree_perms, name, perm, group, old_perm + @with_setup(permissions_setup_func) def test_user_permissions_on_group_with_recursive_mode_on_repo_groups(): # set permission to g0/g0_1 with recursive mode on just repository groups
--- a/kallithea/tests/models/test_user_groups.py Tue Apr 14 20:31:43 2015 +0200 +++ b/kallithea/tests/models/test_user_groups.py Tue Apr 14 23:03:30 2015 +0200 @@ -1,6 +1,6 @@ from kallithea.model.db import User -from kallithea.tests import * +from kallithea.tests import BaseTestCase, parameterized, TEST_USER_REGULAR_LOGIN from kallithea.tests.fixture import Fixture from kallithea.model.user_group import UserGroupModel @@ -18,7 +18,6 @@ fixture.destroy_user_group(gr) Session().commit() - @parameterized.expand([ ([], [], [], [], []), ([], ['regular'], [], [], ['regular']), # no changes of regular
--- a/kallithea/tests/models/test_user_permissions_on_repo_groups.py Tue Apr 14 20:31:43 2015 +0200 +++ b/kallithea/tests/models/test_user_permissions_on_repo_groups.py Tue Apr 14 23:03:30 2015 +0200 @@ -1,5 +1,4 @@ import functools -from kallithea.tests import * from kallithea.model.repo_group import RepoGroupModel from kallithea.model.db import RepoGroup, User @@ -36,6 +35,7 @@ recursive=recursive, check_perms=False) Session().commit() + def setup_module(): global test_u1_id, _get_repo_perms, _get_group_perms test_u1 = _create_project_tree()
--- a/kallithea/tests/nose_parametrized.py Tue Apr 14 20:31:43 2015 +0200 +++ b/kallithea/tests/nose_parametrized.py Tue Apr 14 23:03:30 2015 +0200 @@ -141,20 +141,6 @@ raise AssertionError("%r in %r" % (needle, haystack)) -def imported_from_test(): - """ Returns true if it looks like this module is being imported by unittest - or nose. """ - import re - import inspect - nose_re = re.compile(r"\bnose\b") - unittest_re = re.compile(r"\bunittest2?\b") - for frame in inspect.stack(): - file = frame[1] - if nose_re.search(file) or unittest_re.search(file): - return True - return False - - def assert_raises(func, exc_type, str_contains=None, repr_contains=None): try: func()