From aca166271b207e819dab641ccbcece6b06739a55 Mon Sep 17 00:00:00 2001
From: Holger Just
Date: Thu, 5 Apr 2012 16:18:32 +0200
Subject: [PATCH 01/55] Update German translation
---
config/locales/de.yml | 72 +++++++++++++++++++++----------------------
1 file changed, 36 insertions(+), 36 deletions(-)
diff --git a/config/locales/de.yml b/config/locales/de.yml
index 89c39317..f2be49b6 100644
--- a/config/locales/de.yml
+++ b/config/locales/de.yml
@@ -963,28 +963,28 @@ de:
notice_gantt_chart_truncated: Die Grafik ist unvollständig, da das Maximum der anzeigbaren Aufgaben überschritten wurde (%{max})
setting_gantt_items_limit: Maximale Anzahl von Aufgaben die im Gantt-Chart angezeigt werden.
text_powered_by: Powered by %{link}
- label_cvs_module: Module
- label_filesystem_path: Root directory
- label_darcs_path: Root directory
- label_bazaar_path: Root directory
+ label_cvs_module: Modul
+ label_filesystem_path: Wurzelverzeichnis
+ label_darcs_path: Wurzelverzeichnis
+ label_bazaar_path: Wurzelverzeichnis
label_cvs_path: CVSROOT
- label_git_path: Path to .git directory
- label_mercurial_path: Root directory
- label_my_queries: My custom queries
- label_additional_workflow_transitions_for_assignee: Additional transitions allowed when the user is the assignee
- text_journal_changed_no_detail: "%{label} updated"
- button_expand_all: Expand all
- button_collapse_all: Collapse all
- label_additional_workflow_transitions_for_author: Additional transitions allowed when the user is the author
- field_effective_date: Due date
- label_news_comment_added: Comment added to a news
- field_warn_on_leaving_unsaved: Warn me when leaving a page with unsaved text
- text_warn_on_leaving_unsaved: The current page contains unsaved text that will be lost if you leave this page.
- text_default_encoding: "Default: UTF-8"
- text_git_repo_example: a bare and local repository (e.g. /gitrepo, c:\gitrepo)
- label_notify_member_plural: Email issue updates
- label_path_encoding: Path encoding
- text_mercurial_repo_example: local repository (e.g. /hgrepo, c:\hgrepo)
+ label_git_path: Pfad zum .git Verzeichnis
+ label_mercurial_path: Wurzelverzeichnis
+ label_my_queries: Meine benutzerdefinierten Abfragen
+ label_additional_workflow_transitions_for_assignee: Zusätzliche Workflow-Übergänge wenn das Ticket an den Benutzer zugewiesen ist
+ text_journal_changed_no_detail: "%{label} aktualisiert"
+ button_expand_all: Alles ausklappen
+ button_collapse_all: Alles einklappen
+ label_additional_workflow_transitions_for_author: Zusätzliche Workflow-Übergänge wenn der Benutzer der Autor ist
+ field_effective_date: Abshlussdatum
+ label_news_comment_added: "Kommentar erfolgreich hinzugefügt"
+ field_warn_on_leaving_unsaved: "Warnen wenn eine Seite mit ungespeichertem Text verlassen wird"
+ text_warn_on_leaving_unsaved: "Die aktuelle Seite enthält ungespeicherten Text er verloren geht wenn Sie diese Seite verlassen."
+ text_default_encoding: "Standard: UTF-8"
+ text_git_repo_example: Ein lokales "bare Repository" (z.B. /gitrepo, c:\gitrepo)
+ label_notify_member_plural: Benachrichtigungen verschicken
+ label_path_encoding: Pfadkodierung
+ text_mercurial_repo_example: Lokales Projektarchiv (z.B. /hgrepo, c:\hgrepo)
label_diff: diff
description_filter: Filter
description_search: Suchfeld
@@ -1003,19 +1003,19 @@ de:
description_date_range_interval: Zeitraum durch Start- und Enddatum festlegen
description_date_from: Startdatum eintragen
description_date_to: Enddatum eintragen
- field_custom_filter: Custom LDAP filter
+ field_custom_filter: Benutzerdefinierter LDAP-Filter
label_toc: "Inhaltsverzeichnis"
- text_display_subprojects: Display subprojects
- text_current_project: Current project
- setting_mail_handler_confirmation_on_success: Send confirmation email on successful incoming email
- label_mail_handler_confirmation: "Confirmation of email submission: %{subject}"
- label_mail_handler_errors_with_submission: "There were errors with your email submission:"
- label_document_watchers: Watchers
- setting_mail_handler_confirmation_on_failure: Send confirmation email on failed incoming email
- label_between: between
- label_mail_handler_failure: "Failed email submission: %{subject}"
- notice_not_authorized_action: You are not authorized to perform this action.
- text_mail_handler_confirmation_successful: Your email has been successful added at the following url
- field_issue_summary: Issue summary
- field_new_saved_query: New saved query
- field_issue_view_all_open: View all open issues
+ text_display_subprojects: Unterprojekte anzeigen
+ text_current_project: Aktuelles Project
+ setting_mail_handler_confirmation_on_success: Bestätigungs-E-Mail bei erfolgreich eingegangenen E-Mails versenden
+ label_mail_handler_confirmation: "Bestätigung der E-Mail-Verarbeitung: %{subject}"
+ label_mail_handler_errors_with_submission: "Es traten Fehler bei der E-Mail verarbeitung auf:"
+ label_document_watchers: Beobachter
+ setting_mail_handler_confirmation_on_failure: Bestätigungs-E-Mail bei fehlgeschlagenen eingehenden E-Mails versenden
+ label_between: zwischen
+ label_mail_handler_failure: "E-Mail-Versand fehlgeschlagen: %{subject}"
+ notice_not_authorized_action: Sie sind für diese Aktion nicht autorisiert.
+ text_mail_handler_confirmation_successful: Ihre E-Mil wurde erfolgreich zu folgender URL hinzugefügt
+ field_issue_summary: Ticketübersicht
+ field_new_saved_query: Neue gespeicherte Abfrage
+ field_issue_view_all_open: Alle offen Tickets
From b8a29c288b569d97ee4ba0ec41a9f6da4bbca7d5 Mon Sep 17 00:00:00 2001
From: Holger Just
Date: Thu, 5 Apr 2012 20:49:47 +0200
Subject: [PATCH 02/55] Add the project_id to board URLs in the menu to
generate valid URLs
---
lib/redmine.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/redmine.rb b/lib/redmine.rb
index 64ffbb30..194c1dfc 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -345,7 +345,7 @@ Redmine::MenuManager.map :project_menu do |menu|
project.boards.collect do |board|
Redmine::MenuManager::MenuItem.new(
"board-#{board.id}".to_sym,
- { :controller => 'boards', :action => 'show', :id => board },
+ { :controller => 'boards', :action => 'show', :project_id => project, :id => board },
{
:caption => board.name # is h() in menu_helper.rb
})
From 8f06b77ccbdadf8969d54245cd17e2e59c33634a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Sch=C3=A4fer?=
Date: Sat, 7 Apr 2012 15:59:51 +0200
Subject: [PATCH 03/55] correct 'edit own issue notes' permission #966
---
app/models/issue.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/models/issue.rb b/app/models/issue.rb
index a57e3199..0ec8fcd6 100644
--- a/app/models/issue.rb
+++ b/app/models/issue.rb
@@ -712,7 +712,7 @@ class Issue < ActiveRecord::Base
# The default assumption is that journals have the same permissions
# as the journaled object, issue notes have separate permissions though
def journal_editable_by?(journal, user)
- return true if journal.author == user && user.allowed_to?(:edit_own_issue_notes, project)
+ return true if journal.user == user && user.allowed_to?(:edit_own_issue_notes, project)
user.allowed_to? :edit_issue_notes, project
end
From 1f4baaa27b20810847dd5eedeccd132e718bd519 Mon Sep 17 00:00:00 2001
From: Holger Just
Date: Mon, 9 Apr 2012 15:43:51 +0200
Subject: [PATCH 04/55] Take the password salt into account when checking for
admin account change
---
app/controllers/admin_controller.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb
index 66a0294b..019cc290 100644
--- a/app/controllers/admin_controller.rb
+++ b/app/controllers/admin_controller.rb
@@ -77,7 +77,7 @@ class AdminController < ApplicationController
def info
@db_adapter_name = ActiveRecord::Base.connection.adapter_name
@checklist = [
- [:text_default_administrator_account_changed, User.find(:first, :conditions => ["login=? and hashed_password=?", 'admin', User.hash_password('admin')]).nil?],
+ [:text_default_administrator_account_changed, !User.find_by_login("admin").try(:check_password?, "admin"),
[:text_file_repository_writable, File.writable?(Attachment.storage_path)],
[:text_plugin_assets_writable, File.writable?(Engines.public_directory)],
[:text_rmagick_available, Object.const_defined?(:Magick)]
From b169f02377b8eb490dd662a4612b70791983d699 Mon Sep 17 00:00:00 2001
From: Holger Just
Date: Mon, 9 Apr 2012 15:46:06 +0200
Subject: [PATCH 05/55] REMEMBER: ALWAYS RUN THE TESTS!
---
app/controllers/admin_controller.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb
index 019cc290..1293ca84 100644
--- a/app/controllers/admin_controller.rb
+++ b/app/controllers/admin_controller.rb
@@ -77,7 +77,7 @@ class AdminController < ApplicationController
def info
@db_adapter_name = ActiveRecord::Base.connection.adapter_name
@checklist = [
- [:text_default_administrator_account_changed, !User.find_by_login("admin").try(:check_password?, "admin"),
+ [:text_default_administrator_account_changed, !User.find_by_login("admin").try(:check_password?, "admin")],
[:text_file_repository_writable, File.writable?(Attachment.storage_path)],
[:text_plugin_assets_writable, File.writable?(Engines.public_directory)],
[:text_rmagick_available, Object.const_defined?(:Magick)]
From c3fc106355ba3cf53fabed188144bcfb5e7296e8 Mon Sep 17 00:00:00 2001
From: Holger Just
Date: Tue, 10 Apr 2012 23:35:12 +0200
Subject: [PATCH 06/55] [#974] Force the issue new link in the sidebar to the
new action
---
lib/redmine.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/redmine.rb b/lib/redmine.rb
index 194c1dfc..71ec08a7 100644
--- a/lib/redmine.rb
+++ b/lib/redmine.rb
@@ -259,7 +259,7 @@ Redmine::MenuManager.map :project_menu do |menu|
:caption => :label_issue_plural,
:children => issue_query_proc
})
- menu.push(:new_issue, { :controller => 'issues', :action => 'new' }, {
+ menu.push(:new_issue, { :controller => 'issues', :action => 'new', :copy_from => nil }, {
:param => :project_id,
:caption => :label_issue_new,
:parent => :issues,
From e6c79ddef44aa8a38e6b98030983bc3aa15b6219 Mon Sep 17 00:00:00 2001
From: Spenser Jones
Date: Tue, 10 Apr 2012 21:51:18 +0000
Subject: [PATCH 07/55] [#975] Validate and enable editing of Version start
date
---
app/models/version.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/app/models/version.rb b/app/models/version.rb
index 62833446..dc3f84f1 100644
--- a/app/models/version.rb
+++ b/app/models/version.rb
@@ -27,7 +27,7 @@ class Version < ActiveRecord::Base
validates_presence_of :name
validates_uniqueness_of :name, :scope => [:project_id]
validates_length_of :name, :maximum => 60
- validates_format_of :effective_date, :with => /^\d{4}-\d{2}-\d{2}$/, :message => :not_a_date, :allow_nil => true
+ validates_format_of :start_date, :effective_date, :with => /^\d{4}-\d{2}-\d{2}$/, :message => :not_a_date, :allow_nil => true
validates_inclusion_of :status, :in => VERSION_STATUSES
validates_inclusion_of :sharing, :in => VERSION_SHARINGS
@@ -37,6 +37,7 @@ class Version < ActiveRecord::Base
safe_attributes 'name',
'description',
+ 'start_date',
'effective_date',
'due_date',
'wiki_page_title',
From a6071c75ecbea48ecb2f2bcbfecb247d906acec5 Mon Sep 17 00:00:00 2001
From: Holger Just
Date: Wed, 11 Apr 2012 00:06:31 +0200
Subject: [PATCH 08/55] [#975] Add test for editing version start date
---
test/functional/versions_controller_test.rb | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/test/functional/versions_controller_test.rb b/test/functional/versions_controller_test.rb
index a5b3b6bb..1d1eb551 100644
--- a/test/functional/versions_controller_test.rb
+++ b/test/functional/versions_controller_test.rb
@@ -112,13 +112,18 @@ class VersionsControllerTest < ActionController::TestCase
def test_post_update
@request.session[:user_id] = 2
+
+ today = Date.today
put :update, :id => 2,
:version => { :name => 'New version name',
- :effective_date => Date.today.strftime("%Y-%m-%d")}
+ :start_date => today.yesterday.strftime("%Y-%m-%d"),
+ :effective_date => today.strftime("%Y-%m-%d"),
+ }
assert_redirected_to :controller => 'projects', :action => 'settings', :tab => 'versions', :id => 'ecookbook'
version = Version.find(2)
assert_equal 'New version name', version.name
- assert_equal Date.today, version.effective_date
+ assert_equal today.yesterday, version.start_date
+ assert_equal today, version.effective_date
end
def test_post_update_with_validation_failure
From 01c386b3c6c7d987a41e128f9cc511618e121b35 Mon Sep 17 00:00:00 2001
From: Holger Just
Date: Wed, 11 Apr 2012 20:48:30 +0200
Subject: [PATCH 09/55] [#970] Cap too long menu entries with an ellipsis
---
public/stylesheets/application.css | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 369457eb..d6947d6c 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -42,6 +42,12 @@ h5, .wiki h4 {font-size: 11px;padding: 2px 10px 1px 0px;margin-bottom: 5px; bord
background: none;
margin: 0;
padding: 0 0 0 24px;
+
+ /* Cap long menu entries with an ellipsis. TODO: http://www.bramstein.com/projects/text-overflow/ */
+ text-overflow: ellipsis;
+ -o-text-overflow: ellipsis;
+ overflow: hidden;
+ white-space: nowrap;
}
#main-menu li a:hover {color:#555; text-decoration: none;}
From 277815ec963d3bf0f8d8f962e5bcb806e01ee938 Mon Sep 17 00:00:00 2001
From: Holger Just
Date: Wed, 11 Apr 2012 20:50:42 +0200
Subject: [PATCH 10/55] Don't render cusom queries in the sidebar anymore
The queries are now part of the issues menu and are thus redundant in the
sidebar.
---
app/views/issues/_sidebar.rhtml | 1 -
1 file changed, 1 deletion(-)
diff --git a/app/views/issues/_sidebar.rhtml b/app/views/issues/_sidebar.rhtml
index 1bb4ee68..b43fa19f 100644
--- a/app/views/issues/_sidebar.rhtml
+++ b/app/views/issues/_sidebar.rhtml
@@ -3,5 +3,4 @@
<%= call_hook(:view_issues_sidebar_planning_bottom) %>
-<%= render_sidebar_queries %>
<%= call_hook(:view_issues_sidebar_queries_bottom) %>
From 33260d885d409fec47661fb4be0eccc8c77d0c4a Mon Sep 17 00:00:00 2001
From: Holger Just
Date: Wed, 11 Apr 2012 23:15:33 +0200
Subject: [PATCH 11/55] Ensure array order for repeatable success of tests
---
test/unit/project_test.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/unit/project_test.rb b/test/unit/project_test.rb
index a85ad19b..da55a25f 100644
--- a/test/unit/project_test.rb
+++ b/test/unit/project_test.rb
@@ -82,7 +82,7 @@ class ProjectTest < ActiveSupport::TestCase
end
assert_equal Tracker.all, Project.new.trackers
- assert_equal Tracker.find(1, 3), Project.new(:tracker_ids => [1, 3]).trackers
+ assert_equal Tracker.find(1, 3).sort_by(&:id), Project.new(:tracker_ids => [1, 3]).trackers.sort_by(&:id)
end
def test_update
From 859a9cb9d29ad40cf5111979c7e42703f9f5c780 Mon Sep 17 00:00:00 2001
From: Gabriel Mazetto
Date: Thu, 5 Apr 2012 05:36:17 -0300
Subject: [PATCH 12/55] Some translation fixes and more missing translations
for pt-BR
---
config/locales/pt-BR.yml | 48 ++++++++++++++++++++--------------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/config/locales/pt-BR.yml b/config/locales/pt-BR.yml
index 5fb0885e..ef44dab5 100644
--- a/config/locales/pt-BR.yml
+++ b/config/locales/pt-BR.yml
@@ -154,7 +154,7 @@ pt-BR:
general_text_Yes: 'Sim'
general_text_no: 'não'
general_text_yes: 'sim'
- general_lang_name: 'Português(Brasil)'
+ general_lang_name: 'Português (Brasil)'
general_csv_separator: ';'
general_csv_decimal_separator: ','
general_csv_encoding: ISO-8859-1
@@ -245,7 +245,7 @@ pt-BR:
field_role: Cargo
field_homepage: Página do projeto
field_is_public: Público
- field_parent: Sub-projeto de
+ field_parent: Subprojeto de
field_is_in_roadmap: Exibir no planejamento
field_login: Usuário
field_mail_notification: Notificações por e-mail
@@ -273,7 +273,7 @@ pt-BR:
field_comments: Comentário
field_url: URL
field_start_page: Página inicial
- field_subproject: Sub-projeto
+ field_subproject: Subprojeto
field_hours: Horas
field_activity: Atividade
field_spent_on: Data
@@ -411,8 +411,8 @@ pt-BR:
label_auth_source: Modo de autenticação
label_auth_source_new: Novo modo de autenticação
label_auth_source_plural: Modos de autenticação
- label_subproject_plural: Sub-projetos
- label_and_its_subprojects: "%{value} e seus sub-projetos"
+ label_subproject_plural: Subprojetos
+ label_and_its_subprojects: "%{value} e seus subprojetos"
label_min_max_length: Tamanho mín-máx
label_list: Lista
label_date: Data
@@ -879,7 +879,7 @@ pt-BR:
field_sharing: Compartilhamento
label_version_sharing_hierarchy: Com a hierarquia do projeto
label_version_sharing_system: Com todos os projetos
- label_version_sharing_descendants: Com sub-projetos
+ label_version_sharing_descendants: Com subprojetos
label_version_sharing_tree: Com a árvore do projeto
label_version_sharing_none: Sem compartilhamento
error_can_not_archive_project: Este projeto não pode ser arquivado
@@ -989,7 +989,7 @@ pt-BR:
label_mercurial_path: Diretório raiz
label_diff: diff
- description_search: Searchfield
+ description_search: Campo de pesquisa
description_user_mail_notification: Configuração de notificações por e-mail
description_date_range_list: Escolha um período a partira da lista
description_date_to: Digite a data final
@@ -1008,21 +1008,21 @@ pt-BR:
description_date_from: Digita a data inicial
label_deleted_custom_field: (campo personalizado excluído)
field_custom_filter: Custom LDAP filter
- text_display_subprojects: Display subprojects
- text_current_project: Current project
- label_toc: Contents
- search_input_placeholder: search ...
- setting_mail_handler_confirmation_on_success: Send confirmation email on successful incoming email
- label_mail_handler_confirmation: "Confirmation of email submission: %{subject}"
- label_mail_handler_errors_with_submission: "There were errors with your email submission:"
- label_document_watchers: Watchers
- setting_mail_handler_confirmation_on_failure: Send confirmation email on failed incoming email
+ text_display_subprojects: Exibir subprojetos
+ text_current_project: Projeto atual
+ label_toc: Conteúdo
+ search_input_placeholder: pesquisar ...
+ setting_mail_handler_confirmation_on_success: Enviar confirmação ao receber um e-mail
+ label_mail_handler_confirmation: "Confirmação de envio de e-mail: %{subject}"
+ label_mail_handler_errors_with_submission: "Seu envio de email falhou:"
+ label_document_watchers: Observadores
+ setting_mail_handler_confirmation_on_failure: Enviar confirmação ao falhar o recebimento de um e-mail
label_between: between
- label_mail_handler_failure: "Failed email submission: %{subject}"
- notice_not_authorized_action: You are not authorized to perform this action.
- text_mail_handler_confirmation_successful: Your email has been successful added at the following url
- field_issue_summary: Issue summary
- field_new_saved_query: New saved query
- field_issue_view_all_open: View all open issues
- label_subtask_add: Add a subtask
- label_issue_hierarchy: Issue hierarchy
+ label_mail_handler_failure: "Envio de e-mail falhou: %{subject}"
+ notice_not_authorized_action: Você não tem permissão para fazer isto.
+ text_mail_handler_confirmation_successful: Seu e-mail foi adicionado com sucesso a URL a seguir
+ field_issue_summary: Relatório
+ field_new_saved_query: Nova consulta
+ field_issue_view_all_open: Ver tarefas abertas
+ label_subtask_add: Adicionar
+ label_issue_hierarchy: Subtarefas
From 6a4559e6af80eb2e9c44c11117ddaa2a9d102138 Mon Sep 17 00:00:00 2001
From: jwalkerbg
Date: Fri, 13 Apr 2012 04:13:05 +0300
Subject: [PATCH 13/55] [#983] Translated several keys to Bulgarian language.
---
config/locales/bg.yml | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/config/locales/bg.yml b/config/locales/bg.yml
index 51b24492..d50175a6 100644
--- a/config/locales/bg.yml
+++ b/config/locales/bg.yml
@@ -983,22 +983,22 @@ bg:
description_choose_project: Проекти
description_date_from: Въведете начална дата
label_deleted_custom_field: (изтрито потребителско поле)
- field_custom_filter: Custom LDAP filter
- text_display_subprojects: Display subprojects
- text_current_project: Current project
- label_toc: Contents
- search_input_placeholder: search ...
- setting_mail_handler_confirmation_on_success: Send confirmation email on successful incoming email
- label_mail_handler_confirmation: "Confirmation of email submission: %{subject}"
- label_mail_handler_errors_with_submission: "There were errors with your email submission:"
- label_document_watchers: Watchers
- setting_mail_handler_confirmation_on_failure: Send confirmation email on failed incoming email
+ field_custom_filter: Потребителски LDAP филтър
+ text_display_subprojects: Показване на подпроекти
+ text_current_project: Текущ проект
+ label_toc: Съдържание
+ search_input_placeholder: търсене ...
+ setting_mail_handler_confirmation_on_success: Изпращане на е-мейл за потвърждение при успешен входен е-мейл
+ label_mail_handler_confirmation: "Потвърждение на изпратено с е-мейл: %{subject}"
+ label_mail_handler_errors_with_submission: "Има грешки във вашия е-мейл:"
+ label_document_watchers: Наблюдатели
+ setting_mail_handler_confirmation_on_failure: Изпращане на е-мейл за потвърждение при неуспешен входен е-мейл
label_between: between
- label_mail_handler_failure: "Failed email submission: %{subject}"
- notice_not_authorized_action: You are not authorized to perform this action.
- text_mail_handler_confirmation_successful: Your email has been successful added at the following url
- field_issue_summary: Issue summary
- field_new_saved_query: New saved query
- field_issue_view_all_open: View all open issues
- label_subtask_add: Add a subtask
- label_issue_hierarchy: Issue hierarchy
+ label_mail_handler_failure: "Пропаднал е-мейл: %{subject}"
+ notice_not_authorized_action: Вие нямате разрешение да изпълните това действие.
+ text_mail_handler_confirmation_successful: Вашият е-мейл беше успешно добавен на следващия адрес
+ field_issue_summary: Заглавие на задачата
+ field_new_saved_query: Нова записана заявка
+ field_issue_view_all_open: Разглеждане на всички отворени задачи
+ label_subtask_add: Добавяне на подзадача
+ label_issue_hierarchy: Йерархия на задачите
From 2bcd8787d37f41a31311e5ba7e69df91c519b741 Mon Sep 17 00:00:00 2001
From: Holger Just
Date: Fri, 13 Apr 2012 13:44:16 +0200
Subject: [PATCH 14/55] Remove cookie cleaning method as it is not required
anymore
---
app/controllers/application_controller.rb | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index de47f042..a87ccc4e 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -31,18 +31,6 @@ class ApplicationController < ActionController::Base
cookies.delete(:autologin)
end
- # Remove broken cookie after upgrade from 0.8.x (#4292)
- # See https://rails.lighthouseapp.com/projects/8994/tickets/3360
- # TODO: remove it when Rails is fixed
- before_filter :delete_broken_cookies
- def delete_broken_cookies
- if cookies['_chiliproject_session'] && cookies['_chiliproject_session'] !~ /--/
- cookies.delete '_chiliproject_session'
- redirect_to home_path
- return false
- end
- end
-
# FIXME: Remove this when all of Rack and Rails have learned how to
# properly use encodings
before_filter :params_filter
From e7d96825b28a6887e62ed8306a099bbda45b8753 Mon Sep 17 00:00:00 2001
From: unknown
Date: Fri, 13 Apr 2012 15:55:02 +0200
Subject: [PATCH 15/55] [#988] Improving Swedish translation
---
config/locales/sv.yml | 326 ++++++++++++++++++++----------------------
1 file changed, 158 insertions(+), 168 deletions(-)
diff --git a/config/locales/sv.yml b/config/locales/sv.yml
index 2d735d4e..ece40f13 100644
--- a/config/locales/sv.yml
+++ b/config/locales/sv.yml
@@ -1,65 +1,42 @@
-# Swedish translation for Ruby on Rails
+# Swedish translation for Ruby on Rails and ChiliProject
# by Johan Lundström (johanlunds@gmail.com),
# with parts taken from http://github.com/daniel/swe_rails
+#
+# contributor: Björn Blissing
sv:
- number:
- # Used in number_with_delimiter()
- # These are also the defaults for 'currency', 'percentage', 'precision', and 'human'
- format:
- # Sets the separator between the units, for more precision (e.g. 1.0 / 2.0 == 0.5)
- separator: ","
- # Delimets thousands (e.g. 1,000,000 is a million) (always in groups of three)
- delimiter: "."
- # Number of decimals, behind the separator (the number 1 with a precision of 2 gives: 1.00)
- precision: 2
+ # Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
+ direction: ltr
+ date:
+ formats:
+ # Use the strftime parameters for formats.
+ # When no format has been given, it uses default.
+ # You can provide other formats here if you like!
+ default: "%Y-%m-%d"
+ short: "%e %b"
+ long: "%e %B, %Y"
- # Used in number_to_currency()
- currency:
- format:
- # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
- format: "%n %u"
- unit: "kr"
- # These three are to override number.format and are optional
- # separator: "."
- # delimiter: ","
- # precision: 2
+ day_names: [söndag, måndag, tisdag, onsdag, torsdag, fredag, lördag]
+ abbr_day_names: [sön, mån, tis, ons, tor, fre, lör]
- # Used in number_to_percentage()
- percentage:
- format:
- # These three are to override number.format and are optional
- # separator:
- delimiter: ""
- # precision:
+ # Don't forget the nil at the beginning; there's no such thing as a 0th month
+ month_names: [~, januari, februari, mars, april, maj, juni, juli, augusti, september, oktober, november, december]
+ abbr_month_names: [~, jan, feb, mar, apr, maj, jun, jul, aug, sep, okt, nov, dec]
+ # Used in date_select and datime_select.
+ order:
+ - :day
+ - :month
+ - :year
- # Used in number_to_precision()
- precision:
- format:
- # These three are to override number.format and are optional
- # separator:
- delimiter: ""
- # precision:
+ time:
+ formats:
+ default: "%Y-%m-%d %H:%M"
+ time: "%H:%M"
+ short: "%d %b %H:%M"
+ long: "%d %B, %Y %H:%M"
+ am: ""
+ pm: ""
- # Used in number_to_human_size()
- human:
- format:
- # These three are to override number.format and are optional
- # separator:
- delimiter: ""
- # precision: 1
- storage_units:
- format: "%n %u"
- units:
- byte:
- one: "Byte"
- other: "Bytes"
- kb: "kB"
- mb: "MB"
- gb: "GB"
- tb: "TB"
-
- # Used in distance_of_time_in_words(), distance_of_time_in_words_to_now(), time_ago_in_words()
datetime:
distance_in_words:
half_a_minute: "en halv minut"
@@ -97,16 +74,67 @@ sv:
one: "nästan 1 år"
other: "nästan %{count} år"
+ number:
+ format:
+ separator: ","
+ delimiter: "."
+ precision: 2
+
+ # Used in number_to_currency()
+ currency:
+ format:
+ # Where is the currency sign? %u is the currency unit, %n the number (default: $5.00)
+ format: "%n %u"
+ unit: "SEK"
+ # These three are to override number.format and are optional
+ # separator: "."
+ # delimiter: ","
+ # precision: 2
+
+ # Used in number_to_percentage()
+ percentage:
+ format:
+ # These three are to override number.format and are optional
+ # separator:
+ delimiter: ""
+ # precision:
+
+ # Used in number_to_precision()
+ precision:
+ format:
+ # These three are to override number.format and are optional
+ # separator:
+ delimiter: ""
+ # precision:
+
+ human:
+ format:
+ delimiter: ""
+ precision: 1
+ storage_units:
+ format: "%n %u"
+ units:
+ byte:
+ one: "Byte"
+ other: "Bytes"
+ kb: "kB"
+ mb: "MB"
+ gb: "GB"
+ tb: "TB"
+
+
+# Used in array.to_sentence.
+ support:
+ array:
+ sentence_connector: "och"
+ skip_last_comma: true
+
activerecord:
errors:
template:
header:
one: "Ett fel förhindrade denna %{model} från att sparas"
other: "%{count} fel förhindrade denna %{model} från att sparas"
- # The variable :count is also available
- body: "Det var problem med följande fält:"
- # The values :model, :attribute and :value are always available for interpolation
- # The value :count is available when applicable. Can be used for pluralization.
messages:
inclusion: "finns inte i listan"
exclusion: "är reserverat"
@@ -120,6 +148,7 @@ sv:
wrong_length: "har fel längd (ska vara %{count} tecken)"
taken: "har redan tagits"
not_a_number: "är inte ett nummer"
+ not_a_date: "är inte ett giltigt datum"
greater_than: "måste vara större än %{count}"
greater_than_or_equal_to: "måste vara större än eller lika med %{count}"
equal_to: "måste vara samma som"
@@ -132,43 +161,6 @@ sv:
circular_dependency: "Denna relation skulle skapa ett cirkulärt beroende"
cant_link_an_issue_with_a_descendant: "An issue can not be linked to one of its subtasks"
- direction: ltr
- date:
- formats:
- # Use the strftime parameters for formats.
- # When no format has been given, it uses default.
- # You can provide other formats here if you like!
- default: "%Y-%m-%d"
- short: "%e %b"
- long: "%e %B, %Y"
-
- day_names: [söndag, måndag, tisdag, onsdag, torsdag, fredag, lördag]
- abbr_day_names: [sön, mån, tis, ons, tor, fre, lör]
-
- # Don't forget the nil at the beginning; there's no such thing as a 0th month
- month_names: [~, januari, februari, mars, april, maj, juni, juli, augusti, september, oktober, november, december]
- abbr_month_names: [~, jan, feb, mar, apr, maj, jun, jul, aug, sep, okt, nov, dec]
- # Used in date_select and datime_select.
- order:
- - :day
- - :month
- - :year
-
- time:
- formats:
- default: "%Y-%m-%d %H:%M"
- time: "%H:%M"
- short: "%d %b %H:%M"
- long: "%d %B, %Y %H:%M"
- am: ""
- pm: ""
-
-# Used in array.to_sentence.
- support:
- array:
- sentence_connector: "och"
- skip_last_comma: true
-
actionview_instancetag_blank_option: Var god välj
general_text_No: 'Nej'
@@ -198,6 +190,7 @@ sv:
notice_file_not_found: Sidan du försökte komma åt existerar inte eller är borttagen.
notice_locking_conflict: Data har uppdaterats av en annan användare.
notice_not_authorized: Du saknar behörighet att komma åt den här sidan.
+ notice_not_authorized_action: Du saknar behörighet att utföra denna handling.
notice_not_authorized_archived_project: Projektet du försöker komma åt har arkiverats.
notice_email_sent: "Ett mail skickades till %{value}"
notice_email_error: "Ett fel inträffade när mail skickades (%{value})"
@@ -230,7 +223,6 @@ sv:
error_workflow_copy_target: 'Vänligen välj ärendetyp(er) och roll(er) för mål'
error_unable_delete_issue_status: 'Ärendestatus kunde inte tas bort'
error_unable_to_connect: "Kan inte ansluta (%{value})"
-
warning_attachments_not_saved: "%{count} fil(er) kunde inte sparas."
mail_subject_lost_password: "Ditt %{value} lösenord"
@@ -243,8 +235,8 @@ sv:
mail_body_account_activation_request: "En ny användare (%{value}) har registrerat sig och avvaktar ditt godkännande:"
mail_subject_reminder: "%{count} ärende(n) har deadline under de kommande %{days} dagarna"
mail_body_reminder: "%{count} ärende(n) som är tilldelat dig har deadline under de %{days} dagarna:"
- mail_subject_wiki_content_added: "'%{id}' wikisida has lagts till"
- mail_body_wiki_content_added: "The '%{id}' wikisida has lagts till av %{author}."
+ mail_subject_wiki_content_added: "'%{id}' wikisida har lagts till"
+ mail_body_wiki_content_added: "The '%{id}' wikisida har lagts till av %{author}."
mail_subject_wiki_content_updated: "'%{id}' wikisida har uppdaterats"
mail_body_wiki_content_updated: "The '%{id}' wikisida har uppdaterats av %{author}."
@@ -286,7 +278,7 @@ sv:
field_priority: Prioritet
field_fixed_version: Versionsmål
field_user: Användare
- field_principal: Principal
+ field_principal: Huvudsaklig
field_role: Roll
field_homepage: Hemsida
field_is_public: Publik
@@ -297,6 +289,7 @@ sv:
field_admin: Administratör
field_last_login_on: Senaste inloggning
field_language: Språk
+ field_effective_date: Förfallodag
field_password: Lösenord
field_new_password: Nytt lösenord
field_password_confirmation: Bekräfta lösenord
@@ -348,6 +341,10 @@ sv:
field_text: Textfält
field_visible: Synlig
field_warn_on_leaving_unsaved: Varna om jag lämnar en sida med osparad text
+ field_custom_filter: Anpassat LDAP filter
+ field_issue_summary: Sammanfattning av ärendet
+ field_new_saved_query: Skapa ny förfrågan
+ field_issue_view_all_open: Visa alla öppna ärenden
setting_app_title: Applikationsrubrik
setting_app_subtitle: Applikationsunderrubrik
@@ -407,6 +404,9 @@ sv:
setting_commit_logtime_enabled: Aktivera tidloggning
setting_commit_logtime_activity_id: Aktivitet för loggad tid
setting_gantt_items_limit: Maximalt antal aktiviteter som visas i gantt-schemat
+ setting_issue_startdate_is_adddate: Använd nuvarande datum som startdatum för nya ärenden
+ setting_mail_handler_confirmation_on_success: "Skicka e-postbekräftelse på framgångsrika inkommande e-post"
+ setting_mail_handler_confirmation_on_failure: "Skicka e-postbekräftelse vid misslyckade inkommande e-post"
permission_add_project: Skapa projekt
permission_add_subprojects: Skapa underprojekt
@@ -416,9 +416,9 @@ sv:
permission_manage_project_activities: Hantera projektaktiviteter
permission_manage_versions: Hantera versioner
permission_manage_categories: Hantera ärendekategorier
+ permission_view_issues: Visa ärenden
permission_add_issues: Lägga till ärenden
permission_edit_issues: Ändra ärenden
- permission_view_issues: Visa ärenden
permission_manage_issue_relations: Hantera ärenderelationer
permission_add_issue_notes: Lägga till ärendenotering
permission_edit_issue_notes: Ändra ärendenoteringar
@@ -581,6 +581,7 @@ sv:
label_news_latest: Senaste nyheterna
label_news_view_all: Visa alla nyheter
label_news_added: Nyhet tillagd
+ label_news_comment_added: Kommentar tillagd till en nyhet
label_settings: Inställningar
label_overview: Översikt
label_version: Version
@@ -648,6 +649,7 @@ sv:
label_in_more_than: om mer än
label_greater_or_equal: '>='
label_less_or_equal: '<='
+ label_between: "mellan"
label_in: om
label_today: idag
label_all_time: närsom
@@ -670,8 +672,8 @@ sv:
label_browse: Bläddra
label_modification: "%{count} ändring"
label_modification_plural: "%{count} ändringar"
- label_branch: Branch
- label_tag: Tag
+ label_branch: Gren
+ label_tag: Tagg
label_revision: Revision
label_revision_plural: Revisioner
label_revision_id: "Revision %{value}"
@@ -695,6 +697,7 @@ sv:
label_roadmap_overdue: "%{value} sen"
label_roadmap_no_issues: Inga ärenden för denna version
label_search: Sök
+ search_input_placeholder: sök ...
label_result_plural: Resultat
label_all_words: Alla ord
label_wiki: Wiki
@@ -706,7 +709,7 @@ sv:
label_index_by_date: Innehåll efter datum
label_current_version: Nuvarande version
label_preview: Förhandsgranska
- label_feed_plural: Feeds
+ label_feed_plural: Flöde
label_changes_details: Detaljer om alla ändringar
label_issue_tracking: Ärendeuppföljning
label_spent_time: Spenderad tid
@@ -718,6 +721,7 @@ sv:
label_statistics: Statistik
label_commits_per_month: Commits per månad
label_commits_per_author: Commits per författare
+ label_diff: Skillnad
label_view_diff: Visa skillnader
label_diff_inline: i texten
label_diff_side_by_side: sida vid sida
@@ -749,7 +753,7 @@ sv:
label_board_new: Nytt forum
label_board_plural: Forum
label_board_locked: Låst
- label_board_sticky: Sticky
+ label_board_sticky: Viktigt
label_topic_plural: Ämnen
label_message_plural: Meddelanden
label_message_last: Senaste meddelande
@@ -796,7 +800,7 @@ sv:
label_change_properties: Ändra inställningar
label_general: Allmänt
label_more: Mer
- label_scm: SCM
+ label_scm: Versionshantering
label_plugins: Tillägg
label_ldap_authentication: LDAP-autentisering
label_downloads_abbr: Nerl.
@@ -809,6 +813,7 @@ sv:
label_incoming_emails: Inkommande mail
label_generate_key: Generera en nyckel
label_issue_watchers: Bevakare
+ label_document_watchers: Bevakare
label_example: Exempel
label_display: Visa
label_sort: Sortera
@@ -836,15 +841,35 @@ sv:
label_api_access_key_created_on: "API-nyckel skapad för %{value} sedan"
label_profile: Profil
label_subtask_plural: Underaktiviteter
+ label_subtask_add: Lägg till en underaktivitet
+ label_issue_hierarchy: Ärendehierarki
label_project_copy_notifications: Skicka mailnotifieringar när projektet kopieras
label_principal_search: "Sök efter användare eller grupp:"
label_user_search: "Sök efter användare:"
+ label_git_path: Sökväg till .git katalog
+ label_darcs_path: Rotkatalog
+ label_mercurial_path: Rotkatalog
+ label_cvs_path: CVSROOT
+ label_cvs_module: Modul
+ label_bazaar_path: Rotkatalog
+ label_filesystem_path: Rotkatalog
+ label_additional_workflow_transitions_for_assignee: Ytterligare övergångar tillåtna för tilldelad användare
+ label_additional_workflow_transitions_for_author: Ytterligare övergångar tillåtna när användaren är författaren
+ label_notify_member_plural: E-posta uppdateringar för ärende
+ label_path_encoding: Kodning av sökväg
+ label_deleted_custom_field: '(tog bort anpassat fält)'
+ label_toc: "Innehåll"
+ label_mail_handler_confirmation: "Bekräftelse inskickning via e-post: %{subject}"
+ label_mail_handler_failure: "Inskickning via e-post misslyckades: %{subject}"
+ label_mail_handler_errors_with_submission: "Det fanns fel med din inskickning via e-post:"
button_login: Logga in
button_submit: Skicka
button_save: Spara
button_check_all: Markera alla
button_uncheck_all: Avmarkera alla
+ button_collapse_all: Minimera alla
+ button_expand_all: Maximera alla
button_delete: Ta bort
button_create: Skapa
button_create_and_continue: Skapa och fortsätt
@@ -953,20 +978,27 @@ sv:
text_wiki_page_destroy_children: "Ta bort alla underliggande sidor"
text_wiki_page_reassign_children: "Flytta undersidor till denna föräldersida"
text_own_membership_delete_confirmation: "Några av, eller alla, dina behörigheter kommer att tas bort och du kanske inte längre kommer kunna göra ändringar i det här projektet.\nVill du verkligen fortsätta?"
- text_zoom_out: Zooma ut
text_zoom_in: Zooma in
+ text_zoom_out: Zooma ut
+ text_powered_by: "Powered by %{link}"
text_warn_on_leaving_unsaved: Nuvarande sida innehåller osparad text som kommer försvinna om du lämnar sidan.
-
+ text_default_encoding: "Standard: UTF-8"
+ text_mercurial_repo_example: "Lokalt arkiv (t.ex. /hgrepo, c:\\hgrepo)"
+ text_git_repo_example: "Ett lokalt bare git arkiv (t.ex. /gitrepo, c:\\gitrepo)"
+ text_display_subprojects: Visa underprojekt
+ text_current_project: Nuvarande project
+ text_mail_handler_confirmation_successful: "Din e-post har framgångsrikt lagts till på följande webbadress"
+
default_role_manager: Projektledare
default_role_developer: Utvecklare
default_role_reporter: Rapportör
- default_role_non_member: Non member
- default_role_anonymous: Anonymous
+ default_role_non_member: Icke-medlem
+ default_role_anonymous: Anonym
default_tracker_bug: Bugg
default_tracker_feature: Funktionalitet
default_tracker_support: Support
default_issue_status_new: Ny
- default_issue_status_in_progress: Pågår
+ default_issue_status_in_progress: Pågående
default_issue_status_resolved: Löst
default_issue_status_feedback: Återkoppling
default_issue_status_closed: Stängd
@@ -985,62 +1017,20 @@ sv:
enumeration_doc_categories: Dokumentkategorier
enumeration_activities: Aktiviteter (tidsuppföljning)
enumeration_system_activity: Systemaktivitet
- text_powered_by: Powered by %{link}
- label_cvs_module: Module
- label_filesystem_path: Root directory
- label_darcs_path: Root directory
- label_bazaar_path: Root directory
- label_cvs_path: CVSROOT
- label_git_path: Path to .git directory
- label_mercurial_path: Root directory
-
- label_additional_workflow_transitions_for_assignee: Additional transitions allowed when the user is the assignee
- button_expand_all: Expand all
- button_collapse_all: Collapse all
- label_additional_workflow_transitions_for_author: Additional transitions allowed when the user is the author
- field_effective_date: Due date
- label_news_comment_added: Comment added to a news
- text_default_encoding: "Default: UTF-8"
- text_git_repo_example: a bare and local repository (e.g. /gitrepo, c:\gitrepo)
- label_notify_member_plural: Email issue updates
- label_path_encoding: Path encoding
- text_mercurial_repo_example: local repository (e.g. /hgrepo, c:\hgrepo)
- label_diff: diff
- setting_issue_startdate_is_adddate: Use current date as start date for new issues
- description_search: Searchfield
- description_user_mail_notification: Mail notification settings
- description_date_range_list: Choose range from list
- description_date_to: Enter end date
- description_query_sort_criteria_attribute: Sort attribute
- description_message_content: Message content
- description_wiki_subpages_reassign: Choose new parent page
- description_available_columns: Available Columns
- description_selected_columns: Selected Columns
- description_date_range_interval: Choose range by selecting start and end date
- description_project_scope: Search scope
- description_issue_category_reassign: Choose issue category
- description_query_sort_criteria_direction: Sort direction
- description_notes: Notes
description_filter: Filter
- description_choose_project: Projects
- description_date_from: Enter start date
- label_deleted_custom_field: (deleted custom field)
- field_custom_filter: Custom LDAP filter
- text_display_subprojects: Display subprojects
- text_current_project: Current project
- label_toc: Contents
- search_input_placeholder: search ...
- setting_mail_handler_confirmation_on_success: Send confirmation email on successful incoming email
- label_mail_handler_confirmation: "Confirmation of email submission: %{subject}"
- label_mail_handler_errors_with_submission: "There were errors with your email submission:"
- label_document_watchers: Watchers
- setting_mail_handler_confirmation_on_failure: Send confirmation email on failed incoming email
- label_between: between
- label_mail_handler_failure: "Failed email submission: %{subject}"
- notice_not_authorized_action: You are not authorized to perform this action.
- text_mail_handler_confirmation_successful: Your email has been successful added at the following url
- field_issue_summary: Issue summary
- field_new_saved_query: New saved query
- field_issue_view_all_open: View all open issues
- label_subtask_add: Add a subtask
- label_issue_hierarchy: Issue hierarchy
+ description_search: Sökfält
+ description_choose_project: Projekt
+ description_project_scope: Sökomfång
+ description_notes: Noteringar
+ description_message_content: Meddelandeinnehåll
+ description_query_sort_criteria_attribute: Sorteringsattribut
+ description_query_sort_criteria_direction: Sorteringsordning
+ description_user_mail_notification: E-post notifieringsinställningar
+ description_available_columns: Tillängliga kolumner
+ description_selected_columns: Valda kolumner
+ description_issue_category_reassign: Välj ärendekategori
+ description_wiki_subpages_reassign: Välj ny huvudsida
+ description_date_range_list: Välj omfång ifrån lista
+ description_date_range_interval: Välj omfång genom att ange start- och slutdatum
+ description_date_from: Ange startdatum
+ description_date_to: Ange slutdatum
From 16947dc0161fb8341084722b240edfd13d930371 Mon Sep 17 00:00:00 2001
From: Jean-Philippe Lang
Date: Sat, 14 Apr 2012 15:01:45 +0200
Subject: [PATCH 16/55] [984] Allow to change locked and sticky status and the
board of messages
---
app/models/message.rb | 3 +--
test/functional/messages_controller_test.rb | 24 +++++++++++++++++++++
2 files changed, 25 insertions(+), 2 deletions(-)
diff --git a/app/models/message.rb b/app/models/message.rb
index 51b0b319..1619ef3b 100644
--- a/app/models/message.rb
+++ b/app/models/message.rb
@@ -41,7 +41,6 @@ class Message < ActiveRecord::Base
acts_as_watchable
- attr_protected :locked, :sticky
validates_presence_of :board, :subject, :content
validates_length_of :subject, :maximum => 255
@@ -51,7 +50,7 @@ class Message < ActiveRecord::Base
:conditions => Project.allowed_to_condition(args.first || User.current, :view_messages) } }
safe_attributes 'subject', 'content'
- safe_attributes 'locked', 'sticky',
+ safe_attributes 'locked', 'sticky', 'board_id',
:if => lambda {|message, user|
user.allowed_to?(:edit_messages, message.project)
}
diff --git a/test/functional/messages_controller_test.rb b/test/functional/messages_controller_test.rb
index fecc5e26..b92bcc0b 100644
--- a/test/functional/messages_controller_test.rb
+++ b/test/functional/messages_controller_test.rb
@@ -121,6 +121,30 @@ class MessagesControllerTest < ActionController::TestCase
assert_equal 'New body', message.content
end
+ def test_post_edit_sticky_and_locked
+ @request.session[:user_id] = 2
+ post :edit, :board_id => 1, :id => 1,
+ :message => { :subject => 'New subject',
+ :content => 'New body',
+ :locked => '1',
+ :sticky => '1'}
+ assert_redirected_to '/boards/1/topics/1'
+ message = Message.find(1)
+ assert_equal true, message.sticky?
+ assert_equal true, message.locked?
+ end
+
+ def test_post_edit_should_allow_to_change_board
+ @request.session[:user_id] = 2
+ post :edit, :board_id => 1, :id => 1,
+ :message => { :subject => 'New subject',
+ :content => 'New body',
+ :board_id => 2}
+ assert_redirected_to '/boards/2/topics/1'
+ message = Message.find(1)
+ assert_equal Board.find(2), message.board
+ end
+
def test_reply
@request.session[:user_id] = 2
post :reply, :board_id => 1, :id => 1, :reply => { :content => 'This is a test reply', :subject => 'Test reply' }
From 75bb38df08f8a1916f976e716a881369dfc48986 Mon Sep 17 00:00:00 2001
From: Eric Davis
Date: Mon, 16 Apr 2012 09:25:35 -0700
Subject: [PATCH 17/55] Require WikiContent directly so WikiContentJournal is
loaded before it's patched.
Error: uninitialized constant MergeWikiVersionsWithJournals::WikiContentJournal
---
db/migrate/20100804112053_merge_wiki_versions_with_journals.rb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/db/migrate/20100804112053_merge_wiki_versions_with_journals.rb b/db/migrate/20100804112053_merge_wiki_versions_with_journals.rb
index fd82e71f..2c91b69b 100644
--- a/db/migrate/20100804112053_merge_wiki_versions_with_journals.rb
+++ b/db/migrate/20100804112053_merge_wiki_versions_with_journals.rb
@@ -12,6 +12,8 @@
# See doc/COPYRIGHT.rdoc for more details.
#++
+require 'wiki_content'
+
class MergeWikiVersionsWithJournals < ActiveRecord::Migration
# This is provided here for migrating up after the WikiContent::Version class has been removed
class WikiContent < ActiveRecord::Base
From 03dfae0529dc98e1ef7a66beb974c0e1225b8c51 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Sch=C3=A4fer?=
Date: Sat, 28 Apr 2012 15:52:29 +0200
Subject: [PATCH 18/55] ChiliProject on Travis <3 <3 <3
---
.travis.yml | 25 +++++++++++++++++++++++++
Gemfile | 2 ++
lib/tasks/ci.rake | 35 +++++++++++++++++++++++++++++++++++
3 files changed, 62 insertions(+)
create mode 100644 .travis.yml
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 00000000..fab926dd
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,25 @@
+language: ruby
+rvm:
+ - 1.8.7
+ - 1.9.2
+ - 1.9.3
+env:
+ - "RAILS_ENV=test DB=mysql BUNDLE_WITHOUT=rmagick:mysql2:postgres:sqlite"
+ - "RAILS_ENV=test DB=mysql2 BUNDLE_WITHOUT=rmagick:mysql:postgres:sqlite"
+ - "RAILS_ENV=test DB=postgres BUNDLE_WITHOUT=rmagick:mysql:mysql2:sqlite"
+ - "RAILS_ENV=test DB=sqlite BUNDLE_WITHOUT=rmagick:mysql:mysql2:postgres"
+matrix:
+ exclude:
+ - rvm: 1.9.2
+ env: "RAILS_ENV=test DB=mysql BUNDLE_WITHOUT=rmagick:mysql2:postgres:sqlite"
+ - rvm: 1.9.3
+ env: "RAILS_ENV=test DB=mysql BUNDLE_WITHOUT=rmagick:mysql2:postgres:sqlite"
+before_script:
+ - "sudo apt-get -qq update"
+ - "sudo apt-get -qq --no-install-recommends install bzr cvs darcs git mercurial subversion"
+ - "rake ci:travis:prepare"
+branches:
+ only:
+ - master
+notifications:
+ email: false
diff --git a/Gemfile b/Gemfile
index 03820dea..f6c804d1 100644
--- a/Gemfile
+++ b/Gemfile
@@ -15,6 +15,8 @@ gem "tzinfo", "~> 0.3.31" # Fixes #903. Not required for Rails >= 3.2
group :test do
gem 'shoulda', '~> 2.10.3'
+ # Shoulda doesn't work nice on 1.9.3 and seems to need test-unit explicitely…
+ gem 'test-unit', :platforms => [:mri_19]
gem 'edavis10-object_daddy', :require => 'object_daddy'
gem 'mocha'
gem 'capybara'
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake
index 320d831f..cd18ea73 100644
--- a/lib/tasks/ci.rake
+++ b/lib/tasks/ci.rake
@@ -24,6 +24,41 @@ end
# Tasks can be hooked into by redefining them in a plugin
namespace :ci do
+ namespace :travis do
+ desc "Prepare a TRAVIS run"
+ task :prepare do
+ ENV['RAILS_ENV'] = 'test'
+ RAILS_ENV = 'test'
+
+ database_yml = {"database" => "chiliproject_test"}
+ database_yml.merge! case ENV['DB']
+ when 'mysql'
+ {"adapter" => "mysql", "username" => "root"}
+ when 'mysql2'
+ {"adapter" => "mysql2", "username" => "root"}
+ when 'postgres'
+ {"adapter" => "postgresql", "username" => "postgres"}
+ when 'sqlite'
+ {"adapter" => "sqlite3", "database" => "db/test.sqlite3"}
+ end
+
+ File.open("config/database.yml", 'w') do |f|
+ YAML.dump({"test" => database_yml}, f)
+ end
+
+ Rake::Task["generate_session_store"].invoke
+
+ # Create and migrate the database
+ Rake::Task["db:create"].invoke
+ Rake::Task["db:migrate"].invoke
+ Rake::Task["db:migrate:plugins"].invoke
+ Rake::Task["db:schema:dump"].invoke
+
+ # Create test repositories
+ Rake::Task["test:scm:setup:all"].invoke
+ end
+ end
+
desc "Setup Redmine for a new build."
task :setup do
Rake::Task["ci:dump_environment"].invoke
From 6a26543887db94221023189231e1214258241b46 Mon Sep 17 00:00:00 2001
From: tmaruyama
Date: Fri, 10 Jun 2011 07:06:11 +0000
Subject: [PATCH 19/55] scm: mercurial: fix unit adapter annotate test fails on
Windows Mercurial 1.8.4+29-e597ef52a7c2.
git-svn-id: svn://rubyforge.org/var/svn/redmine/trunk@6042 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
lib/redmine/scm/adapters/mercurial_adapter.rb | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/redmine/scm/adapters/mercurial_adapter.rb b/lib/redmine/scm/adapters/mercurial_adapter.rb
index c119e086..98633d3c 100644
--- a/lib/redmine/scm/adapters/mercurial_adapter.rb
+++ b/lib/redmine/scm/adapters/mercurial_adapter.rb
@@ -271,7 +271,8 @@ module Redmine
end
blame
rescue HgCommandAborted
- nil # means not found or cannot be annotated
+ # means not found or cannot be annotated
+ Annotate.new
end
class Revision < Redmine::Scm::Adapters::Revision
From d4f0542e743c1219c58fbeca8f3422ea27d6a1de Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Sch=C3=A4fer?=
Date: Mon, 14 May 2012 12:39:17 +0200
Subject: [PATCH 20/55] Don't rely on ordering in news_test
The tests would fail because not all storage backends have a default
ordering
---
test/unit/news_test.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/unit/news_test.rb b/test/unit/news_test.rb
index 2d00952e..d2178283 100644
--- a/test/unit/news_test.rb
+++ b/test/unit/news_test.rb
@@ -17,7 +17,7 @@ class NewsTest < ActiveSupport::TestCase
fixtures :projects, :users, :roles, :members, :member_roles, :enabled_modules, :news
def valid_news
- { :title => 'Test news', :description => 'Lorem ipsum etc', :author => User.find(:first) }
+ { :title => 'Test news', :description => 'Lorem ipsum etc', :author => users(:users_001) }
end
@@ -28,7 +28,7 @@ class NewsTest < ActiveSupport::TestCase
def test_create_should_send_email_notification
ActionMailer::Base.deliveries.clear
Setting.notified_events = Setting.notified_events.dup << 'news_added'
- news = Project.find(:first).news.new(valid_news)
+ news = projects(:projects_001).news.new(valid_news)
assert news.save
assert_equal 2, ActionMailer::Base.deliveries.size
From 7930e8fa66354900589e696356d85261cde02836 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Sch=C3=A4fer?=
Date: Mon, 14 May 2012 14:18:52 +0200
Subject: [PATCH 21/55] Also test stable and unstable branches on TravisCI
---
.travis.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index fab926dd..f1a152d6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,6 +20,8 @@ before_script:
- "rake ci:travis:prepare"
branches:
only:
+ - unstable
- master
+ - stable
notifications:
email: false
From 3e84c4817b564e866bcbe795c2132908123acaf3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Sch=C3=A4fer?=
Date: Fri, 18 May 2012 22:02:40 +0200
Subject: [PATCH 22/55] =?UTF-8?q?Updated=20czech=20localization=20by=20Rad?=
=?UTF-8?q?ek=20T=C5=99=C3=AD=C5=A1ka?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
config/locales/cs.yml | 785 +++++++++++++++---------------------------
1 file changed, 283 insertions(+), 502 deletions(-)
diff --git a/config/locales/cs.yml b/config/locales/cs.yml
index 5325bbd6..7feb2141 100644
--- a/config/locales/cs.yml
+++ b/config/locales/cs.yml
@@ -2,6 +2,7 @@
# Updated by Josef Liška
# CZ translation by Maxim Krušina | Massimo Filippi, s.r.o. | maxim@mxm.cz
# Based on original CZ translation by Jan Kadleček
+# Reviewed by Václav Klimeš
cs:
# Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
direction: ltr
@@ -10,16 +11,16 @@ cs:
# Use the strftime parameters for formats.
# When no format has been given, it uses default.
# You can provide other formats here if you like!
- default: "%Y-%m-%d"
- short: "%b %d"
- long: "%B %d, %Y"
+ default: "%d.%m.%Y"
+ short: "%d.%m."
+ long: "%d. %B %Y"
- day_names: [Neděle, Pondělí, Úterý, Středa, Čtvrtek, Pátek, Sobota]
+ day_names: [neděle, pondělí, úterý, středa, čtvrtek, pátek, sobota]
abbr_day_names: [Ne, Po, Út, St, Čt, Pá, So]
# Don't forget the nil at the beginning; there's no such thing as a 0th month
- month_names: [~, Leden, Únor, Březen, Duben, Květen, Červen, Červenec, Srpen, Září, Říjen, Listopad, Prosinec]
- abbr_month_names: [~, Led, Úno, Bře, Dub, Kvě, Čer, Čec, Srp, Zář, Říj, Lis, Pro]
+ month_names: [~, leden, únor, březen, duben, květen, červen, červenec, srpen, září, říjen, listopad, prosinec]
+ abbr_month_names: [~, led, úno, bře, dub, kvě, čvn, čvc, srp, zář, říj, lis, pro]
# Used in date_select and datime_select.
order:
- :year
@@ -28,10 +29,10 @@ cs:
time:
formats:
- default: "%a, %d %b %Y %H:%M:%S %z"
+ default: "%m.%d.%Y %H:%M"
time: "%H:%M"
- short: "%d %b %H:%M"
- long: "%B %d, %Y %H:%M"
+ short: "%d.%m. %H:%M"
+ long: "%d. %B %Y %H:%M"
am: "dop."
pm: "odp."
@@ -40,37 +41,37 @@ cs:
half_a_minute: "půl minuty"
less_than_x_seconds:
one: "méně než sekunda"
- other: "méně než %{count} sekund"
+ other: "méně než %{count} sekund(y)"
x_seconds:
one: "1 sekunda"
- other: "%{count} sekund"
+ other: "%{count} sekund(y)"
less_than_x_minutes:
one: "méně než minuta"
- other: "méně než %{count} minut"
+ other: "méně než %{count} minut(y)"
x_minutes:
one: "1 minuta"
- other: "%{count} minut"
+ other: "%{count} minut(y)"
about_x_hours:
one: "asi 1 hodina"
- other: "asi %{count} hodin"
+ other: "asi %{count} hodin(y)"
x_days:
one: "1 den"
- other: "%{count} dnů"
+ other: "%{count} dnů(-y)"
about_x_months:
one: "asi 1 měsíc"
- other: "asi %{count} měsíců"
+ other: "asi %{count} měsíců(-e)"
x_months:
one: "1 měsíc"
- other: "%{count} měsíců"
+ other: "%{count} měsíců(-e)"
about_x_years:
one: "asi 1 rok"
- other: "asi %{count} let"
+ other: "asi %{count} roky(-ů)"
over_x_years:
one: "více než 1 rok"
- other: "více než %{count} roky"
+ other: "více než %{count} roky(-ů)"
almost_x_years:
one: "témeř 1 rok"
- other: "téměř %{count} roky"
+ other: "téměř %{count} roky(-ů)"
number:
# Výchozí formát pro čísla
@@ -86,8 +87,8 @@ cs:
format: "%n %u"
units:
byte:
- one: "Bajt"
- other: "Bajtů"
+ one: "bajt"
+ other: "bajtů"
kb: "kB"
mb: "MB"
gb: "GB"
@@ -98,14 +99,14 @@ cs:
support:
array:
sentence_connector: "a"
- skip_last_comma: false
+ skip_last_comma: true
activerecord:
errors:
template:
header:
- one: "1 chyba zabránila uložení %{model}"
- other: "%{count} chyb zabránilo uložení %{model}"
+ one: "uložení %{model} zabránila 1 chyba"
+ other: "uložení %{model} zabránilo(-y) %{count} chyb(y)"
messages:
inclusion: "není zahrnuto v seznamu"
exclusion: "je rezervováno"
@@ -114,9 +115,9 @@ cs:
accepted: "musí být akceptováno"
empty: "nemůže být prázdný"
blank: "nemůže být prázdný"
- too_long: "je příliš dlouhý"
- too_short: "je příliš krátký"
- wrong_length: "má chybnou délku"
+ too_long: "je příliš dlouhý (maximum je %{count} znaků)"
+ too_short: "je příliš krátký (minimum je %{count} znaků)"
+ wrong_length: "má chybnou délku (má mít %{count} znaků)"
taken: "je již použito"
not_a_number: "není číslo"
not_a_date: "není platné datum"
@@ -124,15 +125,15 @@ cs:
greater_than_or_equal_to: "musí být větší nebo rovno %{count}"
equal_to: "musí být přesně %{count}"
less_than: "musí být méně než %{count}"
- less_than_or_equal_to: "musí být méně nebo rovno %{count}"
+ less_than_or_equal_to: "musí být menší nebo rovno %{count}"
odd: "musí být liché"
even: "musí být sudé"
greater_than_start_date: "musí být větší než počáteční datum"
not_same_project: "nepatří stejnému projektu"
circular_dependency: "Tento vztah by vytvořil cyklickou závislost"
- cant_link_an_issue_with_a_descendant: "Úkol nemůže být spojen s jedním z jeho dílčích úkolů"
+ cant_link_an_issue_with_a_descendant: "Úkol nemůže být spojen s jedním z jeho podúkolů"
- actionview_instancetag_blank_option: Prosím vyberte
+ actionview_instancetag_blank_option: Vyberte, prosím
general_text_No: 'Ne'
general_text_Yes: 'Ano'
@@ -149,66 +150,66 @@ cs:
notice_account_invalid_creditentials: Chybné jméno nebo heslo
notice_account_password_updated: Heslo bylo úspěšně změněno.
notice_account_wrong_password: Chybné heslo
- notice_account_register_done: Účet byl úspěšně vytvořen. Pro aktivaci účtu klikněte na odkaz v emailu, který vám byl zaslán.
+ notice_account_register_done: Účet byl úspěšně vytvořen. Pro aktivaci účtu klikněte na odkaz v e-mailu, který vám byl zaslán.
notice_account_unknown_email: Neznámý uživatel.
notice_can_t_change_password: Tento účet používá externí autentifikaci. Zde heslo změnit nemůžete.
- notice_account_lost_email_sent: Byl vám zaslán email s intrukcemi jak si nastavíte nové heslo.
+ notice_account_lost_email_sent: Byl vám zaslán e-mail s instrukcemi, jak si nastavíte nové heslo.
notice_account_activated: Váš účet byl aktivován. Nyní se můžete přihlásit.
notice_successful_create: Úspěšně vytvořeno.
notice_successful_update: Úspěšně aktualizováno.
notice_successful_delete: Úspěšně odstraněno.
- notice_successful_connection: Úspěšné připojení.
- notice_file_not_found: Stránka na kterou se snažíte zobrazit neexistuje nebo byla smazána.
+ notice_successful_connection: Úspěšně připojeno.
+ notice_file_not_found: Stránka, kterou se snažíte zobrazit, neexistuje nebo byla odstraněna.
notice_locking_conflict: Údaje byly změněny jiným uživatelem.
- notice_not_authorized: Nemáte dostatečná práva pro zobrazení této stránky.
- notice_not_authorized_archived_project: Projekt ke kterému se snažíte přistupovat byl archivován.
- notice_email_sent: "Na adresu %{value} byl odeslán email"
- notice_email_error: "Při odesílání emailu nastala chyba (%{value})"
+ notice_not_authorized: Pro zobrazení této stránky nemáte dostatečná práva.
+ notice_not_authorized_archived_project: Projekt, ke kterému se snažíte přistupovat, je archivován.
+ notice_email_sent: "Na adresu %{value} byl odeslán e-mail"
+ notice_email_error: "Při odesílání e-mailu nastala chyba (%{value})"
notice_feeds_access_key_reseted: Váš klíč pro přístup k RSS byl resetován.
- notice_api_access_key_reseted: Váš API přístupový klíč byl resetován.
+ notice_api_access_key_reseted: Váš přístupový klíč API byl resetován.
notice_failed_to_save_issues: "Chyba při uložení %{count} úkolu(ů) z %{total} vybraných: %{ids}."
notice_failed_to_save_members: "Nepodařilo se uložit člena(y): %{errors}."
- notice_no_issue_selected: "Nebyl zvolen žádný úkol. Prosím, zvolte úkoly, které chcete editovat"
+ notice_no_issue_selected: "Nebyl zvolen žádný úkol. Prosím, zvolte úkoly, které chcete upravit."
notice_account_pending: "Váš účet byl vytvořen, nyní čeká na schválení administrátorem."
notice_default_data_loaded: Výchozí konfigurace úspěšně nahrána.
- notice_unable_delete_version: Nemohu odstanit verzi
+ notice_unable_delete_version: Nemohu smazat verzi.
notice_unable_delete_time_entry: Nelze smazat čas ze záznamu.
notice_issue_done_ratios_updated: Koeficienty dokončení úkolu byly aktualizovány.
- notice_gantt_chart_truncated: Graf byl oříznut, počet položek přesáhl limit pro zobrazení (%{max})
+ notice_gantt_chart_truncated: "Graf byl oříznut, protože počet jeho položek přesáhl limit pro zobrazení (%{max})"
error_can_t_load_default_data: "Výchozí konfigurace nebyla nahrána: %{value}"
- error_scm_not_found: "Položka a/nebo revize neexistují v repozitáři."
- error_scm_command_failed: "Při pokusu o přístup k repozitáři došlo k chybě: %{value}"
+ error_scm_not_found: "V úložišti neexistuje tato položka nebo revize."
+ error_scm_command_failed: "Při pokusu o přístup k úložišti nastala chyba: %{value}"
error_scm_annotate: "Položka neexistuje nebo nemůže být komentována."
error_issue_not_found_in_project: 'Úkol nebyl nalezen nebo nepatří k tomuto projektu'
- error_no_tracker_in_project: Žádná fronta nebyla přiřazena tomuto projektu. Prosím zkontroluje nastavení projektu.
+ error_no_tracker_in_project: Tomuto projektu nebyla přiřazena žádná fronta. Prosím, zkontroluje nastavení projektu.
error_no_default_issue_status: Není nastaven výchozí stav úkolu. Prosím zkontrolujte nastavení ("Administrace -> Stavy úkolů").
error_can_not_delete_custom_field: Nelze smazat volitelné pole
- error_can_not_delete_tracker: Tato fronta obsahuje úkoly a nemůže být smazán.
- error_can_not_remove_role: Tato role je právě používaná a nelze ji smazat.
+ error_can_not_delete_tracker: Tato fronta obsahuje úkoly a nelze ji smazat.
+ error_can_not_remove_role: Tato role se právě používá a nelze ji smazat.
error_can_not_reopen_issue_on_closed_version: Úkol přiřazený k uzavřené verzi nemůže být znovu otevřen
error_can_not_archive_project: Tento projekt nemůže být archivován
error_issue_done_ratios_not_updated: Koeficient dokončení úkolu nebyl aktualizován.
- error_workflow_copy_source: Prosím vyberte zdrojovou frontu nebo roly
- error_workflow_copy_target: Prosím vyberte cílovou frontu(y) a roly(e)
- error_unable_delete_issue_status: Nelze smazat stavy úkolů
+ error_workflow_copy_source: Prosím vyberte zdrojovou frontu nebo roli
+ error_workflow_copy_target: Prosím vyberte cílovou frontu(y) a roli(e)
+ error_unable_delete_issue_status: Nelze smazat stav úkolu
error_unable_to_connect: Nelze se připojit (%{value})
warning_attachments_not_saved: "%{count} soubor(ů) nebylo možné uložit."
mail_subject_lost_password: "Vaše heslo (%{value})"
- mail_body_lost_password: 'Pro změnu vašeho hesla klikněte na následující odkaz:'
+ mail_body_lost_password: 'Pro změnu svého hesla klikněte na následující odkaz:'
mail_subject_register: "Aktivace účtu (%{value})"
- mail_body_register: 'Pro aktivaci vašeho účtu klikněte na následující odkaz:'
- mail_body_account_information_external: "Pomocí vašeho účtu %{value} se můžete přihlásit."
+ mail_body_register: 'Pro aktivaci svého účtu klikněte na následující odkaz:'
+ mail_body_account_information_external: "Můžete se přihlásit pomocí svého účtu %{value}."
mail_body_account_information: Informace o vašem účtu
- mail_subject_account_activation_request: "Aktivace %{value} účtu"
- mail_body_account_activation_request: "Byl zaregistrován nový uživatel %{value}. Aktivace jeho účtu závisí na vašem potvrzení."
- mail_subject_reminder: "%{count} úkol(ů) má termín během několik dní (%{days})"
- mail_body_reminder: "%{count} úkol(ů), které máte přiřazeny má termín během několik dní (%{days}):"
- mail_subject_wiki_content_added: "'%{id}' Wiki stránka byla přidána"
- mail_body_wiki_content_added: "'%{id}' Wiki stránka byla přidána od %{author}."
- mail_subject_wiki_content_updated: "'%{id}' Wiki stránka byla aktualizována"
- mail_body_wiki_content_updated: "'%{id}' Wiki stránka byla aktualizována od %{author}."
+ mail_subject_account_activation_request: "Žádost o aktivaci %{value} účtu"
+ mail_body_account_activation_request: "Zaregistroval se nový uživatel %{value}. Aktivace jeho účtu závisí na vašem potvrzení."
+ mail_subject_reminder: "%{count} úkol(ů) má termín během následujících %{days} dnů "
+ mail_body_reminder: "%{count} úkol(ů), které máte přiřazeny, má termín během následujících %{days} dnů:"
+ mail_subject_wiki_content_added: "Byla přidána wiki stránka '%{id}'"
+ mail_body_wiki_content_added: "'Wiki stránka '%{id}' byla přidána uživatelem %{author}."
+ mail_subject_wiki_content_updated: "Byla aktualizována wiki stránka '%{id}'"
+ mail_body_wiki_content_updated: "'Wiki stránka '%{id}' byla aktualizována uživatelem %{author}."
gui_validation_error: 1 chyba
gui_validation_error_plural: "%{count} chyb(y)"
@@ -219,7 +220,7 @@ cs:
field_is_required: Povinné pole
field_firstname: Jméno
field_lastname: Příjmení
- field_mail: Email
+ field_mail: E-mailová adresa
field_filename: Soubor
field_filesize: Velikost
field_downloads: Staženo
@@ -240,11 +241,11 @@ cs:
field_status: Stav
field_notes: Poznámka
field_is_closed: Úkol uzavřen
- field_is_default: Výchozí stav
+ field_is_default: Výchozí hodnota
field_tracker: Fronta
field_subject: Předmět
field_due_date: Uzavřít do
- field_assigned_to: Přiřazeno
+ field_assigned_to: Přiřazeno komu
field_priority: Priorita
field_fixed_version: Cílová verze
field_user: Uživatel
@@ -253,30 +254,31 @@ cs:
field_homepage: Domovská stránka
field_is_public: Veřejný
field_parent: Nadřazený projekt
- field_is_in_roadmap: Úkoly zobrazené v plánu
- field_login: Přihlášení
- field_mail_notification: Emailová oznámení
+ field_is_in_roadmap: Úkoly zobrazeny v plánu
+ field_login: Přihlašovací jméno
+ field_mail_notification: E-mailová oznámení
field_admin: Administrátor
field_last_login_on: Poslední přihlášení
field_language: Jazyk
+ field_effective_date: Datum splnění
field_password: Heslo
field_new_password: Nové heslo
field_password_confirmation: Potvrzení
field_version: Verze
field_type: Typ
- field_host: Host
+ field_host: Hostitel
field_port: Port
field_account: Účet
field_base_dn: Base DN
field_attr_login: Přihlášení (atribut)
field_attr_firstname: Jméno (atribut)
- field_attr_lastname: Příjemní (atribut)
- field_attr_mail: Email (atribut)
+ field_attr_lastname: Příjmení (atribut)
+ field_attr_mail: E-mail (atribut)
field_onthefly: Automatické vytváření uživatelů
field_start_date: Začátek
- field_done_ratio: "% Hotovo"
+ field_done_ratio: "% hotovo"
field_auth_source: Autentifikační mód
- field_hide_mail: Nezobrazovat můj email
+ field_hide_mail: Nezobrazovat můj e-mail
field_comments: Komentář
field_url: URL
field_start_page: Výchozí stránka
@@ -288,7 +290,7 @@ cs:
field_is_filter: Použít jako filtr
field_issue_to: Související úkol
field_delay: Zpoždění
- field_assignable: Úkoly mohou být přiřazeny této roli
+ field_assignable: Této roli mohou být přiřazeny úkoly
field_redirect_existing_links: Přesměrovat stvávající odkazy
field_estimated_hours: Odhadovaná doba
field_column_names: Sloupce
@@ -299,16 +301,21 @@ cs:
field_comments_sorting: Zobrazit komentáře
field_parent_title: Rodičovská stránka
field_editable: Editovatelný
- field_watcher: Sleduje
+ field_watcher: Pozorovatel
field_identity_url: OpenID URL
field_content: Obsah
field_group_by: Seskupovat výsledky podle
field_sharing: Sdílení
field_parent_issue: Rodičovský úkol
- field_member_of_group: Skupina přiřaditele
- field_assigned_to_role: Role přiřaditele
+ field_member_of_group: Skupina přiřazeného
+ field_assigned_to_role: Role přiřazeného
field_text: Textové pole
field_visible: Viditelný
+ field_warn_on_leaving_unsaved: Upozornit, pokud opouštím stránku s neuloženým textem
+ field_custom_filter: Volitelný filtr LDAP
+ field_issue_summary: Přehled úkolu
+ field_new_saved_query: Nový uložený dotaz
+ field_issue_view_all_open: Všechny otevřené úkoly
setting_app_title: Název aplikace
setting_app_subtitle: Podtitulek aplikace
@@ -318,16 +325,16 @@ cs:
setting_self_registration: Povolena automatická registrace
setting_attachment_max_size: Maximální velikost přílohy
setting_issues_export_limit: Limit pro export úkolů
- setting_mail_from: Odesílat emaily z adresy
- setting_bcc_recipients: Příjemci skryté kopie (bcc)
- setting_plain_text_mail: pouze prostý text (ne HTML)
- setting_host_name: Jméno serveru
+ setting_mail_from: Odesílat e-maily z adresy
+ setting_bcc_recipients: Příjemci skryté kopie (Bcc)
+ setting_plain_text_mail: Pouze prostý text (ne HTML)
+ setting_host_name: Jméno a cesta serveru
setting_text_formatting: Formátování textu
- setting_wiki_compression: Komprese historie Wiki
+ setting_wiki_compression: Komprese historie wiki
setting_feeds_limit: Limit obsahu příspěvků
setting_default_projects_public: Nové projekty nastavovat jako veřejné
setting_autofetch_changesets: Automaticky stahovat commity
- setting_sys_api_enabled: Povolit WS pro správu repozitory
+ setting_sys_api_enabled: Povolit WS pro správu úložišť
setting_commit_ref_keywords: Klíčová slova pro odkazy
setting_commit_fix_keywords: Klíčová slova pro uzavření
setting_autologin: Automatické přihlašování
@@ -335,12 +342,12 @@ cs:
setting_time_format: Formát času
setting_cross_project_issue_relations: Povolit vazby úkolů napříč projekty
setting_issue_list_default_columns: Výchozí sloupce zobrazené v seznamu úkolů
- setting_repositories_encodings: Kódování
+ setting_repositories_encodings: Kódování úložišť
setting_commit_logs_encoding: Kódování zpráv při commitu
- setting_emails_header: Hlavička emailů
- setting_emails_footer: Patička emailů
+ setting_emails_header: Hlavička e-mailů
+ setting_emails_footer: Zápatí e-mailů
setting_protocol: Protokol
- setting_per_page_options: Povolené počty řádků na stránce
+ setting_per_page_options: Volby počtu řádků na stránce
setting_user_format: Formát zobrazení uživatele
setting_activity_days_default: Dny zobrazené v činnosti projektu
setting_display_subprojects_issues: Automaticky zobrazit úkoly podprojektu v hlavním projektu
@@ -350,80 +357,83 @@ cs:
setting_mail_handler_api_key: API klíč
setting_sequential_project_identifiers: Generovat sekvenční identifikátory projektů
setting_gravatar_enabled: Použít uživatelské ikony Gravatar
- setting_gravatar_default: Výchozí Gravatar
- setting_diff_max_lines_displayed: Maximální počet zobrazenách řádků rozdílů
+ setting_gravatar_default: Výchozí obrázek Gravatar
+ setting_diff_max_lines_displayed: Maximální počet zobrazených řádků rozdílů
setting_file_max_size_displayed: Maximální velikost textových souborů zobrazených přímo na stránce
setting_repository_log_display_limit: Maximální počet revizí zobrazených v logu souboru
- setting_openid: Umožnit přihlašování a registrace s OpenID
+ setting_openid: Umožnit přihlašování a registraci s OpenID
setting_password_min_length: Minimální délka hesla
setting_new_project_user_role_id: Role přiřazená uživateli bez práv administrátora, který projekt vytvořil
setting_default_projects_modules: Výchozí zapnutné moduly pro nový projekt
- setting_issue_done_ratio: Spočítat koeficient dokončení úkolu s
- setting_issue_done_ratio_issue_field: Použít pole úkolu
- setting_issue_done_ratio_issue_status: Použít stav úkolu
+ setting_issue_done_ratio: Spočítat koeficient dokončení úkolu za použití
+ setting_issue_done_ratio_issue_field: Pole úkolu
+ setting_issue_done_ratio_issue_status: Stav úkolu
setting_start_of_week: Začínat kalendáře
setting_rest_api_enabled: Zapnout službu REST
setting_cache_formatted_text: Ukládat formátovaný text do vyrovnávací paměti
setting_default_notification_option: Výchozí nastavení oznámení
setting_commit_logtime_enabled: Povolit zapisování času
setting_commit_logtime_activity_id: Aktivita pro zapsaný čas
- setting_gantt_items_limit: Maximální počet položek zobrazený na ganttově grafu
+ setting_gantt_items_limit: Maximální počet položek zobrazených v Ganttově grafu
+ setting_issue_startdate_is_adddate: Pro nové úkoly použij aktuální datum jako počáteční
+ setting_mail_handler_confirmation_on_success: Při úspěšném příchodu e-mailu pošli potvrzující e-mail
+ setting_mail_handler_confirmation_on_failure: Při neúspěšném příchodu e-mailu pošli potvrzující e-mail
- permission_add_project: Vytvořit projekt
- permission_add_subprojects: Vytvořit podprojekty
- permission_edit_project: Úprava projektů
+ permission_add_project: Vytvoření projektu
+ permission_add_subprojects: Vytvoření podprojektů
+ permission_edit_project: Úprava projektu
permission_select_project_modules: Výběr modulů projektu
- permission_manage_members: Spravování členství
- permission_manage_project_activities: Spravovat aktivity projektu
- permission_manage_versions: Spravování verzí
- permission_manage_categories: Spravování kategorií úkolů
- permission_view_issues: Zobrazit úkoly
+ permission_manage_members: Správa členství
+ permission_manage_project_activities: Správa aktivit projektu
+ permission_manage_versions: Správa verzí
+ permission_manage_categories: Správa kategorií úkolů
+ permission_view_issues: Zobrazení úkoly
permission_add_issues: Přidávání úkolů
- permission_edit_issues: Upravování úkolů
- permission_manage_issue_relations: Spravování vztahů mezi úkoly
+ permission_edit_issues: Úprava úkolů
+ permission_manage_issue_relations: Správa vztahů mezi úkoly
permission_add_issue_notes: Přidávání poznámek
- permission_edit_issue_notes: Upravování poznámek
- permission_edit_own_issue_notes: Upravování vlastních poznámek
+ permission_edit_issue_notes: Úprava poznámek
+ permission_edit_own_issue_notes: Úprava vlastních poznámek
permission_move_issues: Přesouvání úkolů
permission_delete_issues: Mazání úkolů
permission_manage_public_queries: Správa veřejných dotazů
permission_save_queries: Ukládání dotazů
- permission_view_gantt: Zobrazené Ganttova diagramu
+ permission_view_gantt: Zobrazení Ganttova grafu
permission_view_calendar: Prohlížení kalendáře
- permission_view_issue_watchers: Zobrazení seznamu sledujícíh uživatelů
- permission_add_issue_watchers: Přidání sledujících uživatelů
- permission_delete_issue_watchers: Smazat přihlížející
+ permission_view_issue_watchers: Zobrazení seznamu pozorovatelů
+ permission_add_issue_watchers: Přidání pozorovatelů
+ permission_delete_issue_watchers: Smazání pozorovatelů
permission_log_time: Zaznamenávání stráveného času
permission_view_time_entries: Zobrazení stráveného času
- permission_edit_time_entries: Upravování záznamů o stráveném času
- permission_edit_own_time_entries: Upravování vlastních zázamů o stráveném čase
- permission_manage_news: Spravování novinek
+ permission_edit_time_entries: Úprava záznamů o stráveném čase
+ permission_edit_own_time_entries: Úprava vlastních zázamů o stráveném čase
+ permission_manage_news: Správa novinek
permission_comment_news: Komentování novinek
permission_manage_documents: Správa dokumentů
permission_view_documents: Prohlížení dokumentů
- permission_manage_files: Spravování souborů
+ permission_manage_files: Správa souborů
permission_view_files: Prohlížení souborů
- permission_manage_wiki: Spravování Wiki
- permission_rename_wiki_pages: Přejmenovávání Wiki stránek
- permission_delete_wiki_pages: Mazání stránek na Wiki
- permission_view_wiki_pages: Prohlížení Wiki
- permission_view_wiki_edits: Prohlížení historie Wiki
- permission_edit_wiki_pages: Upravování stránek Wiki
+ permission_manage_wiki: Správa wiki
+ permission_rename_wiki_pages: Přejmenovávání stránek wiki
+ permission_delete_wiki_pages: Mazání stránek wiki
+ permission_view_wiki_pages: Prohlížení wiki
+ permission_view_wiki_edits: Prohlížení historie wiki
+ permission_edit_wiki_pages: Upravování stránek wiki
permission_delete_wiki_pages_attachments: Mazání příloh
- permission_protect_wiki_pages: Zabezpečení Wiki stránek
- permission_manage_repository: Spravování repozitáře
- permission_browse_repository: Procházení repozitáře
+ permission_protect_wiki_pages: Zabezpečení stránek wiki
+ permission_manage_repository: Spravování úložiště
+ permission_browse_repository: Procházení úložiště
permission_view_changesets: Zobrazování sady změn
permission_commit_access: Commit přístup
permission_manage_boards: Správa diskusních fór
permission_view_messages: Prohlížení zpráv
permission_add_messages: Posílání zpráv
- permission_edit_messages: Upravování zpráv
- permission_edit_own_messages: Upravit vlastní zprávy
+ permission_edit_messages: Úprava zpráv
+ permission_edit_own_messages: Úprava vlastních zpráv
permission_delete_messages: Mazání zpráv
- permission_delete_own_messages: Smazat vlastní zprávy
- permission_export_wiki_pages: Exportovat Wiki stránky
- permission_manage_subtasks: Spravovat podúkoly
+ permission_delete_own_messages: Mazání vlastních zpráv
+ permission_export_wiki_pages: Export stránek wiki
+ permission_manage_subtasks: Správa podúkolů
project_module_issue_tracking: Sledování úkolů
project_module_time_tracking: Sledování času
@@ -431,10 +441,10 @@ cs:
project_module_documents: Dokumenty
project_module_files: Soubory
project_module_wiki: Wiki
- project_module_repository: Repozitář
+ project_module_repository: Úložiště
project_module_boards: Diskuse
project_module_calendar: Kalendář
- project_module_gantt: Gantt
+ project_module_gantt: Ganttův graf
label_user: Uživatel
label_user_plural: Uživatelé
@@ -452,10 +462,10 @@ cs:
label_issue: Úkol
label_issue_new: Nový úkol
label_issue_plural: Úkoly
- label_issue_view_all: Všechny úkoly
+ label_issue_view_all: Zobraz všechny úkoly
label_issues_by: "Úkoly podle %{value}"
label_issue_added: Úkol přidán
- label_issue_updated: Úkol aktualizován
+ label_issue_updated: Úkol upraven
label_document: Dokument
label_document_new: Nový dokument
label_document_plural: Dokumenty
@@ -484,7 +494,7 @@ cs:
label_enumeration_new: Nová hodnota
label_information: Informace
label_information_plural: Informace
- label_please_login: Prosím přihlašte se
+ label_please_login: Přihlašte se, prosím
label_register: Registrovat
label_login_with_open_id_option: nebo se přihlašte s OpenID
label_password_lost: Zapomenuté heslo
@@ -498,7 +508,7 @@ cs:
label_logout: Odhlášení
label_help: Nápověda
label_reported_issues: Nahlášené úkoly
- label_assigned_to_me_issues: Mé úkoly
+ label_assigned_to_me_issues: Mně přiřazené úkoly
label_last_login: Poslední přihlášení
label_registered_on: Registrován
label_activity: Aktivita
@@ -513,8 +523,8 @@ cs:
label_auth_source_plural: Módy autentifikace
label_subproject_plural: Podprojekty
label_subproject_new: Nový podprojekt
- label_and_its_subprojects: "%{value} a jeho podprojekty"
- label_min_max_length: Min - Max délka
+ label_and_its_subprojects: "%{value} a jeho podprojekty"
+ label_min_max_length: Minimální a maximální délka
label_list: Seznam
label_date: Datum
label_integer: Celé číslo
@@ -542,6 +552,7 @@ cs:
label_news_latest: Poslední novinky
label_news_view_all: Zobrazit všechny novinky
label_news_added: Novinka přidána
+ label_news_comment_added: K novince byl přidán komentář
label_settings: Nastavení
label_overview: Přehled
label_version: Verze
@@ -559,15 +570,15 @@ cs:
label_x_open_issues_abbr_on_total:
zero: 0 otevřených / %{total}
one: 1 otevřený / %{total}
- other: "%{count} otevřených / %{total}"
+ other: "%{count} otevřených(-é) / %{total}"
label_x_open_issues_abbr:
zero: 0 otevřených
one: 1 otevřený
- other: "%{count} otevřených"
+ other: "%{count} otevřených(-é)"
label_x_closed_issues_abbr:
zero: 0 uzavřených
one: 1 uzavřený
- other: "%{count} uzavřených"
+ other: "%{count} uzavřených(-é)"
label_total: Celkem
label_permissions: Práva
label_current_status: Aktuální stav
@@ -593,24 +604,26 @@ cs:
label_x_comments:
zero: žádné komentáře
one: 1 komentář
- other: "%{count} komentářů"
+ other: "%{count} komentářů(-e)"
label_comment_add: Přidat komentáře
label_comment_added: Komentář přidán
label_comment_delete: Odstranit komentář
label_query: Uživatelský dotaz
label_query_plural: Uživatelské dotazy
label_query_new: Nový dotaz
+ label_my_queries: Mé dotazy
label_filter_add: Přidat filtr
label_filter_plural: Filtry
label_equals: je
label_not_equals: není
- label_in_less_than: je měší než
+ label_in_less_than: je menší než
label_in_more_than: je větší než
label_greater_or_equal: '>='
label_less_or_equal: '<='
+ label_between: mezi
label_in: v
label_today: dnes
- label_all_time: vše
+ label_all_time: kdykoli
label_yesterday: včera
label_this_week: tento týden
label_last_week: minulý týden
@@ -619,14 +632,14 @@ cs:
label_last_month: minulý měsíc
label_this_year: tento rok
label_date_range: Časový rozsah
- label_less_than_ago: před méně jak (dny)
- label_more_than_ago: před více jak (dny)
+ label_less_than_ago: před méně než (dny)
+ label_more_than_ago: před více než (dny)
label_ago: před (dny)
label_contains: obsahuje
label_not_contains: neobsahuje
label_day_plural: dny
- label_repository: Repozitář
- label_repository_plural: Repozitáře
+ label_repository: Úložiště
+ label_repository_plural: Úložiště
label_browse: Procházet
label_modification: "%{count} změna"
label_modification_plural: "%{count} změn"
@@ -635,12 +648,12 @@ cs:
label_revision: Revize
label_revision_plural: Revizí
label_revision_id: "Revize %{value}"
- label_associated_revisions: Související verze
+ label_associated_revisions: Související revize
label_added: přidáno
label_modified: změněno
label_copied: zkopírováno
label_renamed: přejmenováno
- label_deleted: odstraněno
+ label_deleted: smazáno
label_latest_revision: Poslední revize
label_latest_revision_plural: Poslední revize
label_view_revisions: Zobrazit revize
@@ -652,32 +665,34 @@ cs:
label_sort_lowest: Přesunout na konec
label_roadmap: Plán
label_roadmap_due_in: "Zbývá %{value}"
- label_roadmap_overdue: "%{value} pozdě"
+ label_roadmap_overdue: "%{value} zpoždění"
label_roadmap_no_issues: Pro tuto verzi nejsou žádné úkoly
label_search: Hledat
+ search_input_placeholder: najdi ...
label_result_plural: Výsledky
label_all_words: Všechna slova
label_wiki: Wiki
- label_wiki_edit: Wiki úprava
- label_wiki_edit_plural: Wiki úpravy
- label_wiki_page: Wiki stránka
- label_wiki_page_plural: Wiki stránky
+ label_wiki_edit: Úprava wiki
+ label_wiki_edit_plural: Úpravy wiki
+ label_wiki_page: Stránka wiki
+ label_wiki_page_plural: Stránky wiki
label_index_by_title: Index dle názvu
label_index_by_date: Index dle data
- label_current_version: Aktuální verze
+ label_current_version: Současná verze
label_preview: Náhled
label_feed_plural: Příspěvky
- label_changes_details: Detail všech změn
+ label_changes_details: Detaily všech změn
label_issue_tracking: Sledování úkolů
label_spent_time: Strávený čas
- label_overall_spent_time: Celkem strávený čas
+ label_overall_spent_time: Celkový strávený čas
label_f_hour: "%{value} hodina"
label_f_hour_plural: "%{value} hodin"
label_time_tracking: Sledování času
label_change_plural: Změny
label_statistics: Statistiky
label_commits_per_month: Commitů za měsíc
- label_commits_per_author: Commitů za autora
+ label_commits_per_author: Commitů na autora
+ label_diff: rozdíly
label_view_diff: Zobrazit rozdíly
label_diff_inline: uvnitř
label_diff_side_by_side: vedle sebe
@@ -692,9 +707,9 @@ cs:
label_relation_delete: Odstranit souvislost
label_relates_to: související s
label_duplicates: duplikuje
- label_duplicated_by: zduplikován
+ label_duplicated_by: duplikován
label_blocks: blokuje
- label_blocked_by: zablokován
+ label_blocked_by: blokován
label_precedes: předchází
label_follows: následuje
label_end_to_start: od konce do začátku
@@ -716,25 +731,25 @@ cs:
label_message_new: Nová zpráva
label_message_posted: Zpráva přidána
label_reply_plural: Odpovědi
- label_send_information: Zaslat informace o účtu uživateli
+ label_send_information: Zaslat uživateli informace o účtu
label_year: Rok
label_month: Měsíc
label_week: Týden
label_date_from: Od
label_date_to: Do
- label_language_based: Podle výchozího jazyku
+ label_language_based: Podle jazyka uživatele
label_sort_by: "Seřadit podle %{value}"
- label_send_test_email: Poslat testovací email
+ label_send_test_email: Poslat testovací e-mail
label_feeds_access_key: Přístupový klíč pro RSS
- label_missing_feeds_access_key: Postrádá přístupový klíč pro RSS
+ label_missing_feeds_access_key: Chybí přístupový klíč pro RSS
label_feeds_access_key_created_on: "Přístupový klíč pro RSS byl vytvořen před %{value}"
label_module_plural: Moduly
- label_added_time_by: "Přidáno uživatelem %{author} před %{age}"
- label_updated_time_by: "Aktualizováno uživatelem %{author} před %{age}"
+ label_added_time_by: "Přidal(a) %{author} před %{age}"
+ label_updated_time_by: "Aktualizoval(a) %{author} před %{age}"
label_updated_time: "Aktualizováno před %{value}"
label_jump_to_a_project: Vyberte projekt...
label_file_plural: Soubory
- label_changeset_plural: Changesety
+ label_changeset_plural: Sady změn
label_default_columns: Výchozí sloupce
label_no_change_option: (beze změny)
label_bulk_edit_selected_issues: Hromadná úprava vybraných úkolů
@@ -744,18 +759,18 @@ cs:
label_user_mail_option_all: "Pro všechny události všech mých projektů"
label_user_mail_option_selected: "Pro všechny události vybraných projektů..."
label_user_mail_option_none: "Žádné události"
- label_user_mail_option_only_my_events: "Jen pro věci co sleduji nebo jsem v nich zapojen"
- label_user_mail_option_only_assigned: "Jen pro všeci kterým sem přiřazen"
- label_user_mail_option_only_owner: "Jen pro věci které vlastním"
- label_user_mail_no_self_notified: "Nezasílat informace o mnou vytvořených změnách"
- label_registration_activation_by_email: aktivace účtu emailem
+ label_user_mail_option_only_my_events: "Jen pro věci, které sleduji nebo ve kterých jsem zapojen"
+ label_user_mail_option_only_assigned: "Jen pro věci, kterým jsem přiřazen"
+ label_user_mail_option_only_owner: "Jen pro věci, které vlastním"
+ label_user_mail_no_self_notified: "Nezasílat mi informace o mnou vytvořených změnách"
+ label_registration_activation_by_email: aktivace účtu e-mailem
label_registration_manual_activation: manuální aktivace účtu
label_registration_automatic_activation: automatická aktivace účtu
label_display_per_page: "%{value} na stránku"
label_age: Věk
label_change_properties: Změnit vlastnosti
label_general: Obecné
- label_more: Více
+ label_more: Další
label_scm: SCM
label_plugins: Doplňky
label_ldap_authentication: Autentifikace LDAP
@@ -763,20 +778,21 @@ cs:
label_optional_description: Volitelný popis
label_add_another_file: Přidat další soubor
label_preferences: Nastavení
- label_chronological_order: V chronologickém pořadí
- label_reverse_chronological_order: V obrácaném chronologickém pořadí
+ label_chronological_order: Od nejstaršího
+ label_reverse_chronological_order: Od nejnovějšího
label_planning: Plánování
label_incoming_emails: Příchozí e-maily
label_generate_key: Generovat klíč
- label_issue_watchers: Sledování
+ label_issue_watchers: Pozorovatelé
+ label_document_watchers: Pozorovatelé
label_example: Příklad
label_display: Zobrazit
label_sort: Řazení
label_ascending: Vzestupně
label_descending: Sestupně
label_date_from_to: Od %{start} do %{end}
- label_wiki_content_added: Wiki stránka přidána
- label_wiki_content_updated: Wiki stránka aktualizována
+ label_wiki_content_added: Stránka wiki přidána
+ label_wiki_content_updated: Stránka wiki aktualizována
label_group: Skupina
label_group_plural: Skupiny
label_group_new: Nová skupina
@@ -790,27 +806,47 @@ cs:
label_copy_source: Zdroj
label_copy_target: Cíl
label_copy_same_as_target: Stejný jako cíl
- label_display_used_statuses_only: Zobrazit pouze stavy které jsou použité touto frontou
- label_api_access_key: API přístupový klíč
+ label_display_used_statuses_only: Zobrazit pouze stavy použité touto frontou
+ label_api_access_key: Přístupový klíč API
label_missing_api_access_key: Chybějící přístupový klíč API
- label_api_access_key_created_on: API přístupový klíč vytvořen %{value}
+ label_api_access_key_created_on: "Přístupový klíč API vytvořen před %{value}"
label_profile: Profil
- label_subtask_plural: Podúkol
- label_project_copy_notifications: Odeslat email oznámení v průběhu kopie projektu
+ label_subtask_plural: Podúkoly
+ label_subtask_add: Přidat podúkol
+ label_issue_hierarchy: Hierarchie úkolů
+ label_project_copy_notifications: Odeslat e-mailové oznámení v průběhu kopírování projektu
label_principal_search: "Hledat uživatele nebo skupinu:"
label_user_search: "Hledat uživatele:"
+ label_git_path: Cesta k adresáři .git
+ label_darcs_path: Kořenový adresář
+ label_mercurial_path: Kořenový adresář
+ label_cvs_path: CVSROOT
+ label_cvs_module: Modul
+ label_bazaar_path: Kořenový adresář
+ label_filesystem_path: Kořenový adresář
+ label_additional_workflow_transitions_for_assignee: Pokud je uživatel přiřazeným, jsou povoleny další změny stavu
+ label_additional_workflow_transitions_for_author: Pokud je uživatel autorem, jsou povoleny další změny stavu
+ label_notify_member_plural: Odeslat aktualizace úkolů e-mailem
+ label_path_encoding: Kódování cesty
+ label_deleted_custom_field: (smazané volitelné pole)
+ label_toc: Obsah
+ label_mail_handler_confirmation: "Potvrzení rozeslání e-mailů: %{subject}"
+ label_mail_handler_failure: "Neúspěšné rozeslání e-mailů: %{subject}"
+ label_mail_handler_errors_with_submission: "Rozeslání vašeho e-mailu proběhlo s chybami:"
button_login: Přihlásit
button_submit: Potvrdit
button_save: Uložit
- button_check_all: Zašrtnout vše
- button_uncheck_all: Odšrtnout vše
+ button_check_all: Zaškrtnout vše
+ button_uncheck_all: Odškrtnout vše
+ button_collapse_all: Sbalit vše
+ button_expand_all: Rozbalit vše
button_delete: Odstranit
button_create: Vytvořit
button_create_and_continue: Vytvořit a pokračovat
button_test: Testovat
button_edit: Upravit
- button_edit_associated_wikipage: "Upravit přiřazenou Wiki stránku: %{page_title}"
+ button_edit_associated_wikipage: "Upravit přiřazenou stránku wiki: %{page_title}"
button_add: Přidat
button_change: Změnit
button_apply: Použít
@@ -826,7 +862,7 @@ cs:
button_cancel: Storno
button_activate: Aktivovat
button_sort: Seřadit
- button_log_time: Přidat čas
+ button_log_time: Zaznamenat čas
button_rollback: Zpět k této verzi
button_watch: Sledovat
button_unwatch: Nesledovat
@@ -842,7 +878,7 @@ cs:
button_update: Aktualizovat
button_configure: Konfigurovat
button_quote: Citovat
- button_duplicate: Duplikát
+ button_duplicate: Duplikovat
button_show: Zobrazit
status_active: aktivní
@@ -855,71 +891,80 @@ cs:
field_active: Aktivní
- text_select_mail_notifications: Vyberte akci při které bude zasláno upozornění emailem.
+ text_select_mail_notifications: Vyberte akce, při kterých se zašle e-mailem upozornění
text_regexp_info: např. ^[A-Z0-9]+$
- text_min_max_length_info: 0 znamená bez limitu
- text_project_destroy_confirmation: Jste si jisti, že chcete odstranit tento projekt a všechna související data ?
+ text_min_max_length_info: 0 znamená bez omezení
+ text_project_destroy_confirmation: Jste si jisti, že chcete smazat tento projekt a všechna související data ?
text_subprojects_destroy_warning: "Jeho podprojek(y): %{value} budou také smazány."
- text_workflow_edit: Vyberte roli a frontu k editaci průběhu práce
+ text_workflow_edit: Vyberte roli a frontu pro úpravu průběhu práce
text_are_you_sure: Jste si jisti?
text_are_you_sure_with_children: Smazat úkol včetně všech podúkolů?
text_journal_changed: "%{label} změněn z %{old} na %{new}"
+ text_journal_changed_no_detail: "%{label} aktualizováno"
text_journal_set_to: "%{label} nastaven na %{value}"
text_journal_deleted: "%{label} smazán (%{old})"
text_journal_added: "%{label} %{value} přidán"
- text_tip_issue_begin_day: úkol začíná v tento den
- text_tip_issue_end_day: úkol končí v tento den
- text_tip_issue_begin_end_day: úkol začíná a končí v tento den
- text_project_identifier_info: 'Only lower case letters (a-z), numbers, dashes and underscores are allowed.
Once saved, the identifier can not be changed.'
- text_caracters_maximum: "%{count} znaků maximálně."
- text_caracters_minimum: "Musí být alespoň %{count} znaků dlouhé."
+ text_tip_issue_begin_day: v tento den úkol začíná
+ text_tip_issue_end_day: v tento den úkol končí
+ text_tip_issue_begin_end_day: v tento den úkol začíná i končí
+ text_project_identifier_info: 'Jsou povolena jen malá písmena (a-z), číslice, pomlčky a podtržítka.
Uložený identifikátor už nemůže být změněn.'
+ text_caracters_maximum: "Maximálně %{count} znaků."
+ text_caracters_minimum: "Musí mít alespoň %{count} znaků(-y)."
text_length_between: "Délka mezi %{min} a %{max} znaky."
text_tracker_no_workflow: Pro tuto frontu není definován žádný průběh práce
text_unallowed_characters: Nepovolené znaky
- text_comma_separated: Povoleno více hodnot (oddělěné čárkou).
- text_line_separated: Více hodnot povoleno (jeden řádek pro každou hodnotu).
+ text_comma_separated: Povoleno více hodnot (oddělené čárkou).
+ text_line_separated: Povoleno více hodnot (každá hodnota na zvláštním řádku).
text_issues_ref_in_commit_messages: Odkazování a opravování úkolů ve zprávách commitů
text_issue_added: "Úkol %{id} byl vytvořen uživatelem %{author}."
text_issue_updated: "Úkol %{id} byl aktualizován uživatelem %{author}."
- text_wiki_destroy_confirmation: Opravdu si přejete odstranit tuto Wiki a celý její obsah?
- text_issue_category_destroy_question: "Některé úkoly (%{count}) jsou přiřazeny k této kategorii. Co s nimi chtete udělat?"
+ text_wiki_destroy_confirmation: Opravdu si přejete odstranit tuto wiki a celý její obsah?
+ text_issue_category_destroy_question: "K této kategorii jsou přiřazeny nějaké úkoly (%{count}). Co s nimi chtete udělat?"
text_issue_category_destroy_assignments: Zrušit přiřazení ke kategorii
text_issue_category_reassign_to: Přiřadit úkoly do této kategorie
- text_user_mail_option: "U projektů, které nebyly vybrány, budete dostávat oznámení pouze o vašich či o sledovaných položkách (např. o položkách jejichž jste autor nebo ke kterým jste přiřazen(a))."
- text_no_configuration_data: "Role, fronty, stavy úkolů ani průběh práce nebyly zatím nakonfigurovány.\nVelice doporučujeme nahrát výchozí konfiguraci. Po té si můžete vše upravit"
+ text_user_mail_option: "U projektů, které nebyly vybrány, budete dostávat oznámení pouze o položkách, které sledujete nebo do kterých jste začleněn (např. jste jejich autorem nebo jste jim byl(a) přiřazen(a))."
+ text_no_configuration_data: "Role, fronty, stavy úkolů ani průběh práce nebyly zatím nakonfigurovány.\nVelice doporučujeme nahrát výchozí konfiguraci. Pak si můžete vše upravit."
text_load_default_configuration: Nahrát výchozí konfiguraci
- text_status_changed_by_changeset: "Použito v changesetu %{value}."
- text_time_logged_by_changeset: Aplikováno v changesetu %{value}.
- text_issues_destroy_confirmation: 'Opravdu si přejete odstranit všechny zvolené úkoly?'
+ text_status_changed_by_changeset: "Použito v sadě změn %{value}."
+ text_time_logged_by_changeset: Aplikováno v sadě změn %{value}.
+ text_issues_destroy_confirmation: 'Opravdu si přejete smazat zvolené úkoly?'
text_select_project_modules: 'Aktivní moduly v tomto projektu:'
text_default_administrator_account_changed: Výchozí nastavení administrátorského účtu změněno
text_file_repository_writable: Povolen zápis do adresáře ukládání souborů
text_plugin_assets_writable: Možnost zápisu do adresáře plugin assets
text_rmagick_available: RMagick k dispozici (volitelné)
- text_destroy_time_entries_question: "U úkolů, které chcete odstranit je evidováno %{hours} práce. Co chete udělat?"
- text_destroy_time_entries: Odstranit evidované hodiny.
+ text_destroy_time_entries_question: "U úkolů, které chcete odstranit, je evidováno %{hours} hodin práce. Co chcete udělat?"
+ text_destroy_time_entries: Odstranit evidované hodiny
text_assign_time_entries_to_project: Přiřadit evidované hodiny projektu
text_reassign_time_entries: 'Přeřadit evidované hodiny k tomuto úkolu:'
text_user_wrote: "%{value} napsal:"
- text_enumeration_destroy_question: "Několik (%{count}) objektů je přiřazeno k této hodnotě."
- text_enumeration_category_reassign_to: 'Přeřadit je do této:'
- text_email_delivery_not_configured: "Doručování e-mailů není nastaveno a odesílání notifikací je zakázáno.\nNastavte Váš SMTP server v souboru config/email.yml a restartujte aplikaci."
- text_repository_usernames_mapping: "Vybrat nebo upravit mapování mezi ChiliProject uživateli a uživatelskými jmény nalezenými v logu repozitáře.\nUživatelé se shodným ChiliProject uživatelským jménem a uživatelským jménem v repozitáři jsou mapovaní automaticky."
- text_diff_truncated: '... Rozdílový soubor je zkrácen, protože jeho délka přesahuje max. limit.'
- text_custom_field_possible_values_info: 'Každá hodnota na novém řádku'
- text_wiki_page_destroy_question: Tato stránka má %{descendants} podstránek a potomků. Co chcete udělat?
+ text_enumeration_destroy_question: "K této hodnotě je přiřazeno (%{count}) objektů."
+ text_enumeration_category_reassign_to: 'Přeřadit je k této hodnotě:'
+ text_email_delivery_not_configured: "Doručování e-mailů není nastaveno a odesílání upozornění je zakázáno.\nNastavte SMTP server v souboru config/configuration.yml a restartujte aplikaci."
+ text_repository_usernames_mapping: "Vybrat nebo upravit mapování mezi uživateli ChiliProjectu a uživatelskými jmény nalezenými v logu úložiště.\nUživatelé se shodným uživatelským jménem či e-mailovou adresou v ChiliProjectu a v úložišti jsou namapování automaticky."
+ text_diff_truncated: '... Rozdílový soubor je zkrácen, protože jeho délka přesahuje maximální zobrazitelnou velikost.'
+ text_custom_field_possible_values_info: 'Každá hodnota na zvláštním řádku'
+ text_wiki_page_destroy_question: "Tato stránka má %{descendants} podstránek a potomků. Co chcete udělat?"
text_wiki_page_nullify_children: Ponechat podstránky jako kořenové stránky
text_wiki_page_destroy_children: Smazat podstránky a všechny jejich potomky
text_wiki_page_reassign_children: Přiřadit podstránky k tomuto rodiči
- text_own_membership_delete_confirmation: "Chystáte se odebrat si některá nebo všechny svá oprávnění a potom již nemusíte být schopni upravit tento projekt.\nOpravdu chcete pokračovat?"
+ text_own_membership_delete_confirmation: "Chystáte se odebrat si některá nebo všechna oprávnění a potom již možná nebudete moci upravit tento projekt.\nOpravdu chcete pokračovat?"
text_zoom_in: Přiblížit
text_zoom_out: Oddálit
+ text_powered_by: Provozováno na %{link}
+ text_warn_on_leaving_unsaved: Tato stránka obsahuje neuložený text, který bude ztracen, pokud ji opustíte.
+ text_default_encoding: "Výchozí: UTF-8"
+ text_mercurial_repo_example: místní úložiště (např. /hgrepo, c:\hgrepo)
+ text_git_repo_example: prázdné a místní úložiště (např. /gitrepo, c:\gitrepo)
+ text_display_subprojects: Zobrazit podprojekty
+ text_current_project: Tento projekt
+ text_mail_handler_confirmation_successful: Váš e-mail byl úspěšně přidán na následující URL
default_role_manager: Manažer
default_role_developer: Vývojář
default_role_reporter: Reportér
- default_role_non_member: Non member
- default_role_anonymous: Anonymous
+ default_role_non_member: Nečlen
+ default_role_anonymous: Anonym
default_tracker_bug: Chyba
default_tracker_feature: Požadavek
default_tracker_support: Podpora
@@ -936,293 +981,29 @@ cs:
default_priority_high: Vysoká
default_priority_urgent: Urgentní
default_priority_immediate: Okamžitá
- default_activity_design: Návhr
+ default_activity_design: Návrh
default_activity_development: Vývoj
enumeration_issue_priorities: Priority úkolů
enumeration_doc_categories: Kategorie dokumentů
enumeration_activities: Aktivity (sledování času)
- error_scm_annotate: "Položka neexistuje nebo nemůže být komentována."
- label_planning: Plánování
- text_subprojects_destroy_warning: "Jeho podprojek(y): %{value} budou také smazány."
- label_and_its_subprojects: "%{value} a jeho podprojekty"
- mail_body_reminder: "%{count} úkol(ů), které máte přiřazeny má termín během několik dní (%{days}):"
- mail_subject_reminder: "%{count} úkol(ů) má termín během několik dní (%{days})"
- text_user_wrote: "%{value} napsal:"
- label_duplicated_by: duplikováno od
- setting_enabled_scm: Povolené SCM
- text_enumeration_category_reassign_to: 'Přeřadit je do této:'
- text_enumeration_destroy_question: "Několik (%{count}) objektů je přiřazeno k této hodnotě."
- label_incoming_emails: Příchozí e-maily
- label_generate_key: Generovat klíč
- setting_mail_handler_api_enabled: Povolit WS pro příchozí e-maily
- setting_mail_handler_api_key: API klíč
- text_email_delivery_not_configured: "Doručování e-mailů není nastaveno a odesílání notifikací je zakázáno.\nNastavte Váš SMTP server v souboru config/configuration.yml a restartujte aplikaci."
- field_parent_title: Rodičovská stránka
- label_issue_watchers: Sledování
- setting_commit_logs_encoding: Kódování zpráv při commitu
- button_quote: Citovat
- setting_sequential_project_identifiers: Generovat sekvenční identifikátory projektů
- notice_unable_delete_version: Nemohu odstanit verzi
- label_renamed: přejmenováno
- label_copied: zkopírováno
- setting_plain_text_mail: pouze prostý text (ne HTML)
- permission_view_files: Prohlížení souborů
- permission_edit_issues: Upravování úkolů
- permission_edit_own_time_entries: Upravování vlastních zázamů o stráveném čase
- permission_manage_public_queries: Správa veřejných dotazů
- permission_add_issues: Přidávání úkolů
- permission_log_time: Zaznamenávání stráveného času
- permission_view_changesets: Zobrazování sady změn
- permission_view_time_entries: Zobrazení stráveného času
- permission_manage_versions: Spravování verzí
- permission_manage_wiki: Spravování Wiki
- permission_manage_categories: Spravování kategorií úkolů
- permission_protect_wiki_pages: Zabezpečení Wiki stránek
- permission_comment_news: Komentování novinek
- permission_delete_messages: Mazání zpráv
- permission_select_project_modules: Výběr modulů projektu
- permission_manage_documents: Správa dokumentů
- permission_edit_wiki_pages: Upravování stránek Wiki
- permission_add_issue_watchers: Přidání sledujících uživatelů
- permission_view_gantt: Zobrazené Ganttova diagramu
- permission_move_issues: Přesouvání úkolů
- permission_manage_issue_relations: Spravování vztahů mezi úkoly
- permission_delete_wiki_pages: Mazání stránek na Wiki
- permission_manage_boards: Správa diskusních fór
- permission_delete_wiki_pages_attachments: Mazání příloh
- permission_view_wiki_edits: Prohlížení historie Wiki
- permission_add_messages: Posílání zpráv
- permission_view_messages: Prohlížení zpráv
- permission_manage_files: Spravování souborů
- permission_edit_issue_notes: Upravování poznámek
- permission_manage_news: Spravování novinek
- permission_view_calendar: Prohlížení kalendáře
- permission_manage_members: Spravování členství
- permission_edit_messages: Upravování zpráv
- permission_delete_issues: Mazání úkolů
- permission_view_issue_watchers: Zobrazení seznamu sledujícíh uživatelů
- permission_manage_repository: Spravování repozitáře
- permission_commit_access: Commit přístup
- permission_browse_repository: Procházení repozitáře
- permission_view_documents: Prohlížení dokumentů
- permission_edit_project: Úprava projektů
- permission_add_issue_notes: Přidávání poznámek
- permission_save_queries: Ukládání dotazů
- permission_view_wiki_pages: Prohlížení Wiki
- permission_rename_wiki_pages: Přejmenovávání Wiki stránek
- permission_edit_time_entries: Upravování záznamů o stráveném času
- permission_edit_own_issue_notes: Upravování vlastních poznámek
- setting_gravatar_enabled: Použít uživatelské ikony Gravatar
- label_example: Příklad
- text_repository_usernames_mapping: "Vybrat nebo upravit mapování mezi ChiliProject uživateli a uživatelskými jmény nalezenými v logu repozitáře.\nUživatelé se shodným ChiliProject uživatelským jménem a uživatelským jménem v repozitáři jsou mapovaní automaticky."
- permission_edit_own_messages: Upravit vlastní zprávy
- permission_delete_own_messages: Smazat vlastní zprávy
- label_user_activity: "Aktivita uživatele: %{value}"
- label_updated_time_by: "Akutualizováno: %{author} před: %{age}"
- text_diff_truncated: '... Rozdílový soubor je zkrácen, protože jeho délka přesahuje max. limit.'
- setting_diff_max_lines_displayed: Maximální počet zobrazenách řádků rozdílů
- text_plugin_assets_writable: Možnost zápisu do adresáře plugin assets
- warning_attachments_not_saved: "%{count} soubor(ů) nebylo možné uložit."
- button_create_and_continue: Vytvořit a pokračovat
- text_custom_field_possible_values_info: 'Každá hodnota na novém řádku'
- label_display: Zobrazit
- field_editable: Editovatelný
- setting_repository_log_display_limit: Maximální počet revizí zobrazených v logu souboru
- setting_file_max_size_displayed: Maximální velikost textových souborů zobrazených přímo na stránce
- field_watcher: Sleduje
- setting_openid: Umožnit přihlašování a registrace s OpenID
- field_identity_url: OpenID URL
- label_login_with_open_id_option: nebo se přihlašte s OpenID
- field_content: Obsah
- label_descending: Sestupně
- label_sort: Řazení
- label_ascending: Vzestupně
- label_date_from_to: Od %{start} do %{end}
- label_greater_or_equal: ">="
- label_less_or_equal: <=
- text_wiki_page_destroy_question: Tato stránka má %{descendants} podstránek a potomků. Co chcete udělat?
- text_wiki_page_reassign_children: Přiřadit podstránky k tomuto rodiči
- text_wiki_page_nullify_children: Ponechat podstránky jako kořenové stránky
- text_wiki_page_destroy_children: Smazat podstránky a všechny jejich potomky
- setting_password_min_length: Minimální délka hesla
- field_group_by: Seskupovat výsledky podle
- mail_subject_wiki_content_updated: "'%{id}' Wiki stránka byla aktualizována"
- label_wiki_content_added: Wiki stránka přidána
- mail_subject_wiki_content_added: "'%{id}' Wiki stránka byla přidána"
- mail_body_wiki_content_added: "'%{id}' Wiki stránka byla přidána od %{author}."
- label_wiki_content_updated: Wiki stránka aktualizována
- mail_body_wiki_content_updated: "'%{id}' Wiki stránka byla aktualizována od %{author}."
- permission_add_project: Vytvořit projekt
- setting_new_project_user_role_id: Role přiřazená uživateli bez práv administrátora, který projekt vytvořil
- label_view_all_revisions: Zobrazit všechny revize
- label_tag: Tag
- label_branch: Branch
- error_no_tracker_in_project: Žádná fronta nebyla přiřazena tomuto projektu. Prosím zkontroluje nastavení projektu.
- error_no_default_issue_status: Není nastaven výchozí stav úkolu. Prosím zkontrolujte nastavení ("Administrace -> Stavy úkolů").
- text_journal_changed: "%{label} změněn z %{old} na %{new}"
- text_journal_set_to: "%{label} nastaven na %{value}"
- text_journal_deleted: "%{label} smazán (%{old})"
- label_group_plural: Skupiny
- label_group: Skupina
- label_group_new: Nová skupina
- label_time_entry_plural: Strávený čas
- text_journal_added: "%{label} %{value} přidán"
- field_active: Aktivní
enumeration_system_activity: Systémová aktivita
- permission_delete_issue_watchers: Smazat přihlížející
- version_status_closed: zavřený
- version_status_locked: uzamčený
- version_status_open: otevřený
- error_can_not_reopen_issue_on_closed_version: Úkol přiřazený k uzavřené verzi nemůže být znovu otevřen
- label_user_anonymous: Anonymní
- button_move_and_follow: Přesunout a následovat
- setting_default_projects_modules: Výchozí zapnutné moduly pro nový projekt
- setting_gravatar_default: Výchozí Gravatar
- field_sharing: Sdílení
- label_version_sharing_hierarchy: S hierarchií projektu
- label_version_sharing_system: Se všemi projekty
- label_version_sharing_descendants: S podprojekty
- label_version_sharing_tree: Se stromem projektu
- label_version_sharing_none: Nesdíleno
- error_can_not_archive_project: Tento projekt nemůže být archivován
- button_duplicate: Duplikát
- button_copy_and_follow: Kopírovat a následovat
- label_copy_source: Zdroj
- setting_issue_done_ratio: Spočítat koeficient dokončení úkolu s
- setting_issue_done_ratio_issue_status: Použít stav úkolu
- error_issue_done_ratios_not_updated: Koeficient dokončení úkolu nebyl aktualizován.
- error_workflow_copy_target: Prosím vyberte cílovou frontu(y) a roly(e)
- setting_issue_done_ratio_issue_field: Použít pole úkolu
- label_copy_same_as_target: Stejný jako cíl
- label_copy_target: Cíl
- notice_issue_done_ratios_updated: Koeficienty dokončení úkolu byly aktualizovány.
- error_workflow_copy_source: Prosím vyberte zdrojovou frontu nebo roly
- label_update_issue_done_ratios: Aktualizovat koeficienty dokončení úkolů
- setting_start_of_week: Začínat kalendáře
- permission_view_issues: Zobrazit úkoly
- label_display_used_statuses_only: Zobrazit pouze stavy které jsou použité touto frontou
- label_revision_id: Revize %{value}
- label_api_access_key: API přístupový klíč
- label_api_access_key_created_on: API přístupový klíč vytvořen %{value}
- label_feeds_access_key: RSS přístupový klíč
- notice_api_access_key_reseted: Váš API přístupový klíč byl resetován.
- setting_rest_api_enabled: Zapnout službu REST
- label_missing_api_access_key: Chybějící přístupový klíč API
- label_missing_feeds_access_key: Chybějící přístupový klíč RSS
- button_show: Zobrazit
- text_line_separated: Více hodnot povoleno (jeden řádek pro každou hodnotu).
- setting_mail_handler_body_delimiters: Zkrátit e-maily po jednom z těchto řádků
- permission_add_subprojects: Vytvořit podprojekty
- label_subproject_new: Nový podprojekt
- text_own_membership_delete_confirmation: |-
- Chystáte se odebrat si některá nebo všechny svá oprávnění a potom již nemusíte být schopni upravit tento projekt.
- Opravdu chcete pokračovat?
- label_close_versions: Zavřít dokončené verze
- label_board_sticky: Nálepka
- label_board_locked: Uzamčeno
- permission_export_wiki_pages: Exportovat Wiki stránky
- setting_cache_formatted_text: Ukládat formátovaný text do vyrovnávací paměti
- permission_manage_project_activities: Spravovat aktivity projektu
- error_unable_delete_issue_status: Nelze smazat stavy úkolů
- label_profile: Profil
- permission_manage_subtasks: Spravovat podúkoly
- field_parent_issue: Rodičovský úkol
- label_subtask_plural: Podúkol
- label_project_copy_notifications: Odeslat email oznámení v průběhu kopie projektu
- error_can_not_delete_custom_field: Nelze smazat volitelné pole
- error_unable_to_connect: Nelze se připojit (%{value})
- error_can_not_remove_role: Tato role je právě používaná a nelze ji smazat.
- error_can_not_delete_tracker: Tato fronta obsahuje úkoly a nemůže být smazán.
- field_principal: Hlavní
- label_my_page_block: Bloky na mé stránce
- notice_failed_to_save_members: "Nepodařilo se uložit člena(y): %{errors}."
- text_zoom_out: Oddálit
- text_zoom_in: Přiblížit
- notice_unable_delete_time_entry: Nelze smazat čas ze záznamu.
- label_overall_spent_time: Celkově strávený čas
- field_time_entries: Zaznamenaný čas
- project_module_gantt: Gantt
- project_module_calendar: Kalendář
- button_edit_associated_wikipage: "Upravit přiřazenou Wiki stránku: %{page_title}"
- text_are_you_sure_with_children: Smazat úkol včetně všech podúkolů?
- field_text: Textové pole
- label_user_mail_option_only_owner: Only for things I am the owner of
- setting_default_notification_option: Default notification option
- label_user_mail_option_only_my_events: Only for things I watch or I'm involved in
- label_user_mail_option_only_assigned: Only for things I am assigned to
- label_user_mail_option_none: No events
- field_member_of_group: Assignee's group
- field_assigned_to_role: Assignee's role
- notice_not_authorized_archived_project: The project you're trying to access has been archived.
- label_principal_search: "Search for user or group:"
- label_user_search: "Search for user:"
- field_visible: Visible
- setting_emails_header: Emails header
- setting_commit_logtime_activity_id: Activity for logged time
- text_time_logged_by_changeset: Applied in changeset %{value}.
- setting_commit_logtime_enabled: Enable time logging
- notice_gantt_chart_truncated: The chart was truncated because it exceeds the maximum number of items that can be displayed (%{max})
- setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
- text_powered_by: Powered by %{link}
- label_cvs_module: Module
- label_filesystem_path: Root directory
- label_darcs_path: Root directory
- label_bazaar_path: Root directory
- label_cvs_path: CVSROOT
- label_git_path: Path to .git directory
- label_mercurial_path: Root directory
- label_my_queries: My custom queries
- label_additional_workflow_transitions_for_assignee: Additional transitions allowed when the user is the assignee
- text_journal_changed_no_detail: "%{label} updated"
- button_expand_all: Expand all
- button_collapse_all: Collapse all
- label_additional_workflow_transitions_for_author: Additional transitions allowed when the user is the author
- field_effective_date: Due date
- label_news_comment_added: Comment added to a news
- field_warn_on_leaving_unsaved: Warn me when leaving a page with unsaved text
- text_warn_on_leaving_unsaved: The current page contains unsaved text that will be lost if you leave this page.
- text_default_encoding: "Default: UTF-8"
- text_git_repo_example: a bare and local repository (e.g. /gitrepo, c:\gitrepo)
- label_notify_member_plural: Email issue updates
- label_path_encoding: Path encoding
- text_mercurial_repo_example: local repository (e.g. /hgrepo, c:\hgrepo)
- label_diff: diff
- setting_issue_startdate_is_adddate: Use current date as start date for new issues
- description_search: Searchfield
- description_user_mail_notification: Mail notification settings
- description_date_range_list: Choose range from list
- description_date_to: Enter end date
- description_query_sort_criteria_attribute: Sort attribute
- description_message_content: Message content
- description_wiki_subpages_reassign: Choose new parent page
- description_available_columns: Available Columns
- description_selected_columns: Selected Columns
- description_date_range_interval: Choose range by selecting start and end date
- description_project_scope: Search scope
- description_issue_category_reassign: Choose issue category
- description_query_sort_criteria_direction: Sort direction
- description_notes: Notes
- description_filter: Filter
- description_choose_project: Projects
- description_date_from: Enter start date
- label_deleted_custom_field: (deleted custom field)
- field_custom_filter: Custom LDAP filter
- text_display_subprojects: Display subprojects
- text_current_project: Current project
- label_toc: Contents
- search_input_placeholder: search ...
- setting_mail_handler_confirmation_on_success: Send confirmation email on successful incoming email
- label_mail_handler_confirmation: "Confirmation of email submission: %{subject}"
- label_mail_handler_errors_with_submission: "There were errors with your email submission:"
- label_document_watchers: Watchers
- setting_mail_handler_confirmation_on_failure: Send confirmation email on failed incoming email
- label_between: between
- label_mail_handler_failure: "Failed email submission: %{subject}"
- notice_not_authorized_action: You are not authorized to perform this action.
- text_mail_handler_confirmation_successful: Your email has been successful added at the following url
- field_issue_summary: Issue summary
- field_new_saved_query: New saved query
- field_issue_view_all_open: View all open issues
- label_subtask_add: Add a subtask
- label_issue_hierarchy: Issue hierarchy
+ description_filter: Filtr
+ description_search: Vyhledávací pole
+ description_choose_project: Projekty
+ description_project_scope: Rozsah vyhledávání
+ description_notes: Poznámky
+ description_message_content: Obsah zprávy
+ description_query_sort_criteria_attribute: Atribut řazení
+ description_query_sort_criteria_direction: Směr řazení
+ description_user_mail_notification: Nastavení e-mailových upozornění
+ description_available_columns: Dostupné sloupce
+ description_selected_columns: Vybrané sloupce
+ description_issue_category_reassign: Zvolte kategorii úkolu
+ description_wiki_subpages_reassign: Vyberte novou rodičovskou stránku
+ description_date_range_list: Vyberte rozsah ze seznamu
+ description_date_range_interval: Určete rozsah vybráním počátečního a koncového datumu
+ description_date_from: Zadejte počáteční datum
+ description_date_to: Zadejte koncové datum
+
+ notice_not_authorized_action: K této akci nemáte oprávnění.
From 1d3cdf1fa908ca0b2874c0ad12150dba6a987501 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Sch=C3=A4fer?=
Date: Fri, 18 May 2012 22:45:52 +0200
Subject: [PATCH 23/55] Correct email sending on attachment to document #1008
---
app/controllers/documents_controller.rb | 2 +-
test/functional/documents_controller_test.rb | 22 ++++++++++++++++++++
2 files changed, 23 insertions(+), 1 deletion(-)
diff --git a/app/controllers/documents_controller.rb b/app/controllers/documents_controller.rb
index 4356ea06..eb5799db 100644
--- a/app/controllers/documents_controller.rb
+++ b/app/controllers/documents_controller.rb
@@ -85,7 +85,7 @@ class DocumentsController < ApplicationController
if attachments.present? && attachments[:files].present? && Setting.notified_events.include?('document_added')
# TODO: refactor
- attachments.first.container.recipients.each do |recipient|
+ @document.recipients.each do |recipient|
Mailer.deliver_attachments_added(attachments[:files], recipient)
end
end
diff --git a/test/functional/documents_controller_test.rb b/test/functional/documents_controller_test.rb
index 441f5ab7..66278a0f 100644
--- a/test/functional/documents_controller_test.rb
+++ b/test/functional/documents_controller_test.rb
@@ -147,6 +147,28 @@ LOREM
end
end
+ context "#add_attachment" do
+ setup do
+ @request.session[:user_id] = 2
+ set_tmp_attachments_directory
+ @document = Document.generate!(:project => Project.find('ecookbook'),
+ :title => 'Test')
+ end
+
+ should "send a notification mail" do
+ ActionMailer::Base.deliveries.clear
+ Setting.notified_events = Setting.notified_events.dup << 'document_added'
+
+ post :add_attachment,
+ :id => @document.id,
+ :attachments => {'1' => {'file' => uploaded_test_file('testfile.txt', 'text/plain')}}
+
+ @document.reload
+ assert_not_nil @document
+ assert_equal 2, ActionMailer::Base.deliveries.size
+ end
+ end
+
def test_destroy
@request.session[:user_id] = 2
post :destroy, :id => 1
From 93abdcf487eb51106955816a5c4025afabed8ae9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Sch=C3=A4fer?=
Date: Sat, 19 May 2012 00:00:16 +0200
Subject: [PATCH 24/55] Fix comments missing in wiki add/update mails #986
---
app/views/mailer/wiki_content_added.text.html.rhtml | 2 +-
app/views/mailer/wiki_content_added.text.plain.rhtml | 2 +-
app/views/mailer/wiki_content_updated.text.html.rhtml | 2 +-
app/views/mailer/wiki_content_updated.text.plain.rhtml | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/app/views/mailer/wiki_content_added.text.html.rhtml b/app/views/mailer/wiki_content_added.text.html.rhtml
index c4cbe5e3..41721527 100644
--- a/app/views/mailer/wiki_content_added.text.html.rhtml
+++ b/app/views/mailer/wiki_content_added.text.html.rhtml
@@ -1,3 +1,3 @@
<%= l(:mail_body_wiki_content_added, :id => link_to(h(@wiki_content.page.pretty_title), @wiki_content_url),
:author => h(@wiki_content.author)) %>
-<%=h @wiki_content.comments %>
+<%=h @wiki_content.last_journal.notes %>
diff --git a/app/views/mailer/wiki_content_added.text.plain.rhtml b/app/views/mailer/wiki_content_added.text.plain.rhtml
index cbde7ec0..ac97033e 100644
--- a/app/views/mailer/wiki_content_added.text.plain.rhtml
+++ b/app/views/mailer/wiki_content_added.text.plain.rhtml
@@ -1,5 +1,5 @@
<%= l(:mail_body_wiki_content_added, :id => h(@wiki_content.page.pretty_title),
:author => h(@wiki_content.author)) %>
-<%= @wiki_content.comments %>
+<%= @wiki_content.last_journal.notes %>
<%= @wiki_content_url %>
diff --git a/app/views/mailer/wiki_content_updated.text.html.rhtml b/app/views/mailer/wiki_content_updated.text.html.rhtml
index d62d33e1..6e1bb49b 100644
--- a/app/views/mailer/wiki_content_updated.text.html.rhtml
+++ b/app/views/mailer/wiki_content_updated.text.html.rhtml
@@ -1,6 +1,6 @@
<%= l(:mail_body_wiki_content_updated, :id => link_to(h(@wiki_content.page.pretty_title), @wiki_content_url),
:author => h(@wiki_content.author)) %>
-<%=h @wiki_content.comments %>
+<%=h @wiki_content.last_journal.notes %>
<%= l(:label_view_diff) %>:
<%= link_to h(@wiki_diff_url), @wiki_diff_url %>
diff --git a/app/views/mailer/wiki_content_updated.text.plain.rhtml b/app/views/mailer/wiki_content_updated.text.plain.rhtml
index 04839eaf..dbbbd5e2 100644
--- a/app/views/mailer/wiki_content_updated.text.plain.rhtml
+++ b/app/views/mailer/wiki_content_updated.text.plain.rhtml
@@ -1,6 +1,6 @@
<%= l(:mail_body_wiki_content_updated, :id => h(@wiki_content.page.pretty_title),
:author => h(@wiki_content.author)) %>
-<%= @wiki_content.comments %>
+<%= @wiki_content.last_journal.notes %>
<%= @wiki_content.page.pretty_title %>:
<%= @wiki_content_url %>
From 43723385c62cf49596de1379a28a24ab2ef336a3 Mon Sep 17 00:00:00 2001
From: Andrew Smith
Date: Fri, 18 May 2012 23:57:03 +0100
Subject: [PATCH 25/55] Handle the '(Un)Check all' link. #994
---
app/views/issues/_list.rhtml | 3 +--
public/javascripts/context_menu.jquery.js | 20 ++++++++++++++++++++
2 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/app/views/issues/_list.rhtml b/app/views/issues/_list.rhtml
index 51974157..414cef0d 100644
--- a/app/views/issues/_list.rhtml
+++ b/app/views/issues/_list.rhtml
@@ -3,8 +3,7 @@