Patch #15906 » create_general_forum_by_default.patch
app/models/enabled_module.rb | ||
---|---|---|
28 | 28 |
# after_create callback used to do things when a module is enabled |
29 | 29 |
def module_enabled |
30 | 30 |
case name |
31 |
when 'boards' |
|
32 |
# Create general discussion board |
|
33 |
if project && project.boards.blank? |
|
34 |
Board.create(:project => project, :name => l(:label_general), :description => l(:label_general_discussion)) |
|
35 |
end |
|
31 | 36 |
when 'wiki' |
32 | 37 |
# Create a wiki with a default start page |
33 | 38 |
if project && project.wiki.nil? |
config/locales/de.yml | ||
---|---|---|
819 | 819 |
other: "%{count} Projekte" |
820 | 820 |
label_year: Jahr |
821 | 821 |
label_yesterday: gestern |
822 |
label_general_discussion: Diskussion über allgemeine Themen |
|
822 | 823 | |
823 | 824 |
mail_body_account_activation_request: "Ein neuer Benutzer (%{value}) hat sich registriert. Sein Konto wartet auf Ihre Genehmigung:" |
824 | 825 |
mail_body_account_information: Ihre Konto-Informationen |
config/locales/en.yml | ||
---|---|---|
908 | 908 |
label_drop_down_list: drop-down list |
909 | 909 |
label_checkboxes: checkboxes |
910 | 910 |
label_link_values_to: Link values to URL |
911 |
label_general_discussion: Discussion about general topics |
|
911 | 912 | |
912 | 913 |
button_login: Login |
913 | 914 |
button_submit: Submit |