Changed 'Create User' to 'New User' to reduces the number of similar translations.

This commit is contained in:
Denny Bresch 2019-07-23 17:31:33 +02:00
parent f756aed7a5
commit 0d8a7b7155
2 changed files with 3 additions and 3 deletions

View file

@ -56,7 +56,7 @@
<% if !_.isEmpty(item.from_pretty): %> <% if !_.isEmpty(item.from_pretty): %>
<a class="inherit-color" href="<%- App.Utils.phoneify(item.from_pretty) %>"><%= item.from_pretty %></a> <a class="inherit-color" href="<%- App.Utils.phoneify(item.from_pretty) %>"><%= item.from_pretty %></a>
<% if item.direction is 'in': %> <% if item.direction is 'in': %>
<div class="btn btn--text btn--create no-padding js-newUser" href="#" data-phone="<%= item.from_pretty %>"><%- @Icon('plus-small') %> <span><%- @T('Create User') %></div> <div class="btn btn--text btn--create no-padding js-newUser" href="#" data-phone="<%= item.from_pretty %>"><%- @Icon('plus-small') %> <span><%- @T('New User') %></div>
<% end %> <% end %>
<% else: %> <% else: %>
<a class="inherit-color" href="<%- App.Utils.phoneify(item.from) %>"><%= item.from %></a> <a class="inherit-color" href="<%- App.Utils.phoneify(item.from) %>"><%= item.from %></a>
@ -100,7 +100,7 @@
<% if !_.isEmpty(item.to_pretty): %> <% if !_.isEmpty(item.to_pretty): %>
<a class="inherit-color" href="<%- App.Utils.phoneify(item.to_pretty) %>"><%= item.to_pretty %></a> <a class="inherit-color" href="<%- App.Utils.phoneify(item.to_pretty) %>"><%= item.to_pretty %></a>
<% if item.direction is 'out': %> <% if item.direction is 'out': %>
<div class="btn btn--text btn--create no-padding js-newUser" href="#" data-phone="<%= item.to_pretty %>"><%- @Icon('plus-small') %> <span><%- @T('Create User') %></div> <div class="btn btn--text btn--create no-padding js-newUser" href="#" data-phone="<%= item.to_pretty %>"><%- @Icon('plus-small') %> <span><%- @T('New User') %></div>
<% end %> <% end %>
<% else: %> <% else: %>
<a class="inherit-color" href="<%- App.Utils.phoneify(item.to) %>"><%= item.to %></a> <a class="inherit-color" href="<%- App.Utils.phoneify(item.to) %>"><%= item.to %></a>

View file

@ -47,7 +47,7 @@
<% if !_.isEmpty(@item.from_pretty): %> <% if !_.isEmpty(@item.from_pretty): %>
<a class="inherit-color" href="<%- App.Utils.phoneify(@item.from_pretty) %>"><%= @item.from_pretty %></a> <a class="inherit-color" href="<%- App.Utils.phoneify(@item.from_pretty) %>"><%= @item.from_pretty %></a>
<% if @item.direction is 'in': %> <% if @item.direction is 'in': %>
<div class="btn btn--text btn--create no-padding js-newUser" href="#" data-phone="<%= @item.from_pretty %>"><%- @Icon('plus-small') %> <span><%- @T('Create User') %></div> <div class="btn btn--text btn--create no-padding js-newUser" href="#" data-phone="<%= @item.from_pretty %>"><%- @Icon('plus-small') %> <span><%- @T('New User') %></div>
<% end %> <% end %>
<% else: %> <% else: %>
<a class="inherit-color" href="<%- App.Utils.phoneify(@item.from) %>"><%= @item.from %></a> <a class="inherit-color" href="<%- App.Utils.phoneify(@item.from) %>"><%= @item.from %></a>