:label_version => :label_dmsf_version

This commit is contained in:
Karel Picman 2016-05-06 09:24:02 +02:00
parent 8645fd257d
commit b4744efa99
23 changed files with 23 additions and 11 deletions

View File

@ -29,7 +29,7 @@
<th class ="dmsf_th"><%= l(:link_title) %></th>
<th class ="dmsf_th"><%= l(:link_size) %></th>
<th class ="dmsf_th"><%= l(:link_modified) %></th>
<th title="<%= l(:label_version) %>" class ="dmsf_th"><%= l(:link_ver) %></th>
<th title="<%= l(:label_dmsf_version) %>" class ="dmsf_th"><%= l(:link_ver) %></th>
<th class ="dmsf_th"><%= l(:link_workflow) %></th>
<th class ="dmsf_th"><%= l(:link_author) %></th>
<th class ="dmsf_th"></th>

View File

@ -29,7 +29,7 @@
<th class ="dmsf_th"><%= l(:link_title) %></th>
<th class ="dmsf_th"><%= l(:link_size) %></th>
<th class ="dmsf_th"><%= l(:link_modified) %></th>
<th title="<%= l(:label_version) %>" class ="dmsf_th"><%= l(:link_ver) %></th>
<th title="<%= l(:label_dmsf_version) %>" class ="dmsf_th"><%= l(:link_ver) %></th>
<th class ="dmsf_th"><%= l(:link_workflow) %></th>
<th class ="dmsf_th"><%= l(:link_author) %></th>
<th class ="dmsf_th"></th>

View File

@ -53,7 +53,7 @@
<th class="dmsf_th"><%= l(:link_title) %></th>
<th class="dmsf_th"><%= l(:link_size) %></th>
<th class="dmsf_th"><%= l(:link_modified) %></th>
<th title="<%= l(:label_version) %>" class="dmsf_th"><%= l(:link_ver) %></th>
<th title="<%= l(:label_dmsf_version) %>" class="dmsf_th"><%= l(:link_ver) %></th>
<th class="dmsf_th"><%= l(:link_workflow) %></th>
<th class="dmsf_th"><%= l(:link_author) %></th>
<th class="dmsf_th"></th>

View File

@ -48,7 +48,7 @@
<div class="clear">
<div class="splitcontentleft">
<p>
<%= label_tag('version_0', l(:label_version)) %>
<%= label_tag('version_0', l(:label_dmsf_version)) %>
<%= radio_button_tag('version', 0, @revision.version == @file.last_revision.version) %>
<%= @file.last_revision.major_version %>.<%= @file.last_revision.minor_version %>
<%= l(:option_version_same) %><br/>

View File

@ -114,7 +114,7 @@
</p>
<% end %>
<p>
<%= label_tag('', l(:label_version)) %>
<%= label_tag('', l(:label_dmsf_version)) %>
<%= revision.major_version %>.<%= revision.minor_version %>
</p>
<p>

View File

@ -24,7 +24,7 @@
<p>
<%= h(file.dmsf_path_str) %> (<%= file.name %>)
<% if file.last_revision %>
, <%= number_to_human_size(file.last_revision.size) %>, <%= l(:label_version) %> <%= file.last_revision.major_version %>.<%= file.last_revision.minor_version %>
, <%= number_to_human_size(file.last_revision.size) %>, <%= l(:label_dmsf_version) %> <%= file.last_revision.major_version %>.<%= file.last_revision.minor_version %>
<% end %>
</p>
<% end %>

View File

@ -22,6 +22,6 @@
<% @files.each do |file| %>
<%= h(file.dmsf_path_str) %> (<%= file.name %>)
<% if file.last_revision %>
, <%= number_to_human_size(file.last_revision.size) %>, <%= l(:label_version) %> <%= file.last_revision.major_version %>.<%= file.last_revision.minor_version %>
, <%= number_to_human_size(file.last_revision.size) %>, <%= l(:label_dmsf_version) %> <%= file.last_revision.major_version %>.<%= file.last_revision.minor_version %>
<% end %>
<% end %>

View File

@ -26,7 +26,7 @@
dmsf_file_url(file, :download => '')) %>
(<%= file.name %>),
<%= number_to_human_size(file.last_revision.size) %>,
<%= l(:label_version) %> <%= file.last_revision.major_version %>.<%= file.last_revision.minor_version %>,
<%= l(:label_dmsf_version) %> <%= file.last_revision.major_version %>.<%= file.last_revision.minor_version %>,
<%= "#{file.last_revision.workflow_str(true)}," if file.last_revision.workflow_str(true) != l(:title_none) %>
<%= link_to(l(:link_details, :title => h(file.title)),
dmsf_file_url(file)) %>

View File

@ -23,7 +23,7 @@
<% @files.each do |file| %>
<%= h(file.dmsf_path_str) %> (<%= file.name %>),
<%= number_to_human_size(file.last_revision.size) %>,
<%= l(:label_version) %> <%= file.last_revision.major_version %>.<%= file.last_revision.minor_version %>,
<%= l(:label_dmsf_version) %> <%= file.last_revision.major_version %>.<%= file.last_revision.minor_version %>,
<%= "#{file.last_revision.workflow_str(true)}," if file.last_revision.workflow_str(true) != l(:title_none) %>
<%= dmsf_file_url(file) %>
<% if file.last_revision.comment.present? %>

View File

@ -46,7 +46,7 @@
<div class="clear">
<div class="splitcontentleft">
<p>
<%= label_tag("commited_files[#{i}][version]_minor", l(:label_version)) %>
<%= label_tag("commited_files[#{i}][version]_minor", l(:label_dmsf_version)) %>
<%= radio_button_tag("commited_files[#{i}][version]", 1, true) %>
<%= upload.major_version %>.<%= upload.minor_version + 1 %>
<%= l(:option_version_minor) %><br/>

View File

@ -51,7 +51,7 @@
<div class="clear">
<div class="splitcontentleft">
<p>
<%= label_tag('', l(:label_version)) %>
<%= label_tag('', l(:label_dmsf_version)) %>
<%= upload.major_version %>.<%= upload.minor_version %>
</p>
</div>

View File

@ -323,6 +323,7 @@ cs:
error_unlock_parent_locked: Nelze odemknout - nadřazený objekt je zamčený
field_dmsf_tree_view: Zobrazit složky jako stromovou strukturu
label_dmsf_version: Verze
my:
blocks:

View File

@ -323,6 +323,7 @@ de:
error_unlock_parent_locked: Unlock failed - resource parent is locked
field_dmsf_tree_view: Navigate folders in a tree
label_dmsf_version: Version
my:
blocks:

View File

@ -323,6 +323,7 @@ en:
error_unlock_parent_locked: Unlock failed - resource parent is locked
field_dmsf_tree_view: Navigate folders in a tree
label_dmsf_version: Version
my:
blocks:

View File

@ -323,6 +323,7 @@ es:
error_unlock_parent_locked: Unlock failed - resource parent is locked
field_dmsf_tree_view: Navigate folders in a tree
label_dmsf_version: Versión
my:
blocks:

View File

@ -323,6 +323,7 @@ fr:
error_unlock_parent_locked: Unlock failed - resource parent is locked
field_dmsf_tree_view: Navigate folders in a tree
label_dmsf_version: Version
my:
blocks:

View File

@ -323,6 +323,7 @@ ja:
error_unlock_parent_locked: Unlock failed - resource parent is locked
field_dmsf_tree_view: Navigate folders in a tree
label_dmsf_version: バージョン
my:
blocks:

View File

@ -323,6 +323,7 @@ pl:
error_unlock_parent_locked: Unlock failed - resource parent is locked
field_dmsf_tree_view: Navigate folders in a tree
label_dmsf_version: Wersja
my:
blocks:

View File

@ -323,6 +323,7 @@ pt-BR:
error_unlock_parent_locked: Unlock failed - resource parent is locked
field_dmsf_tree_view: Navigate folders in a tree
label_dmsf_version: Versão
my:
blocks:

View File

@ -323,6 +323,7 @@ ru:
error_unlock_parent_locked: Разблокировка не удалась - родительская запись заблокирована
field_dmsf_tree_view: Navigate folders in a tree
label_dmsf_version: Версия
my:
blocks:

View File

@ -323,6 +323,7 @@ sl:
error_unlock_parent_locked: Unlock failed - resource parent is locked
field_dmsf_tree_view: Navigate folders in a tree
label_dmsf_version: Verzija
my:
blocks:

View File

@ -323,6 +323,7 @@ zh-TW:
error_unlock_parent_locked: Unlock failed - resource parent is locked
field_dmsf_tree_view: Navigate folders in a tree
label_dmsf_version: 版本
my:
blocks:

View File

@ -323,6 +323,7 @@ zh:
error_unlock_parent_locked: Unlock failed - resource parent is locked
field_dmsf_tree_view: Navigate folders in a tree
label_dmsf_version: 版本
my:
blocks: