Re: Cosmetic patch for specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Cosmetic patch for specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl

Mark Schneider
Am 08.04.2013 22:13, schrieb Christian Geisert:

> Am 07.04.2013 18:08, schrieb Mark Schneider:
>> Hello,
>>
>> Are you interested in some cosmetic pachtes like the one attached?
>> (to get more common look for all subscreens of ecommerce)
>>
>> apache-ofbiz-12.04.01/specialpurpose/ecommerce/webapp/ecommerce/cart/minipromotext.ftl
>>
>>
>>
>> Further I could add some non-existing UiLabels for German to/for
>> eCommerce.
>> (in case you are interested)
>
> Absolutely ;-)
It looks like there is some need for cleaning action in eCommerce for
all languages:


apache-ofbiz-12.04.01-orig/specialpurpose/ecommerce/config$
awk -F\" '/lang=\"/ {print $2}' EcommerceUiLabels.xml | sort -u | \
xargs -iX awk '/lang=\"X/ { X_count +=  1 };  END {print "lang_X
UiLabels\t= " X_count; }' EcommerceUiLabels.xml

lang_ar UiLabels        = 1
lang_cs UiLabels        = 63
lang_da UiLabels        = 291
lang_de UiLabels        = 267
lang_en UiLabels        = 326
lang_en_GB UiLabels     = 11
lang_es UiLabels        = 210
lang_fr UiLabels        = 301
lang_hi_IN UiLabels     = 191
lang_it UiLabels        = 297
lang_ja UiLabels        = 198
lang_nl UiLabels        = 293
lang_pt UiLabels        = 351
lang_pt_BR UiLabels     = 293
lang_pt_PT UiLabels     = 57
lang_ro UiLabels        = 227
lang_ru UiLabels        = 230
lang_th UiLabels        = 248
lang_vi UiLabels        = 315
lang_zh UiLabels        = 589
lang_zh_TW UiLabels     = 298

Not only in eCommerce (s. attached file UiLabels_overview.txt)
apache-ofbiz-12.04.01-orig$
for Y in `find ./ -name "*UiLabel*"`; do echo -e "\n$Y"; awk -F\"
'/lang=\"/ {print $2}' $Y | sort -u | xargs -iX awk '/lang=\"X/ {
X_count +=  1 };  END {print "lang_X UiLabels\t= " X_count; }' $Y; done
 > /tmp/UiLabels_overview.txt

There are also some typos like:
hi-IN
pt-PT
zh-CN
zh-TW

Do you think I should open some JIRA issues? .. eg. like one per component.

Who can help to unify all these UiLabels? ;)

regards, Mark

--
[hidden email]

http://rsync.it-infrastrukturen.org


UiLabels_overview.txt (15K) Download Attachment