From e1f596971900d384cf94078e7c314a92fba60418 Mon Sep 17 00:00:00 2001 From: wvengen Date: Thu, 4 Apr 2013 00:24:14 +0200 Subject: [PATCH] use short form plus title for unit quantity --- app/views/articles/_articles.html.haml | 3 ++- config/locales/de/de.articles.yml | 3 ++- config/locales/en/en.articles.yml | 11 ++++++----- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/app/views/articles/_articles.html.haml b/app/views/articles/_articles.html.haml index 443fef4f..fd00f23d 100644 --- a/app/views/articles/_articles.html.haml +++ b/app/views/articles/_articles.html.haml @@ -11,7 +11,8 @@ %th= sort_link_helper t('simple_form.labels.article.article_category'), "category" %th= sort_link_helper t('simple_form.labels.article.unit'), "unit" %th= sort_link_helper t('simple_form.labels.article.note'), "note" - %th{:style => "width: 4em;"}= t '.unit_quantity' + %th{:style => "width: 4em;"} + %acronym{:title => t('.unit_quantity_desc')}= t '.unit_quantity_short' %th{:style => "width: 5em;"}= t '.price_netto' %th{:style => "width: 3.5em;"}= t 'simple_form.labels.defaults.tax' %th{:style => "width: 4em;"}= t 'simple_form.labels.defaults.deposit' diff --git a/config/locales/de/de.articles.yml b/config/locales/de/de.articles.yml index 232e73bd..3979410d 100644 --- a/config/locales/de/de.articles.yml +++ b/config/locales/de/de.articles.yml @@ -4,7 +4,8 @@ de: last_update: 'zuletzt geändert: %{last_update} | Brutto: %{gross_price}' confirm_delete: 'Bist du sicher?' articles: - unit_quantity: 'Gebgr.' + unit_quantity_short: 'GebGr' + unit_quantity_desc: 'Gebindegröße' price_netto: 'Preis' option_select: 'Aktion wählen ...' option_delete: 'Artikel löschen' diff --git a/config/locales/en/en.articles.yml b/config/locales/en/en.articles.yml index 6332b3e8..8149633e 100644 --- a/config/locales/en/en.articles.yml +++ b/config/locales/en/en.articles.yml @@ -4,7 +4,8 @@ en: last_update: 'last updated: %{last_update} | Gross: %{gross_price}' confirm_delete: 'Are you sure?' articles: - unit_quantity: 'Unit Quantity' + unit_quantity_short: 'Quantity' + unit_quantity_desc: 'Unit quantity' price_netto: 'Price' option_select: 'Chose special offer ...' option_delete: 'Delete article' @@ -26,11 +27,11 @@ en: available_short: 'avail' available_desc: 'available' price_short: 'Price' - price_desc: 'Net!' - unit_quantity_short: 'Quant.' - unit_quantity_desc: 'Unit Quantity' + price_desc: 'Net price' + unit_quantity_short: 'Quantity' + unit_quantity_desc: 'Unit quantity' order_number_short: 'Ordernr.' - order_number_desc: 'Ordernumber' + order_number_desc: 'Order number' form: title: 'Add new article' index: