From ec9240b226871df4c5bb9c5068d4b131e00ee420 Mon Sep 17 00:00:00 2001 From: Werner Hahn Date: Tue, 26 Sep 2017 13:25:01 +0200 Subject: [PATCH] =?utf8?q?WebshopApi:=20=C3=9Cbersetzungen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- locale/de/all | 1 + locale/en/all | 1 + templates/webpages/shop_order/show.html | 2 +- templates/webpages/shop_part/_filter.html | 2 +- 4 files changed, 4 insertions(+), 2 deletions(-) diff --git a/locale/de/all b/locale/de/all index d7a4c030e..6e37c6f11 100755 --- a/locale/de/all +++ b/locale/de/all @@ -2141,6 +2141,7 @@ $self->{texts} = { 'Part Type' => 'Artikel-Typ', 'Part Unit' => 'Einheit', 'Part classifications' => 'Artikel-Klassifizierungen', + 'Part marked as "Shop part"' => '', 'Part picker' => 'Artikelauswahl', 'Part with partnumber: #1 not found' => 'Artikel mit Artikelnummer #1 wurde nicht gefunden', 'PartClassAbbreviation' => 'Abkürzung der Artikel-Klassifizierung', diff --git a/locale/en/all b/locale/en/all index d3a9759a3..2cd58aca8 100644 --- a/locale/en/all +++ b/locale/en/all @@ -2141,6 +2141,7 @@ $self->{texts} = { 'Part Type' => '', 'Part Unit' => '', 'Part classifications' => '', + 'Part marked as "Shop part"' => '', 'Part picker' => '', 'Part with partnumber: #1 not found' => '', 'PartClassAbbreviation' => '', diff --git a/templates/webpages/shop_order/show.html b/templates/webpages/shop_order/show.html index 112ffbdef..ccbe412c7 100644 --- a/templates/webpages/shop_order/show.html +++ b/templates/webpages/shop_order/show.html @@ -185,7 +185,7 @@ [% FOREACH pos = IMPORT.shop_order_items %] - [% loop.index+1 %] + [% loop.count %] [% HTML.escape(pos.partnumber) %] [% HTML.escape(pos.description) %] [% pos.quantity_as_number %] diff --git a/templates/webpages/shop_part/_filter.html b/templates/webpages/shop_part/_filter.html index add0f6bfa..bdf290801 100644 --- a/templates/webpages/shop_part/_filter.html +++ b/templates/webpages/shop_part/_filter.html @@ -10,7 +10,7 @@ [% L.select_tag('filter.shop_id:eq_ignore_empty', SELF.shops, value_key = 'value', title_key = 'title', default=0) %] - [% 'Part marked as "Shop part"' %] + [% 'Part marked as "Shop part"' | $T8 %] [% L.yes_no_tag('filter.part.shop', FORM.filter.part.shop, default='1', with_empty=1, empty_title='---') %] -- 2.39.5