[Kimchi-devel] [PATCH V6 3/8] Update the i18n tmpl to produce JSON

Zhou Zheng Sheng zhshzhou at linux.vnet.ibm.com
Wed Jun 11 06:42:34 UTC 2014


on 2014/06/10 18:15, shaohef at linux.vnet.ibm.com wrote:
> From: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
> 
> Remove html tags from i18n as they are not valid
> Correct object definition from acceptable JS to valid JSON replacing
> ' with " in attribute names.
> Update root.py to make Cheetah render the JSON template.

This patch doesn't change root.py. I think you can either delete the
above line or just squash this patch with "Update root.py to make
Cheetah render the JSON template".

> 
> Signed-off-by: Adam King <rak at linux.vnet.ibm.com>
> Signed-off-by: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
> ---
>  ui/pages/i18n.html.tmpl | 178 ------------------------------------------------
>  ui/pages/i18n.json.tmpl | 165 ++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 165 insertions(+), 178 deletions(-)
>  delete mode 100644 ui/pages/i18n.html.tmpl
>  create mode 100644 ui/pages/i18n.json.tmpl




More information about the Kimchi-devel mailing list