Use keys for translations, and added translations,

This commit is contained in:
Jan Böhmer 2019-02-26 14:02:05 +01:00
parent fd066dea64
commit 336ff7b103
7 changed files with 431 additions and 603 deletions

View file

@ -4,3 +4,4 @@ framework:
default_path: '%kernel.project_dir%/translations'
fallbacks:
- '%locale%'
- 'en'

View file

@ -4,7 +4,7 @@
# Put parameters here that don't need to change on each machine where the app is deployed
# https://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
parameters:
locale: 'en'
locale: 'de'
services:
# default configuration for services in *this* file

View file

@ -16,7 +16,7 @@
<nav class="navbar navbar-expand-md navbar-light bg-light border-bottom shadow-sm fixed-top py-0" id="navbar">
<button type="button" class="navbar-toggler" data-toggle="collapse" data-target="#sidebar-container">
<span class="sr-only">{% trans %}Toggle Sidebar{% endtrans %}</span>
<span class="sr-only">{% trans %}sidebar.toggle{% endtrans %}</span>
<!-- <span class="navbar-toggler-icon"></span> -->
<i class="fas fa-folder-open fa-lg fa-fw"></i>
</button>
@ -36,46 +36,46 @@
<form action="{$relative_path}show_search_parts.php" method="get">
<div class="dropdown d-inline">
<button class="btn btn-light dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
{% trans %}Search options{% endtrans %}
{% trans %}search.options.label{% endtrans %}
<span class="caret"></span>
</button>
<div class="dropdown-menu" aria-labelledby="SearchOptions">
<div class="abc-checkbox form-check-dropdown"><input type="checkbox" class="form-check-input" name="search_name" value="true" checked>
<label for="search_name" class="form-check-label">{% trans %}Name{% endtrans %}</label></div>
<label for="search_name" class="form-check-label">{% trans %}name.label{% endtrans %}</label></div>
<div class="abc-checkbox form-check-dropdown"><input type="checkbox" class="form-check-input" name="search_category" value="true" checked>
<label for="search_category" class="form-check-label">{% trans %}Category{% endtrans %}</label></div>
<label for="search_category" class="form-check-label">{% trans %}category.label{% endtrans %}</label></div>
<div class="abc-checkbox form-check-dropdown"><input type="checkbox" class="form-check-input" name="search_description" value="true" checked>
<label for="search_description" class="form-check-label"></label>{% trans %}Description{% endtrans %}</div>
<label for="search_description" class="form-check-label"></label>{% trans %}description.label{% endtrans %}</div>
<div class="abc-checkbox form-check-dropdown"><input type="checkbox" class="form-check-input" name="search_storelocation" value="true" checked>
<label for="search_storelocation" class="form-check-label">{% trans %}Storelocation{% endtrans %}</label></div>
<label for="search_storelocation" class="form-check-label">{% trans %}storelocation.label{% endtrans %}</label></div>
<div class="form-check-dropdown abc-checkbox" class="form-check-label"><input type="checkbox" class="form-check-input" name="search_comment" value="true" checked>
<label for="search_comment" class="form-check-label">{% trans %}Comment{% endtrans %}</label></div>
<label for="search_comment" class="form-check-label">{% trans %}comment.label{% endtrans %}</label></div>
{% if true %}
<div class="form-check-dropdown abc-checkbox"><input type="checkbox" class="form-check-input" name="search_supplierpartnr" value="true" checked>
<label for="search_supplierpartnr" class="form-check-label">{% trans %}Ordernr.{% endtrans %}</label></div>
<label for="search_supplierpartnr" class="form-check-label">{% trans %}ordernumber.label.short{% endtrans %}</label></div>
<li class="form-check-dropdown abc-checkbox"><input type="checkbox" class="form-check-input" name="search_supplier" value="true">
<label for="search_supplier" class="form-check-label">{% trans %}Supplier{% endtrans %}</label></li> {% endif %}
<label for="search_supplier" class="form-check-label">{% trans %}supplier.label{% endtrans %}</label></li> {% endif %}
{% if true %}
<div class="form-check-dropdown abc-checkbox"><input type="checkbox" class="form-check-input" name="search_manufacturer" value="true">
<label for="search_manufacturer" class="form-check-label">{% trans %}Manufacturer{% endtrans %}</label></div>{% endif %}
<label for="search_manufacturer" class="form-check-label">{% trans %}manufacturer.label{% endtrans %}</label></div>{% endif %}
{% if true %}
<div class="form-check-dropdown abc-checkbox"><input type="checkbox" class="form-check-input" name="search_footprint" value="true">
<label for="search_footprint" class="form-check-label">{% trans %}Footprint{% endtrans %}</label></div>{% endif %}
<label for="search_footprint" class="form-check-label">{% trans %}footprint.label{% endtrans %}</label></div>{% endif %}
<div class="form-c heck-dropdown abc-checkbox"><input type="checkbox" class="form-check-input" name="disable_pid_input" value="false">
<label for="disable_pid_input" class="form-check-label">{% trans %}Deact. Barcode{% endtrans %}</label></div>
<label for="disable_pid_input" class="form-check-label">{% trans %}search.deactivateBarcode{% endtrans %}</label></div>
<div class="form-check-dropdown abc-checkbox"><input type="checkbox" class="form-check-input" name="regex" value="true">
<label for="regex" class="form-check-label">{% trans %}RegEx Matching{% endtrans %}</label></div>
<label for="regex" class="form-check-label">{% trans %}search.regexmatching{% endtrans %}</label></div>
</div>
</div>
<input type="search" class="form-control mr-sm-2" placeholder="{% trans %}Searc{% endtrans %}" name="keyword" onkeyup="livesearch(event, this, 2);">
<button type="submit" id="search-submit" class="btn btn-outline-secondary my-2">{% trans %}Go!{% endtrans %}</button>
<input type="search" class="form-control mr-sm-2" placeholder="{% trans %}search.placeholder{% endtrans %}" name="keyword" onkeyup="livesearch(event, this, 2);">
<button type="submit" id="search-submit" class="btn btn-outline-secondary my-2">{% trans %}go.exclamation{% endtrans %}</button>
</form>
</div>
<a class="d-block d-md-none nav-link link-datasheet" style="color: black;"
href="zxing://scan/?ret={if isset($smarty.server.HTTPS)}https{else}http{/if}%3A%2F%2F{$smarty.server.HTTP_HOST|escape:'url'}{$relative_path|escape:'url'}show_search_parts.php%3Fkeyword%3D%7BCODE%7D&SCAN_FORMATS=EAN_8,CODE_39">
<i class="fa fa-barcode fa-fw fa-lg" aria-hidden="true"></i>
<span class="ml-2 text-muted">{% trans %}Scan Barcode{% endtrans %}</span>
<span class="ml-2 text-muted">{% trans %}barcode.scan{% endtrans %}</span>
</a>
<ul class="navbar-nav ml-3">
@ -84,13 +84,13 @@
{% if true %}<i class="fa fa-user" aria-hidden="true"></i>{% else %}<i class="far fa-user" aria-hidden="true"></i>{% endif %} <span class="caret"></span></a>
<ul class="dropdown-menu dropdown-menu-right" id="login-menu">
{% if true %}
<a class="dropdown-item disabled" href="#" >{% trans %}Logged in as{% endtrans %} {$firstname} {$lastname} ({$username})</a>
<a class="dropdown-item" href="user_settings.php"><i class="fa fa-cogs fa-fw" aria-hidden="true"></i> {% trans %}User settings{% endtrans %}</a>
<a class="dropdown-item" href="user_info.php"><i class="fa fa-info-circle fa-fw" aria-hidden="true"></i> {% trans %}User informations{% endtrans %}</a>
<a class="dropdown-item disabled" href="#" >{% trans %}user.loggedin.label{% endtrans %} {$firstname} {$lastname} ({$username})</a>
<a class="dropdown-item" href="user_settings.php"><i class="fa fa-cogs fa-fw" aria-hidden="true"></i> {% trans %}user.settings.label{% endtrans %}</a>
<a class="dropdown-item" href="user_info.php"><i class="fa fa-info-circle fa-fw" aria-hidden="true"></i> {% trans %}user.info.label{% endtrans %}</a>
<li role="separator" class="dropdown-divider"></li>
<a class="dropdown-item" href="{$relative_path}login.php?logout"><i class="fa fa-sign-out-alt fa-fw" aria-hidden="true"></i> {% trans %}Logout{% endtrans %}</a>
<a class="dropdown-item" href="{$relative_path}login.php?logout"><i class="fa fa-sign-out-alt fa-fw" aria-hidden="true"></i> {% trans %}user.logout{% endtrans %}</a>
{% else %}
<a class="dropdown-item" href="{$relative_path}login.php?redirect={$smarty.server.REQUEST_URI|escape:"url"}" id="login-link"><i class="fa fa-sign-in-alt fa-fw" aria-hidden="true"></i> {% trans %}Login{% endtrans %}</a>
<a class="dropdown-item" href="{$relative_path}login.php?redirect={$smarty.server.REQUEST_URI|escape:"url"}" id="login-link"><i class="fa fa-sign-in-alt fa-fw" aria-hidden="true"></i> {% trans %}user.login{% endtrans %}</a>
{% endif %}
</ul>
</li>
@ -109,21 +109,21 @@
<li id="categories">
<div class="dropdown">
<button class="btn-text dropdown-toggle mb-2" type="button" id="dropdownCat" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<span class="sidebar-title" id="tree-categories-title">{% trans %}Categories{% endtrans %}</span>
<span class="sidebar-title" id="tree-categories-title">{% trans %}category.labelp{% endtrans %}</span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownCat">
<li class="dropdown-header">{% trans %}Actions{% endtrans %}</li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="expand" data-target="tree-categories">{% trans %}Expand All{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="collapse" data-target="tree-categories">{% trans %}Reduce All{% endtrans %}</a></li>
<li class="dropdown-header">{% trans %}actions{% endtrans %}</li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="expand" data-target="tree-categories">{% trans %}expandAll{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="collapse" data-target="tree-categories">{% trans %}reduceAll{% endtrans %}</a></li>
<li role="separator" class="dropdown-divider"></li>
<li class="dropdown-header">{% trans %}Datasource{% endtrans %}</li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="categories" data-target="tree-categories">{% trans %}Categories{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="locations" data-target="tree-categories">{% trans %}Store locations{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="footprints" data-target="tree-categories">{% trans %}Footprints{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="manufacturers" data-target="tree-categories">{% trans %}Manufacturers{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="suppliers" data-target="tree-categories">{% trans %}Suppliers{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="devices" data-target="tree-categories">{% trans %}Devices{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="tools" data-target="tree-categories">{% trans %}Tools{% endtrans %}</a></li>
<li class="dropdown-header">{% trans %}datasource{% endtrans %}</li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="categories" data-target="tree-categories">{% trans %}category.labelp{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="locations" data-target="tree-categories">{% trans %}storelocation.labelp{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="footprints" data-target="tree-categories">{% trans %}footprint.labelp{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="manufacturers" data-target="tree-categories">{% trans %}manufacturer.labelp{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="suppliers" data-target="tree-categories">{% trans %}supplier.labelp{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="devices" data-target="tree-categories">{% trans %}device.labelp{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="tools" data-target="tree-categories">{% trans %}tools.label{% endtrans %}</a></li>
</ul>
</div>
<div id="tree-categories"></div>
@ -131,21 +131,21 @@
<li id="devices">
<div class="dropdown">
<button class="btn-text dropdown-toggle mb-2 mt-2" type="button" id="dropdownDev" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<span class="sidebar-title" id="tree-devices-title">{% trans %}Devices{% endtrans %}</span>
<span class="sidebar-title" id="tree-devices-title">{% trans %}device.labelp{% endtrans %}</span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownDev">
<li class="dropdown-header">{% trans %}Actions{% endtrans %}</li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="expand" data-target="tree-devices">{% trans %}Expand All{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="collapse" data-target="tree-devices">{% trans %}Reduce All{% endtrans %}</a></li>
<li class="dropdown-header">{% trans %}actions{% endtrans %}</li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="expand" data-target="tree-devices">{% trans %}expandAll{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="collapse" data-target="tree-devices">{% trans %}reduceAll{% endtrans %}</a></li>
<li role="separator" class="dropdown-divider"></li>
<li class="dropdown-header">{% trans %}Datasource{% endtrans %}</li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="categories" data-target="tree-devices">{% trans %}Categories{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="locations" data-target="tree-devices">{% trans %}Store locations{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="footprints" data-target="tree-devices">{% trans %}Footprints{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="manufacturers" data-target="tree-devices">{% trans %}Manufacturers{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="suppliers" data-target="tree-devices">{% trans %}Suppliers{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="devices" data-target="tree-devices">{% trans %}Devices{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="tools" data-target="tree-devices">{% trans %}Tools{% endtrans %}</a></li>
<li class="dropdown-header">{% trans %}datasource{% endtrans %}</li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="categories" data-target="tree-devices">{% trans %}category.labelp{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="locations" data-target="tree-devices">{% trans %}storelocation.labelp{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="footprints" data-target="tree-devices">{% trans %}footprint.labelp{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="manufacturers" data-target="tree-devices">{% trans %}manufacturer.labelp{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="suppliers" data-target="tree-devices">{% trans %}supplier.labelp{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="devices" data-target="tree-devices">{% trans %}device.labelp{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="tools" data-target="tree-devices">{% trans %}tools.label{% endtrans %}</a></li>
</ul>
</div>
<div id="tree-devices"></div>
@ -154,21 +154,21 @@
<li id="tools">
<div class="dropdown">
<button class="btn-text dropdown-toggle mb-2 mt-2" type="button" id="dropdownTools" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<span class="sidebar-title" id="tree-tools-title">{% trans %}Tools{% endtrans %}</span>
<span class="sidebar-title" id="tree-tools-title">{% trans %}tools.label{% endtrans %}</span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownTools">
<li class="dropdown-header">{% trans %}Actions{% endtrans %}</li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="expand" data-target="tree-tools">{% trans %}Expand All{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="collapse" data-target="tree-tools">{% trans %}Reduce All{% endtrans %}</a></li>
<li class="dropdown-header">{% trans %}actions{% endtrans %}</li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="expand" data-target="tree-tools">{% trans %}expandAll{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="collapse" data-target="tree-tools">{% trans %}reduceAll{% endtrans %}</a></li>
<li role="separator" class="dropdown-divider"></li>
<li class="dropdown-header">{% trans %}Datasource{% endtrans %}</li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="categories" data-target="tree-tools">{% trans %}Categories{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="locations" data-target="tree-tools">{% trans %}Store locations{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="footprints" data-target="tree-tools">{% trans %}Footprints{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="manufacturers" data-target="tree-tools">{% trans %}Manufacturers{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="suppliers" data-target="tree-tools">{% trans %}Suppliers{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="devices" data-target="tree-tools">{% trans %}Devices{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="tools" data-target="tree-tools">{% trans %}Tools{% endtrans %}</a></li>
<li class="dropdown-header">{% trans %}datasource{% endtrans %}</li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="categories" data-target="tree-tools">{% trans %}category.labelp{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="locations" data-target="tree-tools">{% trans %}storelocation.labelp{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="footprints" data-target="tree-tools">{% trans %}footprint.labelp{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="manufacturers" data-target="tree-tools">{% trans %}manufacturer.labelp{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="suppliers" data-target="tree-tools">{% trans %}supplier.labelp{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="devices" data-target="tree-tools">{% trans %}device.labelp{% endtrans %}</a></li>
<li><a href="#" class="tree-btns dropdown-item" data-mode="tools" data-target="tree-tools">{% trans %}tools.label{% endtrans %}</a></li>
</ul>
</div>
<div id="tree-tools"></div>
@ -176,7 +176,7 @@
</ul>
<noscript><b>{% trans %}Please activate Javascript to use all features.{% endtrans %}</b></noscript>
<noscript><b>{% trans %}vendor.base.javascript_hint{% endtrans %}</b></noscript>
</nav>
</div>
@ -227,7 +227,7 @@
{if !empty($reload_link)}
<a href="{$reload_link}">
<br>
<button class="btn btn-secondary">{% trans %}Seite neu laden{% endtrans %}</button>
<button class="btn btn-secondary">Seite neu laden</button>
</a>
{/if}
</form>

View file

@ -1,16 +1,16 @@
{% extends "base.html.twig" %}
{% block title %}
{% trans %}Detail info for{% endtrans %} {{ part.name }}
{% trans %}part.info.title{% endtrans %} {{ part.name }}
{% endblock %}
{% block content %}
<div class="card border-primary">
<div class="card-header bg-primary text-white">
<i class="fa {{ part.favorite ? 'fa-star' : 'fa-info-circle'}} fa-fw" aria-hidden="true"></i>
{% trans %}Detail info for{% endtrans %} <b>"{{ part.name }}"</b>
{% trans %}part.info.title{% endtrans %} <b>"{{ part.name }}"</b>
<div class="float-right">
{% trans %}ID:{% endtrans %} {{ part.id }}
{% trans %}id.label{% endtrans %}: {{ part.id }}
</div>
</div>
@ -22,30 +22,30 @@
<img src="https://via.placeholder.com/300" class="img-fluid img-thumbnail" height="300" width="300">
</div>
<div class="col-md-9">
<h5 class="text-muted pt-2" title="{% trans %}Manufacturer{% endtrans %}">{{ part.manufacturer.name ?? ""}}</h5>
<h5 class="text-muted pt-2" title="{% trans %}manufacturer.label{% endtrans %}">{{ part.manufacturer.name ?? ""}}</h5>
<h3>{{ part.name }}</h3>
<h6 class="text-muted"><span title="{% trans %}Description{% endtrans %}">{{ part.description }}</span></h6>
<h6 class="" title="{% trans %}Store location{% endtrans %}">
<h6 class="text-muted"><span title="{% trans %}description.label{% endtrans %}">{{ part.description }}</span></h6>
<h6 class="" title="{% trans %}storelocation.label{% endtrans %}">
<i class="fas fa-cube fa-fw"></i>
<span class="text-muted">{{ part.storelocation.fullPath ?? "-"}}</span>
</h6>
<h6><i class="fas fa-shapes fa-fw"></i>
<span class="text-muted">
<span title="{% trans %}Instock{% endtrans %}">{{ part.instock }}</span>
<span title="{% trans %}instock.label{% endtrans %}">{{ part.instock }}</span>
/
<span title="{% trans %}Minimum Instock{% endtrans %}">{{ part.mininstock }}</span>
<span title="{% trans %}mininstock.label{% endtrans %}">{{ part.mininstock }}</span>
</span>
</h6>
<h6 class="" title="{% trans %}Footprint{% endtrans %}">
<h6 class="" title="{% trans %}footprint.label{% endtrans %}">
<i class="fas fa-microchip fa-fw" ></i>
<span class="text-muted">{{ part.footprint.fullPath ?? "-"}}</span>
</h6>
<h6 title="{% trans %}Average price{% endtrans %}">
<h6 title="{% trans %}part.avg_price.label{% endtrans %}">
<i class="fas fa-money-bill-alt fa-fw"></i>
<span class="text-muted">{{ "TODO" }}</span>
</h6>
{% if part.comment != "" %}
<h6 title="{% trans %}Comment{% endtrans %}">
<h6 title="{% trans %}comment.label{% endtrans %}">
<i class="fas fa-comment-alt fa-fw"></i>
<span class="text-muted">{{ part.comment }}</span>
</h6>
@ -59,25 +59,25 @@
<a class="nav-link active" id="attachment-tab" data-toggle="tab"
href="#attachments" role="tab" aria-controls="home" aria-selected="true">
<i class="fas fa-paperclip fa-fw"></i>
{% trans %}Attachments{% endtrans %}
{% trans %}attachment.labelp{% endtrans %}
</a>
</li>
<li class="nav-item">
<a class="nav-link" id="supplier-tab" data-toggle="tab" href="#suppliers" role="tab" aria-controls="profile" aria-selected="false">
<i class="fas fa-shopping-cart fa-fw"></i>
{% trans %}Shopping Informations{% endtrans %}
{% trans %}vendor.partinfo.shopping_infos{% endtrans %}
</a>
</li>
<li class="nav-item">
<a class="nav-link" id="history-tab" data-toggle="tab" href="#history" role="tab" aria-controls="contact" aria-selected="false">
<i class="fas fa-history"></i>
{% trans %}History{% endtrans %}
{% trans %}vendor.partinfo.history{% endtrans %}
</a>
</li>
<li class="nav-item">
<a class="nav-link" id="tools-tab" data-toggle="tab" href="#tools" role="tab" aria-controls="contact" aria-selected="false">
<i class="fas fa-tools"></i>
{% trans %}Tools{% endtrans %}
{% trans %}tools.label{% endtrans %}
</a>
</li>
</ul>
@ -94,8 +94,8 @@
<div class="tab-pane fade" id="tools" role="tabpanel" aria-labelledby="contact-tab">
<form class="mt-3">
<div class="form-group">
<label>{% trans %}Delete part:{% endtrans %}</label>
<button class="btn btn-danger">{% trans %}Delete part{% endtrans %}</button>
<label>{% trans %}part.delete.caption{% endtrans %}:</label>
<button class="btn btn-danger">{% trans %}part.delete.btn{% endtrans %}</button>
</div>
</form>
</div>
@ -110,17 +110,17 @@
<input type="hidden" name="pid" value="{$pid}">
<div class="row">
<div class="col-md-12">
<label for="n_less">{% trans %}Withdraw parts:{% endtrans %}</label>
<label for="n_less">{% trans %}part.withdraw.caption:{% endtrans %}</label>
<div class="input-group">
<input type="number" class="form-control" name="n_less" min="0" max="999999" value="1" placeholder="Anzahl">
<div class="input-group-append">
<div class="btn-group">
<button type="submit" class="btn btn-outline-secondary btn-group-append" name="dec"> {% trans %}Withdraw{% endtrans %}</button>
<button type="submit" class="btn btn-outline-secondary btn-group-append" name="dec"> {% trans %}part.withdraw.btn{% endtrans %}</button>
<button type="button" class="btn btn-outline-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown"></button>
<div class="dropdown-menu">
<div class="px-4 py-3">
<div class="form-group">
<label>{% trans %}Comment/Purpose:{% endtrans %}</label>
<label>{% trans %}part.withdraw.comment:{% endtrans %}</label>
<input type="text" class="form-control" name="instock_change_comment" placeholder="{{ "TODO" }}">
</div>
</div>
@ -138,17 +138,17 @@
<input type="hidden" name="pid" value="{$pid}">
<div class="row">
<div class="col-md-12">
<label for="n_more">{% trans %}Add parts:{% endtrans %}</label>
<label for="n_more">{% trans %}part.add.caption{% endtrans %}</label>
<div class="input-group">
<input type="number" class="form-control" name="n_more" min="0" max="999999" value="1">
<div class="input-group-append">
<div class="btn-group">
<button type="submit" class="btn btn-outline-secondary btn-group-append" name="inc" >{% trans %}Add{% endtrans %}</button>
<button type="submit" class="btn btn-outline-secondary btn-group-append" name="inc" >{% trans %}part.add.btn{% endtrans %}</button>
<button type="button" class="btn btn-outline-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown"></button>
<div class="dropdown-menu">
<div class="px-4 py-3">
<div class="form-group">
<label>{% trans %}Comment/Purpose:{% endtrans %}</label>
<label>{% trans %}part.add.comment{% endtrans %}</label>
<input type="text" class="form-control" name="instock_change_comment" placeholder="TODO">
</div>
</div>
@ -197,7 +197,7 @@
<p></p>
<div class="form-group">
<label>{% trans %}Created at:{% endtrans %}</label>
<label>{% trans %}createdAt{% endtrans %}:</label>
<p>{{ part.datetimeAdded | date}}
{#{if !empty($creation_user)} {% trans %}by{% endtrans %}
{if $can_visit_user}
@ -212,7 +212,7 @@
<p></p>
<div class="form-group">
<label>{% trans %}Last modified:{% endtrans %}</label>
<label>{% trans %}lastModified{% endtrans %}:</label>
<p>{{ part.lastModified | date }}
{# {if !empty($last_modified_user)} {% trans %}by{% endtrans %}
{if $can_visit_user}

View file

@ -1,329 +0,0 @@
{% extends "base.html.twig" %}
{% block content %}
<div class="card border-primary">
<div class="card-header bg-primary text-white">
<i class="fa {{ part.favorite ? 'fa-star' : 'fa-info-circle'}} fa-fw" aria-hidden="true"></i>
{% trans %}Detail info for{% endtrans %} <b>"{{ part.name }}"</b>
<div class="float-right">
{% trans %}ID:{% endtrans %} {{ part.id }}
</div>
</div>
<div class="card-body">
<div class="row">
<div class="col-md-9">
{#
<div class="form-horizontal">
<div class="form-group row">
<label class="col-sm-3 col-form-label">{% trans %}Name:{% endtrans %}</label>
<div class="col-sm-9">
{% if part.manufacturerProductUrl %}
<a class="form-control-link d-print-none-href link-external" target="_blank" title="{{ part.manufacturerProductUrl }}" href="{{ part.manufacturerProductUrl }}">{{part.name}}</a>
{% else %}
<p class="form-control-plaintext">{{ part.name }}</p>
{% endif %}
</div>
</div>
<div class="form-group row">
<label class="col-sm-3 col-form-label">{% trans %}Description:{% endtrans %}</label>
<div class="col-sm-9">
<p class="form-control-plaintext">
{% if part.description %}{{part.description}}{% else %}-{% endif %}
</p>
</div>
</div>
<div class="form-group row">
<label class="col-sm-3 col-form-label">{% trans %}Instock:{% endtrans %}</label>
<div class="col-sm-9">
<p class="form-control-plaintext">{{ part.instock }}</p>
</div>
</div>
<div class="form-group row">
<label class="col-sm-3 col-form-label">{% trans %}Mininmum Instock:{% endtrans %}</label>
<div class="col-sm-9"><p class="form-control-plaintext">{{ part.mininstock}}</p></div>
</div>
<div class="form-group row">
<label class="col-sm-3 col-form-label">{% trans %}Category:{% endtrans %}</label>
{#
<div class="col-sm-9">{* <a href="show_category_parts.php?cid={$category_id}" class="form-control-link d-print-none-href">{$category_full_path}</a>*}
{include "../smarty_structural_link.tpl" link=$category_path}
</div>
<div class="col-sm-9">TODO: {{ part.category.fullPath }}</div>
</div>
<div class="form-group row">
<label class="col-sm-3 col-form-label">{% trans %}Storelocation:{% endtrans %}</label>
<div class="col-sm-9">
{# {include "../smarty_structural_link.tpl" link=$storelocation_path}
TODO: {{ part.storelocation.fullPath }}
</div>
</div>
{if !$disable_manufacturers}
<div class="form-group row">
<label class="col-sm-3 col-form-label">{% trans %}Hersteller:{% endtrans %}</label>
<div class="col-sm-9">
{include "../smarty_structural_link.tpl" link=$manufacturer_path}
</div>
</div>
{/if}
{if !$disable_footprints}
<div class="form-group row">
<label class="col-sm-3 col-form-label">{% trans %}Footprint:{% endtrans %}</label>
<div class="col-sm-9">
{include "../smarty_structural_link.tpl" link=$footprint_path}
</div>
</div>
{if !empty($footprint_filename) && $footprint_valid}
<div class="form-group row">
<div class="col-sm-9 offset-md-3">
<img align="middle" rel="popover" src="{$footprint_filename}" alt="" height="70">
</div>
</div>
{/if}
{if $foot3d_active && !empty($foot3d_filename) && $foot3d_valid}
<div class="form-group row">
<div class="col-sm-9 offset-md-3">
<x3d id="foot3d" class="img-thumbnail" height="150" width="500" >
<scene >
<!-- <Viewpoint id="front" position="0 0 10" orientation="-0.01451 0.99989 0.00319 3.15833" description="camera"></Viewpoint> -->
<transform>
<inline url="{$foot3d_filename}"> </inline>
</transform>
</scene>
<button class="btn btn-sm btn-outline-secondary" data-toggle="modal" data-target="#fullscreen"><i class="fa fa-arrows-alt" aria-hidden="true"></i></button>
</x3d>
</div>
</div>
{/if}
{/if}
<div class="form-group row">
<label class="col-sm-3 col-form-label">{% trans %}Kommentar:{% endtrans %}</label>
<div class="col-sm-9">
<p class="form-control-plaintext">{if !empty($comment)}{$comment nofilter}{else}-{/if}</p>
</div>
</div>
{if $can_edit}
<div class="form-group d-print-none row mt-2">
<div class="col-sm-9 offset-sm-3">
<a class="btn btn-primary" href="edit_part_info.php?pid={$pid}">
<i class="fa fa-edit fa-fw" aria-hidden="true"></i> {% trans %}Angaben verändern{% endtrans %}</a>
</div>
</div>
{/if}
</div>
#}
<div class="row">
<div class="col-md-3">
<img src="https://via.placeholder.com/150" class="img-fluid img-thumbnail" height="150" width="150">
</div>
<div class="col-md-9">
<h5 class="text-muted">Hersteller</h5>
<h3>{{ part.name }}</h3>
</div>
</div>
</div>
<div class="col-md-3">
<form action="" method="post" class="d-print-none no-progbar">
<input type="hidden" name="pid" value="{$pid}">
<div class="row">
<div class="col-md-12">
<label for="n_less">{% trans %}Teile entnehmen:{% endtrans %}</label>
<div class="input-group">
<input type="number" class="form-control" name="n_less" min="0" max="999999" value="1" placeholder="Anzahl" {if !$can_instock || $instock_unknown}disabled{/if}>
<div class="input-group-append">
<div class="btn-group">
<button type="submit" class="btn btn-outline-secondary btn-group-append" name="dec" {if !$can_instock || $instock_unknown}disabled{/if}>{% trans %}Entnehmen{% endtrans %}</button>
<button type="button" class="btn btn-outline-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown"></button>
<div class="dropdown-menu">
<div class="px-4 py-3">
<div class="form-group">
<label>{% trans %}Kommentar/Zweck:{% endtrans %}</label>
<input type="text" class="form-control" name="instock_change_comment" placeholder="{$default_instock_change_comment_w}">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
<p></p>
<form action="" method="post" class="d-print-none no-progbar">
<input type="hidden" name="pid" value="{$pid}">
<div class="row">
<div class="col-md-12">
<label for="n_more">{% trans %}Teile hinzufügen{% endtrans %}:</label>
<div class="input-group">
<input type="number" class="form-control" name="n_more" min="0" max="999999" value="1" {if !$can_instock || $instock_unknown}disabled{/if}>
<div class="input-group-append">
<div class="btn-group">
<button type="submit" class="btn btn-outline-secondary btn-group-append" name="inc" {if !$can_instock || $instock_unknown}disabled{/if}>{% trans %}Hinzufügen{% endtrans %}</button>
<button type="button" class="btn btn-outline-secondary dropdown-toggle dropdown-toggle-split" data-toggle="dropdown"></button>
<div class="dropdown-menu">
<div class="px-4 py-3">
<div class="form-group">
<label>{% trans %}Kommentar/Zweck:{% endtrans %}</label>
<input type="text" class="form-control" name="instock_change_comment" placeholder="{$default_instock_change_comment_a}">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</form>
<p></p>
{if $can_order_read && !$instock_unknown}
<form action="" method="post" class="d-print-none no-progbar">
<input type="hidden" name="pid" value="{$pid}">
<div class="row">
<div class="col-md-12">
{if $manual_order_exists}
<label for="remove_mark_to_order">{% trans %}Bauteil wurde manuell zum Bestellen vorgemerkt.{% endtrans %}</label>
<button type="submit" class="btn btn-outline-secondary"
name="remove_mark_to_order" {if !$can_order_read}disabled{/if}>
{% trans %}Aufheben{% endtrans %}</button>
{else}
{if $auto_order_exists}
<i>{% trans %}Das Bauteil wird unter "Zu bestellende Teile"aufgelistet, da der Bestand kleiner als der Mindestbestand ist.{% endtrans %}</i>
{else}
<label for="order_quantity">{% trans %}Zum Bestellen vormerken:{% endtrans %}</label>
<div class="input-group">
<input type="number" min="0" max="999999" class="form-control" value="1" name="order_quantity"
placeholder="Bestellmenge" {if !$can_order_edit}disabled{/if}><br>
<span class="input-group-append">
<button type="submit" class="btn btn-outline-secondary"
name="mark_to_order" {if !$can_order_edit}disabled{/if}>{% trans %}Übernehmen{% endtrans %}</button>
</span>
</div>
{/if}
{/if}
</div>
</div>
</form>
{/if}
<p></p>
<div class="form-group">
<label>{% trans %}Hinzugefügt:{% endtrans %}</label>
<p>{$datetime_added}
{if !empty($creation_user)} {% trans %}durch{% endtrans %}
{if $can_visit_user}
<a href="{$relative_path}user_info.php?uid={$creation_user_id}">{$creation_user}</a>
{else}
{$creation_user}
{/if}
{/if}
</p>
</div>
<p></p>
<div class="form-group">
<label>{% trans %}Letzte Änderung:{% endtrans %}</label>
<p>{$last_modified}
{if !empty($last_modified_user)} {% trans %}durch{% endtrans %}
{if $can_visit_user}
<a href="{$relative_path}user_info.php?uid={$last_modified_user_id}">{$last_modified_user}</a>
{else}
{$last_modified_user}
{/if}
{/if}
</p>
</div>
<p></p>
<form action="show_part_label.php" class="d-print-none">
{if $can_generate_barcode}
{if count($barcode_profiles) > 0}
<input type="hidden" name="label_generate">
<input type="hidden" name="id" value="{$pid}">
<div class="btn-group btn-block">
<button type="submit" class="btn btn-secondary btn-block"><i class="fa fa-barcode fa-fw" aria-hidden="true"></i>
{% trans %}Barcode erzeugen{% endtrans %}</button>
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="sr-only">Toggle Dropdown</span>
</button>
<ul class="dropdown-menu dropdown-menu-right" id="label-dropdown">
{foreach $barcode_profiles as $profile}
<a href="#" class="link-anchor dropdown-item" onclick="submitFormSubmitBtn($(this).closest('form'), $('#profile_btn_{$profile|replace:" ":"_"}'));">{$profile}</a>
<button type="submit" name="profile" id="profile_btn_{$profile|replace:" ":"_"}" value="{$profile}" class="d-none">{$profile}</button>
{/foreach}
</ul>
</div>
{else}
<input type="hidden" name="id" value="{$pid}">
<input type="hidden" name="generator" value="part">
<input type="hidden" name="size" value="50x30">
<input type="hidden" name="preset" value="Preset A">
<input type="hidden" name="label_generate">
<button type="submit" class="btn btn-secondary btn-block"><i class="fa fa-barcode fa-fw" aria-hidden="true"></i>
{% trans %}Barcode erzeugen{% endtrans %}</button>
{/if}
</form>
<p></p>
{/if}
<div class=" d-print-none">
<button type="button" class="btn btn-secondary btn-block" onclick="window.print();"><i class="fa fa-print fa-fw" aria-hidden="true"></i>
{% trans %}Übersicht drucken{% endtrans %}
</button>
</div>
<p></p>
<div class=" d-print-none">
<div class="dropdown">
<button class="btn btn-secondary btn-block dropdown-toggle" type="button" id="dropdownMenu1" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
<i class="fa fa-file fa-fw" aria-hidden="true"></i> {% trans %}Datenblattlinks{% endtrans %}
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
{foreach $datasheet_loop as $sheet}
<li>
<a class="link-datasheet datasheet dropdown-item" title="{$sheet.name}" href="{$sheet.url}" target="_blank">
<img class="companypic-bg" src="{$relative_path}{$sheet.image}" alt="{$sheet.name}">
&nbsp;{$sheet.name}
</a>
</li>
{/foreach}
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}

View file

@ -5,273 +5,209 @@
<tool tool-id="symfony" tool-name="Symfony"/>
</header>
<body>
<trans-unit id="HUwX21L" resname="Toggle Sidebar">
<source>Toggle Sidebar</source>
<target>__Toggle Sidebar</target>
<trans-unit id="cElTSD4" resname="sidebar.toggle">
<source>sidebar.toggle</source>
<target state="translated">Sidebar umschalten</target>
</trans-unit>
<trans-unit id="VWoIUBD" resname="Search options">
<source>Search options</source>
<target>__Search options</target>
<trans-unit id="el2uFyW" resname="search.options.label">
<source>search.options.label</source>
<target state="translated">Suchoptionen</target>
</trans-unit>
<trans-unit id="3NHVIj9" resname="Name">
<source>Name</source>
<trans-unit id="kTRK6H_" resname="name.label">
<source>name.label</source>
<target state="translated">Name</target>
</trans-unit>
<trans-unit id="KSwG8AR" resname="Category">
<source>Category</source>
<trans-unit id="ZY57BXc" resname="category.label">
<source>category.label</source>
<target state="translated">Kategorie</target>
</trans-unit>
<trans-unit id="Um4Ah8w" resname="Description">
<source>Description</source>
<trans-unit id="LSnWIG7" resname="description.label">
<source>description.label</source>
<target state="translated">Beschreibung</target>
</trans-unit>
<trans-unit id=".vKyPPB" resname="Storelocation">
<source>Storelocation</source>
<trans-unit id="RezjOdV" resname="storelocation.label">
<source>storelocation.label</source>
<target state="translated">Lagerort</target>
</trans-unit>
<trans-unit id="RPXj__x" resname="Comment">
<source>Comment</source>
<trans-unit id="BWS7Lck" resname="comment.label">
<source>comment.label</source>
<target state="translated">Kommentar</target>
</trans-unit>
<trans-unit id="Kg6fyWy" resname="Ordernr.">
<source>Ordernr.</source>
<target state="translated">Bestellnr.</target>
<trans-unit id="z1DQ7QF" resname="ordernumber.label.short">
<source>ordernumber.label.short</source>
<target state="translated">Ordernr.</target>
</trans-unit>
<trans-unit id="cuLwM2f" resname="Supplier">
<source>Supplier</source>
<trans-unit id="zT4k8ZJ" resname="supplier.label">
<source>supplier.label</source>
<target state="translated">Lieferant</target>
</trans-unit>
<trans-unit id="GvOExXf" resname="Manufacturer">
<source>Manufacturer</source>
<trans-unit id="WB3sH1G" resname="manufacturer.label">
<source>manufacturer.label</source>
<target state="translated">Hersteller</target>
</trans-unit>
<trans-unit id="Fh5Ul33" resname="Footprint">
<source>Footprint</source>
<target state="translated">Footprint</target>
<trans-unit id="griVyRf" resname="footprint.label">
<source>footprint.label</source>
<target>__footprint.label</target>
</trans-unit>
<trans-unit id="zRJMHhU" resname="Deact. Barcode">
<source>Deact. Barcode</source>
<trans-unit id="Bs5QvO0" resname="search.deactivateBarcode">
<source>search.deactivateBarcode</source>
<target state="translated">Deakt. Barcode</target>
</trans-unit>
<trans-unit id="y8c23Dw" resname="RegEx Matching">
<source>RegEx Matching</source>
<target state="translated">RegEx Matching</target>
<trans-unit id="biFM.cv" resname="search.regexmatching">
<source>search.regexmatching</source>
<target state="translated">Reg.Ex. Matching</target>
</trans-unit>
<trans-unit id="pPKSLi2" resname="Suche">
<source>Suche</source>
<trans-unit id="lQ8QeGr" resname="search.placeholder">
<source>search.placeholder</source>
<target state="translated">Suche</target>
</trans-unit>
<trans-unit id="6Vw5YTi" resname="Go!">
<source>Go!</source>
<trans-unit id="rOLpDSq" resname="go.exclamation">
<source>go.exclamation</source>
<target state="translated">Los!</target>
</trans-unit>
<trans-unit id="PmbUb9n" resname="Scan Barcode">
<source>Scan Barcode</source>
<trans-unit id="iqU5ScK" resname="barcode.scan">
<source>barcode.scan</source>
<target state="translated">Scanne Barcode</target>
</trans-unit>
<trans-unit id="10Yi6cO" resname="Logged in as">
<source>Logged in as</source>
<trans-unit id="PRvW.EI" resname="user.loggedin.label">
<source>user.loggedin.label</source>
<target state="translated">Eingeloggt als</target>
</trans-unit>
<trans-unit id="KzY_h1O" resname="User settings">
<source>User settings</source>
<trans-unit id="4fEJHYJ" resname="user.settings.label">
<source>user.settings.label</source>
<target state="translated">Benutzereinstellungen</target>
</trans-unit>
<trans-unit id="g4EUtfA" resname="User informations">
<source>User informations</source>
<trans-unit id="_M8LV3f" resname="user.info.label">
<source>user.info.label</source>
<target state="translated">Benutzerinformationen</target>
</trans-unit>
<trans-unit id="0FJ_Sz1" resname="Logout">
<source>Logout</source>
<target state="translated">Logout</target>
<trans-unit id="okzpfQC" resname="user.logout">
<source>user.logout</source>
<target state="translated">Ausloggen</target>
</trans-unit>
<trans-unit id="nWMiwfT" resname="Login">
<source>Login</source>
<target>__Login</target>
<trans-unit id="rruB2OR" resname="user.login">
<source>user.login</source>
<target state="translated">Einloggen</target>
</trans-unit>
<trans-unit id="uLHYlMa" resname="Categories">
<source>Categories</source>
<trans-unit id="OllfX2C" resname="category.labelp">
<source>category.labelp</source>
<target state="translated">Kategorien</target>
</trans-unit>
<trans-unit id=".4BZ3Gd" resname="Actions">
<source>Actions</source>
<trans-unit id="Kw3N1AA" resname="actions">
<source>actions</source>
<target state="translated">Aktionen</target>
</trans-unit>
<trans-unit id="n1sCOkE" resname="Expand All">
<source>Expand All</source>
<trans-unit id="10f_Ka3" resname="expandAll">
<source>expandAll</source>
<target state="translated">Alle ausklappen</target>
</trans-unit>
<trans-unit id="mzLTOca" resname="Reduce All">
<source>Reduce All</source>
<trans-unit id="eS_kUcS" resname="reduceAll">
<source>reduceAll</source>
<target state="translated">Alle einklappen</target>
</trans-unit>
<trans-unit id="3C8Bdj5" resname="Datasource">
<source>Datasource</source>
<trans-unit id=".x0rFcf" resname="datasource">
<source>datasource</source>
<target state="translated">Datenquelle</target>
</trans-unit>
<trans-unit id="osDXJaf" resname="Store locations">
<source>Store locations</source>
<target state="translated">Lagerort</target>
<trans-unit id="vZGwiMS" resname="storelocation.labelp">
<source>storelocation.labelp</source>
<target state="translated">Lagerorte</target>
</trans-unit>
<trans-unit id="39g0igz" resname="Footprints">
<source>Footprints</source>
<trans-unit id="ZJ9SPOS" resname="footprint.labelp">
<source>footprint.labelp</source>
<target state="translated">Footprints</target>
</trans-unit>
<trans-unit id="cPF0URb" resname="Manufacturers">
<source>Manufacturers</source>
<trans-unit id="NSnSQf4" resname="manufacturer.labelp">
<source>manufacturer.labelp</source>
<target state="translated">Hersteller</target>
</trans-unit>
<trans-unit id="zZQNZIb" resname="Suppliers">
<source>Suppliers</source>
<target state="translated">Lieferanten</target>
<trans-unit id="DQQjhS_" resname="supplier.labelp">
<source>supplier.labelp</source>
<target state="translated">Anbieter</target>
</trans-unit>
<trans-unit id="S6USHU0" resname="Devices">
<source>Devices</source>
<target state="translated">Baugruppe</target>
<trans-unit id="g6tt4u1" resname="device.labelp">
<source>device.labelp</source>
<target state="translated">Baugruppen</target>
</trans-unit>
<trans-unit id="6pPWomL" resname="Tools">
<source>Tools</source>
<trans-unit id="__OuWRw" resname="tools.label">
<source>tools.label</source>
<target state="translated">Tools</target>
</trans-unit>
<trans-unit id="U0JdEhb" resname="Please activate Javascript to use all features.">
<source>Please activate Javascript to use all features.</source>
<target state="translated">Bitte aktivieren sie Javascript um alle Funktionen zu nutzen!</target>
<trans-unit id="ZQMol4U" resname="vendor.base.javascript_hint">
<source>vendor.base.javascript_hint</source>
<target state="translated">Aktivieren Sie Javascript um alle Features zu nutzen!</target>
</trans-unit>
<trans-unit id="LqLAexz" resname="Detail info for">
<source>Detail info for</source>
<trans-unit id="UoflU8w" resname="part.info.title">
<source>part.info.title</source>
<target state="translated">Detailinfo für</target>
</trans-unit>
<trans-unit id="PqNq3NH" resname="ID:">
<source>ID:</source>
<target state="translated">ID:</target>
<trans-unit id="2y0kouO" resname="id.label">
<source>id.label</source>
<target state="translated">ID</target>
</trans-unit>
<trans-unit id="3LfxYjj" resname="Store location">
<source>Store location</source>
<target state="translated">Lagerort</target>
<trans-unit id="J.AXbaM" resname="instock.label">
<source>instock.label</source>
<target state="translated">Im Lager</target>
</trans-unit>
<trans-unit id="wkroQ3H" resname="Instock">
<source>Instock</source>
<target state="translated">Vorhandene Teile</target>
<trans-unit id="VYcxdrz" resname="mininstock.label">
<source>mininstock.label</source>
<target state="translated">Mindestanzahl</target>
</trans-unit>
<trans-unit id="anU7ofr" resname="Minimum Instock">
<source>Minimum Instock</source>
<target state="translated">Mindesanzahl an Lagerbestand</target>
</trans-unit>
<trans-unit id="yqHvxnl" resname="Average price">
<source>Average price</source>
<trans-unit id="LL2dt8U" resname="part.avg_price.label">
<source>part.avg_price.label</source>
<target state="translated">Durchschnittspreis</target>
</trans-unit>
<trans-unit id="Y03hFHd" resname="Attachments">
<source>Attachments</source>
<trans-unit id="MZz0rtU" resname="attachment.labelp">
<source>attachment.labelp</source>
<target state="translated">Dateianhänge</target>
</trans-unit>
<trans-unit id="o0xriSw" resname="Shopping Informations">
<source>Shopping Informations</source>
<trans-unit id="b5.SSzx" resname="vendor.partinfo.shopping_infos">
<source>vendor.partinfo.shopping_infos</source>
<target state="translated">Einkaufsinformationen</target>
</trans-unit>
<trans-unit id="DnaWAJM" resname="History">
<source>History</source>
<trans-unit id="1Soir6U" resname="vendor.partinfo.history">
<source>vendor.partinfo.history</source>
<target state="translated">Historie</target>
</trans-unit>
<trans-unit id="mcl3tox" resname="Delete part:">
<source>Delete part:</source>
<target state="translated">Bauteil löschen:</target>
</trans-unit>
<trans-unit id="ql2kmFz" resname="Delete part">
<source>Delete part</source>
<trans-unit id="4ixhjeS" resname="part.delete.caption">
<source>part.delete.caption</source>
<target state="translated">Bauteil löschen</target>
</trans-unit>
<trans-unit id="i9VkL.W" resname="Withdraw parts:">
<source>Withdraw parts:</source>
<target state="translated">Teile entnehmen:</target>
<trans-unit id="CP6LfDs" resname="part.delete.btn">
<source>part.delete.btn</source>
<target state="translated">Bauteil löschen</target>
</trans-unit>
<trans-unit id="FkVGqcV" resname="Withdraw">
<source>Withdraw</source>
<trans-unit id="eG9UnaY" resname="part.withdraw.caption:">
<source>part.withdraw.caption:</source>
<target state="translated">Bauteile entnehmen:</target>
</trans-unit>
<trans-unit id="7TiUzGF" resname="part.withdraw.btn">
<source>part.withdraw.btn</source>
<target state="translated">Entnehmen</target>
</trans-unit>
<trans-unit id="lNCLw1u" resname="Comment/Purpose:">
<source>Comment/Purpose:</source>
<target state="translated">Kommentar</target>
<trans-unit id="RVKdVNt" resname="part.withdraw.comment:">
<source>part.withdraw.comment:</source>
<target state="translated">Kommentar/Zweck</target>
</trans-unit>
<trans-unit id="gUui7kz" resname="Add parts:">
<source>Add parts:</source>
<target state="translated">Teile hinzufügen</target>
<trans-unit id="kXcojTi" resname="part.add.caption">
<source>part.add.caption</source>
<target state="translated">Bauteil hinzufügen</target>
</trans-unit>
<trans-unit id="n9coxmy" resname="Add">
<source>Add</source>
<trans-unit id="rYoCVp9" resname="part.add.btn">
<source>part.add.btn</source>
<target state="translated">Hinzufügen</target>
</trans-unit>
<trans-unit id="zkJ8LjM" resname="Created at:">
<source>Created at:</source>
<target state="translated">Hinzugefügt am:</target>
<trans-unit id="4CUEJg5" resname="part.add.comment">
<source>part.add.comment</source>
<target state="translated">Kommentar/Zweck</target>
</trans-unit>
<trans-unit id="dVfmrrN" resname="Last modified:">
<source>Last modified:</source>
<target state="translated">Zuletzt bearbeitet:</target>
<trans-unit id="cMLFYZw" resname="createdAt">
<source>createdAt</source>
<target state="translated">Erstellt am</target>
</trans-unit>
<trans-unit id="mix.KD6" resname="Teile entnehmen:">
<source>Teile entnehmen:</source>
<target>__Teile entnehmen:</target>
</trans-unit>
<trans-unit id="vzLV.6u" resname="Entnehmen">
<source>Entnehmen</source>
<target>__Entnehmen</target>
</trans-unit>
<trans-unit id="MduMjNT" resname="Kommentar/Zweck:">
<source>Kommentar/Zweck:</source>
<target>__Kommentar/Zweck:</target>
</trans-unit>
<trans-unit id="pGNeBqu" resname="Teile hinzufügen">
<source>Teile hinzufügen</source>
<target>__Teile hinzufügen</target>
</trans-unit>
<trans-unit id="y7lc8Ct" resname="Hinzufügen">
<source>Hinzufügen</source>
<target>__Hinzufügen</target>
</trans-unit>
<trans-unit id="l57vMsz" resname="Bauteil wurde manuell zum Bestellen vorgemerkt.">
<source>Bauteil wurde manuell zum Bestellen vorgemerkt.</source>
<target>__Bauteil wurde manuell zum Bestellen vorgemerkt.</target>
</trans-unit>
<trans-unit id="bZx3MQe" resname="Aufheben">
<source>Aufheben</source>
<target>__Aufheben</target>
</trans-unit>
<trans-unit id="6slXTYW" resname="Das Bauteil wird unter &quot;Zu bestellende Teile&quot;aufgelistet, da der Bestand kleiner als der Mindestbestand ist.">
<source>Das Bauteil wird unter "Zu bestellende Teile"aufgelistet, da der Bestand kleiner als der Mindestbestand ist.</source>
<target>__Das Bauteil wird unter "Zu bestellende Teile"aufgelistet, da der Bestand kleiner als der Mindestbestand ist.</target>
</trans-unit>
<trans-unit id="tTmJIHI" resname="Zum Bestellen vormerken:">
<source>Zum Bestellen vormerken:</source>
<target>__Zum Bestellen vormerken:</target>
</trans-unit>
<trans-unit id="k2N4s3G" resname="Übernehmen">
<source>Übernehmen</source>
<target>__Übernehmen</target>
</trans-unit>
<trans-unit id="4TpJExM" resname="Hinzugefügt:">
<source>Hinzugefügt:</source>
<target>__Hinzugefügt:</target>
</trans-unit>
<trans-unit id="H1yAwzB" resname="durch">
<source>durch</source>
<target>__durch</target>
</trans-unit>
<trans-unit id="oZULmaU" resname="Letzte Änderung:">
<source>Letzte Änderung:</source>
<target>__Letzte Änderung:</target>
</trans-unit>
<trans-unit id="p29BNva" resname="Barcode erzeugen">
<source>Barcode erzeugen</source>
<target>__Barcode erzeugen</target>
</trans-unit>
<trans-unit id="Xwkn.Ct" resname="Übersicht drucken">
<source>Übersicht drucken</source>
<target>__Übersicht drucken</target>
</trans-unit>
<trans-unit id="CPP6fH9" resname="Datenblattlinks">
<source>Datenblattlinks</source>
<target>__Datenblattlinks</target>
<trans-unit id="ZcUFNEJ" resname="lastModified">
<source>lastModified</source>
<target state="translated">Zuletzt bearbeitet</target>
</trans-unit>
</body>
</file>

View file

@ -273,6 +273,226 @@
<source>Datenblattlinks</source>
<target>__Datenblattlinks</target>
</trans-unit>
<trans-unit id="cElTSD4" resname="sidebar.toggle">
<source>sidebar.toggle</source>
<target state="translated">Toggle Sidebar</target>
</trans-unit>
<trans-unit id="el2uFyW" resname="search.options.label">
<source>search.options.label</source>
<target state="translated">Search options</target>
</trans-unit>
<trans-unit id="kTRK6H_" resname="name.label">
<source>name.label</source>
<target state="translated">Name</target>
</trans-unit>
<trans-unit id="ZY57BXc" resname="category.label">
<source>category.label</source>
<target state="translated">Category</target>
</trans-unit>
<trans-unit id="LSnWIG7" resname="description.label">
<source>description.label</source>
<target state="translated">Description</target>
</trans-unit>
<trans-unit id="RezjOdV" resname="storelocation.label">
<source>storelocation.label</source>
<target state="translated">Store location</target>
</trans-unit>
<trans-unit id="BWS7Lck" resname="comment.label">
<source>comment.label</source>
<target state="translated">Comment</target>
</trans-unit>
<trans-unit id="z1DQ7QF" resname="ordernumber.label.short">
<source>ordernumber.label.short</source>
<target state="translated">Ordernr.</target>
</trans-unit>
<trans-unit id="zT4k8ZJ" resname="supplier.label">
<source>supplier.label</source>
<target state="translated">Supplier</target>
</trans-unit>
<trans-unit id="WB3sH1G" resname="manufacturer.label">
<source>manufacturer.label</source>
<target state="translated">Manufacturer</target>
</trans-unit>
<trans-unit id="griVyRf" resname="footprint.label">
<source>footprint.label</source>
<target state="translated">Footprint</target>
</trans-unit>
<trans-unit id="Bs5QvO0" resname="search.deactivateBarcode">
<source>search.deactivateBarcode</source>
<target state="translated">Deact. Barcode</target>
</trans-unit>
<trans-unit id="biFM.cv" resname="search.regexmatching">
<source>search.regexmatching</source>
<target state="translated">Reg.Ex. Matching</target>
</trans-unit>
<trans-unit id="rOLpDSq" resname="go.exclamation">
<source>go.exclamation</source>
<target state="translated">Go!</target>
</trans-unit>
<trans-unit id="iqU5ScK" resname="barcode.scan">
<source>barcode.scan</source>
<target state="translated">Scan Barcode</target>
</trans-unit>
<trans-unit id="PRvW.EI" resname="user.loggedin.label">
<source>user.loggedin.label</source>
<target state="translated">Logged in as</target>
</trans-unit>
<trans-unit id="4fEJHYJ" resname="user.settings.label">
<source>user.settings.label</source>
<target state="translated">User settings</target>
</trans-unit>
<trans-unit id="_M8LV3f" resname="user.info.label">
<source>user.info.label</source>
<target state="translated">User informations</target>
</trans-unit>
<trans-unit id="okzpfQC" resname="user.logout">
<source>user.logout</source>
<target state="translated">Logout</target>
</trans-unit>
<trans-unit id="rruB2OR" resname="user.login">
<source>user.login</source>
<target state="translated">Login</target>
</trans-unit>
<trans-unit id="DFDnILM" resname="categories.label">
<source>categories.label</source>
<target state="needs-translation"/>
</trans-unit>
<trans-unit id="Kw3N1AA" resname="actions">
<source>actions</source>
<target state="translated">Actions</target>
</trans-unit>
<trans-unit id="10f_Ka3" resname="expandAll">
<source>expandAll</source>
<target state="translated">Expand All</target>
</trans-unit>
<trans-unit id="eS_kUcS" resname="reduceAll">
<source>reduceAll</source>
<target state="translated">Reduce All</target>
</trans-unit>
<trans-unit id=".x0rFcf" resname="datasource">
<source>datasource</source>
<target state="translated">Datasource</target>
</trans-unit>
<trans-unit id="OllfX2C" resname="category.labelp">
<source>category.labelp</source>
<target state="translated">Categories</target>
</trans-unit>
<trans-unit id="vZGwiMS" resname="storelocation.labelp">
<source>storelocation.labelp</source>
<target state="translated">Storelocations</target>
</trans-unit>
<trans-unit id="ZJ9SPOS" resname="footprint.labelp">
<source>footprint.labelp</source>
<target state="translated">Footprints</target>
</trans-unit>
<trans-unit id="NSnSQf4" resname="manufacturer.labelp">
<source>manufacturer.labelp</source>
<target state="translated">Manufacturers</target>
</trans-unit>
<trans-unit id="DQQjhS_" resname="supplier.labelp">
<source>supplier.labelp</source>
<target state="translated">Suppliers</target>
</trans-unit>
<trans-unit id="g6tt4u1" resname="device.labelp">
<source>device.labelp</source>
<target state="translated">Devices</target>
</trans-unit>
<trans-unit id="__OuWRw" resname="tools.label">
<source>tools.label</source>
<target state="translated">Tools</target>
</trans-unit>
<trans-unit id="xndYXfF" resname="expandall">
<source>expandall</source>
<target>__expandall</target>
</trans-unit>
<trans-unit id="ZdJ4vzs" resname="reduceall">
<source>reduceall</source>
<target>__reduceall</target>
</trans-unit>
<trans-unit id="JUGwseE" resname="tools.labelp">
<source>tools.labelp</source>
<target>__tools.labelp</target>
</trans-unit>
<trans-unit id="ZQMol4U" resname="vendor.base.javascript_hint">
<source>vendor.base.javascript_hint</source>
<target state="translated">Please activate Javascript to use all features!</target>
</trans-unit>
<trans-unit id="UoflU8w" resname="part.info.title">
<source>part.info.title</source>
<target state="translated">Detail info for part</target>
</trans-unit>
<trans-unit id="2y0kouO" resname="id.label">
<source>id.label</source>
<target state="translated">ID</target>
</trans-unit>
<trans-unit id="J.AXbaM" resname="instock.label">
<source>instock.label</source>
<target state="translated">Instock</target>
</trans-unit>
<trans-unit id="VYcxdrz" resname="mininstock.label">
<source>mininstock.label</source>
<target state="translated">Minimum Instock</target>
</trans-unit>
<trans-unit id="LL2dt8U" resname="part.avg_price.label">
<source>part.avg_price.label</source>
<target state="translated">Average Price</target>
</trans-unit>
<trans-unit id="MZz0rtU" resname="attachment.labelp">
<source>attachment.labelp</source>
<target state="translated">Attachments</target>
</trans-unit>
<trans-unit id="b5.SSzx" resname="vendor.partinfo.shopping_infos">
<source>vendor.partinfo.shopping_infos</source>
<target state="translated">Shopping informations</target>
</trans-unit>
<trans-unit id="1Soir6U" resname="vendor.partinfo.history">
<source>vendor.partinfo.history</source>
<target state="translated">History</target>
</trans-unit>
<trans-unit id="4ixhjeS" resname="part.delete.caption">
<source>part.delete.caption</source>
<target state="translated">Delete Part</target>
</trans-unit>
<trans-unit id="CP6LfDs" resname="part.delete.btn">
<source>part.delete.btn</source>
<target state="translated">Delete Part</target>
</trans-unit>
<trans-unit id="eG9UnaY" resname="part.withdraw.caption:">
<source>part.withdraw.caption:</source>
<target state="translated">Withdraw parts:</target>
</trans-unit>
<trans-unit id="7TiUzGF" resname="part.withdraw.btn">
<source>part.withdraw.btn</source>
<target state="translated">Withdraw</target>
</trans-unit>
<trans-unit id="RVKdVNt" resname="part.withdraw.comment:">
<source>part.withdraw.comment:</source>
<target state="translated">Comment/Purpose</target>
</trans-unit>
<trans-unit id="kXcojTi" resname="part.add.caption">
<source>part.add.caption</source>
<target state="translated">Add parts</target>
</trans-unit>
<trans-unit id="rYoCVp9" resname="part.add.btn">
<source>part.add.btn</source>
<target state="translated">Add</target>
</trans-unit>
<trans-unit id="4CUEJg5" resname="part.add.comment">
<source>part.add.comment</source>
<target state="translated">Comment/Purpose</target>
</trans-unit>
<trans-unit id="cMLFYZw" resname="createdAt">
<source>createdAt</source>
<target state="translated">Created At</target>
</trans-unit>
<trans-unit id="8Vwa6yd" resname="lastModified">
<source>lastModified</source>
<target state="translated">Last modified</target>
</trans-unit>
<trans-unit id="lQ8QeGr" resname="search.placeholder">
<source>search.placeholder</source>
<target state="translated">Search</target>
</trans-unit>
</body>
</file>
</xliff>