Added some missing translations

This commit is contained in:
Bernd Bestel 2018-04-18 19:37:36 +02:00
parent 607a90cccc
commit 1c537cf5da
No known key found for this signature in database
GPG Key ID: 71BD34C0D4891300
9 changed files with 38 additions and 25 deletions

View File

@ -88,6 +88,19 @@ return array(
'Username' => 'Benutzername',
'Password' => 'Passwort',
'Invalid credentials, please try again' => 'Ungültige Zugangsdaten, bitte versuche es erneut',
'Are you sure to delete battery "#1"?' => 'Battery "#1" wirklich löschen?',
'Yes' => 'Ja',
'No' => 'Nein',
'Are you sure to delete habit "#1"?' => 'Gewohnheit "#1" wirklich löschen?',
'"#1" could not be resolved to a product, how do you want to proceed?' => '"#1" konnte nicht zu einem Produkt aufgelöst werden, wie möchtest du weiter machen?',
'Create or assign product' => 'Produkt erstellen oder verknüpfen',
'Cancel' => 'Abbrechen',
'Add as new product' => 'Als neues Produkt hinzufügen',
'Add as barcode to existing product' => 'Barcode vorhandenem Produkt zuweisen',
'Add as new product and prefill barcode' => 'Neues Produkt erstellen und Barcode vorbelegen',
'Are you sure to delete quantity unit "#1"?' => 'Mengeneinheit "#1" wirklich löschen?',
'Are you sure to delete product "#1"?' => 'Produkt "#1" wirklich löschen?',
'Are you sure to delete location "#1"?' => 'Standort "#1" wirklich löschen?',
//Constants
'manually' => 'Manuell',

View File

@ -1,14 +1,14 @@
$(document).on('click', '.battery-delete-button', function(e)
{
bootbox.confirm({
message: 'Delete battery <strong>' + $(e.currentTarget).attr('data-battery-name') + '</strong>?',
message: L('Are you sure to delete battery "#1"?', $(e.currentTarget).attr('data-battery-name')),
buttons: {
confirm: {
label: 'Yes',
label: L('Yes'),
className: 'btn-success'
},
cancel: {
label: 'No',
label: L('No'),
className: 'btn-danger'
}
},

View File

@ -1,14 +1,14 @@
$(document).on('click', '.habit-delete-button', function(e)
{
bootbox.confirm({
message: 'Delete habit <strong>' + $(e.currentTarget).attr('data-habit-name') + '</strong>?',
message: L('Are you sure to delete habit "#1"?', $(e.currentTarget).attr('data-habit-name')),
buttons: {
confirm: {
label: 'Yes',
label: L('Yes'),
className: 'btn-success'
},
cancel: {
label: 'No',
label: L('No'),
className: 'btn-danger'
}
},

View File

@ -108,19 +108,19 @@ $('#product_id_text_input').on('change', function(e)
if (input.length > 0 && optionElement.length === 0 && GetUriParam('addbarcodetoselection') === undefined )
{
bootbox.dialog({
message: '<strong>' + input + '</strong> could not be resolved to a product, how do you want to proceed?',
title: 'Create or assign product',
message: L('#1 could not be resolved to a product, how do you want to proceed?', input),
title: L('Create or assign product'),
onEscape: function() { },
size: 'large',
backdrop: true,
buttons: {
cancel: {
label: 'Cancel',
label: L('Cancel'),
className: 'btn-default',
callback: function() { }
},
addnewproduct: {
label: 'Add as new <u><strong>p</strong></u>roduct',
label: '<strong>P</strong> ' + L('Add as new product'),
className: 'btn-success add-new-product-dialog-button',
callback: function()
{
@ -128,7 +128,7 @@ $('#product_id_text_input').on('change', function(e)
}
},
addbarcode: {
label: 'Add as <u><strong>b</strong></u>arcode to existing product',
label: '<strong>B</strong> ' + L('Add as barcode to existing product'),
className: 'btn-info add-new-barcode-dialog-button',
callback: function()
{
@ -136,7 +136,7 @@ $('#product_id_text_input').on('change', function(e)
}
},
addnewproductwithbarcode: {
label: '<u><strong>A</strong></u>dd as new product + prefill barcode',
label: '<strong>A</strong> ' + L('Add as new product and prefill barcode'),
className: 'btn-warning add-new-product-with-barcode-dialog-button',
callback: function()
{

View File

@ -1,14 +1,14 @@
$(document).on('click', '.location-delete-button', function(e)
{
bootbox.confirm({
message: 'Delete location <strong>' + $(e.currentTarget).attr('data-location-name') + '</strong>?',
message: L('Are you sure to delete location "#1"?', $(e.currentTarget).attr('data-location-name')),
buttons: {
confirm: {
label: 'Yes',
label: L('Yes'),
className: 'btn-success'
},
cancel: {
label: 'No',
label: L('No'),
className: 'btn-danger'
}
},

View File

@ -1,14 +1,14 @@
$(document).on('click', '.product-delete-button', function(e)
{
bootbox.confirm({
message: 'Delete product <strong>' + $(e.currentTarget).attr('data-product-name') + '</strong>?',
message: L('Are you sure to delete product "#1"?', $(e.currentTarget).attr('data-product-name')),
buttons: {
confirm: {
label: 'Yes',
label: L('Yes'),
className: 'btn-success'
},
cancel: {
label: 'No',
label: L('No'),
className: 'btn-danger'
}
},

View File

@ -117,8 +117,8 @@ $('#product_id_text_input').on('change', function(e)
if (input.length > 0 && optionElement.length === 0 && GetUriParam('addbarcodetoselection') === undefined )
{
bootbox.dialog({
message: '<strong>' + input + '</strong> could not be resolved to a product, how do you want to proceed?',
title: 'Create or assign product',
message: L('"#1" could not be resolved to a product, how do you want to proceed?', input),
title: L('Create or assign product'),
onEscape: function() { },
size: 'large',
backdrop: true,
@ -129,7 +129,7 @@ $('#product_id_text_input').on('change', function(e)
callback: function() { }
},
addnewproduct: {
label: 'Add as new <u><strong>p</strong></u>roduct',
label: '<strong>P</strong> ' + L('Add as new product'),
className: 'btn-success add-new-product-dialog-button',
callback: function()
{
@ -137,7 +137,7 @@ $('#product_id_text_input').on('change', function(e)
}
},
addbarcode: {
label: 'Add as <u><strong>b</strong></u>arcode to existing product',
label: '<strong>B</strong> ' + L('Add as barcode to existing product'),
className: 'btn-info add-new-barcode-dialog-button',
callback: function()
{
@ -145,7 +145,7 @@ $('#product_id_text_input').on('change', function(e)
}
},
addnewproductwithbarcode: {
label: '<u><strong>A</strong></u>dd as new product + prefill barcode',
label: '<strong>A</strong> ' + L('Add as new product and prefill barcode'),
className: 'btn-warning add-new-product-with-barcode-dialog-button',
callback: function()
{

View File

@ -1,7 +1,7 @@
$(document).on('click', '.quantityunit-delete-button', function(e)
{
bootbox.confirm({
message: 'Delete quantity unit <strong>' + $(e.currentTarget).attr('data-quantityunit-name') + '</strong>?',
message: L('Are you sure to delete quantity unit "#1"?', $(e.currentTarget).attr('data-quantityunit-name')),
buttons: {
confirm: {
label: 'Yes',

View File

@ -1 +1 @@
1.8.0
1.8.1