Patch #695 » issue-630.patch
| app/models/project.rb (working copy) | ||
|---|---|---|
|
attr_protected :status, :enabled_module_names
|
||
|
|
||
|
validates_presence_of :name, :identifier
|
||
|
validates_uniqueness_of :name, :identifier
|
||
|
validates_uniqueness_of :identifier
|
||
|
validates_associated :custom_values, :on => :update
|
||
|
validates_associated :repository, :wiki
|
||
|
validates_length_of :name, :maximum => 30
|
||
| app/views/admin/projects.rhtml (working copy) | ||
|---|---|---|
|
<table class="list">
|
||
|
<thead><tr>
|
||
|
<%= sort_header_tag('name', :caption => l(:label_project)) %>
|
||
|
<%= sort_header_tag('identifier', :caption => l(:label_identifier)) %>
|
||
|
<th><%=l(:field_description)%></th>
|
||
|
<th><%=l(:label_subproject_plural)%></th>
|
||
|
<%= sort_header_tag('is_public', :caption => l(:field_is_public), :default_order => 'desc') %>
|
||
| ... | ... | |
|
<% for project in @projects %>
|
||
|
<tr class="<%= cycle("odd", "even") %>">
|
||
|
<td><%= project.active? ? link_to(h(project.name), :controller => 'projects', :action => 'settings', :id => project) : h(project.name) %>
|
||
|
<td align="center"><%= project.identifier %>
|
||
|
<td><%= textilizable project.short_description, :project => project %>
|
||
|
<td align="center"><%= project.children.size %>
|
||
|
<td align="center"><%= image_tag 'true.png' if project.is_public? %>
|
||
| lang/bg.yml (working copy) | ||
|---|---|---|
|
label_added_time_by: Публикувана от %s преди %s
|
||
|
label_updated_time: Обновена преди %s
|
||
|
label_jump_to_a_project: Проект...
|
||
|
label_identifier: Идентификатор
|
||
|
button_login: Вход
|
||
|
button_submit: Приложи
|
||
| lang/cs.yml (working copy) | ||
|---|---|---|
|
label_sort_by: Seřadit podle %s
|
||
|
label_send_test_email: Poslat testovací email
|
||
|
label_feeds_access_key_created_on: Přístupový klíč pro RSS byl vytvořen před %s
|
||
|
label_identifier: Identifikátor
|
||
|
button_login: Přihlásit
|
||
|
button_submit: Potvrdit
|
||
| lang/de.yml (working copy) | ||
|---|---|---|
|
label_age: Alter
|
||
|
label_change_properties: Eigenschaften ändern
|
||
|
label_general: Allgemein
|
||
|
label_identifier: Kennung
|
||
|
button_login: Anmelden
|
||
|
button_submit: OK
|
||
| lang/en.yml (working copy) | ||
|---|---|---|
|
label_plugins: Plugins
|
||
|
label_ldap_authentication: LDAP authentication
|
||
|
label_downloads_abbr: D/L
|
||
|
label_identifier: Identifier
|
||
|
button_login: Login
|
||
|
button_submit: Submit
|
||
| lang/es.yml (working copy) | ||
|---|---|---|
|
label_date_from: Desde
|
||
|
label_date_to: Hasta
|
||
|
label_language_based: Badado en el idioma
|
||
|
label_identifier: Identificador
|
||
|
button_login: Conexión
|
||
|
button_submit: Aceptar
|
||
| lang/fi.yml (working copy) | ||
|---|---|---|
|
label_date_from: From
|
||
|
label_in: in
|
||
|
label_on: 'on'
|
||
|
label_identifier: Tunniste
|
||
|
button_login: Kirjaudu
|
||
|
button_submit: Lähetä
|
||
| lang/fr.yml (working copy) | ||
|---|---|---|
|
label_plugins: Plugins
|
||
|
label_ldap_authentication: Authentification LDAP
|
||
|
label_downloads_abbr: D/L
|
||
|
label_identifier: Identifiant
|
||
|
button_login: Connexion
|
||
|
button_submit: Soumettre
|
||
| lang/he.yml (working copy) | ||
|---|---|---|
|
label_bulk_edit_selected_issues: ערוך את הנושאים המסומנים
|
||
|
label_theme: ערכת נושא
|
||
|
label_default: ברירת מחדש
|
||
|
label_identifier: מזהה
|
||
|
button_login: התחבר
|
||
|
button_submit: הגש
|
||
| lang/it.yml (working copy) | ||
|---|---|---|
|
label_added_time_by: Added by %s %s ago
|
||
|
label_updated_time: Updated %s ago
|
||
|
label_jump_to_a_project: Jump to a project...
|
||
|
label_identifier: Identifier
|
||
|
button_login: Login
|
||
|
button_submit: Invia
|
||
| lang/ja.yml (working copy) | ||
|---|---|---|
|
label_added_time_by: %sが%s前に追加しました
|
||
|
label_updated_time: %s前に更新されました
|
||
|
label_jump_to_a_project: プロジェクトへ移動...
|
||
|
label_identifier: 識別子
|
||
|
button_login: ログイン
|
||
|
button_submit: 変更
|
||
| lang/ko.yml (working copy) | ||
|---|---|---|
|
label_user_mail_option_all: "내가 속한 프로젝트로들부터 모든 메일 받기"
|
||
|
label_user_mail_option_selected: "선택한 프로젝트들로부터 모든 메일 받기.."
|
||
|
label_user_mail_option_none: "내가 속하거나 감시 중인 사항에 대해서만"
|
||
|
label_identifier: 식별자
|
||
|
button_login: 로그인
|
||
|
button_submit: 확인
|
||
| lang/lt.yml (working copy) | ||
|---|---|---|
|
label_registration_activation_by_email: "paskyros aktyvacija per e-paštą"
|
||
|
label_registration_manual_activation: "rankinė paskyros aktyvacija"
|
||
|
label_registration_automatic_activation: "automatinė paskyros aktyvacija"
|
||
|
label_identifier: Identifikuotojas
|
||
|
|
||
|
button_login: Registruotis
|
||
|
button_submit: Pateikti
|
||
| lang/nl.yml (working copy) | ||
|---|---|---|
|
label_added_time_by: Added by %s %s ago
|
||
|
label_updated_time: Updated %s ago
|
||
|
label_jump_to_a_project: Jump to a project...
|
||
|
label_identifier: Identificatiecode
|
||
|
button_login: Inloggen
|
||
|
button_submit: Toevoegen
|
||
| lang/pl.yml (working copy) | ||
|---|---|---|
|
label_date_from: Z
|
||
|
label_date_to: Do
|
||
|
label_language_based: Na podstawie języka
|
||
|
label_identifier: Identifikator
|
||
|
button_login: Login
|
||
|
button_submit: Wyślij
|
||
| lang/pt-br.yml (working copy) | ||
|---|---|---|
|
label_added_time_by: Added by %s %s ago
|
||
|
label_updated_time: Updated %s ago
|
||
|
label_jump_to_a_project: Jump to a project...
|
||
|
label_identifier: Identificador
|
||
|
|
||
|
button_login: Login
|
||
|
button_submit: Enviar
|
||
| lang/pt.yml (working copy) | ||
|---|---|---|
|
label_added_time_by: Added by %s %s ago
|
||
|
label_updated_time: Updated %s ago
|
||
|
label_jump_to_a_project: Jump to a project...
|
||
|
label_identifier: Identificador
|
||
|
button_login: Login
|
||
|
button_submit: Enviar
|
||
| lang/ro.yml (working copy) | ||
|---|---|---|
|
label_added_time_by: Adaugat de %s %s mai devreme
|
||
|
label_updated_time: Modificat %s mai devreme
|
||
|
label_jump_to_a_project: Alege un proiect ...
|
||
|
label_identifier: Identificator
|
||
|
button_login: Autentificare
|
||
|
button_submit: Trimite
|
||
| lang/ru.yml (working copy) | ||
|---|---|---|
|
label_associated_revisions: Связанные редакции
|
||
|
label_issues_by: Сортировать по %s
|
||
|
label_display_per_page: 'На страницу: %s'
|
||
|
label_identifier: Ун. идентификатор
|
||
|
button_login: Вход
|
||
|
button_submit: Принять
|
||
| lang/sr.yml (working copy) | ||
|---|---|---|
|
label_user_mail_option_all: "Za bilo koji događaj na svim mojim projektima"
|
||
|
label_user_mail_option_selected: "Za bilo koji događaj za samo izabrane projekte..."
|
||
|
label_user_mail_option_none: "Samo za stvari koje pratim ili u kojima učestvujem"
|
||
|
label_identifier: Identifikator
|
||
|
button_login: Login
|
||
|
button_submit: Pošalji
|
||
| lang/sv.yml (working copy) | ||
|---|---|---|
|
label_added_time_by: Added by %s %s ago
|
||
|
label_updated_time: Updated %s ago
|
||
|
label_jump_to_a_project: Jump to a project...
|
||
|
label_identifier: Identifierare
|
||
|
button_login: Logga in
|
||
|
button_submit: Skicka
|
||
| lang/uk.yml (working copy) | ||
|---|---|---|
|
label_registration_manual_activation: ручна активація облікового запису
|
||
|
label_registration_automatic_activation: автоматична активація облыкового
|
||
|
label_my_time_report: Мій звіт витраченого часу
|
||
|
label_identifier: Ідентифікатор
|
||
|
button_login: Вхід
|
||
|
button_submit: Відправити
|
||
| lang/zh-tw.yml (working copy) | ||
|---|---|---|
|
label_general: 一般
|
||
|
label_more: 更多 »
|
||
|
label_scm: 版本控管
|
||
|
label_identifier: 代碼
|
||
|
button_login: 登入
|
||
|
button_submit: 送出
|
||
| lang/zh.yml (working copy) | ||
|---|---|---|
|
label_added_time_by: 由 %s 在 %s 之前添加
|
||
|
label_updated_time: 更新于 %s 前
|
||
|
label_jump_to_a_project: 选择一个项目...
|
||
|
label_identifier: 标识
|
||
|
button_login: 登录
|
||
|
button_submit: 提交
|
||