searchbar translates
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Bernat Exposito Domenech 2020-05-19 10:27:22 +02:00
parent 73035c5d65
commit d289c17530
16 changed files with 24 additions and 8 deletions

View File

@ -0,0 +1 @@
Search by: Search by {{modul | translate}}

View File

@ -0,0 +1 @@
Search by: Buscar por {{modul | translate}}

View File

@ -1,7 +1,7 @@
<form ng-submit="$ctrl.onSubmit()"> <form ng-submit="$ctrl.onSubmit()">
<vn-textfield <vn-textfield
class="dense standout" class="dense standout"
placeholder="{{::'Search' | translate}}" placeholder="{{::'Search by' | translate: {modul: $ctrl.baseState} }}"
ng-model="$ctrl.searchString"> ng-model="$ctrl.searchString">
<prepend> <prepend>
<vn-icon <vn-icon

View File

@ -136,7 +136,6 @@ export default class Searchbar extends Component {
fromBar() { fromBar() {
let filter = {}; let filter = {};
if (this.searchString) if (this.searchString)
filter.search = this.searchString; filter.search = this.searchString;
@ -288,6 +287,7 @@ ngModule.vnComponent('vnSearchbar', {
suggestedFilter: '<?', suggestedFilter: '<?',
panel: '@', panel: '@',
info: '@?', info: '@?',
placeholder: '@?',
onSearch: '&?', onSearch: '&?',
baseState: '@?', baseState: '@?',
autoState: '<?', autoState: '<?',

View File

@ -14,4 +14,5 @@ Send Pickup order: Enviar orden de recogida
Show Pickup order: Ver orden de recogida Show Pickup order: Ver orden de recogida
Search claim by id or client name: Buscar reclamaciones por identificador o nombre de cliente Search claim by id or client name: Buscar reclamaciones por identificador o nombre de cliente
Claim deleted!: Reclamación eliminada! Claim deleted!: Reclamación eliminada!
claim: reclamaciones

View File

@ -0,0 +1 @@
BILL: N/INV {{ref}}

View File

@ -1,6 +1,7 @@
Active: Activo Active: Activo
Amount: Importe Amount: Importe
Client: Cliente Client: Cliente
client: clientes
Comercial Name: Comercial Comercial Name: Comercial
Has to invoice: Factura Has to invoice: Factura
Invoice by mail: Factura via e-mail Invoice by mail: Factura via e-mail

View File

@ -1,3 +1,5 @@
#Ordenar alfabeticamente #Ordenar alfabeticamente
entry: entradas
# Sections # Sections

View File

@ -1,2 +1,3 @@
Invoice out: Facturas Invoice out: Facturas
invoiceOut: facturas
Search invoices by reference: Buscar facturas por referencia Search invoices by reference: Buscar facturas por referencia

View File

@ -1,4 +1,5 @@
Item: Artículo Item: Artículo
item: articulos
View item: Ver artículo View item: Ver artículo
Category: Reino Category: Reino
Description: Descripción Description: Descripción

View File

@ -20,4 +20,5 @@ Color and price: Color y precio
Ascendant: Ascendente Ascendant: Ascendente
Descendant: Descendente Descendant: Descendente
Created from: Creado desde Created from: Creado desde
Search orders by id: Buscar en la cesta por identificador Search orders by id: Buscar en la cesta por identificador
order: pedidos

View File

@ -1,3 +1,4 @@
Routes: Rutas Routes: Rutas
Search routes by id: Buscar rutas por identificador Search routes by id: Buscar rutas por identificador
New route: Nueva ruta New route: Nueva ruta
route: rutas

View File

@ -49,7 +49,7 @@ Shipment: Salida
Shipped: F. envío Shipped: F. envío
Some fields are invalid: Algunos campos no son válidos Some fields are invalid: Algunos campos no son válidos
State: Estado State: Estado
Tickets: Tickets Tickets: Tiquets
Warehouse: Almacén Warehouse: Almacén
Worker: Trabajador Worker: Trabajador
VAT: IVA VAT: IVA
@ -59,8 +59,9 @@ Freezed: Congelado
Risk: Riesgo Risk: Riesgo
Invoice: Factura Invoice: Factura
You are going to delete this ticket: Vas a eliminar este ticket You are going to delete this ticket: Vas a eliminar este ticket
Ticket deleted: Ticket borrado Ticket deleted: Tiquet borrado
Search ticket by id or alias: Buscar tickets por identificador o alias Search ticket by id or alias: Buscar tiquets por identificador o alias
ticket: tiquets
#sections #sections
List: Listado List: Listado

View File

@ -13,6 +13,8 @@ Received: Recibido
Travel id: Id envío Travel id: Id envío
Search travels by id: Buscar envíos por identificador Search travels by id: Buscar envíos por identificador
New travel: Nuevo envío New travel: Nuevo envío
travel: envios
# Sections # Sections
Travels: Envíos Travels: Envíos
Log: Historial Log: Historial

View File

@ -18,3 +18,4 @@ User id: Id de usuario
View worker: Ver trabajador View worker: Ver trabajador
Worker id: Id trabajador Worker id: Id trabajador
Workers: Trabajadores Workers: Trabajadores
worker: trabajadores

View File

@ -28,4 +28,5 @@ Volumetric: Volumétrico
Warehouse: Almacén Warehouse: Almacén
Warehouses: Almacenes Warehouses: Almacenes
Week days: Días de la semana Week days: Días de la semana
Zones: Zonas Zones: Zonas
zone: zonas