From 38825c70da20c8820c48d26e067e1719d6f7c0de Mon Sep 17 00:00:00 2001 From: Bernd Bestel Date: Sun, 3 Mar 2019 17:01:35 +0100 Subject: [PATCH] Added missing translations strings & pulled translations from Transifex --- localization/da/strings.php | 10 +++++++++- localization/de/strings.php | 10 +++++++++- localization/en/strings.php | 10 +++++++++- localization/es/demo_data.php | 8 ++++---- localization/es/strings.php | 12 ++++++++++-- localization/fr/strings.php | 10 +++++++++- localization/it/strings.php | 10 +++++++++- localization/nl/strings.php | 10 +++++++++- localization/no/strings.php | 10 +++++++++- localization/pl/demo_data.php | 10 +++++----- localization/pl/strings.php | 10 +++++++++- localization/tr/demo_data.php | 4 ++-- localization/tr/strings.php | 10 +++++++++- public/viewjs/recipes.js | 2 +- views/recipeform.blade.php | 2 +- 15 files changed, 104 insertions(+), 24 deletions(-) diff --git a/localization/da/strings.php b/localization/da/strings.php index dc833783..1c28ebe2 100644 --- a/localization/da/strings.php +++ b/localization/da/strings.php @@ -325,5 +325,13 @@ return array( 'Stock settings' => 'Stock settings', 'Shopping list to stock workflow' => 'Shopping list to stock workflow', 'Automatically do the booking using the last price and the amount of the shopping list item, if the product has "Default best before days" set' => 'Automatically do the booking using the last price and the amount of the shopping list item, if the product has "Default best before days" set', - 'Skip' => 'Skip' + 'Skip' => 'Skip', + 'Servings' => 'Servings', + 'Costs' => 'Costs', + 'Based on the prices of the last purchase per product' => 'Based on the prices of the last purchase per product', + 'The ingredients listed here result in this amount of servings' => 'The ingredients listed here result in this amount of servings', + 'Do not check against the shopping list when adding missing items to it' => 'Do not check against the shopping list when adding missing items to it', + 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list' => 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list', + 'Picture' => 'Picture', + 'Uncheck ingredients to not put them on the shopping list' => 'Uncheck ingredients to not put them on the shopping list' ); diff --git a/localization/de/strings.php b/localization/de/strings.php index c0afd244..393f75db 100644 --- a/localization/de/strings.php +++ b/localization/de/strings.php @@ -325,5 +325,13 @@ return array( 'Stock settings' => 'Bestandseinstellungen', 'Shopping list to stock workflow' => 'Einkaufsliste -> Bestand Workflow', 'Automatically do the booking using the last price and the amount of the shopping list item, if the product has "Default best before days" set' => 'Buchung automatisch ausführen, wenn das Produkt "Standard Haltbarkeit in Tagen" hinterlegt hat (als Preis wird der letzte Preis verwendet)', - 'Skip' => 'Überspringen' + 'Skip' => 'Überspringen', + 'Servings' => 'Portionen', + 'Costs' => 'Kosten', + 'Based on the prices of the last purchase per product' => 'Basierend auf den Preisen des letzten Kaufs pro Produkt', + 'The ingredients listed here result in this amount of servings' => 'Die hier aufgeführten Zutaten ergeben diese Menge an Portionen', + 'Do not check against the shopping list when adding missing items to it' => 'Nicht gegen die bereits auf der Einkaufsliste vorhandene Menge prüfen, wenn fehlende Zutaten auf die Einkaufsliste gesetzt werden', + 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list' => 'Standardmäßig ist die Menge, die der Einkaufsliste hinzugefügt werden soll, "benötigte Menge - Lagerbestand - Menge bereits auf der Einkaufsliste" - wenn dies aktiviert ist, wird nur gegen den Lagerbestand geprüft, nicht gegen das, was bereits auf der Einkaufsliste steht', + 'Picture' => 'Bild', + 'Uncheck ingredients to not put them on the shopping list' => 'Entferne den Haken einer Zutat, um diese nicht auf die Einkaufsliste zu übernehmen' ); diff --git a/localization/en/strings.php b/localization/en/strings.php index dae23098..de9b0f72 100644 --- a/localization/en/strings.php +++ b/localization/en/strings.php @@ -325,5 +325,13 @@ return array( 'Stock settings' => 'Stock settings', 'Shopping list to stock workflow' => 'Shopping list to stock workflow', 'Automatically do the booking using the last price and the amount of the shopping list item, if the product has "Default best before days" set' => 'Automatically do the booking using the last price and the amount of the shopping list item, if the product has "Default best before days" set', - 'Skip' => 'Skip' + 'Skip' => 'Skip', + 'Servings' => 'Servings', + 'Costs' => 'Costs', + 'Based on the prices of the last purchase per product' => 'Based on the prices of the last purchase per product', + 'The ingredients listed here result in this amount of servings' => 'The ingredients listed here result in this amount of servings', + 'Do not check against the shopping list when adding missing items to it' => 'Do not check against the shopping list when adding missing items to it', + 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list' => 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list', + 'Picture' => 'Picture', + 'Uncheck ingredients to not put them on the shopping list' => 'Uncheck ingredients to not put them on the shopping list' ); diff --git a/localization/es/demo_data.php b/localization/es/demo_data.php index 74de3082..acb18887 100644 --- a/localization/es/demo_data.php +++ b/localization/es/demo_data.php @@ -13,10 +13,10 @@ return array( 'Packs' => 'Packs', 'Glass' => 'Vaso', 'Glasses' => 'Vasos', - 'Tin' => 'Lata', - 'Tins' => 'Latas', - 'Can' => 'Pote', - 'Cans' => 'Potes', + 'Tin' => 'Envase', + 'Tins' => 'Envases', + 'Can' => 'Lata', + 'Cans' => 'Latas', 'Bunch' => 'Puñado', 'Bunches' => 'Puñados', 'Gummy bears' => 'Ositos', diff --git a/localization/es/strings.php b/localization/es/strings.php index eb4919ed..eb7e3205 100644 --- a/localization/es/strings.php +++ b/localization/es/strings.php @@ -128,7 +128,7 @@ return array( 'Track charge cycle of battery #1' => 'Registrar ciclo de carga de la pila #1', 'Track execution of chore #1' => 'Registrar ejecución de tarea del hogar #1', 'Filter by location' => 'Filtrar por lugar', - 'Search' => 'Búscar', + 'Search' => 'Buscar', 'Not logged in' => 'Sesión no iniciada', 'You have to select a product' => 'Has de seleccionar un producto', 'You have to select a chore' => 'Has de seleccionar una tarea del hogar', @@ -325,5 +325,13 @@ return array( 'Stock settings' => 'Configuración de stock', 'Shopping list to stock workflow' => 'Flujo de lista de la compra a stock', 'Automatically do the booking using the last price and the amount of the shopping list item, if the product has "Default best before days" set' => 'Hacer automáticamente la reserva utilizando el último precio y cantidad del elemento de la lista de la compra, si el producto tiene valor en "días de consumo por defecto"', - 'Skip' => 'Pasar' + 'Skip' => 'Pasar', + 'Servings' => 'Servings', + 'Costs' => 'Costs', + 'Based on the prices of the last purchase per product' => 'Based on the prices of the last purchase per product', + 'The ingredients listed here result in this amount of servings' => 'The ingredients listed here result in this amount of servings', + 'Do not check against the shopping list when adding missing items to it' => 'Do not check against the shopping list when adding missing items to it', + 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list' => 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list', + 'Picture' => 'Picture', + 'Uncheck ingredients to not put them on the shopping list' => 'Uncheck ingredients to not put them on the shopping list' ); diff --git a/localization/fr/strings.php b/localization/fr/strings.php index 9e25d21a..6d69aa56 100644 --- a/localization/fr/strings.php +++ b/localization/fr/strings.php @@ -325,5 +325,13 @@ return array( 'Stock settings' => 'Paramètres du stock', 'Shopping list to stock workflow' => 'Transition de la liste de courses vers le stock', 'Automatically do the booking using the last price and the amount of the shopping list item, if the product has "Default best before days" set' => 'Réaliser automatiquement les achats en utilisant le dernier prix connu et la quantité indiquée dans la liste, si le premier a une date de péremption par défaut renseignée', - 'Skip' => 'Passer' + 'Skip' => 'Passer', + 'Servings' => 'Servings', + 'Costs' => 'Costs', + 'Based on the prices of the last purchase per product' => 'Based on the prices of the last purchase per product', + 'The ingredients listed here result in this amount of servings' => 'The ingredients listed here result in this amount of servings', + 'Do not check against the shopping list when adding missing items to it' => 'Do not check against the shopping list when adding missing items to it', + 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list' => 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list', + 'Picture' => 'Picture', + 'Uncheck ingredients to not put them on the shopping list' => 'Uncheck ingredients to not put them on the shopping list' ); diff --git a/localization/it/strings.php b/localization/it/strings.php index 123b0567..8b427f19 100644 --- a/localization/it/strings.php +++ b/localization/it/strings.php @@ -325,5 +325,13 @@ return array( 'Stock settings' => 'Stock settings', 'Shopping list to stock workflow' => 'Shopping list to stock workflow', 'Automatically do the booking using the last price and the amount of the shopping list item, if the product has "Default best before days" set' => 'Automatically do the booking using the last price and the amount of the shopping list item, if the product has "Default best before days" set', - 'Skip' => 'Salta' + 'Skip' => 'Salta', + 'Servings' => 'Servings', + 'Costs' => 'Costs', + 'Based on the prices of the last purchase per product' => 'Based on the prices of the last purchase per product', + 'The ingredients listed here result in this amount of servings' => 'The ingredients listed here result in this amount of servings', + 'Do not check against the shopping list when adding missing items to it' => 'Do not check against the shopping list when adding missing items to it', + 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list' => 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list', + 'Picture' => 'Picture', + 'Uncheck ingredients to not put them on the shopping list' => 'Uncheck ingredients to not put them on the shopping list' ); diff --git a/localization/nl/strings.php b/localization/nl/strings.php index adbf0860..881ac4c0 100644 --- a/localization/nl/strings.php +++ b/localization/nl/strings.php @@ -325,5 +325,13 @@ return array( 'Stock settings' => 'Voorraadinstellingen', 'Shopping list to stock workflow' => 'Shopping list to stock workflow', 'Automatically do the booking using the last price and the amount of the shopping list item, if the product has "Default best before days" set' => 'Automatically do the booking using the last price and the amount of the shopping list item, if the product has "Default best before days" set', - 'Skip' => 'Overslaan' + 'Skip' => 'Overslaan', + 'Servings' => 'Servings', + 'Costs' => 'Costs', + 'Based on the prices of the last purchase per product' => 'Based on the prices of the last purchase per product', + 'The ingredients listed here result in this amount of servings' => 'The ingredients listed here result in this amount of servings', + 'Do not check against the shopping list when adding missing items to it' => 'Do not check against the shopping list when adding missing items to it', + 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list' => 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list', + 'Picture' => 'Picture', + 'Uncheck ingredients to not put them on the shopping list' => 'Uncheck ingredients to not put them on the shopping list' ); diff --git a/localization/no/strings.php b/localization/no/strings.php index 90d22660..60b546c5 100644 --- a/localization/no/strings.php +++ b/localization/no/strings.php @@ -325,5 +325,13 @@ return array( 'Stock settings' => 'Husholdningsinnstillinger', 'Shopping list to stock workflow' => 'Arbeidsflyt fra handleliste til husholding', 'Automatically do the booking using the last price and the amount of the shopping list item, if the product has "Default best before days" set' => 'Legg produkter automatisk til fra handlelisten. Dette vil bruke sist innkjøpspris og forutsetter at "Standard for antall dager best før" er satt', - 'Skip' => 'Hopp over' + 'Skip' => 'Hopp over', + 'Servings' => 'Servings', + 'Costs' => 'Costs', + 'Based on the prices of the last purchase per product' => 'Based on the prices of the last purchase per product', + 'The ingredients listed here result in this amount of servings' => 'The ingredients listed here result in this amount of servings', + 'Do not check against the shopping list when adding missing items to it' => 'Do not check against the shopping list when adding missing items to it', + 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list' => 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list', + 'Picture' => 'Picture', + 'Uncheck ingredients to not put them on the shopping list' => 'Uncheck ingredients to not put them on the shopping list' ); diff --git a/localization/pl/demo_data.php b/localization/pl/demo_data.php index e8f8fec2..f81cdc07 100644 --- a/localization/pl/demo_data.php +++ b/localization/pl/demo_data.php @@ -1,18 +1,18 @@ 'Cookies', - 'Chocolate' => 'Chocolate', + 'Cookies' => 'Ciastka', + 'Chocolate' => 'Czekolada', 'Pantry' => 'Pantry', 'Candy cupboard' => 'Candy cupboard', 'Tinned food cupboard' => 'Tinned food cupboard', - 'Fridge' => 'Fridge', + 'Fridge' => 'Lodówka', 'Piece' => 'Piece', 'Pieces' => 'Pieces', 'Pack' => 'Pack', 'Packs' => 'Packs', - 'Glass' => 'Glass', - 'Glasses' => 'Glasses', + 'Glass' => 'Szklanka', + 'Glasses' => 'Szklanki', 'Tin' => 'Tin', 'Tins' => 'Tins', 'Can' => 'Can', diff --git a/localization/pl/strings.php b/localization/pl/strings.php index 71ede89b..ae5715c6 100644 --- a/localization/pl/strings.php +++ b/localization/pl/strings.php @@ -325,5 +325,13 @@ return array( 'Stock settings' => 'Stock settings', 'Shopping list to stock workflow' => 'Shopping list to stock workflow', 'Automatically do the booking using the last price and the amount of the shopping list item, if the product has "Default best before days" set' => 'Automatically do the booking using the last price and the amount of the shopping list item, if the product has "Default best before days" set', - 'Skip' => 'Pomiń' + 'Skip' => 'Pomiń', + 'Servings' => 'Servings', + 'Costs' => 'Costs', + 'Based on the prices of the last purchase per product' => 'Based on the prices of the last purchase per product', + 'The ingredients listed here result in this amount of servings' => 'The ingredients listed here result in this amount of servings', + 'Do not check against the shopping list when adding missing items to it' => 'Do not check against the shopping list when adding missing items to it', + 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list' => 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list', + 'Picture' => 'Picture', + 'Uncheck ingredients to not put them on the shopping list' => 'Uncheck ingredients to not put them on the shopping list' ); diff --git a/localization/tr/demo_data.php b/localization/tr/demo_data.php index 58680c9b..d73ee89b 100644 --- a/localization/tr/demo_data.php +++ b/localization/tr/demo_data.php @@ -84,6 +84,6 @@ return array( 'Bottom' => 'Dip', 'Topping' => 'Süsleme', 'French' => 'Fransızca', - 'Turkish' => 'Turkish', - 'Spanish' => 'Spanish' + 'Turkish' => 'Türkçe', + 'Spanish' => 'İspanyolca' ); diff --git a/localization/tr/strings.php b/localization/tr/strings.php index 8e04a3ab..ed463efb 100644 --- a/localization/tr/strings.php +++ b/localization/tr/strings.php @@ -325,5 +325,13 @@ return array( 'Stock settings' => 'Stok ayarları', 'Shopping list to stock workflow' => 'Alışveriş listesinden stok akışına', 'Automatically do the booking using the last price and the amount of the shopping list item, if the product has "Default best before days" set' => 'Eğer ürünün "ön tanımlı son kullanım tarihi" ayarlanmamışsa, otomatik olarak rezervasyonu son fiyatı ve alışveriş listesindeki madde sayısını baz alarak yap', - 'Skip' => 'Geç' + 'Skip' => 'Geç', + 'Servings' => 'Servings', + 'Costs' => 'Costs', + 'Based on the prices of the last purchase per product' => 'Based on the prices of the last purchase per product', + 'The ingredients listed here result in this amount of servings' => 'The ingredients listed here result in this amount of servings', + 'Do not check against the shopping list when adding missing items to it' => 'Do not check against the shopping list when adding missing items to it', + 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list' => 'By default the amount to be added to the shopping list is "needed amount - stock amount - shopping list amount" - when this is enabled, it is only checked against the stock amount, not against what is already on the shopping list', + 'Picture' => 'Picture', + 'Uncheck ingredients to not put them on the shopping list' => 'Uncheck ingredients to not put them on the shopping list' ); diff --git a/public/viewjs/recipes.js b/public/viewjs/recipes.js index 0b3b0a9a..e97e6ffa 100644 --- a/public/viewjs/recipes.js +++ b/public/viewjs/recipes.js @@ -84,7 +84,7 @@ $(document).on('click', '.recipe-order-missing-button', function(e) var objectId = $(e.currentTarget).attr('data-recipe-id'); bootbox.confirm({ - message: L('Are you sure to put all missing ingredients for recipe "#1" on the shopping list?', objectName) + "

" + L("Uncheck ingredients to not put them on the shopping list.") + $("#missing-recipe-pos-list")[0].outerHTML.replace("d-none", ""), + message: L('Are you sure to put all missing ingredients for recipe "#1" on the shopping list?', objectName) + "

" + L("Uncheck ingredients to not put them on the shopping list") + ":" + $("#missing-recipe-pos-list")[0].outerHTML.replace("d-none", ""), buttons: { confirm: { label: L('Yes'), diff --git a/views/recipeform.blade.php b/views/recipeform.blade.php index 6aee73fe..9f329236 100644 --- a/views/recipeform.blade.php +++ b/views/recipeform.blade.php @@ -67,7 +67,7 @@ not_check_shoppinglist == 1) checked @endif class="form-check-input" type="checkbox" id="not_check_shoppinglist" name="not_check_shoppinglist" value="1">